/* INDEA design system. One stylesheet, no framework, no inline styles. */

@font-face {
  font-family: "Inter Variable";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #08172d;
  --navy-900: #0c1d38;
  --navy-800: #112a4e;
  --navy-700: #163563;
  --navy-600: #1d4580;
  --gold-700: #85600f;
  --gold-500: #c9992f;
  --gold-400: #dcb35a;
  --gold-300: #ecd08f;
  --ink: #16212f;
  --muted: #526074;
  --line: #dbe2ec;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --bg-warm: #faf7f0;
  --success: #17653a;
  --success-bg: #e8f5ee;
  --danger: #a3232a;
  --danger-bg: #fcebec;
  --warn-bg: #fff6dd;

  --font-sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4 Variable", Georgia, "Times New Roman", serif;

  --radius: 4px;
  --radius-sm: 3px;
  --shadow-sm: none;
  --shadow-md: 0 2px 10px rgba(12, 29, 56, 0.08);
  --container: 1140px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
strong { font-weight: 650; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; 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: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 0.8rem;
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 0.95rem/1 var(--font-sans); letter-spacing: 0.01em;
  padding: 0.95em 1.5em; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
  min-height: 46px; white-space: nowrap;
}
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-600); color: #fff; }
.btn--gold { background: var(--gold-400); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-950); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--ghost { color: var(--navy-800); background: transparent; }
.btn--ghost:hover { background: var(--bg-alt); color: var(--navy-800); }
.btn--sm { padding: 0.65em 1.1em; font-size: 0.875rem; min-height: 40px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-width: 0; padding-block: 12px; }
.brand img { height: 31px; width: auto; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 10px 12px; font-size: 0.95rem; font-weight: 550; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid transparent; border-radius: 0; white-space: nowrap;
}
.nav__link:hover { color: var(--navy-600); border-bottom-color: var(--line); }
.nav__link[aria-current="page"] { color: var(--navy-800); border-bottom-color: var(--gold-500); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions form { margin: 0; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy-800); cursor: pointer; flex: none;
}
.nav-toggle .icon { width: 1.5em; height: 1.5em; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"] { border-bottom-color: var(--gold-500); }
  .nav__actions { flex-direction: column; align-items: stretch; margin-top: 16px; }
  .nav__actions .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy-900); color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; margin-bottom: 0.5em; font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.5rem); }
.hero .eyebrow { color: var(--gold-400); }
.hero .lede { color: #cdd7e8; font-size: 1.15rem; margin-bottom: 2rem; }
/* Hero map and quick links */
.hero__map { margin: 0; justify-self: center; text-align: center; }
.hero__map .county-map { display: block; height: clamp(260px, 50vw, 560px); width: auto; margin-inline: auto; }
/* map:begin (generated by design/build-map.mjs, do not edit) */
.county-map path { fill: var(--gold-400); fill-opacity: var(--o); stroke: var(--gold-400); stroke-opacity: .55; stroke-width: 1.5; stroke-linejoin: round; animation: county-in 1.1s ease-out both; }
.county-map .p0 { --o: 0.84; } .county-map .p1 { --o: 0.83; } .county-map .p2 { --o: 0.82; } .county-map .p3 { --o: 0.81; } .county-map .p4 { --o: 0.80; } .county-map .p5 { --o: 0.80; } .county-map .p6 { --o: 0.79; } .county-map .p7 { --o: 0.78; } .county-map .p8 { --o: 0.77; } .county-map .p9 { --o: 0.76; } .county-map .p10 { --o: 0.75; } .county-map .p11 { --o: 0.74; } .county-map .p12 { --o: 0.73; } .county-map .p13 { --o: 0.73; } .county-map .p14 { --o: 0.72; } .county-map .p15 { --o: 0.71; } .county-map .p16 { --o: 0.70; } .county-map .p17 { --o: 0.69; } .county-map .p18 { --o: 0.68; } .county-map .p19 { --o: 0.67; } .county-map .p20 { --o: 0.66; } .county-map .p21 { --o: 0.66; } .county-map .p22 { --o: 0.65; } .county-map .p23 { --o: 0.64; } .county-map .p24 { --o: 0.63; } .county-map .p25 { --o: 0.62; } .county-map .p26 { --o: 0.61; } .county-map .p27 { --o: 0.60; } .county-map .p28 { --o: 0.59; } .county-map .p29 { --o: 0.59; } .county-map .p30 { --o: 0.58; } .county-map .p31 { --o: 0.57; } .county-map .p32 { --o: 0.56; } .county-map .p33 { --o: 0.55; } .county-map .p34 { --o: 0.54; } .county-map .p35 { --o: 0.53; } .county-map .p36 { --o: 0.52; } .county-map .p37 { --o: 0.51; } .county-map .p38 { --o: 0.51; } .county-map .p39 { --o: 0.50; } .county-map .p40 { --o: 0.49; } .county-map .p41 { --o: 0.48; } .county-map .p42 { --o: 0.47; } .county-map .p43 { --o: 0.46; } .county-map .p44 { --o: 0.45; } .county-map .p45 { --o: 0.44; } .county-map .p46 { --o: 0.44; } .county-map .p47 { --o: 0.43; } .county-map .p48 { --o: 0.42; } .county-map .p49 { --o: 0.41; } .county-map .p50 { --o: 0.40; } .county-map .p51 { --o: 0.39; } .county-map .p52 { --o: 0.38; } .county-map .p53 { --o: 0.37; } .county-map .p54 { --o: 0.37; } .county-map .p55 { --o: 0.36; } .county-map .p56 { --o: 0.35; } .county-map .p57 { --o: 0.34; } .county-map .p58 { --o: 0.33; } .county-map .p59 { --o: 0.32; } .county-map .p60 { --o: 0.31; } .county-map .p61 { --o: 0.30; } .county-map .p62 { --o: 0.29; } .county-map .p63 { --o: 0.29; } .county-map .p64 { --o: 0.28; } .county-map .p65 { --o: 0.27; } .county-map .p66 { --o: 0.26; } .county-map .p67 { --o: 0.25; } .county-map .p68 { --o: 0.24; } .county-map .p69 { --o: 0.23; } .county-map .p70 { --o: 0.22; } .county-map .p71 { --o: 0.22; } .county-map .p72 { --o: 0.21; } .county-map .p73 { --o: 0.20; } .county-map .p74 { --o: 0.19; } .county-map .p75 { --o: 0.18; } .county-map .p76 { --o: 0.17; } .county-map .p77 { --o: 0.16; } .county-map .p78 { --o: 0.15; } .county-map .p79 { --o: 0.15; } .county-map .p80 { --o: 0.14; } .county-map .p81 { --o: 0.13; } .county-map .p82 { --o: 0.12; } .county-map .p83 { --o: 0.11; } .county-map .p84 { --o: 0.10; } .county-map .p85 { --o: 0.09; } .county-map .p86 { --o: 0.08; } .county-map .p87 { --o: 0.08; } .county-map .p88 { --o: 0.07; } .county-map .p89 { --o: 0.06; } .county-map .p90 { --o: 0.05; } .county-map .p91 { --o: 0.04; }
.county-map .d0 { animation-delay: 400ms; }
.county-map .d1 { animation-delay: 530ms; }
.county-map .d2 { animation-delay: 660ms; }
.county-map .d3 { animation-delay: 790ms; }
.county-map .d4 { animation-delay: 920ms; }
.county-map .d5 { animation-delay: 1050ms; }
.county-map .d6 { animation-delay: 1180ms; }
.county-map .d7 { animation-delay: 1310ms; }
.county-map .d8 { animation-delay: 1440ms; }
.county-map .d9 { animation-delay: 1570ms; }
.county-map .d10 { animation-delay: 1700ms; }
.county-map .d11 { animation-delay: 1830ms; }
.county-map .d12 { animation-delay: 1960ms; }
.county-map .d13 { animation-delay: 2090ms; }
.county-map .d14 { animation-delay: 2220ms; }
.county-map .d15 { animation-delay: 2350ms; }
.county-map .d16 { animation-delay: 2480ms; }
.county-map .d17 { animation-delay: 2610ms; }
.county-map .d18 { animation-delay: 2740ms; }
.county-map .d19 { animation-delay: 2870ms; }
.county-map .d20 { animation-delay: 3000ms; }
.county-map .d21 { animation-delay: 3130ms; }
.county-map .d22 { animation-delay: 3260ms; }
.county-map .d23 { animation-delay: 3390ms; }
@keyframes county-in { 0% { fill-opacity: 0; } 30% { fill-opacity: .95; } 100% { fill-opacity: var(--o); } }
/* map:end */
.quickbar { background: var(--navy-950); border-bottom: 4px solid var(--gold-500); }
.quickbar__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.quickbar__list li { border-left: 1px solid rgba(255,255,255,.14); }
.quickbar__list li:first-child { border-left: 0; }
.quickbar a { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; padding: 22px 24px; text-decoration: none; color: #fff; }
.quickbar li:first-child a { padding-left: 0; }
.quickbar strong { display: block; font: 600 1.1rem/1.3 var(--font-serif); }
.quickbar small { color: #b6c4dc; font-size: .85rem; }
.quickbar .icon { color: var(--gold-400); }
.quickbar a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .quickbar__list { grid-template-columns: 1fr 1fr; }
  .quickbar__list li:nth-child(3) { border-left: 0; }
  .quickbar__list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .quickbar li:first-child a, .quickbar li:nth-child(3) a { padding-left: 0; }
}
@media (max-width: 520px) {
  .quickbar__list { grid-template-columns: 1fr; }
  .quickbar__list li { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .quickbar__list li:first-child { border-top: 0; }
  .quickbar a { padding-left: 0 !important; }
}

.page-hero { background: var(--navy-900); color: #fff; padding-block: clamp(40px, 6vw, 72px); border-bottom: 4px solid var(--gold-500); }
.page-hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.page-hero p { color: #d3dcec; max-width: 64ch; margin: 0; font-size: 1.1rem; }
.crumbs { display: flex; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; font-size: .85rem; color: #b6c4dc; flex-wrap: wrap; }
.crumbs a { color: #d3dcec; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--navy { background: var(--navy-900); color: #d3dcec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head--wide { max-width: none; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--split { grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .grid--3, .grid--2, .grid--split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card > :last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s; }
.card--link:hover { border-color: var(--navy-600); color: inherit; }
.card__more { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--navy-600); display: inline-flex; gap: 6px; align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 32px; } }
.pillar { border-top: 3px solid var(--navy-800); padding-top: 20px; }
.pillar h3 { margin-bottom: .4em; }
.pillar__more { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; min-height: 44px; }
.pillar__more:hover { text-decoration: underline; }

.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .board { grid-template-columns: 1fr; } }
.board li { border-top: 3px solid var(--gold-500); padding-top: 14px; }
.board strong { display: block; font: 600 1.2rem/1.3 var(--font-serif); color: var(--navy-900); }
.board span { color: var(--muted); font-size: .92rem; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.check-list .icon { color: var(--success); margin-top: 3px; stroke-width: 2.4; }
.section--navy .check-list .icon { color: var(--gold-400); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--navy-800); color: var(--gold-300); font: 600 1.2rem var(--font-serif);
}
.steps--narrow { max-width: 680px; margin-inline: auto; }
.steps h3 { margin: 4px 0 4px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

.price-card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; border-top: 4px solid var(--gold-500); }
.price-card h3 { margin-bottom: .2em; }
.price { font: 600 3rem/1 var(--font-serif); color: var(--navy-900); margin: .3em 0 .1em; }
.price small { font: 500 1rem var(--font-sans); color: var(--muted); }
.price-card .check-list .icon { color: var(--success); }

.curriculum { list-style: none; padding: 0; margin: 0; counter-reset: s; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.curriculum li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.curriculum li:last-child { border-bottom: 0; }
.curriculum li::before { content: counter(s, decimal-leading-zero); font: 600 .95rem var(--font-serif); color: var(--gold-700); min-width: 1.6em; }
.curriculum .t { flex: 1; font-weight: 550; }
.curriculum .d { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.curriculum .d .icon { width: 1em; height: 1em; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat { border-left: 3px solid var(--gold-500); padding-left: 16px; }
.stat strong { display: block; font: 600 2.1rem/1.1 var(--font-serif); color: var(--navy-900); }
.stat span { color: var(--muted); font-size: .92rem; }

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { max-width: 56ch; margin-inline: auto; color: #d3dcec; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }

.resource-group + .resource-group { margin-top: 2.5rem; }
.resource-group h2 { font-size: 1.3rem; padding-bottom: .5em; border-bottom: 2px solid var(--gold-400); display: inline-block; }
.resource-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .resource-list { grid-template-columns: 1fr; } }
.resource { display: block; height: 100%; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.resource:hover { border-color: var(--navy-600); color: inherit; }
.resource strong { display: flex; align-items: center; gap: 8px; color: var(--navy-700); }
.resource strong .icon { width: 1em; height: 1em; opacity: .7; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 2px; font: 700 .68rem var(--font-sans); letter-spacing: .08em; color: var(--muted); vertical-align: 2px; }
.resource span { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--gold-500); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"] {
  width: 100%; font: inherit; padding: 12px 14px; min-height: 48px; border: 1.5px solid #b9c4d4; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:hover { border-color: #8b9bb2; }
.field input:focus { outline: 3px solid rgba(201,153,47,.45); outline-offset: 0; border-color: var(--navy-600); }
.field textarea { width: 100%; font: inherit; padding: 12px 14px; min-height: 160px; border: 1.5px solid #b9c4d4; border-radius: var(--radius-sm); background: #fff; color: var(--ink); resize: vertical; }
.field textarea:hover { border-color: #8b9bb2; }
.field textarea:focus { outline: 3px solid rgba(201,153,47,.45); outline-offset: 0; border-color: var(--navy-600); }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.help { font-size: .85rem; color: var(--muted); }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: .95rem; min-height: 44px; }
.link-tap { display: inline-flex; align-items: center; min-height: 44px; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--navy-800); }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; margin-bottom: 20px; font-size: .95rem; }
.alert--error { background: var(--danger-bg); border-color: #e6aeb1; color: #6f161b; }
.alert--success { background: var(--success-bg); border-color: #a9d6bb; color: #0f4527; }
.alert--warn { background: var(--warn-bg); border-color: #ecd28d; color: #5b4300; }
.alert a { color: inherit; font-weight: 600; }

.plan-choice { border: 0; padding: 0; margin: 0; }
.plan-choice .legend { margin-bottom: 12px; display: block; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.plan__box { display: flex; flex-direction: column; height: 100%; padding: 20px 22px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.plan:hover .plan__box { border-color: #9fb0c9; }
.plan input:checked + .plan__box { border-color: var(--navy-800); background: #f3f7fd; box-shadow: 0 0 0 3px rgba(17,42,78,.12); }
.plan input:focus-visible + .plan__box { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.plan__name { display: block; font-weight: 650; font-size: 1.05rem; margin-bottom: 4px; }
.plan__desc { display: block; color: var(--muted); font-size: .9rem; }
.plan__price { display: block; margin-top: auto; padding-top: 12px; font: 600 1.7rem var(--font-serif); color: var(--navy-900); }

/* ---------- Auth layout ---------- */
.narrow { max-width: 560px; margin-inline: auto; }
.h3-like { font-size: 1.3rem; }
.aside-note { margin-top: 1.5rem; }
.pay-note { margin-top: 12px; }
.banner { margin-top: 24px; margin-bottom: 0; }
.auth { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } }
.auth__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.auth__panel h2 { font-size: 1.7rem; }
.auth__aside { padding-top: 8px; }
.auth__aside h3 { font-size: 1.25rem; }
.stack > * + * { margin-top: 20px; }
.row-between { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }

.stepper { display: flex; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; flex-wrap: wrap; font-size: .88rem; font-weight: 600; color: var(--muted); }
.stepper li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.stepper .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 2px; background: #fff; border: 1.5px solid #b9c4d4; font-size: .78rem; }
.stepper .is-current { background: var(--navy-800); color: #fff; }
.stepper .is-current .n { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-950); }
.stepper .is-done { background: var(--success-bg); color: var(--success); }
.stepper .is-done .n { background: var(--success); border-color: var(--success); color: #fff; }
.stepper .is-done .n .icon { width: 14px; height: 14px; stroke-width: 3; }

.success-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 20px; }
.success-mark .icon { width: 44px; height: 44px; stroke-width: 2.2; }

/* ---------- Member area ---------- */
.member-hero { background: var(--navy-900); color: #fff; padding-block: 40px; border-bottom: 4px solid var(--gold-500); }
.member-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin: 0 0 .2em; }
.member-hero p { color: #d3dcec; margin: 0; }
.member-hero .eyebrow { color: var(--gold-400); margin-bottom: .5rem; }
.dash { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash .card + .card { margin-top: 24px; }
.dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .95rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 550; word-break: break-word; }
.mini-links { list-style: none; padding: 0; margin: 0; }
.mini-links li + li { border-top: 1px solid var(--line); }
.mini-links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 550; }

progress { appearance: none; -webkit-appearance: none; width: 100%; height: 10px; border: 0; border-radius: 2px; background: #e3e9f2; overflow: hidden; display: block; }
progress::-webkit-progress-bar { background: #e3e9f2; border-radius: 2px; }
progress::-webkit-progress-value { background: var(--navy-700); border-radius: 2px; }
progress::-moz-progress-bar { background: var(--navy-700); border-radius: 2px; }
.progress-meta { display: flex; justify-content: space-between; margin: 10px 0 20px; font-size: .92rem; color: var(--muted); }
.progress-meta strong { color: var(--ink); }

.session-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.session-list li + li { border-top: 1px solid var(--line); }
.session-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; text-decoration: none; color: inherit; transition: background-color .15s; }
.session-row:hover { background: var(--bg-alt); color: inherit; }
.session-row__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--navy-800); font: 600 1rem var(--font-serif); border: 1.5px solid var(--line); }
.session-row__title { font-weight: 600; display: block; }
.session-row__meta { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 650; white-space: nowrap; background: var(--bg-alt); color: var(--muted); }
.badge .icon { width: 1em; height: 1em; stroke-width: 2.4; }
.badge--done { background: var(--success-bg); color: var(--success); }
.badge--next { background: var(--navy-800); color: #fff; }
.is-complete .session-row__num { background: var(--success); border-color: var(--success); color: #fff; }
.is-complete .session-row__num .icon { width: 20px; height: 20px; stroke-width: 2.6; }
@media (max-width: 560px) { .session-row { grid-template-columns: 40px 1fr; } .session-row .badge { grid-column: 2; justify-self: start; } }

.player { background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; background: #000; }
.session-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b6c4dc; padding-top: 64px; font-size: .95rem; }
.site-footer a { color: #d3dcec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { font: 700 .8rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 100%; max-width: 360px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Certificate ---------- */
body.certificate-page { background: #eef1f6; }
.certificate-wrap { max-width: 880px; margin: 32px auto; padding: 0 16px; }
.certificate { background: #fff; padding: clamp(28px, 6vw, 64px); text-align: center; border: 2px solid var(--navy-800); outline: 6px double var(--gold-500); outline-offset: -14px; box-shadow: var(--shadow-md); }
.certificate img.logo { width: min(420px, 100%); height: auto; margin: 0 auto 32px; }
.certificate h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); letter-spacing: .02em; margin-bottom: .2em; }
.certificate .cert-sub { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 650; margin-bottom: 28px; }
.certificate .cert-name { font: 600 clamp(1.8rem, 1.3rem + 2vw, 2.6rem) var(--font-serif); color: var(--navy-900); border-bottom: 2px solid var(--gold-500); display: inline-block; padding: 0 24px 6px; margin: 8px 0 24px; }
.certificate p { max-width: 56ch; margin-inline: auto; }
.cert-meta { display: flex; justify-content: center; gap: 40px; margin: 28px 0; flex-wrap: wrap; font-size: .95rem; }
.cert-meta strong { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.cert-sign { margin-top: 28px; }
.cert-sign img { height: 70px; width: auto; margin: 0 auto 6px; mix-blend-mode: multiply; }
.cert-sign .line { border-top: 1px solid var(--ink); max-width: 280px; margin: 0 auto 6px; }
.cert-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Board dashboard ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stats > div { padding: 18px 20px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stats dd { margin: 4px 0 0; font: 600 1.9rem/1.1 var(--font-serif); color: var(--navy-800); }
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--line); }
  .stats > div:last-child { grid-column: 1 / -1; border-left: 0; }
}
.scroll-hint { display: none; font-size: .85rem; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 900px) { .scroll-hint { display: block; } }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 16px; align-items: end; margin-bottom: 24px; }
.filters__go .btn { width: 100%; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters__q { grid-column: 1 / -1; } .filters__go { grid-column: 1 / -1; } }
.field select { width: 100%; font: inherit; padding: 12px 14px; min-height: 48px; border: 1.5px solid #b9c4d4; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field select:focus { outline: 3px solid rgba(201,153,47,.45); outline-offset: 0; border-color: var(--navy-600); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap:focus-visible { outline: 3px solid rgba(201,153,47,.6); outline-offset: 2px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 880px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg-alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table tbody th { min-width: 15rem; }
.table tbody th small { display: block; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap; background: var(--bg-alt); color: var(--muted); }
.pill--paid { background: var(--success-bg); color: var(--success); }
.pill--unpaid { background: var(--danger-bg); color: var(--danger); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { padding: 10px 0; border-top: 1px solid var(--line); }
.history li:first-child { border-top: 0; padding-top: 0; }
.history small { display: block; color: var(--muted); }
.divider { border-top: 1px solid var(--line); margin: 20px 0; }
.card form + .small { margin-top: 14px; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.admin-list li:first-child { border-top: 0; padding-top: 0; }
.admin-list a { font-weight: 600; }
.admin-list small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.license-form { margin-top: 16px; }
.license-edit { margin-top: 16px; }

/* ---------- Error ---------- */
.error-page { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.error-page .code { font: 600 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--font-serif); color: var(--gold-700); margin-bottom: .1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page { size: letter; margin: 0.6in; }
  body, body.certificate-page { background: #fff; }
  .no-print, .site-header, .site-footer, .skip-link { display: none !important; }
  .certificate-wrap { margin: 0; padding: 0; max-width: none; }
  .certificate { box-shadow: none; }
}
