/* =====================================================================
   Guardian website · design system
   Brand: navy #151f3d · teal #0a978d · coral #ff6b60 · amber #e9a23b · cream #f8f7f2
   ===================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so text does not jump when the web font arrives. */
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --navy: #151f3d;
  --navy-2: #1d2a4f;
  --navy-3: #2e3a5f;
  --teal: #0a978d;
  --teal-dark: #077a72;
  --teal-2: #19b8ac;
  --teal-soft: #e3f4f2;
  --coral: #ff6b60;
  --coral-dark: #e5524a;
  --coral-soft: #ffeceb;
  --amber: #e9a23b;
  --amber-soft: #fdf3e2;
  --cream: #f8f7f2;
  --cream-2: #f1efe6;
  --mist: #d3dceb;
  --ink: #151f3d;
  --ink-2: #4a5470;
  --ink-3: #646d88;
  --line: #e4e7ef;
  --white: #ffffff;
  --ok: #0f8a5f;
  --ok-soft: #e2f5ec;
  --danger: #c93a30;

  --font: "Plus Jakarta Sans", "Jakarta Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(21 31 61 / 6%), 0 1px 1px rgb(21 31 61 / 4%);
  --shadow: 0 12px 32px -14px rgb(21 31 61 / 24%), 0 2px 6px rgb(21 31 61 / 5%);
  --shadow-lg: 0 40px 80px -30px rgb(21 31 61 / 38%), 0 8px 24px -12px rgb(21 31 61 / 14%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.025em; color: var(--ink); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 750; }
::selection { background: var(--teal-2); color: #fff; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 780px; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.icon { width: 24px; height: 24px; }
/* Grid children may shrink below their content width (prevents sideways scrolling on phones). */
.hero-grid > *, .split > *, .cards-2 > *, .cards-3 > *, .cards-4 > *, .flow > *, .stats > *,
.faq-layout > *, .contact-grid > *, .form-grid > *, .article-layout > *, .footer-top > *, .field, .stack > * { min-width: 0; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 34px; height: 38px; flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; }
.flag { width: 18px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgb(0 0 0 / 8%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: .97rem; line-height: 1.2; letter-spacing: -.005em;
  padding: 13px 22px; min-height: 46px; border-radius: 14px; border: 1.5px solid transparent;
  background: var(--teal); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
  box-shadow: 0 10px 22px -10px rgb(10 151 141 / 65%), inset 0 1px 0 rgb(255 255 255 / 18%);
}
.btn:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgb(10 151 141 / 70%), inset 0 1px 0 rgb(255 255 255 / 18%); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; min-height: 56px; font-size: 1.03rem; border-radius: 16px; }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .88rem; border-radius: 12px; }
.btn-navy { background: var(--navy); box-shadow: 0 10px 22px -10px rgb(21 31 61 / 60%); }
.btn-navy:hover { background: var(--navy-3); box-shadow: 0 16px 28px -12px rgb(21 31 61 / 60%); }
.btn-coral { background: var(--coral); box-shadow: 0 10px 22px -10px rgb(255 107 96 / 70%); }
.btn-coral:hover { background: var(--coral-dark); box-shadow: 0 16px 28px -12px rgb(255 107 96 / 70%); }
.btn-ghost { background: rgb(255 255 255 / 55%); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: var(--mist); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 22px -12px rgb(0 0 0 / 40%); }
.btn-light:hover { background: var(--teal-soft); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 35%); box-shadow: none; }
.btn-outline-light:hover { background: rgb(255 255 255 / 10%); color: #fff; border-color: rgb(255 255 255 / 60%); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }

/* Arrow text link */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--teal-dark); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; background: #eef1f7; color: var(--ink-2); white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-wait { background: var(--amber-soft); color: #9a5f0a; }
.badge-info { background: var(--teal-soft); color: var(--teal-dark); }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: #eef1f7; border: 1px solid transparent; margin: 0; }
.notice .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.notice p { margin: 0; }
.notice.warn { background: var(--amber-soft); border-color: #f5dcb3; color: #5b3d0c; }
.notice.warn .icon { color: #b8740f; }
.notice.info { background: var(--teal-soft); border-color: #c4e7e3; }
.notice.info .icon { color: var(--teal); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(248 247 242 / 78%);
  -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: rgb(21 31 61 / 7%); box-shadow: 0 10px 30px -22px rgb(21 31 61 / 45%); background: rgb(255 255 255 / 86%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a {
  position: relative; padding: 9px 14px; color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: .95rem; border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.nav > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover { color: var(--ink); background: rgb(21 31 61 / 4%); }
.nav > a[aria-current="page"] { color: var(--ink); }
.nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 13px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .35s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .hide-sm { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgb(21 31 61 / 40%);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s;
  }
  .nav > a { padding: 15px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a:hover { background: none; }
  .nav > a::after { display: none; }
  .nav > a[aria-current="page"] { color: var(--teal-dark); }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 18px; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s; }
}
@media (max-width: 380px) { .header-actions .btn-sm { display: none; } }

/* =====================================================================
   Hero (home)
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(64px, 8vw, 112px); isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(21 31 61 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(21 31 61 / 5%) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .84rem; font-weight: 650; color: var(--ink-2); margin-bottom: 22px;
}
.pill .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; }
.pill .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s infinite; }
.pill .sep { width: 1px; height: 14px; background: var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { color: var(--teal); }
.underline { position: relative; white-space: nowrap; }
.underline svg { position: absolute; left: 0; right: 0; bottom: -.16em; width: 100%; height: .34em; overflow: visible; }
.underline path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s .7s var(--ease) forwards; }
.lead { font-size: clamp(1.07rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--ink-2); font-size: .9rem; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 19px; height: 19px; color: var(--teal); }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -2; pointer-events: none; animation: drift 20s ease-in-out infinite alternate; }
.blob-teal { width: 460px; height: 460px; background: #a5e6df; right: -140px; top: -120px; }
.blob-coral { width: 340px; height: 340px; background: #ffd3ce; left: -160px; bottom: -80px; animation-duration: 24s; }
.blob-navy { width: 300px; height: 300px; background: #cbd5f0; right: 30%; bottom: -160px; animation-duration: 28s; }

/* Hero art: phone with live status */
.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-art::before {
  content: ""; position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgb(255 255 255 / 0%) 70%); z-index: -1;
}
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgb(10 151 141 / 25%); z-index: -1; animation: spin 80s linear infinite; }
.ring-1 { width: min(500px, 96%); aspect-ratio: 1; }
.ring-2 { width: min(380px, 76%); aspect-ratio: 1; border-color: rgb(255 107 96 / 22%); animation-direction: reverse; animation-duration: 60s; }
.phone {
  position: relative; width: min(290px, 74vw); aspect-ratio: 9 / 18.6; border-radius: 46px; background: #0b1124;
  padding: 11px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3352; transform: rotate(-4deg); animation: float 7s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: #0b1124; border-radius: 999px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--cream); overflow: hidden; display: flex; flex-direction: column; }
.phone-top { background: var(--navy); color: #fff; padding: 50px 18px 16px; display: flex; align-items: center; justify-content: space-between; }
.phone-top .brand-mark { width: 24px; height: 27px; }
.phone-top .brand-name { font-size: 1.02rem; }
.phone-top .bell { width: 30px; height: 30px; border-radius: 10px; background: rgb(255 255 255 / 10%); display: grid; place-items: center; position: relative; }
.phone-top .bell svg { width: 16px; height: 16px; }
.phone-top .bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--navy); }
.phone-body { padding: 18px 14px; display: grid; gap: 11px; }
.phone-title { font-weight: 800; font-size: 1.18rem; margin: 0; letter-spacing: -.02em; }
.phone-school { font-size: .74rem; color: var(--ink-3); margin: -9px 0 2px; }
.mini-child { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-sm); border: 1px solid #eef0f5; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; flex: none; }
.av-1 { background: linear-gradient(135deg, #19b8ac, #0a7f77); }
.av-2 { background: linear-gradient(135deg, #ff8a7f, #e5524a); }
.mini-child strong { display: block; font-size: .92rem; line-height: 1.3; }
.status-cycle { position: relative; display: inline-block; height: 22px; width: 132px; }
.status-cycle .badge { position: absolute; left: 0; top: 0; opacity: 0; animation: statusCycle 9s infinite; }
.status-cycle .badge:nth-child(2) { animation-delay: 3s; }
.status-cycle .badge:nth-child(3) { animation-delay: 6s; }
.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-tile { background: #fff; border: 1px solid #eef0f5; border-radius: 14px; padding: 10px; font-size: .7rem; color: var(--ink-3); line-height: 1.3; }
.phone-tile b { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
.phone-cta { margin-top: 2px; background: var(--teal); color: #fff; border-radius: 13px; padding: 12px; text-align: center; font-weight: 800; font-size: .76rem; letter-spacing: .08em; }

.float-card {
  position: absolute; background: rgb(255 255 255 / 94%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow); border: 1px solid rgb(255 255 255 / 80%);
  display: flex; align-items: center; gap: 12px; font-size: .84rem; line-height: 1.35; animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .9rem; }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.fc-1 { top: 3%; left: -6%; animation-delay: -2s; }
.fc-2 { bottom: 17%; right: -5%; animation-delay: -4s; }
.fc-3 { bottom: 3%; left: 2%; animation-delay: -1s; }
.ic-teal { background: var(--teal-soft); color: var(--teal); }
.ic-coral { background: var(--coral-soft); color: var(--coral-dark); }
.ic-amber { background: var(--amber-soft); color: #c8851d; }
.ic-navy { background: #e6eaf5; color: var(--navy); }
.code-digits { display: flex; gap: 4px; margin-top: 3px; }
.code-digits b {
  width: 22px; height: 28px; border-radius: 7px; background: var(--cream-2); display: grid; place-items: center;
  font-size: .92rem; font-weight: 800; opacity: 0; animation: digitIn 6s infinite;
}
.code-digits b:nth-child(2) { animation-delay: .25s; }
.code-digits b:nth-child(3) { animation-delay: .5s; }
.code-digits b:nth-child(4) { animation-delay: .75s; }
.code-digits b:nth-child(5) { animation-delay: 1s; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 520px; margin-top: 8px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}
@media (max-width: 520px) {
  .hero-art { min-height: 480px; }
  .float-card { font-size: .76rem; padding: 9px 12px 9px 9px; }
  .float-card .ic { width: 34px; height: 34px; }
  .fc-3 { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #d3dbef; overflow: hidden; padding: 18px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; font-weight: 650; white-space: nowrap; font-size: .97rem; }
.marquee-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgb(25 184 172 / 18%); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =====================================================================
   Sections
   ===================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding-top: clamp(40px, 6vw, 72px); }
.section-white { background: #fff; }
.section-navy {
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgb(25 184 172 / 16%), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgb(255 107 96 / 11%), transparent 60%),
    var(--navy);
  color: #dfe5f3; overflow: hidden; isolation: isolate;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 9%) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead { color: #b9c3dc; }
.section-navy .eyebrow { color: var(--teal-2); }
.section-head { max-width: 740px; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head .lead { margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.section-head-row > div { max-width: 640px; }

.cards-2, .cards-3, .cards-4 { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } }

/* Feature cards */
.feature {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 20px; transition: transform .45s var(--ease); }
.feature:hover .ic { transform: rotate(-7deg) scale(1.08); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--ink-2); margin: 0; }
.section-white .feature { background: var(--cream); border-color: transparent; }
.section-white .feature:hover { background: #fff; border-color: var(--line); }
.section-navy .feature { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 9%); }
.section-navy .feature p { color: #b9c3dc; }

/* Audience cards */
.audience {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 34px; color: #fff; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.audience:hover { color: #fff; transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.audience .tag { position: absolute; top: 26px; left: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 22%); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.audience .tag svg { width: 16px; height: 16px; }
.audience h3 { color: #fff; font-size: 1.6rem; }
.audience p { color: rgb(255 255 255 / 86%); }
.audience .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.audience .go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.audience:hover .go svg { transform: translateX(6px); }
.audience::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.audience::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgb(255 255 255 / 18%), transparent 50%); }
.aud-schools::before { background: linear-gradient(160deg, #26356a, var(--navy)); }
.aud-parents::before { background: linear-gradient(160deg, #13b5a8, #077a72); }
.aud-students::before { background: linear-gradient(160deg, #ff8f84, #e5524a); }
.audience .art { position: absolute; right: -36px; top: -36px; width: 220px; height: 220px; opacity: .16; z-index: -1; transition: transform .7s var(--ease); }
.audience:hover .art { transform: rotate(10deg) scale(1.1); }

/* Flow steps (01 · 02 · 03) with connecting line */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; counter-reset: flow; }
.flow::before {
  content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px; z-index: 0;
  background-image: linear-gradient(90deg, var(--teal) 50%, transparent 50%); background-size: 12px 2px; opacity: .5;
}
.flow-step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.flow-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; box-shadow: 0 0 0 7px #fff; }
.flow-icon svg { width: 28px; height: 28px; }
.flow-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--mist); }
.flow-step h3 { margin-bottom: .4em; }
.flow-step p { color: var(--ink-2); margin: 0; }
.section-white .flow-step { background: var(--cream); border-color: transparent; }
.section-white .flow-icon { box-shadow: 0 0 0 7px var(--cream); }
.section-navy .flow-step { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 9%); }
.section-navy .flow-step p { color: #b9c3dc; }
.section-navy .flow-icon { box-shadow: 0 0 0 7px var(--navy); }
.section-navy .flow-num { -webkit-text-stroke-color: rgb(255 255 255 / 25%); }
.section-navy .flow::before { background-image: linear-gradient(90deg, var(--teal-2) 50%, transparent 50%); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow::before { top: 30px; bottom: 30px; left: 54px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--teal) 50%, transparent 50%); background-size: 2px 12px; }
}

/* Split: media beside text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.media-stage {
  position: relative; border-radius: var(--radius-xl); padding: clamp(14px, 2.6vw, 30px);
  background: linear-gradient(150deg, var(--teal-soft), #fff 55%, var(--coral-soft));
  border: 1px solid rgb(21 31 61 / 6%);
}
.media-stage.tint-navy { background: linear-gradient(150deg, #e3e8f6, #fff 55%, var(--teal-soft)); }
.media-stage.tint-coral { background: linear-gradient(150deg, var(--coral-soft), #fff 55%, var(--amber-soft)); }
.media-stage.tint-amber { background: linear-gradient(150deg, var(--amber-soft), #fff 55%, var(--teal-soft)); }
.section-white .media-stage { border-color: rgb(21 31 61 / 5%); }
.shot { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); background: #fff; }
.shot-tag {
  position: absolute; right: clamp(22px, 3.6vw, 42px); bottom: clamp(22px, 3.6vw, 42px);
  background: rgb(21 31 61 / 78%); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .01em;
}
.media-chip {
  position: absolute; left: clamp(-24px, -2vw, -8px); top: 14%; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow); font-size: .84rem; line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.split.reverse .media-chip { left: auto; right: clamp(-24px, -2vw, -8px); }
.media-chip strong { display: block; font-size: .9rem; }
.media-chip .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.media-chip .ic svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .media-chip, .split.reverse .media-chip { left: 10px; right: auto; top: auto; bottom: -22px; }
  .split-media:has(.media-chip) { margin-bottom: 20px; }
}

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li svg { width: 24px; height: 24px; flex: none; color: var(--teal); margin-top: 1px; }
.checks strong { color: var(--ink); }
.section-navy .checks li { color: #cfd8ee; }
.section-navy .checks strong { color: #fff; }
.section-navy .checks li svg { color: var(--teal-2); }
.checks + p, .checks + .btn-row { margin-top: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.section-foot { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-big { text-align: center; padding: 28px 16px; border-radius: var(--radius-lg); background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 8%); }
.stat-big strong { display: block; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stat-big span { color: #b9c3dc; font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0 0 0 40px; position: relative; display: grid; gap: 18px; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal), var(--coral)); border-radius: 2px; }
.tl-item { position: relative; background: var(--cream); border-radius: var(--radius-lg); padding: 22px 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s; }
.tl-item:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow); }
.tl-item::before { content: ""; position: absolute; left: -35px; top: 26px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); }
.tl-item:nth-child(3)::before, .tl-item:nth-child(4)::before { border-color: var(--coral); }
.tl-item h3 { margin: 4px 0 .3em; }
.tl-item p { margin: 0; color: var(--ink-2); }
.tl-time { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 800; color: var(--teal-dark); letter-spacing: .1em; text-transform: uppercase; }
.tl-time svg { width: 15px; height: 15px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-help { margin-top: 28px; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.section-white .faq-help { background: var(--cream); border-color: transparent; }
.faq-help .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.faq-help .ic svg { width: 22px; height: 22px; }
.faq-help p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.faq-help a { font-weight: 700; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .3s, border-color .3s; }
.section-white .faq details { background: var(--cream); border-color: transparent; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background-color: var(--teal-soft);
  background-image: linear-gradient(var(--teal), var(--teal)), linear-gradient(var(--teal), var(--teal));
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--coral-soft); background-image: linear-gradient(var(--coral-dark), var(--coral-dark)), linear-gradient(var(--coral-dark), var(--coral-dark)); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; max-width: 62ch; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(135deg, var(--navy) 0%, #22306a 100%); color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; isolation: isolate;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #c7d0e6; margin: 0; font-size: 1.08rem; max-width: 34em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 10%) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgb(25 184 172 / 55%), transparent 70%); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.cta-band .cta-shield { position: absolute; left: -40px; bottom: -60px; width: 220px; height: 240px; opacity: .06; z-index: -1; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }
@media (max-width: 520px) { .cta-band .actions .btn { flex: 1 1 100%; } }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero .section-head { margin-bottom: 0; }
.breadcrumbs { padding-top: 22px; font-size: .86rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mist); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); text-decoration: underline; }

/* Highlight band of small facts (inner page heroes) */
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 650; color: var(--ink-2); }
.fact svg { width: 17px; height: 17px; color: var(--teal); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.contact-card { background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.contact-card.aside { background: linear-gradient(160deg, var(--navy), #22306a); color: #dfe5f3; border: 0; position: relative; overflow: hidden; isolation: isolate; }
.contact-card.aside::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgb(25 184 172 / 45%), transparent 70%); z-index: -1; }
.contact-card.aside h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.contact-card.aside p { color: #c7d0e6; }
.contact-card.aside .checks li { color: #cfd8ee; }
.contact-card.aside .checks strong { color: #fff; }
.contact-card.aside .checks li svg { color: var(--teal-2); }
.contact-card.aside a { color: #8ff0e6; }
.contact-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.chain { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; gap: 0; }
.chain li { display: flex; align-items: center; gap: 12px; position: relative; padding: 8px 0; font-weight: 650; color: #fff; font-size: .95rem; }
.chain li + li::before { content: ""; position: absolute; left: 19px; top: -10px; height: 20px; width: 2px; background: rgb(255 255 255 / 20%); }
.chain .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / 9%); color: var(--teal-2); flex: none; }
.chain .ic svg { width: 20px; height: 20px; }
.ic-tile { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 18px; }
.ic-tile svg { width: 26px; height: 26px; }
.contact-direct { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 12%); display: grid; gap: 4px; font-size: .92rem; }
.contact-direct a { font-weight: 700; word-break: break-all; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.stack { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; align-content: start; }
label, .label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.req { color: var(--coral-dark); margin-left: 2px; }
.hint { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: 13px 15px; min-height: 50px; border-radius: 13px;
  border: 1.5px solid var(--line); background: #fbfbf8; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--mist); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #9aa1b5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgb(10 151 141 / 14%); }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--teal); padding: 0; flex: none; margin: 1px 0 0; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink-2); font-size: .93rem; line-height: 1.5; cursor: pointer; flex-wrap: wrap; }
.check > span { flex: 1; min-width: 0; }
.check .field-error { flex-basis: 100%; padding-left: 34px; }
.role-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.role-picker label {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 13px; border: 1.5px solid var(--line);
  background: #fbfbf8; cursor: pointer; font-weight: 650; font-size: .92rem; color: var(--ink-2); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.role-picker label:hover { border-color: var(--mist); background: #fff; }
.role-picker label { position: relative; }
.role-picker input { position: absolute; left: 12px; top: 50%; width: 1px; height: 1px; min-height: 0; margin: 0; opacity: 0; pointer-events: none; }
.role-picker .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.role-picker .ic svg { width: 18px; height: 18px; }
.role-picker label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); box-shadow: 0 0 0 3px rgb(10 151 141 / 12%); }
.role-picker label:has(input:focus-visible) { outline: 3px solid var(--teal-2); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .9rem; }
@media (max-width: 420px) { .role-picker { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin: 0; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--ok-soft); color: #0b6b4a; }
.form-status.error { background: var(--coral-soft); color: var(--danger); }
.field-error { color: var(--danger); font-size: .83rem; font-weight: 600; }
[aria-invalid="true"] { border-color: var(--coral) !important; background: #fffafa; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.form-foot .hint { max-width: 34em; margin: 0; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; }
.secure-note svg { width: 15px; height: 15px; color: var(--teal); }

/* Prose (privacy notice, guides) */
.prose { max-width: 760px; font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.9em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--teal); font-weight: 800; }
.prose strong { color: var(--ink); }
.prose .checks { margin: 0 0 1.4em; }
.prose .checks li { margin: 0; }
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc p { font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--teal-dark); border-left-color: var(--teal); }
.callout { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--teal-soft); margin: 1.6em 0; }
.callout .icon { flex: none; width: 26px; height: 26px; color: var(--teal); }
.callout p { margin: 0; color: var(--ink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font-size: .9rem; margin-top: 20px; }
.meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.meta-row svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }

/* Safety page: data band notes */
.note-stack { display: grid; gap: 16px; }
.note { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); }
.note .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgb(25 184 172 / 16%); color: var(--teal-2); }
.note .ic svg { width: 22px; height: 22px; }
.note h3 { margin-bottom: .3em; }
.note p { margin: 0; color: #b9c3dc; }

/* Thank-you and 404 */
.state { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: clamp(56px, 10vw, 120px) 0; position: relative; overflow: hidden; isolation: isolate; }
.state .lead { margin-inline: auto; }
.state .hero-actions { justify-content: center; }
.state-icon { width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; margin: 0 auto 28px; box-shadow: var(--shadow); background: #fff; }
.state-icon svg { width: 44px; height: 44px; }
.big-404 { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 0 0 .1em; background: linear-gradient(135deg, var(--teal), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy); color: #b9c3dc; padding: clamp(56px, 8vw, 88px) 0 28px; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; left: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgb(25 184 172 / 20%), transparent 70%); z-index: -1; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-tagline { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 650; font-size: .93rem; padding: 10px 14px; border-radius: 12px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 10%); word-break: break-all; }
.footer-mail svg { width: 18px; height: 18px; color: var(--teal-2); flex: none; }
.footer-mail:hover { background: rgb(255 255 255 / 12%); }
.footer-col h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b9c3dc; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 10%); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
.made-in { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

/* =====================================================================
   Motion
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
/* On phones and tablets, slide up instead of sideways so nothing pokes past the screen edge. */
@media (max-width: 960px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(28px); } }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes statusCycle { 0% { opacity: 0; transform: translateY(6px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes digitIn { 0%, 8% { opacity: 0; transform: translateY(6px); } 14%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(10 151 141 / 55%); } 70% { box-shadow: 0 0 0 9px rgb(10 151 141 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(10 151 141 / 0%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .status-cycle .badge:first-child, .code-digits b { opacity: 1; }
  .underline path { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .site-footer, .marquee, .cta-band, .hero-art, .blob { display: none !important; }
  body { background: #fff; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
