:root {
  --navy-950: #10233f;
  --navy-850: #183454;
  --navy-700: #365b82;
  --mist-50: #f6f8fb;
  --mist-100: #edf2f6;
  --mist-200: #dde5ec;
  --mist-400: #8ea0b2;
  --white: #ffffff;
  --sage-200: #d5e4dc;
  --sage-500: #5c8175;
  --sky-200: #dbe8f4;
  --ink: #223247;
  --shadow: 0 24px 80px rgba(10, 25, 47, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(213, 228, 220, 0.7), transparent 28%),
    linear-gradient(180deg, #fbfcfd 0%, #f2f5f8 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  z-index: 20;
  border-radius: 0.75rem;
}

.utility-bar {
  padding: 0.8rem clamp(1rem, 3vw, 2rem);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
}

.utility-bar p {
  margin: 0;
}

.utility-bar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.nav-shell,
.section,
.cta-panel,
.footer-panel,
.footer-links,
.footer-disclaimer,
.compliance-strip,
.hero {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.nav-shell {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(24, 52, 84, 0.08);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(16, 35, 63, 0.06);
  position: sticky;
  top: 0.8rem;
  z-index: 10;
}

.brand-mark {
  text-decoration: none;
  color: var(--navy-950);
  display: grid;
  gap: 0.15rem;
}

.brand-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-500);
  font-weight: 700;
}

.brand-title {
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy-850);
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  color: var(--navy-950);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-950);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
  align-items: stretch;
}

.hero-home .hero-copy,
.hero-page .hero-copy {
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.95), rgba(24, 52, 84, 0.82)),
    linear-gradient(180deg, rgba(219, 232, 244, 0.24), transparent);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 228, 220, 0.55), transparent 68%);
}

.hero h1,
.section h2,
.cta-panel h2,
.resource-detail h2,
.panel-note h3,
.info-card h3,
.journey-step h3 {
  font-family: "Newsreader", serif;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin: 0 0 1rem;
}

.hero-text,
.trust-statement {
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions,
.inline-actions,
.cta-panel-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #90b5ac, #5c8175);
  color: var(--navy-950);
  box-shadow: 0 16px 38px rgba(92, 129, 117, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.button-small {
  padding: 0.8rem 1.1rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-stat,
.info-card,
.journey-step,
.panel-note,
.cta-panel,
.article-card,
.resource-detail,
.footer-panel,
.stacked-form,
.process-grid article,
.panel-list-item,
.checklist-sheet {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(16, 35, 63, 0.06);
}

.hero-stat {
  padding: 1.6rem;
}

.hero-stat-number {
  display: inline-block;
  font-family: "Newsreader", serif;
  font-size: 2rem;
  color: var(--navy-950);
  margin-bottom: 0.4rem;
}

.section {
  padding: 1.5rem 0 3rem;
}

.section-soft {
  padding-block: 3.3rem;
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 1.5rem;
}

.section-label {
  margin: 0 0 0.8rem;
  color: var(--sage-500);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section h2,
.cta-panel h2,
.resource-detail h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.card-grid,
.journey-grid,
.process-grid,
.faq-grid,
.article-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.article-card {
  padding: 1.5rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.panel-list {
  display: grid;
  gap: 1rem;
}

.panel-list-item,
.panel-note {
  padding: 1.5rem;
}

.journey-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey-step {
  padding: 1.5rem;
}

.journey-step span {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky-200);
  color: var(--navy-950);
  font-weight: 800;
}

.process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-grid article {
  padding: 1.4rem;
}

.check-list {
  margin: 0;
  padding-left: 1.1rem;
}

.check-list li + li {
  margin-top: 0.55rem;
}

.caution-list li::marker {
  color: var(--sage-500);
}

.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 0.9rem 0 0;
}

.cta-panel {
  margin-top: 1rem;
  margin-bottom: 3rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(219, 232, 244, 0.9), transparent 32%),
    linear-gradient(180deg, #f8fbfe, #eff4f7);
}

.text-link {
  color: var(--navy-700);
  font-weight: 700;
  text-decoration: none;
}

.resource-detail + .resource-detail {
  margin-top: 1rem;
}

.resource-detail {
  padding: 1.6rem;
}

.prose-section {
  max-width: 76ch;
}

.prose-section h2 {
  margin-top: 1.8rem;
}

.stacked-form {
  padding: clamp(1.5rem, 4vw, 2rem);
}

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

.form-grid label,
.consent-check {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.form-full {
  grid-column: 1 / -1;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 35, 63, 0.14);
  background: #fcfdfd;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(144, 181, 172, 0.85);
  outline-offset: 3px;
}

.consent-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 1rem;
}

.consent-check input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
}

.form-note,
.form-status {
  margin: 0;
}

.form-status {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--navy-700);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.checklist-sheet {
  display: grid;
  gap: 0.8rem;
  padding: 1.6rem;
  max-width: 42rem;
}

.checklist-sheet label {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 600;
}

.checklist-sheet input {
  width: 1.1rem;
  height: 1.1rem;
}

.compliance-strip {
  margin-bottom: 3rem;
  padding: 1.2rem 1.4rem;
  background: rgba(16, 35, 63, 0.96);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
}

.compliance-strip a {
  color: var(--white);
}

.site-footer {
  padding: 1rem 0 3rem;
}

.footer-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  padding: 1.2rem 0;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy-850);
}

.footer-disclaimer {
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-meta {
  color: var(--mist-400);
}

@media (max-width: 980px) {
  .hero,
  .split-grid,
  .cta-panel,
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .journey-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 35, 63, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-shell.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .utility-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid,
  .journey-grid,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    border-radius: 1.6rem;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }
}

@media print {
  .utility-bar,
  .nav-shell,
  .cta-panel,
  .compliance-strip,
  .site-footer,
  .hero-actions {
    display: none;
  }

  body {
    background: #fff;
  }

  .hero-copy,
  .checklist-sheet {
    box-shadow: none;
  }
}
