/* VELIIXOR — site.css
   Tokens → base → layout → components → sections → utilities */

@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.woff') format('woff'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/assets/fonts/inter-display-600.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/assets/fonts/inter-display-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0F172A; --navy-2: #1E293B; --navy-3: #334155;
  --emerald: #10B981; --emerald-ink: #047857; --emerald-soft: #ECFDF5; --emerald-line: #A7F3D0;
  --bg: #F8FAFC; --white: #FFFFFF;
  --ink: #0F172A; --ink-2: #334155; --muted: #475569; --muted-2: #64748B;
  --line: #E2E8F0; --line-2: #CBD5E1; --line-dark: #253247;
  --amber-bg: #FEF3C7; --amber-ink: #92400E;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Inter Display', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --r: 4px; --r-btn: 6px;
  --shadow-doc: 0 1px 2px rgba(15,23,42,.06), 0 18px 40px -18px rgba(15,23,42,.28);
  --shadow-doc-dark: 0 1px 2px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0,0,0,.6);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 68px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
h3, .h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
.h4 { font-size: 1rem; font-family: var(--font); font-weight: 600; letter-spacing: 0; margin-bottom: .4em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
small { font-size: .82em; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 200; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(780px + var(--gutter) * 2); }

/* ── Type helpers ────────────────────────────────────────────────────── */
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 1rem; font-family: var(--font); }
.eyebrow-light { color: #94A3B8; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.lead-sm { font-size: 1.12rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted-2); line-height: 1.5; }
.fine-light { color: #94A3B8; }
.note { display: flex; gap: .7em; align-items: baseline; font-size: .95rem; color: var(--ink-2); margin-top: 1.5rem; }
.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.12em; }
.sq { display: inline-block; width: .55em; height: .55em; background: var(--emerald); flex: none; vertical-align: .08em; }
.sq-lg { width: .32em; height: .32em; margin-left: .12em; vertical-align: .12em; }
.pending { display: inline-block; background: var(--amber-bg); color: var(--amber-ink); font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: .12em .55em; border-radius: 3px; border: 1px dashed #F59E0B; font-family: var(--font); white-space: normal; }
.preview-banner { background: var(--amber-bg); color: var(--amber-ink); font-size: .8rem; text-align: center; padding: 6px var(--gutter); font-weight: 500; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: 0 20px; border-radius: var(--r-btn); border: 1px solid transparent; font-weight: 600; font-size: .95rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--emerald); color: var(--navy); border-color: var(--emerald); }
.btn-primary:hover { background: #0EA371; border-color: #0EA371; box-shadow: 0 6px 16px -8px rgba(16,185,129,.7); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-price { font-weight: 500; opacity: .75; padding-left: .7em; margin-left: .1em; border-left: 1px solid rgba(15,23,42,.25); }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--navy); }
.text-link .ico { transition: transform .18s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.brand { display: flex; align-items: center; padding: 8px 0; }
.brand img { width: 148px; height: auto; }
.main-nav { flex: 1; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; align-items: center; justify-content: center; }
.main-nav a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: var(--r); background: none; border: 0; cursor: pointer; }
.main-nav a:hover, .menu-btn:hover { color: var(--navy); background: var(--bg); }
.main-nav a[aria-current="page"], .menu-btn[data-active] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--emerald); border-radius: 0; }
.menu-btn svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; transform: translate(-50%, 6px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 48px -20px rgba(15,23,42,.3); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s; }
.has-menu.is-open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .16s var(--ease), transform .16s var(--ease); }
.main-nav .menu-item { display: grid; gap: 2px; padding: 14px; border-radius: var(--r); align-content: start; }
.main-nav .menu-item:hover { background: var(--bg); }
.mi-meta { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.mi-label { font-weight: 600; color: var(--navy); font-size: 1rem; }
.mi-desc { font-size: .85rem; color: var(--muted); }
.main-nav .menu-item.featured { background: var(--navy); }
.menu-item.featured .mi-label { color: #fff; } .menu-item.featured .mi-meta { color: var(--emerald); } .menu-item.featured .mi-desc { color: #94A3B8; }
.main-nav .menu-item.featured:hover { background: var(--navy-2); }
.main-nav .menu-all { grid-column: 1 / -1; justify-content: space-between; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 6px; padding: 10px 14px 14px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: var(--white); border-radius: var(--r-btn); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--navy); transition: transform .2s var(--ease), top .2s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.nav-cta-mobile { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .header-inner { justify-content: space-between; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--white); padding: 12px var(--gutter) 32px; overflow-y: auto; display: none; flex-direction: column; border-top: 1px solid var(--line); }
  body.nav-open .main-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .menu-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; color: var(--navy); }
  .main-nav a[aria-current="page"], .menu-btn[data-active] { box-shadow: none; }
  .main-nav a:hover, .menu-btn:hover { background: none; }
  .menu { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; transition: none; }
  .has-menu.is-open .menu { display: grid; transform: none; }
  .main-nav .menu-all { display: none; }
  .main-nav .menu-item { padding: 12px 14px; border: 1px solid var(--line); margin-bottom: 6px; }
  .nav-cta-mobile { display: block; margin-top: 24px; }
}

/* ── Breadcrumbs / page hero ─────────────────────────────────────────── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted-2); margin-bottom: 28px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-hero { padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { max-width: 15em; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.ph-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ph-visual { display: flex; justify-content: center; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } .ph-visual { order: -1; } }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #E2E8F0; }
.section-navy h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.section-head.split h2 { margin-bottom: 0; }
.section-head.split .section-lead { margin: 0; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 40em; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sub-h { font-size: 1rem; font-family: var(--font); font-weight: 600; letter-spacing: 0; margin: 56px 0 16px; }
.center-link { text-align: center; margin-top: 36px; }
@media (max-width: 860px) { .section-head.split, .two-col { grid-template-columns: 1fr; gap: 20px; } }

/* ── Doc frames (real product pages) ─────────────────────────────────── */
.doc-frame { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 2px; box-shadow: var(--shadow-doc); overflow: hidden; padding: 0; }
button.doc-frame { cursor: zoom-in; }
.doc-lg { max-width: 460px; width: 100%; transition: transform .3s var(--ease); }
.doc-wide { max-width: 640px; }
.doc-lg:hover { transform: translateY(-3px); }
.doc-sm { width: 88px; flex: none; }

/* ── Hero (home) ─────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--navy); color: #CBD5E1; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 0; isolation: isolate; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(148,163,184,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; max-width: 9.5em; }
.hero .lead { color: #CBD5E1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.rule-line { border-top: 1px solid var(--line-dark); padding-top: 18px; display: grid; gap: 8px; }
.rl-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #8B9AB0; font-weight: 600; }
.rl-expr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #E2E8F0; font-variant-numeric: tabular-nums; }
.rl-expr .op { color: #64748B; }
.rl-expr strong { color: var(--emerald); }
.hero-visual { position: relative; height: clamp(360px, 40vw, 520px); }
.hv { position: absolute; margin: 0; background: #fff; box-shadow: 0 0 0 1px rgba(148,163,184,.22), var(--shadow-doc-dark); border-radius: 2px; }
.hv img { border-radius: 2px; }
.hv figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 10px); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #8B9AB0; font-weight: 600; }
.hv-manual { width: 46%; left: 2%; top: 0; z-index: 1; }
.hv-impl { width: 40%; right: 2%; top: 4%; z-index: 1; }
.hv-impl figcaption, .hv-manual figcaption { display: none; }
.hv-sheet { width: 88%; left: 8%; bottom: 7%; z-index: 2; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding: 22px var(--gutter); border-top: 1px solid var(--line-dark); }
.hero-foot p { display: flex; gap: 10px; align-items: baseline; margin: 0; color: #CBD5E1; font-size: .95rem; }
.hero-foot strong { color: #fff; font-weight: 600; }
.hero-facts { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; font-size: .85rem; color: #94A3B8; }
.hero-facts strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-right: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: clamp(300px, 78vw, 520px); max-width: 640px; }
}

/* ── Ledger (editorial tables) ───────────────────────────────────────── */
.ledger { border-top: 1px solid var(--navy); }
.ledger-row { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr 1.7fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.ledger-head { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; padding: 14px 0; }
.l-title { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--navy); }
.l-fix { display: flex; gap: 10px; align-items: baseline; color: var(--ink); font-weight: 500; }
.l-fix em { font-style: normal; color: var(--emerald-ink); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.ledger-3 .ledger-row { grid-template-columns: 1fr 2fr; }
@media (max-width: 860px) {
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
  .ledger-head { display: none; }
}

/* ── Stage rail ──────────────────────────────────────────────────────── */
.stage-rail { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.rail-groups { display: grid; grid-template-columns: 1fr 1fr; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; border-bottom: 1px solid var(--line); }
.rail-groups span { padding: 10px 16px; } .rail-groups span + span { border-left: 1px solid var(--line); }
.rail { display: grid; grid-template-columns: repeat(10, 1fr); }
.rail-stop { position: relative; display: grid; gap: 6px; text-align: left; padding: 18px 14px 20px; background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; transition: background-color .15s var(--ease); }
.rail-stop:last-child { border-right: 0; }
.rail-stop:nth-child(5) { border-right-color: var(--line-2); }
.rail-stop::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; transition: background-color .15s var(--ease); }
.rail-stop:hover { background: var(--white); }
.rail-stop[aria-selected="true"] { background: var(--white); }
.rail-stop[aria-selected="true"]::after { background: var(--navy); }
.rail-stop.is-key[aria-selected="true"]::after { background: var(--emerald); }
.rs-num { font-size: .72rem; font-weight: 600; color: var(--muted-2); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.rail-stop.is-key .rs-num::after { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--emerald); margin-left: 6px; vertical-align: 1px; }
.rs-name { font-weight: 600; font-size: .9rem; color: var(--navy); line-height: 1.25; }
.rail-panel { display: grid; grid-template-columns: .8fr 1.2fr 1.2fr 1.2fr; gap: 28px; padding: 28px; background: var(--white); border-top: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); }
.rail-panel[hidden] { display: none; }
.rail-panel h3 { font-size: 1.6rem; margin: 0; }
.rail-panel p { margin: 0; font-size: .96rem; }
.rp-k { font-size: .68rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 6px !important; }
.rp-out { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
@media (max-width: 980px) {
  .rail { grid-template-columns: repeat(5, 1fr); }
  .rail-stop:nth-child(5) { border-right: 0; }
  .rail-stop:nth-child(-n+5) { border-bottom: 1px solid var(--line); }
  .rail-groups { grid-template-columns: 1fr; } .rail-groups span + span { display: none; }
  .rail-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rail-stop { padding: 12px 8px 14px; } .rs-name { font-size: .78rem; }
  .rail-panel { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
}

/* ── Modules ─────────────────────────────────────────────────────────── */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.module { display: flex; flex-direction: column; }
.module-visual { display: block; aspect-ratio: 4 / 4.2; background: linear-gradient(180deg, #EEF2F7, #E2E8F0); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 28px 0; overflow: hidden; margin-bottom: 24px; }
.module-visual.is-sheet { display: flex; align-items: center; padding: 28px; }
.module-visual .doc-frame { transition: transform .35s var(--ease); }
.module:hover .module-visual .doc-frame { transform: translateY(-6px); }
.module-meta { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); }
.module-meta span + span::before { content: '·'; margin: 0 .6em; color: var(--line-2); }
.module-meta span:first-child { color: var(--emerald-ink); }
.module h3 a { text-decoration: none; }
.module h3 { font-size: 1.5rem; margin-bottom: .4em; }
.module-body p { color: var(--muted); font-size: .98rem; }
.module-spec { font-size: .85rem !important; color: var(--ink-2) !important; border-top: 1px solid var(--line); padding-top: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } .module-visual { aspect-ratio: 16 / 10; } .module-visual .doc-frame { max-width: 420px; margin: 0 auto; } }

.chain { list-style: none; display: flex; align-items: stretch; margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.chain-step { flex: 1; }
.chain-step a { display: grid; gap: 2px; padding: 18px 22px; text-decoration: none; height: 100%; transition: background-color .15s var(--ease); }
.chain-step a:hover { background: var(--bg); }
.chain-num { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.chain-stage { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.01em; }
.chain-name { font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.chain-format { font-size: .8rem; color: var(--muted-2); }
.chain-arrow { display: flex; align-items: center; color: var(--line-2); padding: 0 4px; font-size: 1.2rem; }
.chain-step.is-current a { background: var(--navy); border-radius: 2px; }
.chain-step.is-current .chain-stage, .chain-step.is-current .chain-name { color: #fff; }
.chain-step.is-current .chain-num { color: var(--emerald); }
@media (max-width: 700px) { .chain { flex-direction: column; } .chain-arrow { transform: rotate(90deg); justify-content: center; padding: 0; height: 18px; } }

/* ── Scorecard demo ──────────────────────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo-copy p { color: #CBD5E1; }
.demo-rules { list-style: none; display: grid; gap: 10px; margin: 28px 0; }
.demo-rules li { display: flex; gap: 14px; align-items: baseline; color: #E2E8F0; font-size: .98rem; padding-bottom: 10px; border-bottom: 1px solid var(--line-dark); }
.demo-rules p { margin: 0; color: #E2E8F0; }
.demo-rules span { font-size: .72rem; color: #8B9AB0; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-rules strong { color: #fff; }
.scorecard { background: var(--white); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-doc-dark); overflow: hidden; }
.sc-head { display: flex; justify-content: space-between; align-items: center; background: var(--navy-2); color: #fff; padding: 12px 20px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.sc-tag { color: var(--emerald); }
.sc-gate { border: 0; margin: 0; padding: 14px 20px; display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sc-gate legend { float: left; font-size: .85rem; font-weight: 600; margin-right: auto; padding: 0; }
.sc-gate label { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; cursor: pointer; }
.sc-gate input { accent-color: var(--navy); }
.sc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 20px; border-bottom: 1px solid var(--line); }
.sc-label { display: grid; } .sc-label span { font-weight: 600; font-size: .95rem; } .sc-label small { color: var(--muted-2); font-size: .78rem; }
.seg { display: inline-grid; grid-template-columns: repeat(4, 38px); border: 1px solid var(--line-2); border-radius: var(--r-btn); overflow: hidden; flex: none; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 34px; font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--muted); border-left: 1px solid var(--line); transition: background-color .12s, color .12s; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: -2px; }
.seg label:hover span { color: var(--navy); }
.seg input:checked:hover + span { color: #fff; }
.sc-out { padding: 18px 20px 20px; background: var(--bg); }
.sc-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 14px; }
.sc-totals div { background: var(--white); padding: 10px 14px; display: flex; align-items: baseline; gap: 6px; }
.sc-totals span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-right: auto; }
.sc-totals strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.sc-totals small { color: var(--muted-2); }
.sc-decision { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid; transition: background-color .2s, border-color .2s; }
.sc-decision[data-state="qualified"] { background: var(--emerald-soft); border-color: var(--emerald-line); }
.sc-decision[data-state="hold"] { background: #FFFBEB; border-color: #FDE68A; }
.sc-decision[data-state="disqualified"] { background: #F1F5F9; border-color: var(--line-2); }
.sc-d-label { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; display: inline-flex; align-items: center; gap: 10px; }
.sc-decision[data-state="qualified"] .sc-d-label::after { content: ''; width: 10px; height: 10px; background: var(--emerald); }
.sc-d-tier { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); text-align: right; }
.sc-reason { font-size: .86rem; color: var(--muted); margin: 12px 0 0; min-height: 2.6em; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .sc-row { flex-direction: column; align-items: flex-start; } .seg { grid-template-columns: repeat(4, 1fr); width: 100%; } .sc-totals { grid-template-columns: 1fr; } }

/* ── Evidence tiers ──────────────────────────────────────────────────── */
.evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.tiers { list-style: none; display: grid; gap: 8px; }
.tiers li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--navy); background: var(--white); border-radius: 0 var(--r) var(--r) 0; }
.tiers li:nth-child(1) { margin-right: 0; } .tiers li:nth-child(2) { margin-left: 24px; border-left-color: var(--navy-3); } .tiers li:nth-child(3) { margin-left: 48px; border-left-color: #64748B; } .tiers li:nth-child(4) { margin-left: 72px; }
.tiers li.is-hyp { border-left-style: dashed; border-left-color: #94A3B8; background: var(--bg); }
.tier-n { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); padding-top: 3px; }
.tiers strong { display: block; font-size: 1rem; }
.tiers p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .evidence-grid { grid-template-columns: 1fr; } .tiers li { margin: 0 !important; grid-template-columns: 1fr; gap: 4px; } }

/* ── Timeline ────────────────────────────────────────────────────────── */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(9, 1fr); border-top: 1px solid var(--navy); }
.timeline li { display: grid; gap: 6px; align-content: start; padding: 18px 14px 0 0; position: relative; }
.timeline li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--navy); }
.timeline li.tl-next::before { background: var(--emerald); }
.tl-day { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); }
.timeline strong { font-size: .95rem; line-height: 1.3; }
.tl-out { font-size: .84rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 980px) { .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr 1fr; } }

/* ── Does / doesn't ──────────────────────────────────────────────────── */
.does-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.does-grid > div { background: var(--white); padding: clamp(28px, 4vw, 48px); }
.does-grid ul, .ticks { list-style: none; display: grid; gap: 12px; }
.does-grid li, .ticks li { display: flex; gap: 12px; align-items: baseline; }
.does .ico, .ticks .ico { color: var(--emerald-ink); }
.doesnt { background: var(--bg) !important; }
.doesnt .ico, .ticks-x .ico { color: var(--muted-2); }
.ticks { margin: 20px 0; }
.ticks li { font-size: .96rem; }
.ticks-lg li { font-size: 1.02rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .does-grid { grid-template-columns: 1fr; } }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.pricing-2 { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; }
.price-card header h3 { font-size: 1.3rem; margin: 0; }
.price-card .eyebrow { margin-bottom: 6px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 18px 0 4px; }
.price .amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.price .cur { font-size: .8rem; color: var(--muted-2); }
.save { font-size: .86rem; color: var(--emerald-ink); font-weight: 500; margin: 6px 0 0; }
.price-card .ticks { margin: 20px 0 24px; flex: 1; align-content: start; }
.price-card .ticks li { font-size: .9rem; }
.price-actions { display: grid; gap: 14px; justify-items: center; }
.price-card.is-featured { background: var(--navy); color: #CBD5E1; border-color: var(--navy); box-shadow: 0 30px 60px -30px rgba(15,23,42,.6); }
.price-card.is-featured h3, .price-card.is-featured .amount { color: #fff; }
.price-card.is-featured .eyebrow { color: var(--emerald); }
.price-card.is-featured .save { color: var(--emerald); }
.price-card.is-featured .ticks .ico { color: var(--emerald); }
.price-card.is-featured .text-link { color: #fff; }
.pricing-note { text-align: center; font-size: .84rem; color: var(--muted-2); margin-top: 24px; }
.pricing-note a { color: var(--muted); }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pricing-grid, .pricing-2 { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink-2); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; margin-top: 6px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.6px; background: currentColor; transition: transform .2s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 40px 20px 0; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-page { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.faq-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.faq-toc ul { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.faq-toc a { display: block; padding: 6px 14px; font-size: .9rem; color: var(--muted); text-decoration: none; }
.faq-toc a:hover { color: var(--navy); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { margin-bottom: 12px; }
@media (max-width: 860px) { .faq-wrap, .faq-page { grid-template-columns: 1fr; gap: 24px; } .faq-toc { position: static; } }

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta-band { background: var(--navy); color: #CBD5E1; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border: 1px solid var(--line-dark); }
.cta-band::after { content: ''; position: absolute; right: 48px; bottom: 48px; width: 14px; height: 14px; background: var(--emerald); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: #fff; max-width: 16em; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: #0B1222; color: #94A3B8; padding: 72px 0 32px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { max-width: 26em; margin-top: 20px; }
.footer-version { font-size: .78rem; color: #8B9AB0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h2 { font-family: var(--font); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #8B9AB0; font-weight: 600; margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { color: #CBD5E1; text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; padding-top: 24px; font-size: .78rem; color: #8B9AB0; flex-wrap: wrap; }
.footer-bottom p { margin: 0; max-width: 60em; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ── Products overview ───────────────────────────────────────────────── */
.compare { margin-top: 40px; border-top: 1px solid var(--navy); overflow-x: auto; }
.cmp-row { display: grid; grid-template-columns: 160px repeat(3, minmax(180px, 1fr)); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .93rem; min-width: 720px; }
.cmp-row [role="rowheader"] { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; padding-top: 3px; }
.cmp-head { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.cmp-head small { display: block; font-family: var(--font); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-ink); }
.cmp-row .ico { color: var(--emerald-ink); }
.cmp-actions { border-bottom: 0; }
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.product-row:last-child { border-bottom: 0; }
.product-row.is-flipped .pr-visual { order: 2; }
.pr-visual { background: linear-gradient(180deg, #EEF2F7, #E2E8F0); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); display: flex; justify-content: center; }
.pr-visual .doc-frame { max-width: 520px; }
.pr-copy h2 a { text-decoration: none; }
.pr-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .product-row { grid-template-columns: 1fr; } .product-row.is-flipped .pr-visual { order: 0; } }

/* ── Product page ────────────────────────────────────────────────────── */
.product-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
.facts > div { background: var(--white); padding: 12px 16px; }
.facts dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-size: .88rem; color: var(--ink); font-weight: 500; }
.facts-wide { grid-template-columns: 1fr 1fr; margin: 0; }
.buy-box { border-top: 1px solid var(--line); padding-top: 20px; }
.buy-box .price { margin-top: 0; }
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; }
.buy-box .fine a { color: var(--muted); }
@media (max-width: 620px) { .facts, .facts-wide { grid-template-columns: 1fr; } }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(248,250,252,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 12px; font-size: .86rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); }
.subnav a.is-active { color: var(--navy); border-bottom-color: var(--emerald); }
.toc { list-style: none; border-top: 1px solid var(--navy); }
.toc li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.toc-n { font-weight: 600; font-size: .85rem; color: var(--emerald-ink); font-variant-numeric: tabular-nums; padding-top: 1px; }
.toc-t { display: grid; } .toc-t strong { font-size: .98rem; } .toc-t small { color: var(--muted); font-size: .85rem; }
.feature-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.fl-item { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.fl-item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.fl-n { display: block; font-size: .78rem; font-weight: 600; color: var(--emerald-ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.fl-item h3 { font-size: 1.15rem; }
.fl-item p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .feature-ledger { grid-template-columns: 1fr 1fr; } .fl-item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .fl-item:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .feature-ledger { grid-template-columns: 1fr; } .fl-item:nth-child(2n) { padding-left: 0; border-left: 0; } }
.steps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--navy); counter-reset: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps p { margin: 0; }
.step-n { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--navy); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.compat { margin-top: 28px; padding: 20px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r); }
.compat ul { padding-left: 1.1em; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.siblings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.sibling { display: flex; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--bg); transition: border-color .15s; }
.sibling:hover { border-color: var(--navy); }
.sibling small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.sibling strong { display: block; font-size: 1.1rem; margin: 2px 0 4px; }
.sibling > span:last-child > span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .siblings { grid-template-columns: 1fr; } }

/* ── Gallery + lightbox ──────────────────────────────────────────────── */
.gallery { position: relative; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 280px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.gallery[data-gallery="operating-workbook"] .gallery-track { grid-auto-columns: minmax(300px, 520px); }
.g-item { margin: 0; scroll-snap-align: start; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open .doc-frame { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.g-open:hover .doc-frame { transform: translateY(-4px); }
.g-item figcaption { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); margin-top: 14px; line-height: 1.4; }
.g-num { font-weight: 600; color: var(--emerald-ink); font-variant-numeric: tabular-nums; }
.gallery-controls { display: flex; gap: 8px; justify-content: flex-end; }
.g-nav { width: 42px; height: 42px; border: 1px solid var(--line-2); background: var(--white); border-radius: var(--r-btn); cursor: pointer; font-size: 1rem; }
.g-nav:hover { border-color: var(--navy); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(11,18,34,.94); display: grid; place-items: center; padding: 48px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; background: #fff; box-shadow: var(--shadow-doc-dark); }
.lightbox figcaption { color: #CBD5E1; font-size: .9rem; text-align: center; }
.lb-close, .lb-btn { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); width: 46px; height: 46px; border-radius: var(--r-btn); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.lb-close:hover, .lb-btn:hover { background: rgba(255,255,255,.18); }
@media (max-width: 640px) { .lightbox { padding: 64px 12px; } .lb-prev, .lb-next { top: auto; bottom: 12px; } }

/* ── System page ─────────────────────────────────────────────────────── */
.stack3 { position: relative; height: 480px; width: 100%; max-width: 560px; }
.stack3 .doc-frame { position: absolute; }
.stack3 .s1 { width: 46%; left: 0; top: 0; }
.stack3 .s2 { width: 46%; left: 27%; top: 22px; }
.stack3 .s3 { width: 78%; right: 0; bottom: 0; }
@media (max-width: 560px) { .stack3 { height: 360px; } }
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--navy); }
.j-step { padding: 24px 22px 28px 0; border-bottom: 1px solid var(--line); }
.j-step + .j-step { padding-left: 22px; border-left: 1px solid var(--line); }
.j-head { display: flex; align-items: baseline; gap: 10px; }
.j-n { font-size: .78rem; font-weight: 600; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.j-head h3 { font-size: 1.45rem; margin: 0 0 10px; }
.j-mod { display: flex; gap: 8px; align-items: baseline; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--emerald-ink); margin-bottom: 10px; }
.j-step p { font-size: .93rem; color: var(--muted); }
.j-where { font-size: .82rem !important; color: var(--ink-2) !important; border-top: 1px solid var(--line); padding-top: 10px; margin: 0; }
@media (max-width: 1000px) { .journey { grid-template-columns: 1fr; } .j-step + .j-step { padding-left: 0; border-left: 0; } .j-step { display: grid; grid-template-columns: 200px 1fr; column-gap: 24px; } .j-step > :not(.j-head) { grid-column: 2; } .j-head { grid-row: span 3; } }
@media (max-width: 600px) { .j-step { grid-template-columns: 1fr; } .j-step > :not(.j-head) { grid-column: 1; } }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--navy); }
.data-table { width: 100%; min-width: 640px; font-size: .92rem; }
.data-table th, .data-table td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.data-table tbody th { font-weight: 600; color: var(--navy); }
.data-table td.num { color: var(--emerald-ink); font-weight: 600; font-variant-numeric: tabular-nums; width: 48px; }
.data-table tbody tr:hover td, .data-table tbody tr:hover th { background: var(--bg); }

/* ── How it works ────────────────────────────────────────────────────── */
.phase-list { list-style: none; border-top: 1px solid var(--navy); }
.phase-list li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.phase-n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--line-2); letter-spacing: -0.04em; line-height: 1; }
.phase-list h2 { margin-bottom: 6px; }
.phase-list p { color: var(--muted); max-width: 44em; margin: 0; }
@media (max-width: 600px) { .phase-list li { grid-template-columns: 1fr; gap: 6px; } }
.passes { list-style: none; display: grid; gap: 10px; }
.passes li { padding: 20px 22px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r); display: grid; gap: 4px; }
.passes li:nth-child(1) { border-left: 3px solid var(--navy); }
.passes span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-ink); font-weight: 600; }
.passes strong { font-size: 1.1rem; }
.passes p { margin: 0; color: var(--muted); font-size: .93rem; }
.seq { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--navy); }
.seq li { display: grid; gap: 4px; padding: 20px 16px 22px 0; border-bottom: 1px solid var(--line); }
.seq li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.seq-t { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); }
.seq-d { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--emerald-ink); }
.seq-ch { font-size: .9rem; font-weight: 600; }
.seq-p { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .seq { grid-template-columns: repeat(3, 1fr); } .seq li:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .seq { grid-template-columns: 1fr 1fr; } .seq li { padding-left: 0 !important; border-left: 0 !important; } }
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.block { background: var(--white); padding: 28px 24px; }
.block-k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.block h3 { margin: 10px 0 6px; font-size: 1.2rem; }
.block p { margin: 0; font-size: .93rem; color: var(--muted); }
.block-em { background: var(--navy); } .block-em h3 { color: #fff; } .block-em p { color: #CBD5E1; } .block-em .block-k { color: var(--emerald); }
@media (max-width: 860px) { .blocks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .blocks { grid-template-columns: 1fr; } }

/* ── Prose / legal / glossary ────────────────────────────────────────── */
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: 1.3rem; margin-top: 2.2em; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin-bottom: 1em; }
.legal-meta { font-size: .88rem; color: var(--muted); }
.legal-draft { background: var(--amber-bg); border: 1px solid #FCD34D; color: var(--amber-ink); padding: 14px 18px; border-radius: var(--r); font-size: .9rem; margin: 20px 0 8px; }
.glossary { border-top: 1px solid var(--navy); margin: 0; }
.glossary > div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 600; color: var(--navy); }
.glossary dd { margin: 0; color: var(--ink-2); }
.glossary > div:target { background: var(--emerald-soft); }
@media (max-width: 640px) { .glossary > div { grid-template-columns: 1fr; gap: 4px; } }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.res-card { display: grid; gap: 4px; align-content: start; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .15s; }
.res-card:hover { border-color: var(--navy); }
.res-card p { color: var(--muted); }
.res-card .eyebrow { margin-bottom: 8px; }
@media (max-width: 700px) { .res-grid { grid-template-columns: 1fr; } }

/* ── Forms ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--white); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field-check { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.field-check label { font-weight: 400; font-size: .88rem; color: var(--muted); }
.form-error { color: #B91C1C; font-size: .9rem; margin: 0; }
.hp { position: absolute; left: -9999px; }
.contact-aside { display: grid; gap: 6px; }
.contact-aside .h4 { margin-top: 18px; }
.link-list { list-style: none; border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.link-list-lg a { font-size: 1.1rem; padding: 16px 0; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Dialog ──────────────────────────────────────────────────────────── */
.dialog-backdrop { position: fixed; inset: 0; background: rgba(11,18,34,.6); z-index: 250; }
.dialog { position: fixed; z-index: 260; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 32px)); background: var(--white); border-radius: var(--r); padding: 32px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.dialog[hidden], .dialog-backdrop[hidden] { display: none; }
.dialog h2 { font-size: 1.4rem; }
.dialog p:not(.eyebrow) { color: var(--muted); }
.dialog .eyebrow { color: var(--amber-ink); }

/* ── Reveal (progressive enhancement) ────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media print { .site-header, .site-footer, .cta-band, .subnav, .preview-banner { display: none; } body { background: #fff; } }

/* ── Grid overflow guards ─────────────────────────────────────────────── */
.two-col > *, .ph-grid > *, .hero-inner > *, .faq-wrap > *, .faq-page > *, .contact-grid > *, .demo-grid > *, .evidence-grid > *, .product-row > *, .section-head.split > * { min-width: 0; }
@media (max-width: 560px) {
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail-stop { flex: 0 0 116px; scroll-snap-align: start; border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
}
.compare, .table-scroll, .gallery-track, .rail { position: relative; }
