/* Public website. Large editorial type, ledger rules, cobalt inputs. Tokens: design-system/tokens.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; background: var(--at-ivory); color: var(--at-ink); font-family: var(--at-sans); font-size: var(--at-body); line-height: 1.6; font-synthesis: none; -webkit-font-smoothing: antialiased; }
.site img, .site svg { max-width: 100%; }
.site a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.site :focus-visible { outline: 2px solid var(--at-cobalt); outline-offset: 3px; border-radius: 2px; }
.site .on-dark :focus-visible { outline-color: var(--at-cobalt-on-dark); }
.site h1, .site h2, .site h3 { font-family: var(--at-serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0; text-wrap: balance; }
.site h2 { font-size: var(--at-h2); }
.site h3 { font-size: var(--at-h3); line-height: 1.2; letter-spacing: -0.01em; }
.site p { margin: 0; text-wrap: pretty; }
.site em { font-style: italic; }
.num, .site table td, .site output { font-family: var(--at-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "zero" 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--at-ink); color: var(--at-ivory) !important; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--at-max); margin-inline: auto; padding-inline: var(--at-gutter); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Labels and status */
.kicker { font-family: var(--at-mono); font-size: var(--at-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--at-forest); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .kicker { color: var(--at-cobalt-on-dark); }
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--at-muted); }
.status::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.status.live { color: var(--at-forest); } .status.live::before { background: currentColor; }
.status.part { color: var(--at-amber); } .status.part::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.on-dark .status { color: #b8c4be; } .on-dark .status.live { color: #9fd6bd; }
.lead { font-size: var(--at-lead); line-height: 1.5; color: var(--at-ink-2); max-width: 34em; }
.on-dark .lead { color: #c9d3ce; }
.fine { font-size: var(--at-small); color: var(--at-muted); max-width: 46em; }
.on-dark .fine { color: #a9b6b0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--at-ink); border-radius: var(--at-radius); background: var(--at-ink); color: var(--at-ivory) !important; font: 500 0.9375rem/1 var(--at-sans); text-decoration: none; cursor: pointer; transition: background .2s var(--at-ease), color .2s var(--at-ease), transform .2s var(--at-ease); }
.btn:hover { background: var(--at-forest); border-color: var(--at-forest); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--at-ink) !important; }
.btn.ghost:hover { background: var(--at-ink); color: var(--at-ivory) !important; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: var(--at-small); }
.on-dark .btn { background: var(--at-ivory); border-color: var(--at-ivory); color: var(--at-forest-deep) !important; }
.on-dark .btn:hover { background: var(--at-white); }
.on-dark .btn.ghost { background: transparent; color: var(--at-ivory) !important; border-color: #5d7a6f; }
.on-dark .btn.ghost:hover { border-color: var(--at-ivory); }
.btn .arrow { transition: transform .2s var(--at-ease); } .btn:hover .arrow { transform: translateX(3px); }
.textlink { font-weight: 500; text-decoration: underline; text-decoration-color: var(--at-rule); }
.textlink:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--at-ivory) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--at-rule-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--at-serif); font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.logo svg { flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin-left: auto; font-size: var(--at-small); }
.site-nav a { text-decoration: none; color: var(--at-ink-2); padding: 8px 0; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--at-ink); box-shadow: inset 0 -1px 0 var(--at-ink); }
.site-nav .soon { font-family: var(--at-mono); font-size: 0.625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--at-amber); margin-left: 5px; vertical-align: 2px; }
.site-header .btn { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--at-rule); border-radius: var(--at-radius); cursor: pointer; color: var(--at-ink); }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--at-gutter) 24px; background: var(--at-ivory); border-bottom: 1px solid var(--at-rule); font-size: 1.0625rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--at-rule-soft); }
  .site-nav a:hover, .site-nav a[aria-current] { box-shadow: none; }
  .site-header .site-nav .btn { margin: 18px 0 0; border-bottom: 1px solid var(--at-ink); }
}

/* Sections */
.section { padding-block: var(--at-section); border-top: 1px solid var(--at-rule); }
.section.paper { background: var(--at-paper); }
.section.dark { background: var(--at-forest-deep); color: var(--at-ivory); border-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .lead { justify-self: end; }
.section-no { font-family: var(--at-mono); font-size: var(--at-micro); color: var(--at-muted); letter-spacing: .1em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } }

/* Hero */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--at-rule-soft) 1px, transparent 1px); background-size: 100% 44px; mask-image: linear-gradient(90deg, transparent 0, #000 55%, #000 100%); opacity: .7; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: var(--at-display); line-height: .94; letter-spacing: -0.035em; }
.hero h1 em { color: var(--at-forest); }
.hero .lead { margin-top: clamp(22px, 2.6vw, 36px); max-width: 26em; }
.hero .actions { margin-top: clamp(26px, 3vw, 40px); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 28px; padding: 0; list-style: none; font-size: var(--at-small); color: var(--at-muted); }
.hero-notes li::before { content: "—"; margin-right: 8px; color: var(--at-rule); }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Model card: the signature component */
.model { background: var(--at-white); border: 1px solid var(--at-ink); border-radius: var(--at-radius); box-shadow: 10px 10px 0 var(--at-rule-soft); font-size: var(--at-small); min-width: 0; }
.model-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--at-ink); font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; }
.model-bar .live { display: inline-flex; align-items: center; gap: 7px; color: var(--at-cobalt); }
.model-bar .live::before { content: ""; width: 7px; height: 7px; background: var(--at-cobalt); border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.model-body { padding: 18px; display: grid; gap: 18px; }
.model-legend { display: flex; gap: 18px; font-size: var(--at-micro); color: var(--at-muted); }
.model-legend b { font-weight: 500; font-family: var(--at-mono); } .model-legend .in { color: var(--at-cobalt); } .model-legend .out { color: var(--at-ink); }
.drivers { display: grid; gap: 14px; }
.driver { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; }
.driver label { color: var(--at-ink-2); }
.driver output { color: var(--at-cobalt); font-weight: 500; font-size: 0.9375rem; }
.driver input[type=range] { grid-column: 1 / -1; }
input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.slider::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--at-cobalt) var(--fill, 50%), var(--at-rule) var(--fill, 50%)); }
.slider::-moz-range-track { height: 2px; background: var(--at-rule); } .slider::-moz-range-progress { height: 2px; background: var(--at-cobalt); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; background: var(--at-white); border: 2px solid var(--at-cobalt); border-radius: 2px; transition: transform .15s var(--at-ease), background .15s; }
.slider::-moz-range-thumb { width: 12px; height: 12px; background: var(--at-white); border: 2px solid var(--at-cobalt); border-radius: 2px; }
.slider:hover::-webkit-slider-thumb, .slider:active::-webkit-slider-thumb { background: var(--at-cobalt); transform: scale(1.15); }
.slider:focus-visible { outline: none; } .slider:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--at-cobalt); outline-offset: 3px; }
.slider:focus-visible::-moz-range-thumb { outline: 2px solid var(--at-cobalt); outline-offset: 3px; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; height: 110px; border-bottom: 1px solid var(--at-ink); }
.flow .bar { position: relative; border: 1px dashed var(--at-rule); border-bottom: 0; min-height: 2px; transition: height .5s var(--at-ease); }
.flow .bar i { position: absolute; inset: auto -1px 0 -1px; background: var(--at-forest); transition: height .5s var(--at-ease); }
.flow-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; font-family: var(--at-mono); font-size: 0.625rem; color: var(--at-muted); text-align: center; margin-top: 6px; letter-spacing: .04em; }
.flow-key { display: flex; gap: 16px; font-size: var(--at-micro); color: var(--at-muted); margin-bottom: 10px; }
.flow-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border: 1px dashed var(--at-muted); }
.flow-key span + span::before { background: var(--at-forest); border: 1px solid var(--at-forest); }
.mix { display: flex; height: 26px; margin-top: 16px; border: 1px solid var(--at-ink); font-family: var(--at-mono); font-size: 0.625rem; letter-spacing: .04em; overflow: hidden; }
.mix span { display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; transition: width .5s var(--at-ease); }
.mix .near { background: var(--at-forest); color: var(--at-ivory); }
.mix .far { background: repeating-linear-gradient(135deg, var(--at-forest-tint) 0 6px, #d3e0d8 6px 12px); color: var(--at-ink); flex: 1; }
.outputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--at-rule); }
.outputs > div { padding: 14px 14px 4px 0; } .outputs > div + div { padding-left: 14px; border-left: 1px solid var(--at-rule-soft); }
.outputs dt { font-size: var(--at-micro); color: var(--at-muted); }
.outputs dd { margin: 4px 0 0; font-family: var(--at-mono); font-variant-numeric: tabular-nums; font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.15; }
.outputs small { display: block; font-size: var(--at-micro); color: var(--at-muted); letter-spacing: 0; min-height: 1.4em; }
.outputs small.up { color: var(--at-forest); } .outputs small.down { color: var(--at-red); }
.flash { animation: flash .7s var(--at-ease); }
@keyframes flash { 0% { background: var(--at-cobalt-tint); box-shadow: 0 0 0 4px var(--at-cobalt-tint); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
.insight { margin: 0; padding: 12px 14px; background: var(--at-ivory); border-left: 2px solid var(--at-forest); color: var(--at-ink-2); line-height: 1.5; min-height: 4.6em; }
.model-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--at-rule); font-size: var(--at-micro); color: var(--at-muted); }
.model-foot button { font: inherit; color: var(--at-ink); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Career tracks ledger */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--at-ink); }
.ledger li { border-bottom: 1px solid var(--at-rule); }
.ledger a { display: grid; grid-template-columns: 3.2rem minmax(0, 4fr) minmax(0, 5fr) minmax(8.5rem, auto) 1.5rem; gap: 8px 24px; align-items: baseline; padding: clamp(16px, 2vw, 26px) 0; text-decoration: none; transition: background .25s var(--at-ease), padding .25s var(--at-ease); }
.ledger a:hover { background: var(--at-paper); padding-inline: 14px; }
.ledger .no { font-family: var(--at-mono); font-size: var(--at-micro); color: var(--at-muted); }
.ledger .name { font-family: var(--at-serif); font-size: clamp(1.5rem, 2.9vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.05; }
.ledger .what { color: var(--at-ink-2); font-size: 0.9375rem; }
.ledger .go { font-family: var(--at-mono); color: var(--at-muted); transition: transform .25s var(--at-ease), color .25s; }
.ledger a:hover .go { transform: translateX(4px); color: var(--at-ink); }
@media (max-width: 860px) { .ledger a { grid-template-columns: 2.2rem minmax(0, 1fr) 1.2rem; } .ledger .what, .ledger .status { grid-column: 2; } .ledger .go { grid-row: 1; grid-column: 3; } }

/* Three modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--at-ink); margin-bottom: clamp(40px, 5vw, 72px); }
.modes a { display: block; padding: 22px 24px 26px 0; text-decoration: none; border-bottom: 1px solid var(--at-rule); }
.modes a + a { padding-left: 24px; border-left: 1px solid var(--at-rule); }
.modes .no { font-family: var(--at-mono); font-size: var(--at-micro); color: var(--at-cobalt); }
.modes h3 { margin: 12px 0 8px; } .modes p { color: var(--at-ink-2); font-size: 0.9375rem; }
.modes a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } .modes a + a { padding-left: 0; border-left: 0; } }

/* Live technical question (existing practice engine, new skin) */
.sheet { background: var(--at-white); border: 1px solid var(--at-ink); border-radius: var(--at-radius); display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.sheet-tabs { border-right: 1px solid var(--at-ink); display: flex; flex-direction: column; }
.sheet-tabs .cap { padding: 12px 18px; font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--at-ink); }
.sheet-tabs button { text-align: left; padding: 16px 18px; background: none; border: 0; border-bottom: 1px solid var(--at-rule-soft); font: inherit; color: var(--at-ink-2); cursor: pointer; display: flex; justify-content: space-between; gap: 8px; min-height: 48px; }
.sheet-tabs button[aria-pressed=true] { background: var(--at-ivory); color: var(--at-ink); box-shadow: inset 3px 0 0 var(--at-cobalt); font-weight: 500; }
.sheet-tabs #sample-position { margin-top: auto; padding: 14px 18px; font-family: var(--at-mono); font-size: var(--at-micro); color: var(--at-muted); }
#sample-body { padding: clamp(20px, 3vw, 40px); min-width: 0; }
#sample-body .eyebrow { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .1em; color: var(--at-forest); text-transform: uppercase; }
#sample-body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 10px 0 14px; }
#sample-body p { color: var(--at-ink-2); max-width: 44em; margin-bottom: 10px; }
#sample-body .micro { font-size: var(--at-small); color: var(--at-muted); }
#sample-body label { display: block; font-size: var(--at-small); font-weight: 500; margin: 20px 0 8px; }
#sample-body .sample-input-row { display: flex; flex-wrap: wrap; gap: 10px; }
#sample-body input, #sample-body select { font: 1rem var(--at-mono); color: var(--at-cobalt); min-height: 48px; padding: 0 14px; border: 1px solid var(--at-ink); border-radius: var(--at-radius); background: var(--at-white); max-width: 100%; }
#sample-body select { font-family: var(--at-sans); color: var(--at-ink); width: min(100%, 38em); }
#sample-body input { width: 12em; }
#sample-body form button { min-height: 48px; padding: 0 20px; background: var(--at-ink); color: var(--at-ivory); border: 0; border-radius: var(--at-radius); font: 500 0.9375rem var(--at-sans); cursor: pointer; }
#sample-body form button:hover { background: var(--at-forest); }
#sample-body .error { color: var(--at-red); font-size: var(--at-small); margin: 8px 0 0; }
.sample-result { margin-top: 22px; padding: 18px 20px; border-left: 2px solid var(--at-amber); background: var(--at-amber-tint); }
.sample-result.success { border-color: var(--at-forest); background: var(--at-forest-tint); }
.sample-result strong { display: block; font-family: var(--at-serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 8px; }
.sample-equation { font-family: var(--at-mono); font-size: var(--at-small); padding: 12px 14px; background: var(--at-white); border: 1px solid var(--at-rule); margin: 12px 0; overflow-x: auto; }
.sample-result a { font-weight: 500; }
@media (max-width: 760px) { .sheet { grid-template-columns: 1fr; } .sheet-tabs { border-right: 0; border-bottom: 1px solid var(--at-ink); flex-direction: row; flex-wrap: wrap; } .sheet-tabs .cap, .sheet-tabs #sample-position { display: none; } .sheet-tabs button { flex: 1; border-bottom: 0; justify-content: center; } .sheet-tabs button span { display: none; } .sheet-tabs button[aria-pressed=true] { box-shadow: inset 0 -3px 0 var(--at-cobalt); } }

/* Predict, then reveal */
.predict { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.predict-q { border: 1px solid #2b4a40; border-radius: var(--at-radius); padding: clamp(20px, 3vw, 36px); background: #0b2f25; }
.predict-q .step { font-family: var(--at-mono); font-size: var(--at-micro); letter-spacing: .1em; color: var(--at-cobalt-on-dark); }
.predict-q h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 14px 0 6px; }
.predict-q .change { font-family: var(--at-mono); font-size: var(--at-small); color: var(--at-cobalt-on-dark); margin-bottom: 18px; }
.choices { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.choices legend { padding: 0; margin-bottom: 12px; color: #c9d3ce; }
.choices label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 48px; border: 1px solid #2b4a40; border-radius: var(--at-radius); cursor: pointer; transition: border-color .2s, background .2s; }
.choices label:hover { border-color: #5d7a6f; }
.choices input { accent-color: var(--at-cobalt-on-dark); width: 16px; height: 16px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--at-cobalt-on-dark); background: #10382d; }
.choices label.right { border-color: #9fd6bd; } .choices label.right::after { content: "Model result"; margin-left: auto; font-family: var(--at-mono); font-size: 0.625rem; letter-spacing: .08em; text-transform: uppercase; color: #9fd6bd; }
.predict-q .actions { margin-top: 20px; }
.predict-q .verdict { margin-top: 18px; padding-top: 18px; border-top: 1px solid #2b4a40; color: #dfe7e2; }
.predict-q .verdict strong { display: block; font-family: var(--at-serif); font-weight: 400; font-size: 1.25rem; color: var(--at-ivory); margin-bottom: 6px; }
.chain { width: 100%; border-collapse: collapse; font-size: var(--at-small); }
.chain caption { text-align: left; font-family: var(--at-mono); font-size: var(--at-micro); letter-spacing: .1em; text-transform: uppercase; color: #a9b6b0; padding-bottom: 14px; }
.chain th { text-align: left; font-weight: 400; color: #c9d3ce; padding: 13px 0; border-bottom: 1px solid #214137; }
.chain thead th { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: #a9b6b0; text-align: right; border-bottom-color: #5d7a6f; }
.chain thead th:first-child { text-align: left; }
.chain td { text-align: right; padding: 13px 0 13px 12px; border-bottom: 1px solid #214137; color: var(--at-ivory); white-space: nowrap; }
.chain td.after { color: var(--at-cobalt-on-dark); } .chain td.delta { width: 5.5em; }
.chain .hidden-cell { color: #5d7a6f; letter-spacing: .2em; }
.chain .meter { display: block; height: 3px; background: #214137; margin-top: 6px; position: relative; }
.chain .meter i { position: absolute; inset: 0 auto 0 0; background: var(--at-cobalt-on-dark); transition: width .7s var(--at-ease); }
.chain tr.group th { padding-top: 26px; font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: #a9b6b0; }
@media (max-width: 900px) { .predict { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .chain .before { display: none; } }

/* Interview room */
.room { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.transcript { border: 1px solid var(--at-ink); border-radius: var(--at-radius); background: var(--at-white); }
.transcript-bar { display: flex; justify-content: space-between; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--at-ink); font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; }
.turns { list-style: none; margin: 0; padding: 0; }
.turn { padding: 22px 20px; border-bottom: 1px solid var(--at-rule-soft); display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 6px 20px; animation: rise .5s var(--at-ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.turn[hidden] { display: none; }
.turn .who { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--at-muted); padding-top: 4px; }
.turn.interviewer p { font-family: var(--at-serif); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.3; letter-spacing: -0.01em; }
.turn.candidate p { color: var(--at-ink-2); }
.turn .tag { margin-top: 12px; }
.turn fieldset { border: 0; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.turn fieldset label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--at-rule); border-radius: var(--at-radius); cursor: pointer; min-height: 44px; }
.turn fieldset label:has(input:checked) { border-color: var(--at-cobalt); background: var(--at-cobalt-tint); }
.turn fieldset input { accent-color: var(--at-cobalt); margin-top: 4px; }
.turn .answer-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.turn input[type=text] { font: 1rem var(--at-mono); color: var(--at-cobalt); min-height: 48px; width: 11em; padding: 0 14px; border: 1px solid var(--at-ink); border-radius: var(--at-radius); }
.turn .result { margin-top: 14px; padding: 12px 14px; background: var(--at-ivory); border-left: 2px solid var(--at-forest); font-size: 0.9375rem; }
.turn .result.miss { border-color: var(--at-amber); background: var(--at-amber-tint); }
.transcript-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border: 1px solid currentColor; border-radius: 2px; }
.tag.calc { color: var(--at-forest); } .tag.concept { color: var(--at-cobalt); } .tag.ai { color: var(--at-amber); border-style: dashed; } .tag.human { color: var(--at-muted); border-style: dotted; }
.evidence { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--at-ink); }
.evidence li { padding: 20px 0; border-bottom: 1px solid var(--at-rule); }
.evidence p { margin-top: 10px; font-size: 0.9375rem; color: var(--at-ink-2); }
@media (max-width: 900px) { .room { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .turn { grid-template-columns: 1fr; } }

/* Progression */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; }
.path li { counter-increment: step; position: relative; padding: 34px 20px 0 0; border-top: 1px solid var(--at-ink); }
.path li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--at-ivory); border: 1px solid var(--at-ink); border-radius: 50%; }
.path li.have::before { background: var(--at-forest); border-color: var(--at-forest); }
.path li::after { content: "0" counter(step); position: absolute; top: 12px; left: 0; font-family: var(--at-mono); font-size: 0.6875rem; color: var(--at-muted); }
.path h3 { font-size: 1.3rem; margin: 10px 0 8px; } .path p { font-size: var(--at-small); color: var(--at-ink-2); margin-bottom: 12px; }
.path a { font-size: var(--at-small); font-weight: 500; }
@media (max-width: 1000px) { .path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; row-gap: 0; } .path li { border-top: 0; border-left: 1px solid var(--at-ink); padding: 0 0 30px 26px; } .path li::before { left: -6px; top: 4px; } .path li::after { position: static; } .path h3 { margin-top: 4px; } }

/* Passport */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } }
.passport { background: var(--at-white); border: 1px solid var(--at-ink); border-radius: var(--at-radius); box-shadow: 10px 10px 0 var(--at-rule-soft); }
.passport-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 22px 24px; border-bottom: 1px solid var(--at-ink); }
.passport-head h3 { font-size: 1.6rem; } .passport-head p { font-size: var(--at-small); color: var(--at-muted); margin-top: 4px; }
.passport-head .stamp { font-family: var(--at-mono); font-size: 0.625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--at-amber); border: 1px dashed currentColor; padding: 6px 8px; text-align: center; line-height: 1.4; }
.passport ul { list-style: none; margin: 0; padding: 0; }
.passport li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--at-rule-soft); }
.passport li b { font-weight: 500; } .passport li small { display: block; color: var(--at-muted); font-size: var(--at-micro); margin-top: 3px; }
.passport li.locked { background: var(--at-ivory); color: var(--at-muted); }
.passport-foot { padding: 14px 24px; font-size: var(--at-small); color: var(--at-ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { width: 34px; height: 18px; border: 1px solid var(--at-ink); border-radius: 9px; position: relative; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; background: var(--at-ink); border-radius: 50%; transition: transform .2s var(--at-ease), background .2s; }
.switch input:checked + i { background: var(--at-cobalt); border-color: var(--at-cobalt); } .switch input:checked + i::after { transform: translateX(16px); background: var(--at-white); }
.switch input:focus-visible + i { outline: 2px solid var(--at-cobalt); outline-offset: 3px; }
.marks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.marks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 10px; font-size: 0.9375rem; color: var(--at-ink-2); }
.mark { font-family: var(--at-mono); color: var(--at-forest); } .mark.self { color: var(--at-muted); } .mark.rev { color: var(--at-cobalt); }
.prose > * + * { margin-top: 22px; } .prose h2 + p { margin-top: 26px; }

/* Plain lists and columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--at-ink); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols > * { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--at-rule); }
.cols > * + * { padding-left: 28px; border-left: 1px solid var(--at-rule); }
.cols h3 { margin: 14px 0 10px; } .cols p { color: var(--at-ink-2); font-size: 0.9375rem; } .cols .textlink { display: inline-block; margin-top: 16px; font-size: var(--at-small); }
.on-dark .cols { border-top-color: #5d7a6f; } .on-dark .cols > * { border-color: #214137; } .on-dark .cols p { color: #c9d3ce; }
@media (max-width: 900px) { .cols, .cols.two, .cols.four { grid-template-columns: 1fr; } .cols > * + * { padding-left: 0; border-left: 0; } }
@media (min-width: 901px) and (max-width: 1180px) { .cols.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols.four > :nth-child(3) { padding-left: 0; border-left: 0; } }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--at-ink); }
.ticks li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--at-rule); }
.ticks li > span:first-child { font-family: var(--at-mono); font-size: var(--at-micro); color: var(--at-muted); }
.on-dark .ticks { border-top-color: #5d7a6f; } .on-dark .ticks li { border-color: #214137; }
.note { padding: 16px 18px; border: 1px dashed var(--at-amber); color: var(--at-ink-2); font-size: 0.9375rem; background: var(--at-amber-tint); border-radius: var(--at-radius); }
.on-dark .note { background: transparent; border-color: #c59a5f; color: #e9dcc6; }

/* Interest form */
.interest { border: 1px solid var(--at-ink); border-radius: var(--at-radius); background: var(--at-white); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; color: var(--at-ink); }
.interest h3 { font-size: 1.5rem; }
.interest label, .interest legend { font-size: var(--at-small); font-weight: 500; }
.interest select, .interest textarea { width: 100%; margin-top: 8px; min-height: 48px; padding: 10px 12px; font: 1rem var(--at-sans); border: 1px solid var(--at-ink); border-radius: var(--at-radius); background: var(--at-white); color: var(--at-ink); }
.interest fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; } .interest fieldset label { font-weight: 400; display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: 0.9375rem; }
.interest input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--at-cobalt); }
.interest .summary { font-family: var(--at-mono); font-size: var(--at-small); white-space: pre-wrap; background: var(--at-ivory); padding: 14px; border: 1px solid var(--at-rule); }
.interest .fine { color: var(--at-muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--at-ink); border-radius: var(--at-radius); background: var(--at-white); }
.plan { padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--at-rule); }
.plan.now { background: var(--at-forest-tint); }
.plan h3 { font-size: 1.35rem; }
.plan .price { font-family: var(--at-mono); font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; } .plan .price small { font-size: var(--at-micro); color: var(--at-muted); letter-spacing: 0; display: block; margin-top: 4px; }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: var(--at-small); color: var(--at-ink-2); display: grid; gap: 8px; }
.plan li { padding-left: 16px; position: relative; } .plan li::before { content: "·"; position: absolute; left: 3px; font-weight: 700; }
.plan .btn, .plan .textlink { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan { border-bottom: 1px solid var(--at-rule); } .plan:nth-child(odd) { border-left: 0; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; } }
table.compare { width: 100%; border-collapse: collapse; font-size: var(--at-small); }
table.compare th, table.compare td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--at-rule); vertical-align: top; font-family: var(--at-sans); }
table.compare thead th { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--at-muted); border-bottom-color: var(--at-ink); }
.scroll-x { overflow-x: auto; }

/* FAQ */
.faq { border-top: 1px solid var(--at-ink); }
.faq details { border-bottom: 1px solid var(--at-rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 1.5rem; gap: 16px; padding: 22px 0; font-family: var(--at-serif); font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--at-mono); color: var(--at-muted); text-align: right; transition: transform .2s var(--at-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 24px 0; color: var(--at-ink-2); max-width: 52em; }

/* Final call and footer */
.final { text-align: center; padding-block: clamp(96px, 14vw, 200px); }
.final h2 { font-size: var(--at-display); letter-spacing: -0.035em; line-height: .94; }
.final .lead { margin: 28px auto 0; } .final .actions { justify-content: center; margin-top: 36px; }
.site-footer { background: var(--at-forest-deep); color: #c9d3ce; border-top: 1px solid #214137; padding-block: 56px 36px; font-size: var(--at-small); }
.site-footer .grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 36px 28px; }
.site-footer .logo { color: var(--at-ivory); } .site-footer .about { margin-top: 14px; max-width: 26em; color: #a9b6b0; }
.site-footer h2 { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase; color: #a9b6b0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer li a { text-decoration: none; display: inline-block; padding: 5px 0; } .site-footer li a:hover { color: var(--at-ivory); text-decoration: underline; }
.site-footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #214137; color: #a9b6b0; font-size: var(--at-micro); }
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .grid > :first-child { grid-column: 1 / -1; } }

/* Interior page hero */
.page-hero { padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(2.75rem, 6.2vw, 5.75rem); letter-spacing: -0.035em; line-height: .96; max-width: 14em; }
.page-hero h1 em { color: var(--at-forest); }
.page-hero .lead { margin-top: 28px; } .page-hero .actions { margin-top: 32px; }

/* Track detail pages */
.track { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(28px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--at-ink); scroll-margin-top: 90px; }
.track h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 14px 0; }
.track dl { margin: 0; display: grid; grid-template-columns: 9rem minmax(0, 1fr); border-top: 1px solid var(--at-rule); }
.track dt, .track dd { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--at-rule); }
.track dt { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--at-muted); padding-top: 19px; }
.track dd { color: var(--at-ink-2); }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; } .track dl { grid-template-columns: 1fr; } .track dt { border-bottom: 0; padding-bottom: 0; } .track dd { padding-top: 6px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site *, .site *::before, .site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .site-header, .site-footer, .nav-toggle { display: none; } }

/* Modeling lab page */
.lab-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.lab-hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.lab { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: var(--at-section); }
.lab-inputs { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; background: var(--at-white); border: 1px solid var(--at-ink); border-radius: var(--at-radius); padding: 0 18px 18px; display: grid; gap: 16px; font-size: var(--at-small); }
.lab-cap { display: flex; justify-content: space-between; align-items: center; margin: 0 -18px; padding: 11px 18px; border-bottom: 1px solid var(--at-ink); font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; position: sticky; top: 0; background: var(--at-white); z-index: 1; }
.lab-cap button { font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; color: var(--at-cobalt); cursor: pointer; padding: 6px 0; }
.lab-inputs fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.lab-inputs legend { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--at-muted); padding: 0; margin-bottom: 10px; }
.lab-inputs fieldset + fieldset { padding-top: 16px; border-top: 1px solid var(--at-rule); }
.lab-main { display: grid; gap: 20px; min-width: 0; }
#lab-results { display: grid; gap: 20px; min-width: 0; transition: opacity .2s; } #lab-results.stale { opacity: .35; }
.lab-panel { background: var(--at-white); border: 1px solid var(--at-rule); border-radius: var(--at-radius); padding: clamp(16px, 2.4vw, 28px); min-width: 0; }
.lab-panel h2 { font-size: 1.5rem; margin-bottom: 6px; } .lab-panel > .fine, .lab-panel div > .fine { margin-bottom: 14px; }
.lab-outputs { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; } .lab-outputs > div { padding-top: 0; }
.lab-panel .insight { margin-top: 16px; min-height: 0; }
.lab-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.lab-table { width: 100%; border-collapse: collapse; font-size: var(--at-small); }
.lab-table th { text-align: left; font-weight: 400; color: var(--at-ink-2); padding: 8px 12px 8px 0; white-space: nowrap; }
.lab-table thead th { font-family: var(--at-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--at-muted); text-align: right; border-bottom: 1px solid var(--at-ink); }
.lab-table td { text-align: right; padding: 8px 0 8px 14px; white-space: nowrap; transition: background .6s; }
.lab-table tr { border-bottom: 1px solid var(--at-rule-soft); }
.lab-table tr.sub th, .lab-table tr.sub td { color: var(--at-muted); } .lab-table tr.sub th { padding-left: 14px; }
.lab-table tr.total { border-top: 1px solid var(--at-ink); } .lab-table tr.total th, .lab-table tr.total td { font-weight: 600; color: var(--at-ink); }
.lab-table td.moved { background: var(--at-cobalt-tint); box-shadow: inset 0 -2px 0 var(--at-cobalt); }
.lab-table.sens td, .lab-table.sens th { padding: 9px 10px; text-align: right; }
.lab-table.sens td.hi { background: color-mix(in srgb, var(--at-forest) calc(var(--heat) * 32%), transparent); }
.lab-table.sens td.lo { background: color-mix(in srgb, var(--at-amber) calc(var(--heat) * 32%), transparent); }
.lab-table.sens td.here { outline: 2px solid var(--at-cobalt); outline-offset: -2px; font-weight: 600; } .lab-table.sens td.na { color: var(--at-muted); }
.lab-questions { margin: 14px 0 22px; padding-left: 1.3em; display: grid; gap: 10px; color: var(--at-ink-2); max-width: 52em; }
.lab-method summary { cursor: pointer; font-family: var(--at-serif); font-size: 1.25rem; } .lab-method ul { margin: 16px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--at-ink-2); font-size: 0.9375rem; max-width: 56em; }
@media (max-width: 1000px) { .lab { grid-template-columns: 1fr; } .lab-inputs { position: static; max-height: none; } .lab-cap { position: static; } .lab-two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lab-outputs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } .lab-outputs > div:nth-child(3) { padding-left: 0; border-left: 0; } }
.lab-two > * { min-width: 0; }
#t-bridge th, #t-returns th { white-space: normal; }
.lab-table.sens td, .lab-table.sens th { padding-inline: 6px; }
@media (max-width: 1320px) { .lab-two { grid-template-columns: 1fr; } }
.track dd ol,.prose ol{margin:0;padding-left:1.25em}.track dd ol li+li{margin-top:4px}
.cols.five{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1080px){.cols.five{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.cols.five{grid-template-columns:1fr}}
.plans{align-items:stretch}.plan{display:flex;flex-direction:column}.plan>.btn,.plan>a:last-child{margin-top:auto}
.ticks>li>span:empty{display:none}
#sp-body { grid-template-columns: 1fr; }
@media (min-height: 1000px) { .lab-inputs { max-height: none; overflow: visible; } }
.on-dark .ticks li > span:first-child { color: #a9bdb4; }
.chain td.hidden-cell { color: #a9bdb4; }
