:root {
  --ink: #21313a;
  --muted: #586a72;
  --teal: #1f6f78;
  --teal-dark: #174f59;
  --teal-soft: #dff1ee;
  --gold: #d88b28;
  --gold-soft: #f6e5c7;
  --sage: #6f8f83;
  --clay: #b96348;
  --blue-soft: #e8f0f5;
  --paper: #fbfdfb;
  --paper-warm: #f7f9f8;
  --mist: #f4faf8;
  --sage-soft: #eef4f1;
  --teal-wash: #dfeeea;
  --line: #d6e1de;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(22, 63, 66, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f7f6;
  color: var(--ink);
  font-family: "Afacad Flux", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.58;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0a403d;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--teal-dark);
  color: var(--white);
  padding: 0.7rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--teal-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  text-decoration: none;
  min-width: 220px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 4px;
}

.brand strong {
  display: block;
  font-size: 1.24rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.2;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 0.72rem;
  border-radius: 8px;
  font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.page-hero,
.section,
.band {
  padding: 4.5rem 0;
}

.page-hero {
  background-color: #e5f1ed;
  background-image: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(34vw, 360px);
  height: 10px;
  background: var(--gold);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

main > .section:not(.band):not(.soft-section):nth-of-type(even) {
  background: #ffffff;
}

main > .section:not(.band):not(.soft-section):nth-of-type(odd) {
  background: #f4f7f6;
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead,
.page-hero p {
  color: var(--ink);
}

.page-hero .eyebrow {
  color: var(--teal-dark);
}

h1,
h2,
h3 {
  color: var(--teal-dark);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

h1 {
  font-size: 3rem;
  max-width: 880px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.25rem;
  color: #33464e;
  max-width: 780px;
}

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

.hero-card,
.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.info-panel {
  border-top: 5px solid var(--gold);
}

.hero-card img {
  display: block;
  width: 160px;
  margin: 0 auto 1.2rem;
}

.hero-message {
  text-align: center;
}

.hero-message img {
  width: 170px;
  margin-bottom: 1.3rem;
}

.hero-message h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.hero-message p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.hero-tags span {
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--teal-dark);
  background: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  background: #0a403d;
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--teal-dark);
}

.button.secondary:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card,
.download-card,
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.card {
  border-top: 4px solid var(--teal);
  box-shadow: 0 10px 28px rgba(22, 63, 66, 0.07);
}

.card:hover,
.download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(22, 63, 66, 0.11);
}

.card,
.download-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-grid .card:nth-child(2n) {
  border-top-color: var(--gold);
}

.card-grid .card:nth-child(3n) {
  border-top-color: var(--sage);
}

.card p,
.download-card p,
.step p {
  margin-bottom: 0;
}

.accent-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.accent-list li {
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
}

.band {
  background: var(--teal-dark);
  color: var(--white);
  position: relative;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--gold);
}

.band h2,
.band p,
.band a {
  color: var(--white);
}

.band .button {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}

.band .button.secondary {
  background: transparent;
  color: var(--white);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
  margin-top: 1.5rem;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

.step::before {
  content: counter(steps);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.notice {
  border-left: 5px solid var(--teal);
  background: var(--mist);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.download-card a {
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.25rem;
}

.faq-item h2 {
  font-size: 1.25rem;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.75rem;
  background: var(--mist);
  border-color: rgba(31, 111, 120, 0.22);
  box-shadow: none;
}

.faq-contact h2 {
  margin-bottom: 0.35rem;
}

.faq-contact p {
  max-width: 720px;
  margin-bottom: 0;
}

.family-snapshot {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.snapshot-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.snapshot-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.snapshot-brand strong {
  display: block;
  color: var(--teal-dark);
}

.snapshot-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.snapshot-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.snapshot-row b {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: #744313;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.snapshot-row strong {
  display: block;
  color: var(--teal-dark);
  line-height: 1.2;
}

.snapshot-row span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.soft-section {
  background: #ecf2f0;
  border-top: 1px solid #d7e1de;
  border-bottom: 1px solid #d7e1de;
}

.pathway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pathway-step {
  background: var(--white);
  border: 1px solid #d7e1de;
  border-radius: 8px;
  padding: 1.15rem;
  position: relative;
}

.pathway-step::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  background: var(--teal);
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.pathway-step h3 {
  color: var(--teal-dark);
}

.quote-panel {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.quote-panel p,
.quote-panel h3 {
  color: var(--white);
}

.quote-panel p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #e8f0ed;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  body {
    font-size: 17px;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 0 0 1rem;
  }

  .site-header.is-open .nav-links {
    display: grid;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .hero-grid,
  .two-column,
  .card-grid,
  .download-list,
  .pathway {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .section,
  .band {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .faq-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    display: none;
  }

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

  .button {
    width: 100%;
  }
}
