:root {
  --brand: #059669;
  --brand-dark: #047857;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe4ee;
  --surface: #ffffff;
  --soft: #ecfdf5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fafc;
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}

a {
  color: #047857;
}

a:hover,
a:focus-visible {
  color: #065f46;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.96);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 2rem));
  min-height: 4.5rem;
  margin: 0 auto;
  gap: 1rem;
}

.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav-links a {
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav-links .nav-cta {
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--brand);
}

.content-hero {
  padding: 5rem 1rem 4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 0%, rgba(16, 185, 129, 0.2), transparent 32%),
    linear-gradient(145deg, #f8fafc, #ecfdf5);
}

.content-hero-inner,
.content-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}

.breadcrumbs {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.content-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.content-hero .lead {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.content-shell {
  padding: 3.5rem 1rem 5rem;
}

.content-shell h2 {
  margin: 3rem 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
}

.content-shell h2:first-child {
  margin-top: 0;
}

.content-shell h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.12rem;
}

.content-shell p,
.content-shell li {
  color: #334155;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.content-card,
.note,
.faq-item {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
}

.content-card h3,
.faq-item h3 {
  margin-top: 0;
}

.note {
  margin: 1.5rem 0;
  border-color: #a7f3d0;
  background: var(--soft);
}

.cta-panel {
  margin-top: 3rem;
  padding: 1.6rem;
  border-radius: 1rem;
  color: #e2e8f0;
  background: #0f172a;
}

.cta-panel h2,
.cta-panel p {
  margin-top: 0;
  color: inherit;
}

.primary-link {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  color: #fff;
  background: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
  color: #fff;
  background: var(--brand-dark);
}

.site-footer {
  padding: 2.4rem 1rem 1.5rem;
  color: #cbd5e1;
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 2rem;
}

.footer-inner p {
  max-width: 480px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  align-content: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.copyright {
  width: min(1120px, 100%);
  margin: 1.5rem auto 0;
  color: #64748b;
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .site-nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    padding: 0.8rem 0;
  }

  .site-nav-links {
    gap: 0.65rem 0.9rem;
  }

  .content-hero {
    padding-top: 3.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
