:root {
  --ink: #454b4f;
  --ink-deep: #343a3e;
  --teal: #347976;
  --teal-dark: #285f5d;
  --teal-soft: #dcefed;
  --coral: #b6402f;
  --coral-dark: #7d2d23;
  --paper: #fffdfa;
  --surface: #f5faf9;
  --sky: #edf6ff;
  --line: #cbdedd;
  --focus: #005ea8;
  --container: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, p, dl, dd, ol, figure { margin-top: 0; }

h1, h2, h3 {
  color: var(--ink-deep);
  font-family: "Exo 2", "Trebuchet MS", sans-serif;
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.4vw, 62px);
  letter-spacing: -.035em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 3.2vw, 48px);
  letter-spacing: -.025em;
}

h3 { margin-bottom: 8px; font-size: 20px; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink-deep);
  background: var(--paper);
  border: 2px solid var(--focus);
  border-radius: 10px;
  font-weight: 900;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.affiliate-ribbon {
  color: #eef9f8;
  background: var(--ink-deep);
  font-size: 13px;
}

.affiliate-ribbon__inner {
  display: grid;
  min-height: 46px;
  align-items: center;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
}

.affiliate-ribbon strong {
  padding: 2px 9px;
  color: #fff7f3;
  background: var(--coral);
  border-radius: 999px;
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
}

.affiliate-ribbon p { margin: 0; }
.affiliate-ribbon a { color: #ffe5d8; font-weight: 900; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 250, .97);
  border-bottom: 1px solid rgba(203, 222, 221, .75);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  text-decoration: none;
}

.wordmark__mark {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 12px;
  flex: 0 0 auto;
}

.wordmark__mark img { width: 100%; height: 100%; object-fit: cover; }

.wordmark__copy { display: grid; line-height: 1.08; }
.wordmark__copy b { font-family: "Exo 2", sans-serif; font-size: 19px; font-weight: 900; }
.wordmark__copy small { margin-top: 4px; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .05em; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.main-nav a {
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.main-nav a:hover { color: var(--coral); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  color: #fffaf7;
  background: var(--coral);
  border: 2px solid var(--coral-dark);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--coral-dark);
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
}

.button:hover {
  background: #c64a38;
  box-shadow: 0 6px 0 var(--coral-dark);
  transform: translateY(-2px);
}

.button:active {
  box-shadow: 0 1px 0 var(--coral-dark);
  transform: translateY(3px);
}

.button--header { min-height: 44px; padding: 10px 16px; font-size: 13px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 11px;
  background: var(--teal-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 2px auto;
  background: var(--teal-dark);
  border-radius: 3px;
}

.hero {
  overflow: hidden;
  background: var(--sky);
  border-bottom: 1px solid #d5e5ef;
}

.hero-grid {
  display: grid;
  min-height: 650px;
  align-items: center;
  gap: 56px;
  padding-block: 56px 42px;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
}

.overline {
  margin-bottom: 18px;
  padding-left: 14px;
  color: var(--coral);
  border-left: 3px solid currentColor;
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 28px;
  color: #596469;
  font-size: 19px;
}

.hero-actions { display: flex; align-items: center; gap: 22px; }

.text-link, .source-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-underline-offset: 4px;
}

.text-link:hover, .source-link:hover { color: var(--coral); }

.hero-visual { margin: 0; }
.hero-visual img { width: 100%; height: auto; }

.route-strip {
  display: grid;
  padding-block: 22px;
  border-top: 1px solid #cbdfe9;
  grid-template-columns: repeat(3, 1fr);
}

.route-strip div { padding: 0 24px; border-left: 1px solid #cbdfe9; }
.route-strip div:first-child { padding-left: 0; border-left: 0; }
.route-strip b, .route-strip span { display: block; }
.route-strip b { color: var(--ink-deep); font-family: "Exo 2", sans-serif; font-size: 15px; }
.route-strip span { margin-top: 2px; color: #66767c; font-size: 13px; }

.meaning-section, .access-section, .payments-section, .responsible-section, .faq-section {
  padding-block: clamp(72px, 8vw, 112px);
}

.editorial-grid {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
}

.editorial-intro { position: sticky; top: 112px; }
.editorial-intro p { max-width: 450px; margin-bottom: 0; font-size: 17px; }

.service-ledger { margin: 0; border-top: 2px solid var(--teal); }

.service-ledger div {
  display: grid;
  gap: 28px;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 180px 1fr;
}

.service-ledger dt {
  color: var(--ink-deep);
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
}

.service-ledger dd { margin: 0; color: #5b686d; }

.access-section { background: var(--surface); }

.access-grid {
  display: grid;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
}

.access-visual { margin: 0; }
.access-visual img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }

.access-list { padding: 0; margin: 30px 0 22px; list-style: none; border-top: 2px solid var(--coral); }

.access-list li { padding-block: 20px; border-bottom: 1px solid var(--line); }
.access-list h3 { margin-bottom: 6px; }
.access-list p { max-width: 590px; margin-bottom: 0; color: #5b686d; }

.access-note {
  max-width: 650px;
  margin: 0;
  padding: 16px 18px;
  color: #70372f;
  background: #fff0eb;
  border-left: 4px solid var(--coral);
}

.payments-section { background: var(--sky); }

.payments-layout {
  display: grid;
  align-items: start;
  gap: 90px;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
}

.payments-layout > div > p { max-width: 560px; font-size: 17px; }

.payment-checks { margin: 0; border-top: 2px solid var(--teal); }

.payment-checks div {
  display: grid;
  gap: 26px;
  padding-block: 22px;
  border-bottom: 1px solid #c8dce7;
  grid-template-columns: 125px 1fr;
}

.payment-checks dt { color: var(--teal-dark); font-family: "Exo 2", sans-serif; font-weight: 900; }
.payment-checks dd { margin: 0; }

.status-section {
  padding-block: clamp(70px, 7vw, 96px);
  background: var(--teal-soft);
  border-block: 1px solid #b9d7d5;
}

.status-grid {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.overline--light { color: var(--coral); }
.status-copy p { margin-bottom: 18px; font-size: 17px; }

.source-links { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 8px; }
.source-links a { color: var(--teal-dark); font-weight: 900; text-underline-offset: 4px; }
.source-links a:hover { color: var(--coral); }

.responsible-grid {
  display: grid;
  align-items: center;
  gap: 84px;
  grid-template-columns: 230px minmax(0, 1fr);
}

.age-mark {
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  color: #fffaf7;
  background: var(--coral);
  border: 12px solid #f2cfc6;
  border-radius: 50%;
  font-family: "Exo 2", sans-serif;
  font-size: 58px;
  font-weight: 900;
}

.responsible-grid p { max-width: 760px; font-size: 17px; }

.faq-section { background: var(--surface); }

.faq-layout {
  display: grid;
  gap: 42px 80px;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
}

.faq-heading p { max-width: 350px; margin-bottom: 0; font-size: 17px; }

.faq-list { border-top: 2px solid var(--teal); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  min-height: 68px;
  padding: 19px 4px;
  color: var(--ink-deep);
  cursor: pointer;
  font-family: "Exo 2", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.faq-list details p { max-width: 760px; padding: 0 4px 22px; margin: 0; color: #58666b; }

.method-note {
  padding-top: 34px;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
}

.method-note h3 { font-size: 22px; }
.method-note p { max-width: 900px; margin-bottom: 9px; }

.site-footer {
  color: #4b5a5e;
  background: #e7f0f0;
  border-top: 1px solid #c8dbda;
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 42px;
  padding-block: 50px;
  grid-template-columns: 1fr 1.25fr .65fr 1fr;
}

.wordmark--footer { align-self: start; }
.footer-grid p { margin-bottom: 0; font-size: 14px; }
.footer-grid nav { display: grid; gap: 7px; }
.footer-grid nav a { color: var(--teal-dark); font-size: 14px; font-weight: 900; }

.footer-legal { display: grid; gap: 8px; }
.footer-legal strong { color: var(--coral); font-family: "Exo 2", sans-serif; font-size: 28px; }
.footer-legal span { font-size: 13px; }

.footer-bottom { border-top: 1px solid #c8dbda; }
.footer-bottom .container { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-bottom a { color: var(--teal-dark); font-weight: 900; }

.mobile-bar { display: none; }

@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 13px; }
  .button--header { padding-inline: 13px; }
  .hero-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
  .editorial-grid, .access-grid, .payments-layout, .status-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .button--header { display: none; }
  .menu-toggle { display: block; justify-self: end; }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    z-index: 25;
    display: grid;
    max-height: calc(100dvh - 76px);
    justify-content: stretch;
    gap: 0;
    padding: 14px 24px 22px;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .24s var(--ease);
  }

  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { min-height: 48px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }

  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 52px 28px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }

  .editorial-grid, .payments-layout, .status-grid, .faq-layout { grid-template-columns: 1fr; }
  .editorial-intro { position: static; }
  .access-grid { grid-template-columns: .8fr 1.2fr; }
  .responsible-grid { gap: 50px; grid-template-columns: 170px 1fr; }
  .age-mark { width: 160px; height: 160px; border-width: 9px; font-size: 46px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: 76px; }
  .container { width: min(100% - 30px, var(--container)); }

  .affiliate-ribbon__inner {
    min-height: 54px;
    gap: 8px;
    grid-template-columns: auto 1fr;
  }

  .affiliate-ribbon p { overflow: hidden; font-size: 11px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
  .affiliate-ribbon a { display: none; }

  .header-inner { min-height: 70px; }
  .wordmark__mark { width: 46px; height: 46px; }
  .wordmark__copy b { font-size: 16px; }
  .wordmark__copy small { font-size: 9px; }
  .main-nav { top: 70px; max-height: calc(100dvh - 70px); }

  h1 { max-width: 100%; margin-bottom: 18px; font-size: clamp(36px, 10.5vw, 46px); }
  h2 { font-size: clamp(31px, 9vw, 40px); }
  .overline { margin-bottom: 15px; font-size: 13px; }
  .hero-lead { margin-bottom: 24px; font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .hero-actions .button { width: 100%; }
  .text-link { text-align: center; }

  .route-strip { grid-template-columns: 1fr; }
  .route-strip div { padding: 13px 0; border-top: 1px solid #cbdfe9; border-left: 0; }
  .route-strip div:first-child { padding-top: 0; border-top: 0; }

  .meaning-section, .access-section, .payments-section, .responsible-section, .faq-section { padding-block: 68px; }
  .editorial-grid, .access-grid, .payments-layout, .status-grid, .responsible-grid, .faq-layout { gap: 38px; grid-template-columns: 1fr; }

  .service-ledger div { gap: 5px; grid-template-columns: 1fr; }
  .access-visual { order: 2; }
  .access-copy { order: 1; }
  .payment-checks div { gap: 5px; grid-template-columns: 1fr; }

  .status-section { padding-block: 64px; }
  .source-links { align-items: flex-start; flex-direction: column; gap: 10px; }

  .age-mark { width: 128px; height: 128px; border-width: 7px; font-size: 38px; }
  .faq-layout { gap: 32px; }
  .faq-list summary { font-size: 17px; }
  .method-note { padding-top: 28px; }

  .footer-grid { gap: 28px; padding-block: 42px; grid-template-columns: 1fr; }
  .footer-bottom .container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px; }

  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    min-height: 70px;
    padding: 8px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    grid-template-columns: 2fr 1fr;
  }

  .mobile-bar a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .mobile-bar a:first-child { color: #fffaf7; background: var(--coral); }
  .mobile-bar a:last-child { color: var(--teal-dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .affiliate-ribbon, .site-header, .mobile-bar { display: none !important; }
  body { padding: 0; background: #fff; }
  .hero-grid, .editorial-grid, .access-grid, .payments-layout, .status-grid, .responsible-grid, .faq-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual, .access-visual { max-width: 520px; }
  a { color: inherit; }
}
