:root {
  --bg: #F3F6FA;
  --surface: #FFFFFF;
  --ink: #0A1A2F;
  --muted: #4B5A6B;
  --line: #D3DBE4;
  --navy: #002244;
  --on-navy: #FFFFFF;
  --on-navy-muted: #A5ACAF;
  --accent: #69BE28;        /* action green */
  --accent-ink: #3E7A12;    /* green for text on light ground */
  --on-accent: #002244;
  --two: #2F80FF;           /* electric blue: every "2" */
  --two-ink: #1F63D8;
  --band-line: #1D3A5C;
  --band-field: #001A35;
  --warn: #F2A900;
  --ok: #19B37A;
  --bad: #E5484D;
  --font-display: "Rajdhani", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #00152B; --surface: #062A4D; --ink: #EAF0F5; --muted: #A5ACAF; --line: #17375A;
    --accent-ink: #7ED13D; --two-ink: #4C93FF; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #00152B; --surface: #062A4D; --ink: #EAF0F5; --muted: #A5ACAF; --line: #17375A;
  --accent-ink: #7ED13D; --two-ink: #4C93FF; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.two { color: var(--two); }
.light .two { color: var(--two-ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); }

/* ---------- Site header ---------- */
.site-head { background: var(--navy); color: var(--on-navy); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; border-bottom: 1px solid var(--band-line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex-wrap: wrap; }
.wordmark b { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: 0.02em; }
.wordmark b .o, .wordmark b .r { color: var(--accent); }
.wordmark small { font-size: 0.78rem; color: var(--on-navy-muted); letter-spacing: 0.04em; }
.logo-note { font-family: var(--font-mono); font-size: 0.64rem; color: var(--warn); border: 1px dashed currentColor; padding: 1px 6px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.nav-links a { text-decoration: none; color: var(--on-navy-muted); padding-block: 6px; position: relative; transition: color 150ms var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-navy); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { padding: 10px 14px; color: var(--on-accent); }
.nav-links .btn::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem/1 var(--font-body); padding: 14px 20px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, white); }
.btn-ghost { color: var(--on-navy); border-color: color-mix(in srgb, var(--on-navy-muted) 50%, transparent); background: transparent; }
.btn-ghost:hover { border-color: var(--on-navy); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--accent-ink); }

/* ---------- Views ---------- */
.band { background: var(--navy); color: var(--on-navy); }
.eyebrow { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.light .eyebrow { color: var(--accent-ink); }
section { padding-block: 64px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); max-width: 46ch; }
.page-head { padding-block: 48px 52px; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-top: 10px; }
.page-head .lede { margin-top: 14px; color: var(--on-navy-muted); max-width: 60ch; font-size: 1.05rem; }
.crumbs { font-size: 0.85rem; color: var(--on-navy-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-navy-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-navy); }
.draft { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--warn); border: 1px dashed currentColor; border-radius: 4px; padding: 2px 8px; margin-top: 14px; }

/* Home hero */
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 48px 72px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 18px; font-size: 1.08rem; color: var(--on-navy-muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; font-size: 0.85rem; color: var(--on-navy-muted); list-style: none; padding: 0; }
.facts li::before { content: "■ "; color: var(--accent); font-size: 0.6rem; vertical-align: 2px; }

/* Console mock */
.console { background: #00101F; border: 1px solid var(--band-line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); min-width: 0; color: #C8D6EE; }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--band-line); font-family: var(--font-mono); font-size: 0.72rem; color: #A5ACAF; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--band-line); display: block; }
.sim-tag { color: var(--warn); }
.console-body { padding: 14px; font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.75; overflow-x: auto; }
.row { display: grid; grid-template-columns: 64px 136px 1fr; gap: 10px; white-space: nowrap; padding: 0 6px; border-radius: 4px; transition: background-color 180ms var(--ease-out); }
.row:hover { background: rgba(105,190,40,0.10); }
.row .t { color: #6F8499; }
.row.flag { background: rgba(242,169,0,0.12); color: #FFD677; }
.row.flag .t { color: #FFD677; }
.console-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--band-line); font-size: 0.8rem; }
.check-ok { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ok); }
.check-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Lab cards */
.labs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lab {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .lab:hover { transform: translateY(-3px); border-color: var(--accent); } }
.lab-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.lab-top .free { color: var(--accent-ink); font-weight: 500; }
.lab h3 { font-size: 1.55rem; }
.lab > p { color: var(--muted); font-size: 0.95rem; }
.lab dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; font-size: 0.85rem; }
.lab dt { color: var(--muted); }
.lab dd { margin: 0; }
.lab .go { font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); }
.refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.ref { font-family: var(--font-mono); font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }

.how { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.how li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 14px; }
.how li::before { content: "Step " counter(step); display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-ink); letter-spacing: 0.06em; text-transform: uppercase; }
.how h3 { font-size: 1.25rem; margin-top: 6px; }
.how p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* Signup */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.signup h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 10px; }
.signup p { color: var(--on-navy-muted); margin-top: 12px; }
form { display: grid; gap: 12px; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: 400 1rem var(--font-body); padding: 14px 16px; border-radius: 8px;
  border: 1px solid var(--band-line); background: var(--band-field); color: var(--on-navy);
  transition: border-color 160ms var(--ease-out);
}
input[type="email"]::placeholder { color: #6F8499; }
input[type="email"]:focus { outline: none; border-color: var(--accent); }
.role { display: flex; flex-wrap: wrap; gap: 8px; }
.role label { font-size: 0.82rem; padding: 6px 12px; border: 1px solid var(--band-line); border-radius: 999px; cursor: pointer; color: var(--on-navy-muted); transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--on-navy); }
.role label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.fine { font-size: 0.78rem; color: var(--on-navy-muted); }
.msg { font-size: 0.9rem; min-height: 1.5em; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.msg.err { color: #FF9C9C; }
.msg.ok { color: #A8E07C; }
.msg.enter { opacity: 0; transform: translateY(4px); }

/* ---------- Catalog, paths, verticals ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.path h3 { font-size: 1.45rem; }
.path p { color: var(--muted); font-size: 0.93rem; }
.path ol { margin: 4px 0 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: 0.92rem; }
.path ol a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.path ol a:hover { text-decoration: underline; }
.mini-free { font-family: var(--font-mono); font-size: 0.66rem; color: var(--accent-ink); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.cat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.03em; }
.lvl { font-family: var(--font-mono); font-size: 0.68rem; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.lvl.l1 { color: var(--accent-ink); }
.lvl.l2 { color: var(--two-ink); }
.lvl.l3 { color: #C2410C; }
.filters { display: grid; gap: 10px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 0.84rem var(--font-body); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.chip:hover { border-color: var(--accent-ink); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.cat h3 { font-size: 1.2rem; }
a.cat { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
@media (hover: hover) and (pointer: fine) { a.cat:hover { transform: translateY(-2px); border-color: var(--accent); } }
.cat.soon { background: transparent; border-style: dashed; }
.cat.soon h3 { color: var(--muted); }
.status { font-size: 0.82rem; font-weight: 600; }
.status.is-free { color: var(--accent-ink); }
.status.is-soon { color: var(--muted); font-weight: 500; }
.status.is-pro { color: var(--two-ink); }
.mini-pro { color: var(--two-ink); }
a.cat.pro { border-color: var(--line); }
.packcard { text-decoration: none; color: inherit; transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.packcard .go { font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .packcard:hover { transform: translateY(-2px); border-color: var(--accent); } }
.empty { color: var(--muted); }
.verts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.vert.all { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.vert.all p { color: var(--on-navy-muted); }
.vert.all .vcount { color: var(--accent); }
.vert { grid-template-rows: auto auto 1fr auto; }
.vert .go { align-self: end; padding-top: 6px; font-weight: 600; font-size: 0.88rem; color: var(--accent-ink); }
.vert.all .go { color: var(--accent); }
.stats { border-top: 1px solid var(--band-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 26px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--on-navy); }
.stat span { font-size: 0.85rem; color: var(--on-navy-muted); }
.stds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-block: 0 28px; font-size: 0.8rem; color: var(--on-navy-muted); }
.stds .ref { background: transparent; border: 1px solid var(--band-line); color: var(--on-navy); }
.vert { display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .vert:hover { transform: translateY(-2px); border-color: var(--accent); } }
.vert h3 { font-size: 1.35rem; }
.vert p { color: var(--muted); font-size: 0.9rem; }
.vcount { font-size: 0.7rem; color: var(--accent-ink); }

/* ---------- Lab detail ---------- */
.lab-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.lab-main { display: grid; gap: 44px; min-width: 0; }
.lab-main h2 { font-size: 1.75rem; margin-bottom: 12px; }
.lab-main p { max-width: 68ch; }
.lab-main .note { color: var(--muted); font-size: 0.92rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--accent-ink); }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 0.94rem; }
.meta { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; }
.meta dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 0.9rem; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.meta .fine { color: var(--muted); }

/* Auto-check */
.checkbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.checkbox-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.checkbox-body { padding: 18px; display: grid; gap: 14px; }
.checkbox-body .q { font-weight: 600; }
.opts { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; }
.opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.opt:hover { border-color: var(--accent-ink); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.opt:has(input:checked) { border-color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.opt.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.opt.wrong { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.result { font-size: 0.94rem; padding: 12px 14px; border-radius: 8px; border-left: 3px solid var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.result.miss { border-left-color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.result.enter { opacity: 0; transform: translateY(4px); }
.check-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.reflist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reflist li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.reflist .mono { font-size: 0.78rem; color: var(--accent-ink); padding-top: 2px; }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 8px; padding: 14px 16px; background: var(--surface); font-size: 0.92rem; color: var(--muted); }
.callout strong { color: var(--ink); }

/* ---------- Prose pages ---------- */
.prose { display: grid; gap: 34px; max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-bottom: 10px; }
.prose p + p { margin-top: 12px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.placeholder { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--ink); padding: 0 4px; border-radius: 3px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards3 > div { border-top: 2px solid var(--accent); padding-top: 14px; }
.cards3 h3 { font-size: 1.3rem; }
.cards3 p { color: var(--muted); font-size: 0.94rem; margin-top: 6px; }

.ribbon { background: var(--warn); color: #1a1200; font: 600 0.78rem/1.4 var(--font-body); text-align: center; padding: 6px 16px; }
.status.is-pro { color: var(--two-ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 0.85rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .signup, .lab-layout { grid-template-columns: 1fr; }
  .labs, .cards3, .paths { grid-template-columns: 1fr; }
  .verts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta { position: static; }
  .nav-links a:not(.btn):not(.keep) { display: none; }
}
@media (max-width: 520px) {
  .how, .verts { grid-template-columns: 1fr; }
  .stat b { font-size: 1.9rem; }
  .wordmark b { font-size: 1.3rem; white-space: nowrap; }
  .nav-links .btn { white-space: nowrap; padding: 9px 12px; font-size: 0.88rem; }
  .nav-links a.keep { display: none; }
  .row { grid-template-columns: 60px 1fr; white-space: normal; }
  .row > span:nth-child(3) { grid-column: 2; margin-bottom: 4px; }
  .row.flag > span:nth-child(3) { color: #FFD677; }
  .row { grid-template-columns: 60px 136px 1fr; }
  section { padding-block: 48px; }
  .reflist li { grid-template-columns: 1fr; gap: 2px; }
  .wordmark small, .logo-note { display: none; }
  .nav-links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
  .lab:hover { transform: none; }
  .btn:active { transform: none; }
}

/* ---------- Static-site additions ---------- */
.wordmark { color: var(--on-navy); }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-out); }
.skip:focus { transform: translateY(60px); }
.stub { border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); background: var(--surface); }
.stub strong { color: var(--ink); }
/* Gentle reveal on scroll: opacity + transform only, once, short. */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .skip { transition: none; }
}

/* ===================== Site extras (2026-11-29): paths, certificate, Lab of the Week, catalog, teams, explainer ===================== */


[hidden] { display: none !important; }

/* Mobile menu */
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--band-line); border-radius: 8px; background: transparent; cursor: pointer; position: relative; transition: transform 160ms var(--ease-out); }
.menu-btn:active { transform: scale(0.95); }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--on-navy); border-radius: 2px; transition: transform 200ms var(--ease-out); }
.menu-btn i:first-of-type { top: 15px; } .menu-btn i:last-of-type { top: 22px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.menu { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--band-line); opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms; }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s; }
  .menu .wrap { display: grid; padding-block: 8px 16px; }
  .menu a { color: var(--on-navy); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--band-line); font-weight: 500; }
  .menu a[aria-current="page"] { color: var(--accent); }
  .menu a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) { .nav-links { gap: 10px; } }

/* Path cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto auto; text-decoration: none; color: inherit; transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-2px); border-color: var(--accent); } }
.pcard h3 { font-size: 1.5rem; }
.pcard p { color: var(--muted); font-size: 0.93rem; }
.pcard .go { font-weight: 600; font-size: 0.88rem; color: var(--accent-ink); }
.pcard-foot { display: grid; gap: 8px; padding-top: 6px; }
.mini { font-size: 0.8rem; color: var(--muted); }
.pmini { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pmini i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.more-link { margin-top: 18px; font-weight: 600; } .more-link a { color: var(--accent-ink); text-decoration: none; } .more-link a:hover { text-decoration: underline; }
.how.how3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Path detail */
.pfacts { margin-top: 18px; }
.prog { display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 520px; }
.prog-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--band-line); overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.prog-t { font-size: 0.8rem; color: var(--on-navy-muted); white-space: nowrap; }
.path-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pstep { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color 200ms var(--ease-out); }
.pstep.is-done { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.pnum { font-size: 1.1rem; font-weight: 500; color: var(--muted); padding-top: 2px; }
.pstep.is-done .pnum { color: var(--accent-ink); }
.pbody { display: grid; gap: 8px; min-width: 0; }
.pbody h3 { font-size: 1.3rem; }
.pbody h3 a { text-decoration: none; }
.pbody h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.pbody p { color: var(--muted); font-size: 0.92rem; }
.pact { display: grid; gap: 10px; justify-items: end; }
.done { display: inline-flex; align-items: center; gap: 8px; font: 500 0.84rem var(--font-body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; white-space: nowrap; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.done:hover { border-color: var(--accent-ink); }
.done:active { transform: scale(0.97); }
.tick { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--muted); position: relative; transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.tick::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 180ms var(--ease-out); }
.done[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: var(--accent); }
.done[aria-pressed="true"] .tick { background: var(--accent); border-color: var(--accent); }
.done[aria-pressed="true"] .tick::after { transform: rotate(45deg) scale(1); }
.paside { display: grid; gap: 14px; position: sticky; top: 90px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.box h3 { font-size: 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cert-mini { border-radius: 8px; background: var(--navy); color: var(--on-navy); padding: 14px; display: grid; gap: 4px; border: 3px double color-mix(in srgb, var(--accent) 70%, transparent); filter: grayscale(1); opacity: 0.55; transition: filter 300ms var(--ease-out), opacity 300ms var(--ease-out); }
.cert-mini b { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--accent); font-weight: 500; }
.cert-mini span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.cert-box.ready .cert-mini { filter: none; opacity: 1; }
.cert-msg { font-size: 0.9rem; color: var(--muted); }
.cert-go[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.cert-box.nudge { animation: nudge 300ms var(--ease-out); }
@keyframes nudge { 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }

/* Lab of the Week */
.lotw { padding-block: 72px; }
.lotw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lotw h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 10px; }
.lotw .lede { color: var(--on-navy-muted); margin-top: 12px; }
.lotw .fine { color: var(--on-navy-muted); margin-top: 10px; }
.lotw-sched { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 2px; font-size: 0.86rem; }
.lotw-sched li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 10px; padding: 6px 10px; border-radius: 6px; color: var(--on-navy-muted); }
.lotw-sched li .mono { font-size: 0.74rem; padding-top: 2px; }
.lotw-sched a { color: var(--on-navy); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lotw-sched a:hover { text-decoration: underline; }
.lotw-sched .mini { color: var(--on-navy-muted); }
.lotw-sched li.now { background: var(--band-field); box-shadow: inset 2px 0 0 var(--accent); }
.lotw-card { display: grid; gap: 10px; background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 24px; text-decoration: none; border: 1px solid var(--line); transition: transform 200ms var(--ease-out); }
.lotw-card .two { color: var(--two-ink); }
@media (hover: hover) and (pointer: fine) { .lotw-card:hover { transform: translateY(-3px); } }
.lotw-card h3 { font-size: 1.7rem; }
.lotw-card p { color: var(--muted); }
.lotw-card .go { font-weight: 600; color: var(--accent-ink); }
.lotw-pack { font-size: 0.7rem; color: var(--accent-ink); letter-spacing: 0.04em; }
.lotw-cta { margin-top: 14px; }

/* Catalog */
.cat-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 10px; }
.cat-search input, .cat-search select, .c-form input[type="text"] { font: 400 0.95rem var(--font-body); padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; width: 100%; transition: border-color 160ms var(--ease-out); }
.cat-search input:focus, .cat-search select:focus, .c-form input:focus { outline: none; border-color: var(--accent-ink); }
.chip-sep { width: 1px; background: var(--line); margin-inline: 4px; }
.cat-bar { display: flex; align-items: center; gap: 14px; min-height: 28px; }
.cat-count { font-size: 0.78rem; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; font: 600 0.85rem var(--font-body); color: var(--accent-ink); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.catgrid .cat { grid-template-rows: auto auto 1fr auto auto; }
.cat.pro { border-color: var(--line); }
.cat-goal { color: var(--muted); font-size: 0.86rem; line-height: 1.5; max-height: 4.5em; align-self: start; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.status.is-lotw { color: var(--accent-ink); }
.ref.more { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.refs { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-more-wrap { display: flex; justify-content: center; margin-top: 24px; }

/* Teams */
.draftnote { border: 1px dashed var(--warn); border-radius: 8px; padding: 12px 16px; font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; background: var(--surface); }
.draftnote b { color: var(--ink); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.tier.featured { border: 2px solid var(--accent); }
.tier h3 { font-size: 1.7rem; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.price span, .price-alt { color: var(--muted); font-size: 0.88rem; }
.tier .ticks { margin-top: 8px; }
.faq { max-width: 760px; gap: 22px; } .faq h3 { font-size: 1.2rem; margin-bottom: 4px; } .faq p { color: var(--muted); }

/* Why OT explainer */
.why { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.why .prose { max-width: 760px; gap: 44px; }
.why .prose p + p { margin-top: 12px; }
.toc { position: sticky; top: 90px; display: grid; gap: 2px; font-size: 0.86rem; }
.toc b { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.toc a:hover { color: var(--ink); border-color: var(--accent); }
.cmp { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); font-size: 0.9rem; }
.cmp > div { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.cmp > div:first-child { border-top: 0; }
.cmp-h { background: var(--navy); color: var(--on-navy); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.cmp b { font-weight: 600; }
.cmp > div:not(.cmp-h) span:first-of-type { color: var(--muted); }
.stdlist { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px 20px; margin: 0; }
.stdlist dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.stdlist dd { margin: 0; color: var(--muted); }
.why .prose a:not(.btn) { color: var(--accent-ink); font-weight: 600; }
.why .callout { margin-top: 16px; }

/* Certificate */
.cert-page .crumbs a, .cert-page .crumbs { color: var(--muted); }
.c-panel { max-width: 640px; display: grid; gap: 14px; margin: 20px 0 28px; }
.c-panel h1, .c-pick h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.c-panel p { color: var(--muted); }
.c-form .field input { flex: 1 1 260px; }
.lede-dark { color: var(--muted); margin-top: 8px; }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.c-check { font-size: 0.82rem; margin-bottom: 18px; } .c-check.ok { color: var(--accent-ink); } .c-check.bad { color: var(--bad); }
.cert-wrap { container-type: inline-size; }
.cert { aspect-ratio: 11 / 8.5; background: #FFFFFF; color: #0A1A2F; border-radius: 6px; padding: 2.2cqw; box-shadow: 0 1px 2px rgba(0,34,68,.08), 0 12px 32px rgba(0,34,68,.10); transition: opacity 300ms var(--ease-out), filter 300ms var(--ease-out); }
.cert .two { color: #1F63D8; }
.cert-in { height: 100%; border: 0.5cqw solid #002244; outline: 0.2cqw solid #69BE28; outline-offset: -1.3cqw; padding: 5cqw 6cqw 3.5cqw; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert-brand { display: grid; gap: 0.8cqw; justify-items: center; }
.cert-brand b { font-family: var(--font-display); font-size: 3.4cqw; letter-spacing: 0.02em; color: #002244; }
.cert-brand b .o { color: #3E7A12; }
.cert-brand > span { font-size: 1.25cqw; letter-spacing: 0.25em; color: #4B5A6B; }
.cert-k { font-size: 1.7cqw; color: #4B5A6B; margin-top: 3.4cqw; }
.cert-name { font-family: var(--font-display); font-weight: 700; font-size: 6cqw; line-height: 1.05; color: #002244; margin-top: 1cqw; border-bottom: 0.15cqw solid #D3DBE4; padding: 0 4cqw 1cqw; max-width: 100%; overflow-wrap: anywhere; }
.cert-path { font-size: 3.8cqw; color: #002244; margin-top: 1.2cqw; }
.cert-sub { font-size: 1.45cqw; color: #4B5A6B; margin-top: 1.4cqw; }
.cert-foot { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; width: 100%; }
.cert-foot div { display: grid; gap: 0.5cqw; border-top: 0.15cqw solid #002244; padding-top: 1cqw; }
.cert-foot div > span { font-size: 1cqw; letter-spacing: 0.18em; color: #4B5A6B; }
.cert-foot b { font-size: 1.6cqw; font-weight: 600; }
.cert-fine { font-size: 1.05cqw; color: #4B5A6B; margin-top: 2cqw; }
.cert.preview { opacity: 0.45; filter: grayscale(1); }

@media (max-width: 900px) {
  .path-layout, .lotw-grid, .why { grid-template-columns: 1fr; }
  .paside, .toc { position: static; }
  .toc { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .how.how3 { grid-template-columns: 1fr; }
  .cat-search { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pstep { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .pnum { display: none; }
  .pact { grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .cmp > div { grid-template-columns: 1fr; gap: 2px; }
  .cmp-h { display: none !important; }
  .cmp > div:not(.cmp-h) span:first-of-type::before { content: "IT: "; font-weight: 600; }
  .cmp > div:not(.cmp-h) span:last-of-type::before { content: "OT: "; font-weight: 600; color: var(--ink); }
  .stdlist { grid-template-columns: 1fr; gap: 4px; } .stdlist dd { margin-bottom: 12px; }
  .lotw-sched li { grid-template-columns: 82px minmax(0, 1fr); } .lotw-sched .mini { display: none; }
  .lotw { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.open, .prog-bar i, .tick::after, .cert-mini, .cert { transition: none; }
  .cert-box.nudge { animation: none; }
  .pcard:hover, .lotw-card:hover { transform: none; }
}
@media print {
  @page { size: letter landscape; margin: 0.4in; }
  body { background: #fff; }
  .site-head, footer, .ribbon, .no-print, .skip, #signup, .crumbs { display: none !important; }
  .cert-page { padding: 0 !important; }
  .cert { box-shadow: none; border-radius: 0; opacity: 1; filter: none; }
  .cert-wrap { width: 10in; }
}

/* ===================== Batch 2 (2026-11-29): quiz, glossary, start here, certifications, challenge, FAQ ===================== */
.hero-quiz { margin-top: 16px; font-size: 0.92rem; color: var(--on-navy-muted); }
.hero-quiz a { color: var(--accent); font-weight: 600; text-decoration: none; }
.hero-quiz a:hover { text-decoration: underline; }
a.gl { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
a.gl:hover { text-decoration-style: solid; }

/* Quiz */
.quiz { max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.q-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.q-step { font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.q-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.q-stage { display: grid; gap: 16px; transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
.q-stage.out { opacity: 0; transform: translateY(6px); }
.q-stage h2 { font-size: clamp(1.5rem, 3vw, 2rem); outline: none; }
.q-stage > p { color: var(--muted); }
.q-opts { display: grid; gap: 10px; }
.q-opt { text-align: left; font: 500 1rem var(--font-body); padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out), transform 150ms var(--ease-out); }
.q-opt:hover { border-color: var(--accent-ink); }
.q-opt:active { transform: scale(0.99); }
.q-opt.picked { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.q-back { justify-self: start; }
.q-gate .field input { flex: 1 1 240px; min-width: 0; font: 400 1rem var(--font-body); padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.q-gate .field input:focus { outline: none; border-color: var(--accent-ink); }
.q-result { display: grid; gap: 14px; }
.q-score { display: flex; align-items: baseline; gap: 12px; }
.q-score b { font-size: 2.4rem; color: var(--accent-ink); font-weight: 500; }
.q-score span { color: var(--muted); font-weight: 600; }
.q-alt { font-size: 0.92rem; color: var(--muted); } .q-alt a { color: var(--accent-ink); font-weight: 600; }
.q-result h3 { font-size: 1.25rem; margin-top: 10px; }
.q-review { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; font-size: 0.9rem; }
.q-review li { padding-left: 4px; } .q-review b { display: block; font-weight: 600; }
.q-review span { color: var(--muted); }
.q-review li.ok::marker { color: var(--accent-ink); } .q-review li.miss::marker { color: var(--bad); }

/* Glossary */
.g-tools { display: grid; gap: 12px; margin-bottom: 28px; position: sticky; top: 70px; z-index: 2; background: var(--bg); padding-block: 10px; }
.g-tools input { font: 400 0.95rem var(--font-body); padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 420px; }
.g-tools input:focus { outline: none; border-color: var(--accent-ink); }
.g-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.g-nav a { font-family: var(--font-mono); font-size: 0.8rem; text-decoration: none; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); transition: border-color 150ms var(--ease-out); }
.g-nav a:hover { border-color: var(--accent-ink); }
.g-list { display: grid; gap: 28px; max-width: 860px; }
.g-group { scroll-margin-top: 170px; }
.g-letter { font-size: 1.6rem; color: var(--accent-ink); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.g-group dl { margin: 0; }
.g-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding: 16px 10px; border-bottom: 1px solid var(--line); scroll-margin-top: 170px; border-radius: 6px; transition: background-color 400ms var(--ease-out); }
.g-item.hit, .g-item:target { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.g-item dt { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.g-full { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.g-item dd { margin: 0; display: grid; gap: 8px; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.84rem; }
.g-lab { color: var(--muted); } .g-lab a { color: var(--accent-ink); font-weight: 600; text-decoration: none; } .g-lab a:hover { text-decoration: underline; }

/* Start here */
.start { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 820px; }
.start li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.s-num { font-size: 1.5rem; color: var(--accent-ink); }
.start h2 { font-size: 1.5rem; }
.start p { color: var(--muted); margin: 6px 0 10px; }
.start .go, .cards3 a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.start .go:hover, .cards3 a:hover { text-decoration: underline; }

/* Certification maps */
.draftnote a { color: var(--accent-ink); }
.c-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.c-area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; }
.c-area-h { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.c-area-h > .mono { color: var(--muted); padding-top: 3px; }
.c-area h3 { font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.c-area p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.c-labs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.c-labs li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: start; }
.c-labs .lvl { justify-self: start; }
.c-labs a { color: var(--ink); text-decoration: none; } .c-labs a:hover { color: var(--accent-ink); text-decoration: underline; }

/* Challenge */
.ch-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ch-card, .ch-board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.ch-card h2 { font-size: 2rem; }
.ch-card > p { color: var(--muted); }
.ch-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.ch-flags li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--bg); }
.ch-flags .mono { color: var(--accent-ink); font-weight: 500; }
.ch-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.82rem; color: var(--muted); }
.ch-card .btn[disabled] { opacity: 0.55; cursor: not-allowed; justify-self: start; }
.ch-board-h { display: flex; justify-content: space-between; align-items: baseline; }
.ch-board-h h3 { font-size: 1.4rem; } .ch-board-h .mono { font-size: 0.68rem; color: var(--warn); letter-spacing: 0.08em; }
.ch-board ol { list-style: none; margin: 0; padding: 0; display: grid; }
.ch-board li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.ch-board li:first-child { border-top: 0; }
.ch-board li > .mono:first-child { color: var(--muted); }
.ch-board b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }

/* FAQ */
.faq-wrap { display: grid; gap: 36px; max-width: 820px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 10px; }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq-group details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-group summary:hover { color: var(--accent-ink); }
.faq-group details p { color: var(--muted); padding: 0 0 18px; max-width: 68ch; }
.faq-group details a { color: var(--accent-ink); font-weight: 600; }

@media (max-width: 900px) {
  .ch-grid, .c-area { grid-template-columns: 1fr; }
  .g-item { grid-template-columns: 1fr; }
  .g-tools { position: static; }
  .g-group, .g-item { scroll-margin-top: 90px; }
}
@media (max-width: 520px) {
  .quiz { padding: 20px; }
  .start li { grid-template-columns: 1fr; gap: 6px; }
  .c-labs li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .q-stage, .q-stage.out, .q-bar i, .q-opt, .faq-group summary::after, .g-item { transition: none; }
  .q-stage.out { opacity: 1; transform: none; }
}

/* Submit a lab idea */
.idea-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.idea-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.if-row { display: grid; gap: 6px; }
.if-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.idea-form label, .if-label { font-weight: 600; font-size: 0.92rem; }
.req, .opt { font-weight: 400; font-size: 0.78rem; color: var(--muted); margin-left: 6px; }
.idea-form input[type="text"], .idea-form input[type="email"], .idea-form select, .idea-form textarea { font: 400 0.95rem var(--font-body); padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; min-width: 0; transition: border-color 160ms var(--ease-out); }
.idea-form textarea { resize: vertical; line-height: 1.5; }
.idea-form input:focus, .idea-form select:focus, .idea-form textarea:focus { outline: none; border-color: var(--accent-ink); }
.idea-form [aria-invalid="true"] { border-color: var(--bad); }
.if-hint { font-size: 0.8rem; color: var(--muted); }
.chip-r { display: inline-flex; }
.chip-r input { position: absolute; opacity: 0; pointer-events: none; }
.chip-r span { font: 500 0.84rem var(--font-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.chip-r input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.chip-r input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.if-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.idea-form .msg.err { color: var(--bad); } .idea-form .msg.ok { color: var(--accent-ink); }
.idea-side { position: sticky; top: 90px; }
@media (max-width: 900px) { .idea-wrap, .if-2 { grid-template-columns: 1fr; } .idea-side { position: static; } }

/* ===================== MailerLite signup (2026-11-30, specificity fix same day) =====================
   MailerLite injects its own <style> after ours, with rules like
   "#mlb2-123.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button { background:#000 !important }".
   To win, every override below is !important AND more specific: it starts with #signup (an ID, like theirs)
   and adds extra classes. Keep that prefix if you edit these rules. */
.ml-wrap { display: grid; gap: 12px; min-width: 0; }
/* Skeleton holds the space while the script loads, so the section doesn't jump. */
.ml-skel { display: flex; gap: 10px; flex-wrap: wrap; }
.ml-skel span { height: 52px; border-radius: 8px; border: 1px solid var(--band-line); background: var(--band-field); flex: 1 1 220px; }
.ml-skel span + span { flex: 0 0 132px; background: color-mix(in srgb, var(--accent) 22%, var(--band-field)); border-color: transparent; }
.ml-embedded { opacity: 0; transform: translateY(4px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.ml-ready .ml-skel, .ml-failed .ml-skel { display: none; }
.ml-ready .ml-embedded { opacity: 1; transform: none; }
.no-js .ml-skel { display: none; }

#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-align-center,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; text-align: left !important; display: block;
}
/* Our section already has the heading and copy, so hide the form's own title block. */
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent { display: none !important; }

/* Layout: email + button on one row, reCAPTCHA (if on) underneath. */
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > * { flex: 1 1 100%; margin: 0 !important; float: none !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > .ml-form-formContent { flex: 1 1 220px; min-width: 0; order: 1; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > .ml-form-embedSubmit { flex: 0 0 auto; order: 2; width: auto !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > .ml-form-recaptcha { order: 3; width: auto !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > .ml-form-checkboxRow { order: 4; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > input[type="hidden"] { display: none !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-field-group { margin: 0 !important; padding: 0 !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow + .ml-form-fieldRow { margin-top: 10px !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody label { font: 500 0.82rem/1.4 var(--font-body) !important; color: var(--on-navy-muted) !important; }

/* Email field */
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input.form-control,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="email"],
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="text"],
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow select,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow textarea {
  width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 52px; margin: 0 !important; box-sizing: border-box !important;
  font: 400 1rem/1.3 var(--font-body) !important; padding: 14px 16px !important; border-radius: 8px !important;
  border: 1px solid var(--band-line) !important; background-color: var(--band-field) !important; color: var(--on-navy) !important;
  box-shadow: none !important; transition: border-color 160ms var(--ease-out);
}
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder { color: #6F8499 !important; opacity: 1; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow select:focus { outline: none !important; border-color: var(--accent) !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow .ml-error input, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow .ml-error select { border-color: #FF9C9C !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-error label, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-error .label-description { color: #FF9C9C !important; }

/* Subscribe button: green, Rajdhani, matches .btn-primary */
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button,
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
  width: auto !important; min-height: 52px; height: 100% !important; margin: 0 !important; padding: 14px 22px !important; border-radius: 8px !important;
  border: 1px solid transparent !important; background-color: var(--accent) !important; color: var(--on-accent) !important;
  font-family: var(--font-display) !important; font-size: 1.05rem !important; font-weight: 700 !important; line-height: 1 !important;
  letter-spacing: 0.04em; text-transform: uppercase; box-shadow: none !important; box-sizing: border-box !important;
  cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover { background-color: color-mix(in srgb, var(--accent) 86%, white) !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:active { transform: scale(0.97); }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:focus-visible { outline: 2px solid var(--on-navy) !important; outline-offset: 2px; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.loading { opacity: 0.8; cursor: progress; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit .ml-form-embedSubmitLoad:after { border-color: var(--on-accent) var(--on-accent) var(--on-accent) transparent !important; }

/* Checkbox / GDPR rows, if added in MailerLite later */
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow p, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label { color: var(--on-navy-muted) !important; font: 400 0.8rem/1.5 var(--font-body) !important; }

/* Success message after a signup */
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4 { font-family: var(--font-display) !important; font-size: 1.6rem !important; font-weight: 700 !important; line-height: 1.1 !important; color: var(--on-navy) !important; margin: 0 0 6px !important; text-align: left !important; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
#signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p { font-family: var(--font-body) !important; font-size: 0.95rem !important; line-height: 1.6 !important; color: var(--on-navy-muted) !important; margin: 0 !important; text-align: left !important; }
.ml-consent { margin: 0 !important; }
.ml-consent a { color: var(--on-navy); }

@media (max-width: 480px) {
  #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form > .ml-form-embedSubmit { flex: 1 1 100%; }
  #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button, #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ml-embedded { transform: none; transition: none; }
  #signup .ml-embedded [id^="mlb2-"].ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:active { transform: none; }
}
