/* ==========================================================================
   Prequalee — site stylesheet
   Hand-written, framework-free. 8px spacing rhythm, fluid type, one font.
   ========================================================================== */

:root {
  /* Brand */
  --emerald: #0E5A4A;
  --emerald-700: #0C4F41;
  --emerald-800: #0A4438;
  --emerald-900: #083A30;
  --emerald-950: #062B24;
  --mint: #3DDBB1;
  --mint-400: #5FE3C0;
  --mint-200: #BDF1E0;
  --mint-100: #DDF6EC;
  --mint-50: #F1FBF7;

  /* Neutrals */
  --ink: #16201D;
  --ink-2: #33413D;
  --muted: #56665F;
  --line: #DCEAE4;
  --line-strong: #C3DAD0;
  --field: #7A958C;
  --white: #FFFFFF;

  /* Feedback */
  --ok-bg: #E3F7EF;
  --ok-ink: #0A4A3C;
  --err-bg: #FDEEEE;
  --err-ink: #8A1C1C;
  --warn: #D99A1E;
  --warn-bg: #FFF7E6;
  --warn-ink: #7A4E00;

  /* Shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(10, 48, 40, .06);
  --shadow-sm: 0 1px 2px rgba(10, 48, 40, .05), 0 6px 16px -8px rgba(10, 48, 40, .12);
  --shadow-md: 0 2px 4px rgba(10, 48, 40, .04), 0 18px 36px -14px rgba(10, 48, 40, .20);
  --shadow-lg: 0 4px 10px rgba(10, 48, 40, .05), 0 32px 64px -24px rgba(10, 48, 40, .32);

  /* Spacing (8px rhythm) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 72px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.45rem + 3.2vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.1875rem, 1.1rem + .45vw, 1.4375rem); line-height: 1.3; letter-spacing: -.016em; font-weight: 700; }
p { margin: 0 0 1em; }

a {
  color: var(--emerald);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
a:hover { color: var(--emerald-900); text-decoration-thickness: 2px; }

::selection { background: var(--mint-200); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.signup-panel__copy :focus-visible { outline-color: var(--mint); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--emerald);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--emerald); color: var(--white); box-shadow: 0 10px 24px -12px rgba(14, 90, 74, .65); }
.btn--primary:hover { background: var(--emerald-800); color: var(--white); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(14, 90, 74, .7); }

.btn--mint { background: var(--mint); color: var(--emerald-950); box-shadow: 0 10px 28px -12px rgba(61, 219, 177, .7); }
.btn--mint:hover { background: var(--mint-400); color: var(--emerald-950); transform: translateY(-1px); }

.btn--glass { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); color: var(--white); border-color: rgba(255, 255, 255, .6); }

.btn--outline { background: var(--white); color: var(--emerald); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--emerald); color: var(--emerald-900); }

.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(14, 90, 74, .06);
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, .98); }
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(10, 48, 40, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 10px; transition: transform .35s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__bg { fill: #13705C; }

.site-nav { display: flex; align-items: center; gap: var(--s-1); }
.nav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: .96875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.nav-list a:hover { background: var(--mint-50); color: var(--emerald); }
.nav-list a[aria-current="page"] { color: var(--emerald); background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--mint-100); }
.nav-cta { margin-left: var(--s-1); }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .28s var(--ease), background-color .2s ease;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .is-open .nav-toggle__bars { background: transparent; }
  .is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-2);
    padding: var(--s-2) var(--gutter) var(--s-3);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px -28px rgba(10, 48, 40, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .28s var(--ease), visibility 0s linear .28s;
  }
  .js .is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s ease, transform .28s var(--ease);
  }
  .js .nav-list { flex-direction: column; gap: 2px; }
  .js .nav-list a { padding: 14px 12px; font-size: 1.0625rem; }
  .js .nav-cta { margin: 0; min-height: 48px; }

  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* Reading progress (articles) */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), #1FA383);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Shared section furniture ---------- */
.section { padding-block: var(--section); }
.section--mint { background: var(--mint-50); }
.section--tight-top { padding-top: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--s-2);
  color: var(--emerald);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--mint); }

.lead {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.7;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-3);
  max-width: none;
}
.section-head--row > div { max-width: 680px; }

.tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--mint-100);
  border-radius: 999px;
  background: var(--mint-50);
  color: var(--emerald);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.meta-item { display: inline-flex; align-items: center; gap: 8px; }
.meta-item svg { width: 16px; height: 16px; flex: none; color: var(--emerald); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(600px, 84vh, 800px);
  overflow: hidden;
  background: var(--emerald-950);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(6, 43, 36, .95) 0%, rgba(8, 58, 48, .86) 36%, rgba(14, 90, 74, .42) 68%, rgba(14, 90, 74, .14) 100%),
    linear-gradient(0deg, rgba(6, 43, 36, .6) 0%, rgba(6, 43, 36, 0) 50%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--s-6);
  padding-block: clamp(88px, 12vw, 152px) clamp(48px, 7vw, 88px);
}
.hero .kicker { color: var(--mint); }
.hero h1 { max-width: 15ch; margin: 0 0 var(--s-3); color: var(--white); }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__lead {
  max-width: 56ch;
  margin-bottom: var(--s-4);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: var(--s-6) 0 0;
  padding: var(--s-3) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
  color: rgba(255, 255, 255, .84);
  font-size: .9375rem;
  font-weight: 600;
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--mint); }

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--s-3);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-lg);
  background: rgba(6, 43, 36, .42);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease), background-color .3s ease, border-color .3s ease;
}
.hero-card:hover { color: var(--white); transform: translateY(-4px); background: rgba(6, 43, 36, .56); border-color: rgba(255, 255, 255, .36); }
.hero-card__label { color: var(--mint); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-card__title { font-size: 1.25rem; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.hero-card__text { color: rgba(255, 255, 255, .8); font-size: .9375rem; line-height: 1.55; }
.hero-card__meta { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .84); font-size: .875rem; font-weight: 600; }
.hero-card__meta .meta-item svg { color: var(--mint); }
.hero-card__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mint); color: var(--emerald-950); transition: transform .3s var(--ease); }
.hero-card__arrow svg { width: 18px; height: 18px; }
.hero-card:hover .hero-card__arrow { transform: translateX(3px); }

/* ---------- Intro / value ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.intro-grid h2 { max-width: 16ch; }

.pillars { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.pillar {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--s-2);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: border-color .25s ease, box-shadow .25s ease, transform .3s var(--ease);
}
.pillar:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pillar h3 { margin: 2px 0 4px; font-size: 1.125rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .96875rem; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--mint-50);
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px var(--mint-100);
}
.icon-tile svg { width: 22px; height: 22px; }

.path { margin-top: clamp(56px, 7vw, 96px); }
.path__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-3); }
.path__head h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.path__head p { margin: 0; color: var(--muted); font-size: .9375rem; }
.path__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.path__item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px var(--s-3) var(--s-3);
  border-radius: var(--r-md);
  background: var(--mint-50);
  box-shadow: inset 0 0 0 1px var(--mint-100);
  transition: background-color .25s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.path__item:hover { background: var(--mint-100); transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--mint-200), var(--shadow-sm); }
.path__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--emerald);
  color: var(--white);
  font-size: .875rem;
  font-weight: 800;
}
.path__item h4 { margin: var(--s-2) 0 var(--s-1); font-size: 1.0625rem; letter-spacing: -.012em; line-height: 1.3; }
.path__item p { flex: 1; margin: 0 0 var(--s-2); color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.path__item a { font-size: .9375rem; }
.path__item a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Guide cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.card:focus-within { outline: 2px solid var(--emerald); outline-offset: 3px; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mint-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: var(--s-3) var(--s-3) 28px; }
.card__title { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card__summary { margin: 0; color: var(--muted); font-size: .96875rem; line-height: 1.6; }
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}
.card__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--mint-50); color: var(--emerald); transition: transform .3s var(--ease), background-color .3s ease, color .3s ease; }
.card__arrow svg { width: 16px; height: 16px; }
.card:hover .card__arrow { transform: translateX(3px); background: var(--emerald); color: var(--white); }

/* ---------- Editorial standards ---------- */
.standards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.standards__media { position: relative; }
.standards__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.standards__media::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  z-index: -1;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--mint-100), rgba(61, 219, 177, .08));
}
.standards__badge {
  position: absolute;
  right: var(--s-3);
  bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 290px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.standards__badge strong { display: block; color: var(--ink); font-size: .9375rem; line-height: 1.35; }
.standards__badge span { display: block; color: var(--muted); font-size: .8125rem; }

.standards-list { margin: var(--s-4) 0 0; padding: 0; list-style: none; counter-reset: std; }
.standards-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-2);
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
  counter-increment: std;
}
.standards-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.standards-list li::before {
  content: "0" counter(std);
  color: var(--emerald);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.9;
}
.standards-list h3 { margin: 0 0 4px; font-size: 1.125rem; }
.standards-list p { margin: 0; color: var(--muted); font-size: .96875rem; }

/* ---------- Glossary strip ---------- */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  margin: 0;
}
.term {
  display: flex;
  flex-direction: column;
  padding: 28px var(--s-3) var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color .25s ease, box-shadow .3s ease;
}
.term:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.term dt { margin-bottom: var(--s-1); color: var(--ink); font-size: 1.0625rem; font-weight: 800; letter-spacing: -.012em; }
.term dd { display: flex; flex: 1; flex-direction: column; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.term dd p { flex: 1; margin: 0 0 var(--s-2); }
.term dd a { font-size: .875rem; }

/* ---------- Sign-up band ---------- */
.signup-band { padding-block: var(--section); }
.signup-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 72px);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 140% at 0% 0%, #15735F 0%, var(--emerald) 38%, var(--emerald-900) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.signup-panel::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 219, 177, .34) 0%, rgba(61, 219, 177, 0) 68%);
}
.signup-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.signup-panel .kicker { color: var(--mint); }
.signup-panel h2 { color: var(--white); max-width: 14ch; }
.signup-panel__copy > p { color: rgba(255, 255, 255, .84); font-size: 1.0625rem; max-width: 46ch; }
.signup-panel__copy a { color: var(--mint); }
.signup-panel__copy a:hover { color: var(--white); }
.check-list { display: grid; gap: 12px; margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--mint); }
.signup-panel .check-list li { color: rgba(255, 255, 255, .92); }

/* ---------- Forms ---------- */
.form-card {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.signup-panel .form-card { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.form-card__title { margin: 0 0 6px; font-size: 1.375rem; }
.form-card__intro { margin: 0 0 var(--s-3); color: var(--muted); font-size: .9375rem; }

.form { position: relative; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .9375rem; font-weight: 700; }
.field .opt { color: var(--muted); font-weight: 500; }
.field .req { color: var(--emerald); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--field);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 168px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--emerald); }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 0;
  border-color: var(--emerald);
  box-shadow: 0 0 0 6px rgba(61, 219, 177, .28);
}
.field__hint { margin: 6px 0 0; color: var(--muted); font-size: .8125rem; }

.consents { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-sm); background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--mint-100); }
.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-2);
  font-size: .84375rem;
  line-height: 1.6;
  cursor: pointer;
}
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--emerald); cursor: pointer; }
.check a { font-weight: 700; }
.form-note { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.55; }

.form-status { padding: 14px 16px; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--ok-bg); color: var(--ok-ink); box-shadow: inset 0 0 0 1px #9FE3CB; }
.form-status.is-error { background: var(--err-bg); color: var(--err-ink); box-shadow: inset 0 0 0 1px #F2B8B8; }

.notice { margin-bottom: var(--s-3); padding: 14px 16px; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 600; }
.notice--error { background: var(--err-bg); color: var(--err-ink); box-shadow: inset 0 0 0 1px #F2B8B8; }

/* Honeypot: off-screen for people, present for bots */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(61, 219, 177, .16) 0%, rgba(61, 219, 177, 0) 70%),
    linear-gradient(180deg, var(--mint-50) 0%, var(--white) 100%);
}
.page-hero h1 { max-width: 18ch; font-size: clamp(2.125rem, 1.55rem + 2.6vw, 3.625rem); }
.page-hero .lead { max-width: 60ch; margin-bottom: 0; }
.page-hero--split .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--s-3); color: var(--muted); font-size: .9375rem; font-weight: 600; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 var(--s-3);
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--field); border-right: 1.5px solid var(--field); transform: rotate(45deg); margin-right: 4px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--emerald); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Article ---------- */
.article-hero {
  padding-top: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(61, 219, 177, .14) 0%, rgba(61, 219, 177, 0) 70%),
    linear-gradient(180deg, var(--mint-50) 0%, var(--white) 88%);
}
.article-hero__head { max-width: 880px; }
.article-hero h1 { margin: var(--s-2) 0 20px; font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.75rem); }
.article-dek { max-width: 62ch; margin: 0; color: var(--ink-2); font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.6; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
}
.article-figure { margin: clamp(32px, 5vw, 56px) 0 0; }
.article-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.article-figure figcaption { margin-top: 12px; color: var(--muted); font-size: .8125rem; }
.article-figure figcaption a { color: var(--muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(48px, 6vw, 80px) var(--section);
}
.article-layout--legal { padding-top: clamp(40px, 5vw, 64px); }

.prose { width: 100%; min-width: 0; max-width: 720px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.78; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.1em 0 .6em; color: var(--ink); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { margin: 1.8em 0 .5em; color: var(--ink); font-size: 1.25rem; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; padding-left: .2em; }
.prose li::marker { color: var(--emerald); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 600; }
.prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }

.takeaways {
  position: relative;
  margin: 0 0 var(--s-6);
  padding: 28px 28px 16px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--mint-50) 0%, #E8F8F1 100%);
  box-shadow: inset 0 0 0 1px var(--mint-100);
}
.takeaways::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--mint); }
.prose .takeaways h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s-2);
  font-size: .875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
}
.prose .takeaways h2 svg { width: 20px; height: 20px; }
.takeaways ul { margin: 0; padding: 0; list-style: none; }
.prose .takeaways li { position: relative; margin-bottom: 14px; padding-left: 34px; color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }
.takeaways li::before {
  content: "";
  position: absolute;
  top: .2em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.callout {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--s-2);
  margin: var(--s-4) 0;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mint);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.03125rem;
  line-height: 1.7;
}
.callout .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.callout .icon-tile svg { width: 20px; height: 20px; }
.callout p { margin: 0 0 .5em; }
.callout p:last-child { margin-bottom: 0; }
.callout__title { color: var(--ink); font-weight: 800; }
.callout--caution { border-left-color: var(--warn); }
.callout--caution .icon-tile { background: var(--warn-bg); color: var(--warn-ink); box-shadow: inset 0 0 0 1px #F5DFB0; }

.formula {
  margin: var(--s-4) 0;
  padding: var(--s-3);
  border-radius: var(--r-md);
  background: var(--emerald-950);
  color: var(--white);
  text-align: center;
  font-size: clamp(1rem, .95rem + .4vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.6;
}
.formula span { color: var(--mint); }

.table-wrap {
  margin: var(--s-4) 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .96875rem; line-height: 1.55; }
.prose caption { padding: 14px 18px 0; color: var(--muted); font-size: .8125rem; font-weight: 600; text-align: left; caption-side: bottom; padding-bottom: 14px; }
.prose th, .prose td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--mint-50); color: var(--ink); font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.prose tbody th { color: var(--ink); font-weight: 700; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tfoot td, .prose tfoot th { border-top: 2px solid var(--line-strong); border-bottom: 0; color: var(--ink); font-weight: 800; }

.checklist { display: grid; gap: 10px; margin: var(--s-3) 0 var(--s-4); padding: var(--s-3); list-style: none; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--white); }
.prose .checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; color: var(--ink); font-size: 1.03125rem; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--emerald); }

.resources-box {
  margin: var(--s-8) 0 0;
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.prose .resources-box h2 { margin: 0 0 6px; font-size: 1.375rem; }
.resources-box > p { color: var(--muted); font-size: .9375rem; }
.prose .resource-list { display: grid; gap: 10px; margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.prose .resource-list li { margin: 0; padding: 0; }
.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: var(--mint-50);
  box-shadow: inset 0 0 0 1px var(--mint-100);
  color: var(--emerald-900);
  text-decoration: none;
  transition: background-color .2s ease, transform .25s var(--ease);
}
.resource-list a:hover { background: var(--mint-100); color: var(--emerald-900); transform: translateX(2px); }
.resource-list strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.resource-list span.desc { display: block; color: var(--muted); font-size: .875rem; font-weight: 500; line-height: 1.5; }
.resource-list svg { width: 18px; height: 18px; flex: none; color: var(--emerald); }

.article-note {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.65;
}

.article-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--s-2); }
.toc { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.toc__title { margin: 0 0 var(--s-2); color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.toc a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: .90625rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.toc a:hover, .toc a.is-active { border-left-color: var(--emerald); color: var(--emerald); }
.aside-cta { padding: var(--s-3); border-radius: var(--r-md); background: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-900) 100%); color: rgba(255, 255, 255, .86); font-size: .9375rem; line-height: 1.6; }
.aside-cta strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1.0625rem; }
.aside-cta p { margin: 0 0 var(--s-2); }
.aside-cta .btn { width: 100%; }

/* Keep reading */
.keep-reading { padding-block: var(--section); border-top: 1px solid var(--line); background: var(--mint-50); }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--s-2);
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.mini-card:focus-within { outline: 2px solid var(--emerald); outline-offset: 3px; }
.mini-card img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; }
.mini-card h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; }
.mini-card h3 a { color: var(--ink); text-decoration: none; }
.mini-card h3 a::after { content: ""; position: absolute; inset: 0; }
.mini-card h3 a:focus-visible { outline: none; }
.mini-card .meta-item { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.mini-card--all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-3);
  border-color: transparent;
  background: var(--emerald);
  color: var(--white);
  text-decoration: none;
}
.mini-card--all:hover { color: var(--white); background: var(--emerald-800); }
.mini-card--all strong { display: block; font-size: 1.0625rem; }
.mini-card--all span { color: rgba(255, 255, 255, .8); font-size: .875rem; }
.mini-card--all svg { width: 22px; height: 22px; flex: none; color: var(--mint); transition: transform .3s var(--ease); }
.mini-card--all:hover svg { transform: translateX(4px); }

/* ---------- Resources page ---------- */
.reading-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; list-style: none; counter-reset: rp; }
.reading-path li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  counter-increment: rp;
  transition: box-shadow .25s ease, transform .3s var(--ease);
}
.reading-path li:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); transform: translateY(-2px); }
.reading-path li::before { content: counter(rp); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mint-50); color: var(--emerald); font-weight: 800; box-shadow: inset 0 0 0 1px var(--mint-100); }
.reading-path a { color: var(--ink); font-weight: 700; line-height: 1.4; text-decoration: none; }
.reading-path a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.reading-path span { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }

.official-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.official-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.official-grid a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.official-grid strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.0625rem; }
.official-grid strong svg { width: 18px; height: 18px; flex: none; color: var(--emerald); }
.official-grid span { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.official-grid .url { color: var(--emerald); font-size: .8125rem; font-weight: 700; }
.fine-print { margin-top: var(--s-3); color: var(--muted); font-size: .875rem; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__side h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.topic-grid li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-2); padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.topic-grid strong { display: block; color: var(--ink); font-size: 1rem; }
.topic-grid span { display: block; color: var(--muted); font-size: .90625rem; line-height: 1.55; }
.panel { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--mint-100); }
.panel--dark { background: linear-gradient(150deg, var(--emerald) 0%, var(--emerald-950) 100%); color: rgba(255, 255, 255, .86); box-shadow: var(--shadow-lg); }
.panel--dark h2, .panel--dark h3 { color: var(--white); }
.panel--dark a:not(.btn) { color: var(--mint); }
.panel--dark a:not(.btn):hover { color: var(--white); }
.stack > * + * { margin-top: var(--s-2); }

/* ---------- Contact & sign-up ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.info-stack { display: grid; gap: var(--s-2); }
.info-card { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.info-card h2 { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-1); font-size: 1.125rem; letter-spacing: -.012em; }
.info-card h2 .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.info-card h2 .icon-tile svg { width: 20px; height: 20px; }
.info-card p, .info-card li { color: var(--muted); font-size: .96875rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card ul { margin: 0; padding-left: 1.2em; }
.info-card li { margin-bottom: 6px; }
.info-card li::marker { color: var(--emerald); }
.email-link { display: inline-flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 800; text-decoration: none; }
.email-link svg { width: 20px; height: 20px; }
.info-card--feature { border-color: transparent; background: linear-gradient(150deg, var(--emerald) 0%, var(--emerald-900) 100%); color: rgba(255, 255, 255, .86); }
.info-card--feature h2 { color: var(--white); }
.info-card--feature p { color: rgba(255, 255, 255, .84); }
.info-card--feature .email-link { color: var(--mint); }
.info-card--feature .email-link:hover { color: var(--white); }
.info-card--feature .icon-tile { background: rgba(255, 255, 255, .1); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }

/* ---------- Status pages ---------- */
.status-page { padding-block: clamp(64px, 10vw, 140px); background: radial-gradient(60% 60% at 50% 0%, rgba(61, 219, 177, .16) 0%, rgba(61, 219, 177, 0) 70%), linear-gradient(180deg, var(--mint-50), var(--white)); }
.status-panel { max-width: 680px; margin-inline: auto; text-align: center; }
.status-panel .lead { margin-inline: auto; max-width: 52ch; }
.status-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto var(--s-3); border-radius: var(--r-lg); background: var(--emerald); color: var(--mint); box-shadow: 0 20px 40px -18px rgba(14, 90, 74, .7); }
.status-icon svg { width: 34px; height: 34px; }
.status-code { display: block; margin-bottom: var(--s-1); color: var(--emerald); font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: var(--s-4) 0 0; }
.status-links { margin-top: var(--s-8); text-align: left; }

/* ---------- Legal ---------- */
.legal-updated { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-3); padding: 6px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: .875rem; font-weight: 700; }
.legal-updated svg { width: 16px; height: 16px; color: var(--emerald); }
.prose .legal-summary { padding: var(--s-3); border-radius: var(--r-md); background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--mint-100); color: var(--ink); font-size: 1.0625rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(56px, 7vw, 96px) 0 var(--s-4);
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(61, 219, 177, .1) 0%, rgba(61, 219, 177, 0) 70%),
    var(--emerald-950);
  color: rgba(255, 255, 255, .76);
  font-size: .9375rem;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.footer-brand p { max-width: 36ch; margin: var(--s-2) 0 0; line-height: 1.65; }
.site-footer h2 { margin: 6px 0 var(--s-2); color: var(--white); font-size: .78125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-2); font-weight: 700; }
.footer-email svg { width: 18px; height: 18px; color: var(--mint); }
.footer-disclaimer {
  margin: var(--s-6) 0 0;
  padding: 20px var(--s-3);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  line-height: 1.65;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .08s; }
  .js .reveal-d2 { transition-delay: .16s; }
  .js .reveal-d3 { transition-delay: .24s; }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .prose { margin-inline: auto; }
  .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .hero-card { max-width: 480px; }
  .intro-grid, .standards, .contact-grid, .split, .page-hero--split .container { grid-template-columns: minmax(0, 1fr); }
  .intro-grid h2 { max-width: 22ch; }
  .split__side h2 { position: static; }
  .path__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standards__media { max-width: 560px; }
  .standards__media img { aspect-ratio: 4 / 3; }
  .signup-panel { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .reading-path, .official-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__media { max-width: 640px; }
}

@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 43, 36, .78) 0%, rgba(8, 58, 48, .86) 55%, rgba(6, 43, 36, .95) 100%);
  }
  .hero__inner { padding-block: 72px 48px; }
  .hero__facts { margin-top: var(--s-4); }
  .article-figure img { aspect-ratio: 3 / 2; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .card-grid, .path__list, .terms-grid, .mini-grid, .reading-path, .official-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
  .hero__actions .btn { flex: 1 1 100%; }
  .takeaways { padding: var(--s-3) 20px 12px; }
  .callout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; }
  .resources-box { padding: var(--s-3) 20px; }
  .standards__badge { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .prose { font-size: 1.0625rem; }
  .mini-card { grid-template-columns: 96px minmax(0, 1fr); }
  .mini-card img { width: 96px; height: 72px; }
  .signup-panel { padding: 20px; }
  .signup-panel__copy { padding: var(--s-1) 4px 0; }
  .form-card { padding: 20px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .site-header, .site-footer, .article-aside, .keep-reading, .signup-band, .progress, .skip-link { display: none !important; }
  body { color: #000; }
  .prose { max-width: none; }
}

/* ---------- Small modifiers ---------- */
.panel--dark .kicker { color: var(--mint); }
.standards-list--flush { margin-top: 0; }
