/* ART/GTO marketing pages + docs: the Notation identity layer (Nov 2026).
   Loads LAST in <head>, after site.css (inline copy), site-taste.css, static-chrome.css and brand/brand.css.
   Everything here uses brand.css variables. Action colours (--act-*) are data and are not touched. */

/* ── 1. tokens: the old names, the brand's values ─────────────────────────────────────────── */
:root {
  --paper: var(--b-white); --paper-elev: var(--b-paper); --paper-raised: var(--b-white); --paper-inset: var(--b-paper);
  --brd: var(--b-rule); --brd-strong: var(--b-ink);
  --ink: var(--b-ink); --ink-dim: var(--b-ink-2); --ink-faint: var(--b-ink-2);
  --felt: var(--b-klein); --felt-mid: var(--b-klein);
  --brass: var(--b-verm-deep); --brass-bright: var(--b-acid); --brass-text: var(--b-klein);
  --mono: var(--b-mono); --serif: var(--b-serif); --claim: var(--b-serif); --docs-sans: var(--b-serif);
  --ease-spring: var(--b-ease); --win-frame: var(--b-frame);
}

/* ── 2. base ─────────────────────────────────────────────────────────────────────────────── */
body { background: var(--b-white); color: var(--b-ink); font-family: var(--b-mono); font-stretch: 87.5%; }
a:hover { color: var(--b-klein); }
::selection { background: var(--b-acid); color: var(--b-ink); }
:focus-visible { outline: 3px solid var(--b-verm) !important; outline-offset: 2px; }

/* squared, flat: no rounding, no drop shadows (the wordmark's dots stay round) */
#root *:not(i), .docs-page *:not(i), .seohome *:not(i) { border-radius: 0 !important; }
#root *:not(.n-keep-shadow), .docs-page *, .seohome * { box-shadow: none !important; }
#root i.dot { border-radius: 50% !important; }

/* display type: Archivo Expanded 900, uppercase */
#root h1, #root h2, .docs-page h1, .seohome h1, .seohome h2 {
  font-family: var(--b-display) !important; font-weight: 900 !important; font-stretch: 125%; font-style: normal !important;
  text-transform: uppercase !important; letter-spacing: -.015em !important; line-height: .96 !important; }
#root h3, #root h4, .docs-page h2, .docs-page h3, .seohome h3 {
  font-family: var(--b-display) !important; font-weight: 800 !important; font-stretch: 112%; font-style: normal !important;
  text-transform: uppercase; letter-spacing: -.005em !important; line-height: 1.05 !important; }
#root h1 em, #root h2 em, #root h3 em { font-style: normal !important; }

/* serif prose is never set below 15 px (STIX at the old 12-13 px mono sizes is too small to read) */
#root p, #root li { font-size: max(15px, 1em); }
#root table p, #root table li, #root .video-meta p { font-size: inherit; }

/* prose: STIX Two Text; labels, data, buttons: Martian Mono */
main p, main li, main dd, .seohome p, .seohome li, #root [class*="lede"], #root [class$="-body"], #root [class$="-desc"], #root [class$="-text"] {
  font-family: var(--b-serif) !important; font-stretch: normal; }
#root [class*="eyebrow"], #root [class*="kicker"], #root [class*="-tag"]:not(.fh-section-tag), #root .tag {
  font-family: var(--b-mono) !important; letter-spacing: .08em !important; text-transform: uppercase; }
#root code, .docs-page code, .seohome code { font-family: var(--b-mono); font-stretch: 87.5%; background: var(--b-paper); color: var(--b-ink); }

/* buttons: vermilion = the action (ink type on vermilion: 6.6:1), ghosts are 3 px frames */
.btn, [class*="btn-"]:not(.docs-burger):not(.pv-btn), .seohome-cta, .wl-cta {
  border-radius: 0 !important; font-family: var(--b-mono) !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; }
.btn-primary, .btn-download, .seohome-cta:not(.alt), .wl-cta { background: var(--b-verm) !important; color: var(--b-ink) !important; border-color: var(--b-verm) !important; }
.btn-primary:hover, .btn-download:hover, .seohome-cta:hover, .wl-cta:hover { background: var(--b-ink) !important; color: var(--b-white) !important; border-color: var(--b-ink) !important; transform: translateY(-2px); }
.btn-ghost, .seohome-cta.alt { background: transparent !important; color: inherit !important; border: var(--b-frame) solid currentColor !important; }
.btn-ghost:hover, .seohome-cta.alt:hover { background: var(--b-acid) !important; color: var(--b-ink) !important; border-color: var(--b-ink) !important; }

/* ── 3. the shared top bar (.sc-top) and footer (.sc-foot): Klein bar, ink footer ─────────── */
.sc-top, .sc-foot {
  --sc-paper: var(--b-klein); --sc-raised: var(--b-white); --sc-inset: var(--b-paper); --sc-frame: var(--b-ink);
  --sc-ink: var(--b-ink); --sc-brass: var(--b-acid); --sc-brass-bright: var(--b-acid);
  --sc-sans: var(--b-mono); --sc-mono: var(--b-mono); }
.sc-top { background: var(--b-klein); color: var(--b-white); border-bottom: 0; font-stretch: 87.5%; }
.sc-top .sc-brand { color: var(--b-white) !important; gap: 10px; }
.sc-nav > a, .sc-more > summary, .sc-menu > summary {
  background: transparent; color: var(--b-white) !important; height: 34px; padding: 0 10px;
  font: 600 12px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; }
.sc-nav > a:hover, .sc-more > summary:hover, .sc-more[open] > summary, .sc-menu > summary:hover, .sc-menu[open] > summary {
  background: var(--b-acid); color: var(--b-ink) !important; }
.sc-nav > a.sc-on { background: var(--b-white); color: var(--b-klein) !important; }
.sc-nav > a.sc-hl { background: transparent; color: var(--b-acid) !important; box-shadow: inset 0 -3px 0 var(--b-acid); }
.sc-nav > a.sc-hl:hover { background: var(--b-acid); color: var(--b-ink) !important; }
.sc-nav > a.sc-hl.sc-on { background: var(--b-white); color: var(--b-klein) !important; box-shadow: none; }
.sc-cta { background: var(--b-verm); color: var(--b-ink) !important; height: 38px; padding: 0 16px; margin-left: 10px;
  font: 700 11px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; }
.sc-cta:hover { background: var(--b-white); color: var(--b-klein) !important; }
@media (max-width: 420px) {   /* room for the lock-up next to CTA and Menu, as on /learn (brand-chrome.css) */
  .sc-cta, .sc-menu > summary { padding: 0 8px; letter-spacing: .04em; } .sc-cta { font-size: 11px; } }
.sc-top :focus-visible { outline: 3px solid var(--b-acid) !important; outline-offset: 2px; }
.sc-win { border: var(--b-frame) solid var(--b-ink); box-shadow: none; background: var(--b-white); }
.sc-bar, .sc-sub { background: var(--b-ink); color: var(--b-acid); font-family: var(--b-mono); }
.sc-win a, .sc-sheet a { font: 600 13px/1.2 var(--b-mono); font-stretch: 87.5%; color: var(--b-ink) !important; }
.sc-win a:hover, .sc-sheet a:hover { background: var(--b-klein); color: var(--b-white) !important; }
.sc-badge { background: var(--b-acid); color: var(--b-ink); }
.sc-sheet { background: var(--b-white); border-top: var(--b-frame) solid var(--b-ink); border-bottom: var(--b-frame) solid var(--b-ink); box-shadow: none; }
.sc-sheet a { border-bottom: 1px solid var(--b-rule); font-size: 15px; }
.sc-sheet a.sc-on { background: var(--b-klein); color: var(--b-white) !important; }
.sc-sheet a.sc-hl { background: var(--b-acid); color: var(--b-ink) !important; }

.sc-foot { background: var(--b-ink); color: var(--b-peri); font-family: var(--b-mono); font-stretch: 87.5%; border-top: 0; }
.sc-foot .sc-brand { color: var(--b-white) !important; }
.sc-fmain p, .sc-meta { color: var(--b-peri); font-family: var(--b-mono); }
.sc-foot code { background: rgba(212, 255, 58, .12); color: var(--b-acid); }
.sc-col h2 { color: var(--b-acid); font: 600 11px/1 var(--b-mono) !important; font-stretch: 87.5%; letter-spacing: .1em !important; text-transform: uppercase !important; }
.sc-col a { color: var(--b-white) !important; font-family: var(--b-mono); }
.sc-col a:hover { color: var(--b-acid) !important; }
.sc-meta { border-top: 2px solid var(--b-white); }

/* ── 4. fields, windows, section numbers ────────────────────────────────────────────────── */
.field { background: var(--b-white); }
.f-felt { background: var(--b-klein) !important; color: var(--b-white); }
.f-ink { background: var(--b-ink) !important; color: var(--b-white); }
.tag { background: var(--b-ink); color: var(--b-acid); font-weight: 600; }

/* a window: 3 px ink frame, ink title band with acid labels */
.win { background: var(--b-ink); }
.win__bar { background: var(--b-ink); color: var(--b-white); font-family: var(--b-mono); }
.win__bar span:last-child { color: var(--b-acid); }
.win__body { background: var(--b-white); }
.f-felt .win, .f-ink .win { background: var(--b-white); }
.f-felt .win__bar { background: var(--b-white); color: var(--b-klein); }
.f-felt .win__bar span:last-child { color: var(--b-verm-deep); }

.section-head { border-top: 2px solid currentColor; padding-top: 18px; }
.section-head .eyebrow { color: var(--b-klein); font-family: var(--b-mono); font-weight: 600; }
.section-head h2 { font-size: var(--b-t-h2) !important; max-width: 18ch; }
#root section { border-bottom: 0; }

/* ── 5. subpage head: a drenched Klein field, the title slammed in a white block ───────────── */
.page-head { background: var(--b-klein); color: var(--b-white); border-bottom: 0; padding: var(--b-hero-pad) 0 calc(var(--b-hero-pad) + 8px); position: relative; overflow: hidden; }
.page-head .container { position: relative; }
.page-head .ph-title { font-size: var(--b-t-title) !important; max-width: 20ch !important; color: var(--b-klein); margin: 0 0 .55em !important; line-height: 1.08 !important; }
.page-head .ph-title .ph-slab { background: var(--b-white); padding: .06em .22em .02em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-head p, .page-head .ph-lede { color: var(--b-white) !important; font-family: var(--b-serif) !important; font-size: var(--b-t-lead) !important; line-height: 1.45; max-width: 60ch; }
.page-head p strong, .page-head p b { color: var(--b-white); }
.page-head p code { background: var(--b-klein-deep); color: var(--b-acid); }
.page-head a:not(.big-cta):not([class*="btn"]) { color: var(--b-acid); text-decoration: underline; }
/* the brand slash closes the head field (guideline: section divider), vermilion, 45 degrees */
.page-head::after { content: ""; position: absolute; right: clamp(16px, 4vw, 56px); bottom: 20px; width: 26px; height: 20px;
  background: var(--b-verm); clip-path: polygon(0 100%, 78% 0, 100% 0, 22% 100%); }
.big-cta { font-family: var(--b-display) !important; font-weight: 900 !important; font-stretch: 112%; text-transform: uppercase !important; letter-spacing: -.01em; }
.page-head .big-cta { color: var(--b-white); }
.page-head .big-cta::after { background: var(--b-verm); }
.page-head .big-cta:hover { color: var(--b-acid); }
.page-head .big-cta-note { color: var(--b-peri); }

/* ── 5b. /app/: preflop first, a working mini Viewer, then postflop ── */
.app-head { padding: 22px 0 112px !important; }
.app-head .ph-title { margin: 0 0 .3em !important; font-size: var(--b-t-title) !important; max-width: none !important; }
.app-head .big-cta { font-size: clamp(18px, 1.7vw, 24px) !important; }
.app-head .ph-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.app-head .app-head-alt { color: var(--b-white) !important; font-family: var(--b-mono); font-weight: 600; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 4px; }
.app-head .app-head-alt:hover { color: var(--b-acid) !important; }
.app-head::after { display: none; }
#root .app-live { margin-top: -96px; padding: 0 0 48px; position: relative; z-index: 2; }
/* the mini Viewer keeps the Viewer's own dark face */
.pfm { --v-bg: #141414; --v-elev: #1a1a1a; --v-raised: #222; --v-brd: #2a2a2a; --v-tx: #f0f0f0; --v-dim: #a0a0a0; --v-acc: #4ade80;
  border: var(--b-frame) solid var(--b-ink); background: var(--v-bg); color: var(--v-tx); font-family: var(--b-mono); font-stretch: 87.5%; }
#root .pfm, #root .pfm * { font-family: var(--b-mono) !important; }
.pfm-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px; background: var(--b-ink); color: var(--b-white); font-size: 12px; }
#root .pfm .vl-dots i, #root .vl-dots i { width: 9px; height: 9px; border-radius: 50% !important; background: #3b3d48; display: block; }
.vl-dots { display: inline-flex; gap: 6px; }
.pfm-url { color: #b9bccb; }
.pfm-live { flex: 1; display: inline-flex; align-items: center; gap: 7px; color: var(--v-acc); font-weight: 600; letter-spacing: .02em; }
#root .pfm-live i { width: 7px; height: 7px; border-radius: 50% !important; background: var(--v-acc); }
.pfm-open { color: var(--b-acid) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.pfm-open:hover { text-decoration: underline; }
.pfm-band { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--v-brd); background: var(--v-elev); overflow-x: auto; }
.pfm-reset { flex: 0 0 38px; border: 1px solid var(--v-brd); background: var(--v-raised); color: var(--v-dim); font-size: 18px; cursor: pointer; }
.pfm-reset:hover { color: var(--v-tx); }
.pfm-seat { flex: 1 1 0; min-width: 104px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--v-brd); background: var(--v-raised); cursor: pointer; }
.pfm-seat.on { border-color: var(--v-acc); }
.pfm-seat-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--v-dim); margin-bottom: 2px; }
.pfm-seat-h b { font-size: 14px; color: var(--v-tx); }
.pfm-seat.on .pfm-seat-h b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; vertical-align: 2px; background: var(--v-acc); }
.pfm-act { width: 100%; border: 0; color: #fff; font: 700 14px/1 var(--b-mono); font-stretch: 87.5%; text-align: left; padding: 8px 8px; cursor: pointer; }
.pfm-act:hover { filter: brightness(1.15); }
.pfm-done { color: var(--v-dim); font-size: 13px; padding: 8px 2px; }
.pfm-seat.done { cursor: default; opacity: .6; }
.pfm-board { flex: 1.6 1 0; min-width: 190px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 8px; border: 1px dashed #3a3a3a;
  color: var(--v-dim) !important; text-decoration: none; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.02) 8px 16px); }
.pfm-slots { display: flex; gap: 5px; }
.pfm-slots i { width: 24px; height: 33px; border: 1px dashed #4a4a4a; }
.pfm-slots i:nth-child(4) { margin-left: 8px; }
.pfm-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.pfm-lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.pfm-unlock { font-size: 12px; font-weight: 700; color: var(--b-acid); text-transform: uppercase; letter-spacing: .08em; }
.pfm-board:hover { border-color: var(--b-acid); }
.pfm-board:hover .pfm-unlock { text-decoration: underline; }
.pfm-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; padding: 12px; }
.pfm-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; aspect-ratio: 1.6 / 1; }
.pfm-cell { position: relative; padding: 0; border: 0; background: #1f1f1f; cursor: pointer; overflow: hidden; container-type: inline-size; }
.pfm-fill { position: absolute; inset: 0; display: flex; }
.pfm-fill i { display: block; height: 100%; }
.pfm-h { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; font: 700 clamp(9px, 30cqw, 15px)/1 var(--b-mono); font-stretch: 87.5%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pfm-cell:hover, .pfm-cell:focus-visible { outline: 2px solid var(--v-tx); outline-offset: -2px; z-index: 2; }
.pfm-cell.pin { outline: 2px solid var(--v-acc); outline-offset: -2px; z-index: 2; }
.pfm-cell.out .pfm-h { color: #555; text-shadow: none; }
.pfm-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pfm-spot { font-size: 13px; color: var(--v-dim); text-transform: uppercase; letter-spacing: .08em; }
.pfm-spot b { color: var(--v-tx); }
.pfm-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
.pfm-tile { display: flex; flex-direction: column; gap: 10px; padding: 9px 10px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.pfm-tile span { font-size: 12px; font-weight: 600; }
.pfm-tile b { font-size: 24px; font-weight: 800; }
.pfm-hand { border: 1px solid var(--v-brd); background: var(--v-elev); padding: 10px 12px; min-height: 118px; }
.pfm-hand-h { font-size: 18px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.pfm-hand-h em { font-style: normal; font-size: 11px; color: var(--v-acc); text-transform: uppercase; letter-spacing: .08em; }
.pfm-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; font-size: 13.5px; padding: 3px 0; }
.pfm-row i { width: 10px; height: 10px; }
.pfm-row b { font-variant-numeric: tabular-nums; }
.pfm-hand-empty { color: var(--v-dim); font-size: 13px; padding-top: 4px; }
.pfm-links, .pfm-wall { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.pfm-links a, .pfm-wall a { display: block; padding: 10px 12px; font-weight: 700; font-size: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.pfm-links a:first-child, .pfm-wall a { background: var(--b-verm); color: var(--b-ink) !important; }
.pfm-links a:last-child { border: 1px solid #3a3a3a; color: var(--v-tx) !important; }
.pfm-links a:hover, .pfm-wall a:hover { filter: brightness(1.1); }
/* the mini Solver on /solver/: the desktop app's look (brand v1.0: Klein bands, acid marker, violet in the content) */
#root .solver-live { padding: 40px 0 48px; background: var(--b-white); }
.msa { --felt: #1b2fd1; --gold: #caa55a; --gold-t: #7a5716; --violet: #6d3fd9; --violet-l: #ede5ff; --line: #dcdcdc; --mute: #6b6b6b;
  border: var(--b-frame) solid var(--b-ink); background: #fff; color: #111; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 13px; }
#root .msa, #root .msa * { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; }
#root .msa em, #root .msa b, #root .msa .msa-h, #root .msa input, #root .msa-status *, #root .msa .msa-chip, #root .msa .msa-next button, #root .msa .msa-freq, #root .msa .msa-irow, #root .msa .msa-nums b, #root .msa .msa-insp-h span { font-family: Consolas, 'Geist Mono', ui-monospace, monospace; }
.msa-top { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; background: var(--felt); color: #fff; }
.msa-logo { display: block; width: 24px; height: 24px; image-rendering: pixelated; }
.msa-brand { font-size: 14px; letter-spacing: .02em; }
.msa-ver { color: #b8c0f4; font-size: 12px; }
.msa-tabs { display: flex; gap: 2px; margin-left: 10px; padding-left: 14px; border-left: 1px solid #5f6ee8; height: 100%; }
.msa-tabs span { display: flex; align-items: center; padding: 0 12px; color: #dde1fb; font-weight: 600; font-size: 13px; border-bottom: 3px solid transparent; }
.msa-tabs span.on { color: #fff; border-bottom-color: #d4ff3a; }
.msa-sizing { margin-left: auto; color: #dde1fb; font-size: 11.5px; letter-spacing: .03em; white-space: nowrap; }
.msa-sizing b { color: #fff; }
.msa-main { display: grid; grid-template-columns: 264px minmax(0, 1fr) 300px; min-height: 0; }
.msa-left { background: #f0f0f0; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid #e2e2e2; }
.msa-sec { color: var(--gold-t); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 5px; border-bottom: 1px solid var(--gold); margin-top: 6px; }
.msa-sec.sm { border: 0; padding: 0; margin-top: 10px; }
.msa-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.msa-box { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; border: 1px solid #cfcfcf; border-radius: 6px; overflow: hidden; background: #fff; min-height: 30px; }
.msa-box > span { display: flex; align-items: center; padding: 0 8px; background: #f2f2f2; border-right: 1px solid #dedede; font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: #2b2b2b; }
.msa-box em, .msa-box input { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12.5px; font-weight: 600; color: #111; text-align: center; padding: 0 6px; min-width: 0; }
.msa-box input { width: 100%; border: 0; outline: 0; background: #fff; }
.msa-box:focus-within { border-color: var(--violet); box-shadow: 0 0 0 2px var(--violet-l); }
.msa-board { display: flex; gap: 6px; align-items: center; }
.msa-card { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; position: relative; width: 28px; height: 36px; border-radius: 4px; color: #fff; line-height: 1; }
.msa-card b { font-size: 15px; font-weight: 500; }
.msa-card i { font-style: normal; font-size: 9px; margin-top: 1px; }
.msa-card.lg { width: 38px; height: 50px; } .msa-card.lg b { font-size: 21px; }
.msa-card.sm { width: 26px; height: 34px; } .msa-card.sm b { font-size: 14px; }
.msa-card.xs { width: 16px; height: 20px; border-radius: 3px; } .msa-card.xs b { font-size: 10px; } .msa-card.xs i { display: none; }
.msa-card.s-h { background: #c63042; } .msa-card.s-d { background: #2c6dbf; } .msa-card.s-c { background: #2a8a4e; } .msa-card.s-s { background: #222; }
.msa-slot { display: grid; place-items: center; width: 38px; height: 50px; padding: 0; border: 1.5px solid #333; border-radius: 4px; background: #fff; color: #333; font-size: 18px; cursor: pointer; }
.msa-slot.has { border: 0; background: none; }
.msa-slot:hover { box-shadow: 0 0 0 3px var(--violet-l); }
.msa-range { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; overflow: hidden; }
.msa-range.oop { border-color: var(--violet); background: var(--violet-l); }
.msa-tag { align-self: stretch; display: flex; align-items: center; padding: 0 10px; background: #f2f2f2; font-size: 10.5px; font-weight: 700; min-height: 30px; }
.msa-range.oop .msa-tag { background: var(--violet); color: #fff; }
.msa-range em { justify-self: end; padding-right: 10px; font-style: normal; font-size: 11.5px; color: #333; }
.msa-cols { display: grid; grid-template-columns: 1fr 1fr; font-size: 11.5px; font-weight: 700; margin-top: 2px; }
.msa-cols span:first-child { grid-column: 1 / -1; }
.msa-cols span:nth-child(2) { color: var(--gold-t); } .msa-cols span:nth-child(3) { color: var(--gold-t); }
.msa-go { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.msa-solve { height: 38px; border: 0; border-radius: 6px; background: var(--violet); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.msa-solve:hover:not(:disabled) { background: #5a2fc4; }
.msa-solve:disabled { opacity: .7; cursor: progress; }
.msa-solve.stale { box-shadow: 0 0 0 3px #d8c8ff; }
.msa-prog { height: 4px; background: #e2dcf5; border-radius: 2px; overflow: hidden; }
.msa-prog i { display: block; height: 100%; background: #9878e1; transition: width .12s linear; }
.msa-center { padding: 12px; min-width: 0; }
.msa-ctabs { display: flex; gap: 4px; margin-bottom: 10px; padding: 4px; background: #f5f5f5; border-radius: 6px; width: max-content; }
.msa-ctabs span { padding: 4px 12px; border-radius: 5px; font-size: 12.5px; font-weight: 600; }
.msa-ctabs span.on { background: #fff; color: var(--violet); box-shadow: inset 0 0 0 1px #c9b8f3; }
.msa-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); grid-template-rows: repeat(13, minmax(0, 1fr)); gap: 3px; aspect-ratio: 1.08 / 1; }
.msa-cell { position: relative; padding: 0; border: 0; border-radius: 2px; background: #f3f3f3; overflow: hidden; cursor: pointer; container-type: inline-size; }
.msa-fill { position: absolute; inset: 0; display: flex; }
.msa-fill i { display: block; height: 100%; }
.msa-h { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; font-size: clamp(9px, 30cqw, 14px); font-weight: 600; color: #444; }
.msa-cell.in .msa-h { color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.msa-cell:hover, .msa-cell:focus-visible { outline: 2px solid #111; outline-offset: -2px; z-index: 2; }
.msa-cell.pin { outline: 2px solid var(--violet); outline-offset: -2px; z-index: 2; }
.msa-right { padding: 12px 12px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.msa-card-p { border: 1px solid #e3e3e3; border-radius: 8px; padding: 10px 12px; background: #fff; }
.msa-card-p > .msa-sec:first-child { margin-top: 0; border: 0; padding-bottom: 8px; }
.msa-ph { display: flex; align-items: center; justify-content: space-between; }
.msa-ph .msa-sec { margin: 0; border: 0; padding: 0; }
.msa-toact { padding: 3px 9px; border-radius: 6px; background: var(--violet-l); color: var(--violet); font-size: 11.5px; font-weight: 600; }
.msa-line { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; min-height: 26px; }
.msa-street { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0 4px 0 0; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.msa-street::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.msa-chip { padding: 3px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; cursor: pointer; border: 1px solid; }
.msa-chip.ok { background: #b9f5d8; border-color: #2fa872; color: #0e4f33; }
.msa-chip.agg { background: #fff6b0; border-color: #d8c24a; color: #4d4300; }
.msa-chip.fold { background: #eceef2; border-color: #9aa0aa; color: #333; }
.msa-next { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.msa-next button { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; font-size: 11.5px; font-weight: 700; text-transform: uppercase; text-align: left; color: #111; cursor: pointer; }
.msa-next button:hover:not(:disabled) { border-color: var(--violet); background: #faf8ff; }
.msa-next button:disabled { cursor: default; color: #555; }
.msa-next i, .msa-freq i, .msa-irow i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 1px; }
.msa-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #ececec; }
.msa-nums span { display: block; font-size: 11px; color: #333; }
.msa-nums b { font-size: 14px; font-weight: 600; }
.msa-freqs { display: flex; flex-direction: column; gap: 7px; }
.msa-freq { display: grid; grid-template-columns: 8px 92px minmax(0, 1fr) 46px; align-items: center; gap: 8px; font-size: 11.5px; }
.msa-freq span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msa-freq em { height: 14px; background: #f3f3f3; border-radius: 2px; overflow: hidden; }
.msa-freq u { display: block; height: 100%; text-decoration: none; transition: width .12s linear; }
.msa-freq b { text-align: right; font-weight: 600; }
.msa-insp { height: 112px; overflow: hidden; }
.msa-insp-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.msa-insp-h b { font-size: 18px; font-weight: 500; min-width: 40px; }
.msa-insp-h span { font-size: 11px; color: #555; }
.msa-insp-h button { margin-left: auto; border: 0; background: none; font-size: 11.5px; color: #333; cursor: pointer; }
.msa-irow { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; font-size: 11.5px; padding: 2px 0; }
.msa-irow b { font-weight: 600; }
.msa-chart { display: block; width: 100%; height: auto; }
.msa-target { stroke: #bbb; stroke-dasharray: 3 3; }
.msa-line-p { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linejoin: round; }
.msa-dot { fill: var(--violet); }
.msa-status { display: flex; align-items: center; gap: 16px; height: 26px; padding: 0 12px; background: var(--felt); color: #b8c0f4; font-size: 11px; letter-spacing: .03em; }
.msa-status b { color: #fff; font-weight: 600; }
.msa-led { width: 7px; height: 7px; border-radius: 50%; background: #b8c0f4; }
.msa-led.solving { background: #ffb020; } .msa-led.solved { background: #d4ff3a; } .msa-led.error { background: #ff4a1c; }
.msa-st-r { margin-left: auto; }
.msa-st-r a { color: #d4ff3a !important; text-decoration: none; font-weight: 600; }
.msa-st-r a:hover { text-decoration: underline; }
.msa-modal-back { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 30, .55); }
.msa-modal { width: min(560px, 100%); background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.35); padding: 14px 16px 16px; font-family: "Segoe UI", system-ui, sans-serif; color: #111; }
.msa-modal-h { display: flex; justify-content: space-between; align-items: center; color: #7a5716; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 6px; border-bottom: 1px solid #caa55a; }
.msa-x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #333; }
.msa-modal-board { display: flex; gap: 6px; margin: 12px 0; }
.msa-modal-board .msa-card { width: 38px; height: 50px; } .msa-modal-board .msa-card b { font-size: 21px; }
.msa-modal-board .msa-slot.on { cursor: default; border-color: #6d3fd9; box-shadow: 0 0 0 3px #ede5ff; }
.msa-deck { display: flex; flex-direction: column; gap: 5px; }
.msa-deck-row { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; }
.msa-pick { display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; }
.msa-pick .msa-card { width: 100%; max-width: 34px; height: 40px; }
.msa-pick:hover:not(:disabled) .msa-card { transform: translateY(-2px); box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.msa-pick.cur .msa-card { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6d3fd9; }
.msa-pick:disabled { cursor: default; } .msa-pick:disabled .msa-card { opacity: .18; }
.msa-modal-back * { font-family: "Segoe UI", system-ui, sans-serif !important; }
@media (max-width: 1180px) { .msa-main { grid-template-columns: 240px minmax(0, 1fr); } .msa-right { grid-column: 1 / -1; padding: 0 12px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .msa-sizing { display: none; } }
@media (max-width: 760px) { .msa-main { grid-template-columns: 1fr; } .msa-right { grid-template-columns: 1fr; } .msa-tabs { display: none; } .msa-left { border-right: 0; } .msa-status span:not(.msa-led):nth-child(n+5) { display: none; } }
@media (prefers-reduced-motion: reduce) { .msa-prog i, .msa-freq u { transition: none; } }
/* round 2: fixed height, fixed vs editable fields, notes, bands */
.app-head .ph-title .ph-slab { font-size: var(--b-t-title) !important; }
.app-head .ph-lede { margin: 8px 0 0 !important; font-size: clamp(15px, 1.25vw, 18px) !important; max-width: 70ch; }
#root .solver-live { padding: 32px 0 40px; }
.msa-wrap { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1120px) minmax(170px, 230px); justify-content: center; gap: 28px; padding: 0 16px; }
.msa-notes { display: flex; flex-direction: column; gap: 22px; padding-top: 60px; }
.msa-note b { display: block; font-family: var(--b-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--b-klein); margin-bottom: 6px; padding-top: 8px; border-top: 2px solid var(--b-ink); }
#root .msa-note p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--b-ink-2, #333); }
@media (max-width: 1560px) {
  .msa-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1120px; margin: 0 auto; }
  .msa-wrap > .msa { grid-column: 1 / -1; grid-row: 1; }
  .msa-notes { padding-top: 0; }
}
@media (max-width: 700px) { .msa-wrap { grid-template-columns: 1fr; } }
#root .solver-intro { padding: 48px 0 40px; background: var(--b-klein); color: var(--b-white); border-top: 0; }
#root .solver-intro-p { color: var(--b-white) !important; max-width: 78ch; font-size: 17px; line-height: 1.55; margin: 0 0 20px; }
#root .solver-intro-p a { color: var(--b-acid) !important; }
.solver-intro .btn-download { margin-bottom: 28px; }
.msa-main { position: relative; }
.msa .msa-modal-back { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(240, 240, 240, .82); }
.msa .msa-modal { box-shadow: 0 14px 40px rgba(20, 24, 60, .28); border: 1px solid #d8d8d8; }
.msa-box.ro { border-color: #e2e2e2; background: #f7f7f7; }
.msa-box.ro > span { background: #f0f0f0; color: #555; border-right-color: #e6e6e6; }
.msa-box.ro em { color: #555; font-weight: 500; }
.msa-box.ed { position: relative; border-color: #8a8a8a; background: #fff; }
.msa-box.ed input { font-weight: 700; padding-right: 20px; cursor: text; }
.msa-box.ed:hover { border-color: var(--violet); }
.msa-pen { position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; fill: none; stroke: var(--violet); stroke-width: 1.5; stroke-linejoin: round; pointer-events: none; }
.msa-range { background: #f7f7f7; border-color: #e2e2e2; }
.msa-slot:not(.has) { border: 1.5px dashed var(--violet); color: var(--violet); background: #faf8ff; }
.msa-line { height: 56px; align-content: flex-start; overflow: hidden; }
.msa-next { height: 179px; }
.msa-freqs { height: 98px; }
.msa-insp { height: 132px; }
.msa-center { display: flex; flex-direction: column; }
.msa-center .msa-grid { flex: 1; aspect-ratio: auto; min-height: 420px; }
@media (max-width: 760px) { .msa-center .msa-grid { flex: none; aspect-ratio: 1 / 1; min-height: 0; } }
/* round 3 (2026-11-17): compact on phones. Desktop is unchanged: .mb only shows on phones, .dk only on
   larger screens. On a phone the read-only setup becomes two lines, the three editable sizes one row,
   and the side panels lose their frames, the chart and the fixed heights (about half the height). */
.msa .mb { display: none; }
.msa-sz { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) {
  .msa .dk { display: none !important; }
  .msa .mb { display: flex; }
  .msa-top { height: 38px; gap: 10px; padding: 0 12px; }
  .msa-logo { width: 20px; height: 20px; }
  .msa-ver { font-size: 11px; }
  .msa-left { padding: 10px 12px 12px; gap: 8px; }
  .msa-left .msa-sec { margin-top: 2px; padding-bottom: 4px; }
  .msa-board { gap: 5px; }
  .msa-board .msa-card.lg, .msa-board .msa-slot { width: 32px; height: 42px; }
  .msa-board .msa-card.lg b { font-size: 18px; }
  .msa-facts { flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--mute); line-height: 1.4; }
  .msa-facts b { color: #111; font-weight: 600; }
  .msa-sz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .msa-sz .msa-pair { display: contents; }
  .msa-box.ed { grid-template-columns: 1fr; grid-template-rows: auto 26px; }
  .msa-box > span[data-m] { font-size: 0; padding: 4px 8px 0; background: #fff; border-right: 0; }
  .msa-box > span[data-m]::after { content: attr(data-m); font-size: 10px; white-space: nowrap; color: var(--mute); }
  .msa-box.ed input { justify-content: flex-start; text-align: left; padding: 0 22px 0 8px; font-size: 14px; }
  .msa-pen { top: auto; bottom: 8px; margin-top: 0; right: 8px; width: 11px; height: 11px; }
  .msa-go { padding-top: 4px; gap: 5px; }
  .msa-solve { height: 40px; }
  .msa-center { padding: 8px 8px 4px; }
  .msa-grid { gap: 2px; }
  .msa-right { padding: 0; gap: 0; }
  .msa-card-p { border: 0; border-top: 1px solid #ececec; border-radius: 0; padding: 10px 12px; }
  .msa-line { height: auto; min-height: 24px; margin-top: 6px; }
  .msa-next { height: auto; flex-direction: row; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
  .msa-next button { padding: 6px 8px; font-size: 11px; }
  .msa-nums { margin-top: 8px; padding-top: 6px; }
  .msa-nums b { font-size: 13px; }
  .msa-freqs { height: auto; gap: 5px; }
  .msa-freq { grid-template-columns: 8px 64px minmax(0, 1fr) 44px; gap: 6px; }
  .msa-insp { height: 52px; }
  .msa-insp-h { margin-bottom: 2px; }
  .msa-insp-h b { font-size: 15px; }
  .msa-insp .msa-irow { display: inline-grid; grid-template-columns: 8px auto auto; gap: 5px; margin-right: 12px; padding: 0; }
  .msa-card-p > .msa-sec:first-child { padding-bottom: 6px; }
  /* round 4: Solve beside the sizes, no panel headings, the numbers on one line */
  .msa-left { display: grid; grid-template-columns: minmax(0, 1fr) 82px; column-gap: 6px; row-gap: 8px; }
  .msa-left > * { grid-column: 1 / -1; }
  .msa-left > .msa-sz { grid-column: 1; }
  .msa-left > .msa-go { grid-column: 2; margin: 0; padding: 0; gap: 4px; }
  .msa-go .msa-solve { flex: 1; height: auto; min-height: 44px; font-size: 13px; }
  .msa-card-p > .msa-sec:first-child, .msa-ph .msa-sec, .msa-sec.sm { display: none; }
  .msa-right > .msa-card-p:first-child { position: relative; }
  .msa-ph { position: absolute; top: 9px; right: 12px; }
  .msa-line { margin-top: 0; padding-right: 92px; }
  .msa-next { margin-top: 8px; }
  .msa-nums { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .msa-nums > div { display: flex; align-items: baseline; gap: 6px; }
  .msa-nums b { font-size: 12.5px; }
  .msa-insp { height: 46px; }
}
.msa-notes-m { display: none; }
@media (max-width: 760px) {
  .msa-wrap > .msa-notes { display: none; }
  .msa-notes-m { display: block; border-top: 2px solid var(--b-ink); padding-top: 8px; }
  .msa-notes-m summary { cursor: pointer; font-family: var(--b-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--b-klein); padding: 4px 0; }
  #root .msa-notes-m p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--b-ink-2, #333); }
}
.pfm-modal-back, .pfm-modal-back * { font-family: var(--b-mono) !important; box-sizing: border-box; }
.pfm-modal-back { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 14, .62); animation: pfmFade .16s ease-out; }
.pfm-modal { position: relative; width: min(460px, 100%); padding: 26px 26px 22px; background: var(--b-white); color: var(--b-ink); border: var(--b-frame) solid var(--b-ink); box-shadow: 8px 8px 0 var(--b-ink); animation: pfmRise .2s ease-out; }
.pfm-modal-k { display: inline-block; margin-bottom: 12px; padding: 3px 8px; background: var(--b-ink); color: var(--b-white); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pfm-modal h3 { margin: 0 0 10px !important; font-size: 22px !important; line-height: 1.2; color: var(--b-ink); }
.pfm-modal p { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: var(--b-ink); }
.pfm-modal-acts { display: flex; flex-direction: column; gap: 8px; }
.pfm-modal-acts a { display: block; padding: 12px 14px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; text-align: center; border: 2px solid var(--b-ink); }
.pfm-modal-go { background: var(--b-verm); color: var(--b-ink) !important; }
.pfm-modal-key { background: var(--b-white); color: var(--b-ink) !important; }
.pfm-modal-acts a:hover, .pfm-modal-acts a:focus-visible { background: var(--b-ink); color: var(--b-white) !important; outline: none; }
.pfm-modal-x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; color: var(--b-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.pfm-modal-x:hover { color: var(--b-verm); }
@keyframes pfmFade { from { opacity: 0; } }
@keyframes pfmRise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .pfm-modal-back, .pfm-modal { animation: none; } }
.pfm-wall p { margin: 0; font-size: 14px !important; line-height: 1.45; color: var(--v-tx); font-family: var(--b-mono) !important; }
#root .app-post { padding: 24px 0 40px; }
.app-post-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: center; }
.app-post-copy h2 { font-size: var(--b-t-h2) !important; margin: 0 0 12px !important; }
#root .app-post-copy p { margin: 0 0 14px; max-width: 42ch; }
.app-post-cta { display: inline-block; padding: 10px 14px; background: var(--b-verm); color: var(--b-ink) !important; font-family: var(--b-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.app-post-cta:hover { background: var(--b-ink); color: var(--b-white) !important; }
.vl { margin: 0; }
.vl-frame { border: var(--b-frame) solid var(--b-ink); background: var(--b-ink); }
.vl-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 12px; background: var(--b-ink); color: var(--b-white); font-family: var(--b-mono); font-size: 12px; }
.vl-url { flex: 1; color: #b9bccb; letter-spacing: .02em; }
.vl-open { color: var(--b-acid) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.vl-open:hover { text-decoration: underline; }
.vl-screen { display: block; position: relative; cursor: pointer; background: #121212; }
.vl-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
#root .app-stills { padding: 8px 0 40px; }
.app-stills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.app-still img { display: block; width: 100%; height: auto; border: 2px solid var(--b-ink); cursor: zoom-in; }
.app-still h3 { font-size: 15px !important; margin: 12px 0 4px !important; }
#root .app-still p { font-size: 15px; margin: 0; line-height: 1.4; color: var(--b-ink-2); }
#root .app-more { padding: 8px 0 64px; }
.app-more-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 32px; align-items: center; }
.app-more-grid .promo-video, .app-more-grid .video-wrap { margin: 0 !important; }
.app-more-copy h3 { font-size: var(--b-t-h3) !important; margin: 0 0 8px !important; }
#root .app-more-copy p { margin: 0 0 12px; max-width: 46ch; }
.app-offline a { color: var(--b-klein); text-decoration: underline; }
/* seat cards keep one height whether they show two or three buttons */
.pfm-seat { min-height: 150px; box-sizing: border-box; }
.pfm-chip-st, .pfm-mob { display: none; }
@media (max-width: 640px) {
  .pfm-band { overflow: visible; gap: 4px; padding: 8px; }
  .pfm-reset { flex: 0 0 30px; font-size: 15px; }
  .pfm-seat { min-width: 0; min-height: 0; padding: 6px 2px; align-items: center; gap: 2px; }
  .pfm-seat-h { justify-content: center; margin: 0; }
  .pfm-seat-h span { display: none; }
  .pfm-seat-h b { font-size: 12px; }
  .pfm-seat.on .pfm-seat-h b::before { display: none; }
  .pfm-seat .pfm-act, .pfm-seat .pfm-done { display: none; }
  .pfm-chip-st { display: block; min-height: 14px; font-size: 10px; color: var(--v-dim); text-align: center; white-space: nowrap; }
  .pfm-seat.on .pfm-chip-st { color: var(--v-acc); }
  .pfm-mob { display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: stretch; padding: 8px; border-bottom: 1px solid var(--v-brd); background: var(--v-elev); }
  .pfm-mob b { display: grid; place-items: center; font-size: 13px; color: var(--v-acc); }
  .pfm-mob .pfm-act { text-align: center; padding: 10px 4px; font-size: 13px; }
}
/* round 3: only the band and the Viewer on the first screen; the rest in full-width bands below */
.app-head { padding: 18px 0 22px !important; }
.app-head .ph-title { margin: 0 !important; }
/* Solver page: the download sits in the band itself, so it is on the first screen without pushing the
   live demo down: the title keeps the full width, the button stands beside the lede. On a narrow
   screen it drops under the lede as one row. */
.solver-head .solver-head__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
.solver-head .solver-head__row > .ph-title { grid-column: 1 / -1; }
.solver-head .solver-head__row > .ph-lede { grid-column: 1; }
.solver-head .solver-head__get { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 8px; }
.solver-head .solver-dlbtn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--b-verm); color: var(--b-ink); text-decoration: none;
  font: 800 clamp(15px, 1.3vw, 18px)/1 var(--b-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: 0; white-space: nowrap;
  transition: background .12s, color .12s, transform .12s; }
.solver-head .solver-dlbtn:hover { background: var(--b-ink); color: var(--b-white); transform: translateY(-2px); }
.solver-head .solver-dlbtn:focus-visible { outline: 3px solid var(--b-acid); outline-offset: 3px; }
.solver-head .app-head-alt { font-size: 13px; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 760px) {
  .solver-head .solver-head__row { grid-template-columns: minmax(0, 1fr); }
  .solver-head .solver-head__get { grid-column: 1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 16px; }
  .solver-head .solver-dlbtn { padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { .solver-head .solver-dlbtn { transition: none; } .solver-head .solver-dlbtn:hover { transform: none; } }
#root .app-live { margin-top: 0; padding: 40px 0 48px; background: var(--b-white); }
.pfm-body { grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 340px); }
.pfm-grid { aspect-ratio: auto; height: clamp(340px, calc(100vh - 440px), 560px); grid-template-rows: repeat(13, minmax(0, 1fr)); }
#root .app-post, #root .app-stills, #root .app-more { padding: 56px 0; }
#root .app-post { background: var(--b-klein); color: var(--b-white); border-top: 0; }
#root .app-post h2, #root .app-post p { color: var(--b-white) !important; }
#root .app-stills { background: var(--b-white); border-top: 2px solid var(--b-ink); }
#root .app-more { background: var(--b-paper); border-top: 2px solid var(--b-ink); }
@media (max-width: 860px) { .pfm-grid { height: auto; aspect-ratio: 1 / 1; } }
@media (max-width: 1100px) { .app-stills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app-post-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .pfm-body { grid-template-columns: 1fr; } .pfm-board { display: none; } }
@media (max-width: 720px) { .app-more-grid { grid-template-columns: 1fr; } .vl-url, .pfm-url { display: none; } .pfm-live { font-size: 11px; } }
@media (max-width: 520px) { .app-stills-grid { grid-template-columns: 1fr; } .pfm-open { display: none; } }

/* ── 6. home ──────────────────────────────────────────────────────────────────────────────── */
.home-v2 .hero-n { background: var(--b-klein) !important; color: var(--b-white); padding: var(--b-hero-pad) 0 calc(var(--b-hero-pad) + 8px) !important; }
/* the headline column is a size container capped at 1000 px: the headline scales with it and lines stay readable */
.hero-n__copy { container-type: inline-size; max-width: 1000px; }
.home-v2 .hero-n h1 { font-size: var(--b-t-display) !important; font-size: clamp(24px, 8.6cqi, 60px) !important; line-height: 1.02 !important; max-width: none !important; margin: 18px 0 22px !important;
  text-transform: uppercase !important; letter-spacing: -.03em !important; }
.hero-n h1 .b-block { -webkit-box-decoration-break: clone; box-decoration-break: clone; display: inline; padding: .04em .2em 0; line-height: 1.16; }
.hero-n h1 .b-block--white { color: var(--b-klein); }
.hero-n h1 .b-block--verm { color: var(--b-ink); }
.home-v2 .hero-n .lead2 { color: var(--b-white); font: 400 var(--b-t-lead)/1.45 var(--b-serif) !important; max-width: 52ch; }
.home-v2 .hero-n .lead2 b { color: var(--b-white); font-weight: 700; }
.home-v2 .hero-n .lead2 code, #root .hero-n code { background: var(--b-klein-deep); color: var(--b-acid); font-size: .8em; }
.home-v2 .hero-n .lead2 a { color: var(--b-acid); text-decoration: underline; text-underline-offset: 3px; }
.home-v2 .hero-n .ctas { gap: 16px; align-items: center; margin-top: 24px; }
.home-v2 .hero-n .ctas .big-cta { flex-direction: row; font: 800 clamp(15px, 1.2vw, 17px)/1 var(--b-display) !important; font-stretch: 112%; letter-spacing: 0;
  padding: 18px 26px; background: var(--b-verm); color: var(--b-ink); }
.home-v2 .hero-n .ctas .big-cta::after { display: none; }
.home-v2 .hero-n .ctas .big-cta:hover { background: var(--b-ink); color: var(--b-white); transform: translateY(-2px); }
.home-v2 .hero-n .ctas .big-cta + .big-cta { background: transparent; color: var(--b-white); outline: var(--b-frame) solid var(--b-white); outline-offset: calc(-1 * var(--b-frame)); }
.home-v2 .hero-n .ctas .big-cta + .big-cta:hover { background: var(--b-acid); color: var(--b-ink); outline-color: var(--b-acid); }
.home-v2 .product .go b { background: var(--b-verm); color: var(--b-ink); font-family: var(--b-mono); }
.home-v2 .product:hover .go b { background: var(--b-klein); color: var(--b-white); }
.home-v2 .product:hover .win__bar { background: var(--b-klein); }
.home-v2 .product .go { color: var(--b-ink-2); font-family: var(--b-mono); }
.home-v2 .product h3 { font: 900 var(--b-t-h3)/1 var(--b-display) !important; font-stretch: 125%; }
.home-v2 .claim { border-top: 2px solid var(--b-white); }
.home-v2 .claim h2 { color: var(--b-white) !important; font-size: calc(var(--b-t-h2) * 1.2) !important; }
.home-v2 .claim:first-child h2 span, .home-v2 .claim h2 { text-transform: uppercase !important; }
.home-v2 .claim p { color: var(--b-white); font-family: var(--b-serif) !important; }
.home-v2 .claim .fig > div { color: var(--b-acid); font: 900 clamp(36px, 5vw, 64px)/.9 var(--b-display); font-stretch: 125%; }
.home-v2 .claim .fig small { color: var(--b-peri); }
.home-v2 .links a { background: var(--b-white); color: var(--b-ink) !important; font-family: var(--b-mono); }
.home-v2 .links a:hover { background: var(--b-acid); color: var(--b-ink) !important; }
.home-v2 .video-meta, .video-meta { background: var(--b-white); color: var(--b-ink-2); font-family: var(--b-mono) !important; }
.pv-btn { background: var(--b-verm) !important; color: var(--b-ink) !important; border-radius: 0 !important; }
.pv-label { color: var(--b-white); font-family: var(--b-mono); }
.tc-label { font-family: var(--b-display) !important; font-weight: 900; font-stretch: 125%; text-transform: uppercase; color: var(--b-white) !important; }
.tc-arr { background: var(--b-verm) !important; color: var(--b-ink) !important; border-radius: 0 !important; }

/* ── 7. cards / windows on the inner pages ─────────────────────────────────────────────────── */
.plan > .upgrade-badge { background: var(--b-acid) !important; color: var(--b-ink) !important; }
a.lib-card:hover, a.fmt-jump-card:hover, a.viewer-thumb:hover { --win-band: var(--b-klein); }
.plan.featured, .plan.pro, .plan-featured { --win-band: var(--b-klein); }
.ring-card { background: var(--b-ink); box-shadow: none !important; }
.ring-bar { background: var(--b-ink); color: var(--b-white); }
.ring:focus-visible .ring-stage { box-shadow: 0 0 0 3px var(--b-verm) !important; }
.fh-section-tag-badge, .fh-badge-felt { background: var(--b-klein) !important; color: var(--b-white) !important; font-family: var(--b-mono) !important; }
.fh-eyebrow { color: var(--b-klein) !important; font-weight: 600; }
.fh-eyebrow::before { content: "\00A7\2009"; color: var(--b-ink); }
.fh-title { font-size: clamp(24px, 2.6vw, 36px) !important; }
.fh-band-alt { background: var(--b-paper) !important; }
.fh-link, .fh-link .arr { color: var(--b-klein) !important; font-family: var(--b-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fh-visual-dark { background: var(--b-klein) !important; }
.iso-fig { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); padding: clamp(24px, 4vw, 48px); min-height: 100%; }
.iso-fig img { width: clamp(72px, 9vw, 120px); height: auto; display: block; }
.iso-fig .iso-op { font: 900 clamp(28px, 3vw, 44px)/1 var(--b-display); font-stretch: 125%; color: var(--b-acid); }
.waitlist { background: var(--b-klein) !important; }
section.waitlist h2, section.waitlist h3 { color: var(--b-white) !important; }
section.waitlist p, section.waitlist small, section.waitlist span { color: var(--b-white) !important; }
section.waitlist a, section.waitlist button { background: var(--b-verm) !important; color: var(--b-ink) !important; border-color: var(--b-verm) !important; }
section.waitlist a:hover, section.waitlist button:hover { background: var(--b-white) !important; color: var(--b-klein) !important; }
section.waitlist input { border: var(--b-frame) solid var(--b-white) !important; background: var(--b-white); color: var(--b-ink); font-family: var(--b-mono); }
footer.footer { background: var(--b-ink) !important; }
footer.footer h4, footer.footer h5, footer.footer [class*="head"], footer.footer [class*="title"] { color: var(--b-acid) !important; }
.faq-item { border-top: 2px solid var(--b-ink) !important; }
.faq-item .q { font-family: var(--b-display) !important; font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.lb-overlay { background: rgba(13, 14, 31, .96) !important; }
.lb-close, .lb-nav { background: var(--b-white) !important; color: var(--b-ink) !important; border-radius: 0 !important; font-family: var(--b-mono); }
.lb-thumb-on { outline: 3px solid var(--b-verm) !important; }

/* ── 8. docs ──────────────────────────────────────────────────────────────────────────────── */
.docs-page { font-family: var(--b-serif); color: var(--b-ink); }
.docs-side, .docs-rail { background: var(--b-paper); border-right: 2px solid var(--b-ink); }
.docs-rail { border-right: 0; border-left: 2px solid var(--b-ink); }
.docs-search, .docs-landing-search { border: 2px solid var(--b-ink) !important; background: var(--b-white) !important; }
.docs-search input, .docs-landing-search input { font-family: var(--b-mono); font-stretch: 87.5%; }
.docs-search-kbd { border: 1.5px solid var(--b-ink) !important; font-family: var(--b-mono); }
.docs-grp-btn { font-family: var(--b-mono) !important; color: var(--b-klein) !important; font-weight: 700; letter-spacing: .08em; }
.docs-link { font-family: var(--b-serif) !important; color: var(--b-ink) !important; font-size: 15px !important; }
.docs-link:hover { background: var(--b-white) !important; color: var(--b-klein) !important; }
.docs-link.active, .docs-link[aria-current] { background: var(--b-klein) !important; color: var(--b-white) !important; }
.docs-eyebrow, .docs-side-eyebrow, .docs-rail h6 { color: var(--b-klein) !important; font-family: var(--b-mono) !important; }
.docs-h1, .docs-landing-h1 { font-family: var(--b-display) !important; font-weight: 900 !important; font-stretch: 125%; font-style: normal !important;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1 !important; font-size: var(--b-t-title) !important; color: var(--b-ink); }
.docs-lede, .docs-landing-lede { font-family: var(--b-serif) !important; font-size: var(--b-t-lead) !important; color: var(--b-ink-2) !important; }
.docs-article { font-family: var(--b-serif); }
.docs-article p, .docs-article li { font-family: var(--b-serif); font-size: var(--b-t-body); line-height: 1.6; color: var(--b-ink); }
.docs-article h2 { font-size: var(--b-t-h3) !important; border-top: 2px solid var(--b-ink); padding-top: 16px; }
.docs-article { counter-reset: dsec; }
.docs-article h2 { counter-increment: dsec; }
.docs-article h2::before { content: "\00A7\2002"; font-family: var(--b-mono); font-weight: 600; font-stretch: 87.5%; font-size: .55em; vertical-align: .35em; color: var(--b-klein); letter-spacing: .04em; }
.docs-article h3 { font-size: 18px !important; }
.docs-article h4 { font-family: var(--b-mono) !important; font-weight: 700 !important; text-transform: uppercase; font-size: 13px !important; letter-spacing: .06em; }
.docs-article a, .docs-article a.lnk, .docs-pn a, .docs-bc a { color: var(--b-klein) !important; }
.docs-article a:hover { background: var(--b-acid); color: var(--b-ink) !important; }
.docs-article strong { color: var(--b-ink); }
.docs-bc, .docs-bc-cur { font-family: var(--b-mono); font-stretch: 87.5%; }
.docs-card { background: var(--b-white) !important; border: var(--b-frame) solid var(--b-ink) !important; }
.docs-card:hover { border-color: var(--b-klein) !important; }
.docs-card-top { border-bottom: 0; }
.docs-card-glyph { background: var(--b-klein) !important; color: var(--b-white) !important; border: 0 !important; width: 48px !important; height: 48px !important; }
.docs-card-glyph img { width: 40px; height: 40px; display: block; }
.docs-card-count { font-family: var(--b-mono) !important; color: var(--b-klein) !important; }
.docs-card-title { font-family: var(--b-display) !important; font-weight: 900 !important; font-stretch: 125%; text-transform: uppercase; font-size: 21px !important; }
.docs-card-blurb { font-family: var(--b-serif) !important; font-size: 16px !important; color: var(--b-ink-2) !important; }
.docs-card-list { border-top: 2px solid var(--b-ink) !important; }
.docs-card-link { font-family: var(--b-serif) !important; color: var(--b-ink) !important; font-size: 15px !important; }
.docs-card-link:hover { color: var(--b-klein) !important; background: var(--b-paper); }
.docs-table th { background: var(--b-ink) !important; color: var(--b-white) !important; font-family: var(--b-mono); }
.docs-table td { font-family: var(--b-serif); border-color: var(--b-rule) !important; }
.callout { border: 0 !important; border-left: 6px solid var(--b-klein) !important; background: var(--b-paper) !important; }
.callout-tip { border-left-color: var(--b-acid) !important; }
.callout-warn { border-left-color: var(--b-verm) !important; }
.callout-title { font-family: var(--b-mono) !important; text-transform: uppercase; letter-spacing: .06em; }
.codeblock { border: var(--b-frame) solid var(--b-ink) !important; background: var(--b-ink) !important; }
.codeblock-head { background: var(--b-ink) !important; color: var(--b-acid) !important; border-bottom: 1px solid var(--b-ink-2) !important; }
.codeblock pre, .codeblock code { color: var(--b-white) !important; background: transparent !important; font-family: var(--b-mono); }
.figure-frame { border: var(--b-frame) solid var(--b-ink) !important; }
.figure-tag { background: var(--b-ink) !important; color: var(--b-acid) !important; font-family: var(--b-mono); }
.figure-cap { font-family: var(--b-mono) !important; font-stretch: 87.5%; }
.docs-pn a { border: 2px solid var(--b-ink) !important; }
.docs-pn a:hover { background: var(--b-klein) !important; color: var(--b-white) !important; }
.docs-pn a:hover * { color: var(--b-white) !important; }
.docs-mobilebar { background: var(--b-ink) !important; color: var(--b-white) !important; }
.docs-mobilebar-label { font-family: var(--b-mono); color: var(--b-white) !important; }
.docs-burger span { background: var(--b-white) !important; }

/* ── 9. the pre-rendered fallback (#root .seohome: crawlers, no-JS, before React) ─────────── */
#root .seohome { font-family: var(--b-serif); color: var(--b-ink); }
#root .seohome-bar { border-bottom: 2px solid var(--b-ink); }
#root .seohome-brand { font: 900 19px/1 var(--b-display); font-stretch: 125%; color: var(--b-klein); }
#root .seohome-brand .sl { color: var(--b-verm-deep); }
#root .seohome-nav a { font-family: var(--b-mono); font-stretch: 87.5%; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--b-ink); }
#root .seohome-nav a:hover { color: var(--b-klein); }
#root .seohome h1 { background: var(--b-klein); color: var(--b-white); padding: clamp(24px, 4vw, 48px); font-size: var(--b-t-title) !important; max-width: none !important; }
#root .seohome h2 { font-size: var(--b-t-h3); border-top: 2px solid var(--b-ink); padding-top: 14px; color: var(--b-ink); }
#root .seohome p, #root .seohome ul, #root .seohome-lede { color: var(--b-ink); font-family: var(--b-serif); }
#root .seohome a.lnk, #root .seohome-card a { color: var(--b-klein); }
#root .seohome-card { border: var(--b-frame) solid var(--b-ink); background: var(--b-white); }
#root .seohome-card h3 { font: 800 15px/1.1 var(--b-display); font-stretch: 112%; text-transform: uppercase; }
#root .seohome-cta:not(.alt) { padding: 14px 22px; }
#root .seohome-cta.alt { color: var(--b-klein) !important; margin-left: 10px; padding: 11px 20px; }
#root .seohome-foot { border-top: 2px solid var(--b-ink); color: var(--b-ink-2); font-family: var(--b-mono); }
#root .seohome video { border-radius: 0 !important; background: var(--b-ink) !important; }

@media (prefers-reduced-motion: reduce) {
  #root *, .docs-page *, .sc-top *, .sc-foot * { transition: none !important; animation: none !important; }
}

/* ── 10. phones ───────────────────────────────────────────────────────────────────────────── */
.hero-n__copy { min-width: 0; }
@media (max-width: 600px) {
  .page-head .ph-title { font-size: clamp(24px, 7vw, 32px) !important; }
  #root h2 { overflow-wrap: anywhere; }
  .home-v2 .hero-n .ctas .big-cta { padding: 15px 18px; }
}
@media (max-width: 600px) { .page-head { padding-bottom: 40px; } .page-head::after { bottom: 14px; width: 20px; height: 16px; } }
.waitlist .wl-cta { text-transform: uppercase; font-size: 14px; padding: 14px 20px; }

/* ── 11. home proportions: each section as tall as on the old page (±5 %), with the smaller type ── */
/* desktop: the headline fills its column up to 68 px, so the hero keeps the old page's proportions (its longest word, SOLUTIONS, is 8.4 em) */
@media (min-width: 981px) { .home-v2 .hero-n h1 { font-size: clamp(24px, 10cqi, 68px) !important; } }
@media (min-width: 981px) { .home-v2 .claim h2 { font-size: calc(var(--b-t-h2) * 1.45) !important; } }   /* the claims keep the old 56 px statement size */
@media (min-width: 981px) { .home-v2 .claims .claim { padding-bottom: 18px; } }   /* STIX sets the claim copy in fewer lines than the old sans; the gap keeps the old rhythm */

/* ── 11/06: the top bar on offset white (Mist), set apart from the Klein hero by an ink rule; links in ink, active = Klein */
.sc-top { background: var(--b-paper) !important; color: var(--b-ink) !important; border-bottom: 2px solid var(--b-ink) !important; }
.sc-top .sc-brand { color: var(--b-ink) !important; }
.sc-nav > a, .sc-more > summary, .sc-menu > summary { color: var(--b-ink) !important; }
.sc-nav > a:hover, .sc-more > summary:hover, .sc-more[open] > summary, .sc-menu > summary:hover, .sc-menu[open] > summary { background: var(--b-acid) !important; color: var(--b-ink) !important; }
.sc-nav > a.sc-on, .sc-nav > a.sc-hl.sc-on { background: var(--b-klein) !important; color: var(--b-white) !important; box-shadow: none !important; }
.sc-nav > a.sc-hl { color: var(--b-klein) !important; box-shadow: inset 0 -3px 0 var(--b-klein) !important; }
.sc-cta:hover { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-top :focus-visible { outline: 3px solid var(--b-klein) !important; }

/* ── 11/06: home hero shorter than the live page's, so the video row peeks above the fold as it does there */
.home-v2 .hero-n { padding: clamp(22px, 2.6vw, 40px) 0 clamp(26px, 3vw, 44px) !important; }
@media (min-width: 981px) { .home-v2 .hero-n h1 { font-size: clamp(24px, 9cqi, 60px) !important; margin: 14px 0 16px !important; } }
.home-v2 .hero-n .ctas { margin-top: 18px !important; }
@media (max-width: 600px) {
  .home-v2 .hero-n h1 { margin: 12px 0 14px !important; } }
/* 11/06: the video band right under the Klein hero is ink, so the next section reads as a new band at the fold (the old page: cream → felt) */
.home-v2 .hero-n + section.f-felt, .home-v2 .hero-n + .f-felt { background: var(--b-ink) !important; }
.home-v2 .hero-n + .f-felt .win__bar { background: var(--b-klein); color: var(--b-white); }
.home-v2 .hero-n + .f-felt .win__bar span:last-child { color: var(--b-acid); }
/* hero copy at the old page's density: prose 1.45 line-height */
.home-v2 .hero-n .lead2, .home-v2 .hero-n p { line-height: 1.45 !important; }
@media (min-width: 981px) { .home-v2 .hero-n { padding-bottom: 30px !important; } }


/* 11/06: AI Connector in the bar: a Klein block with white type and a small acid "New" tag pinned to its corner (the tag takes no
   width, so the bar still fits one row). The other links sit a little closer to make room. Active (on /mcp/) = ink block. */
@media (min-width: 1181px) {
  .sc-nav { gap: 0 !important; }
  .sc-nav > a, .sc-more > summary { padding: 0 7px !important; letter-spacing: .045em !important; }
}
.sc-nav > a.sc-new { position: relative; margin: 0 3px; padding: 0 9px !important; background: var(--b-klein) !important; color: var(--b-white) !important; box-shadow: none !important; }
.sc-nav > a.sc-new:hover { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-nav > a.sc-new.sc-on { background: var(--b-ink) !important; color: var(--b-acid) !important; }
.sc-nav > a.sc-new { gap: 7px; }
.sc-nav > a.sc-new .sc-tag { position: static; margin-left: 0; font-size: 9px; line-height: 1; padding: 3px 4px 2px; }  /* a separate chip inside the block, not glued to the label */
.sc-tag { display: inline-block; padding: 2px 3px 2px 4px; background: var(--b-acid); color: var(--b-ink); font: 700 8px/1 var(--b-mono); font-stretch: 87.5%;
  letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.sc-sheet a.sc-new, .sc-sheet a.sc-new.sc-on { gap: 10px; background: var(--b-klein) !important; color: var(--b-white) !important; }
.sc-sheet a.sc-new:hover { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-sheet a.sc-new .sc-tag { font-size: 9px; padding: 3px 4px 3px 5px; }
@media (min-width: 1181px) and (max-width: 1339px) {   /* the narrowest full bars: a little tighter still, so the CTA keeps its margin */
  .sc-nav > a, .sc-more > summary { padding: 0 6px !important; letter-spacing: .03em !important; }
  .sc-nav > a.sc-new { padding: 0 8px !important; }
  .sc-cta { padding: 0 12px !important; margin-left: 6px !important; }
}

/* 11/06 (2): the bar in two groups, Solver · Viewer · AI Connector · Pricing ‖ Preflop Ranges · Docs · About · FAQ, split by a
   2 px ink rule (the same ink as the bar's bottom rule); on the phone sheet the second group starts under a matching rule.
   Learn and Free tools live under More, which reads as current on those pages. */
.sc-sep { flex: none; width: 2px; height: 22px; margin: 0 12px; background: var(--b-ink); }
.sc-sheet .sc-ul2 { margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--b-ink); }
.sc-more.sc-on > summary { color: var(--b-klein) !important; box-shadow: inset 0 -3px 0 var(--b-klein); }   /* current section under More: an underline, so AI Connector stays the one filled block */
.sc-tag { font-size: 9px !important; }   /* critique 11/06: 8 px was below a legible size */
.sc-win a.sc-on { background: var(--b-klein); color: var(--b-white) !important; }
@media (min-width: 1181px) and (max-width: 1339px) { .sc-sep { margin: 0 8px; } }

/* declutter 11/07: no decorative "+" over the build-your-own block */
.bundle-byo::before { content: none !important; display: none !important; }

/* ── Apple-design pass (11/07): size-specific tracking and leading ── large display tight, prose at 0, small labels open
   (the labels already sit at +.06–.08em); leading tightens as the size grows. The home hero keeps its own -.03em. */
#root .ph-title, #root h2, .docs-page h1 { letter-spacing: -.02em !important; }
#root h3, #root h4 { letter-spacing: -.01em !important; line-height: 1.1 !important; }
body, main p, main li, main dd, #root p, #root li, .seohome p { letter-spacing: 0; }
main p, main li, #root p, #root li { line-height: 1.5; }
/* the page change: transform and opacity only, settling without overshoot */
.page-enter { animation-duration: 280ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }

/* 11/07: windows lost their title bar in the declutter; the bar was the frame's top edge, so close the frame */
.win:not(:has(> .win__bar)) { padding-top: var(--win-frame, 3px); }

/* ── declutter 11/13 (critique 2026-11-13-04-08): five pills, one ask, a filled pill only means "you are here" ──
   AI Connector keeps its New tag but loses the Klein block; tags and badges at 11 px; the bar's CTA is the one site-wide ask
   (Test the Viewer) in ink, so the page's own vermilion button is the only vermilion in view; More opens as three labelled groups. */
@media (min-width: 1181px) {
  .sc-nav { gap: 2px !important; }
  .sc-nav > a, .sc-more > summary { padding: 0 11px !important; letter-spacing: .06em !important; }
  .sc-sep { margin: 0 10px !important; }
}
.sc-nav > a.sc-new, .sc-sheet a.sc-new { gap: 8px; margin: 0; background: transparent !important; color: var(--b-ink) !important; }
.sc-nav > a.sc-new:hover, .sc-sheet a.sc-new:hover { background: var(--b-acid) !important; color: var(--b-ink) !important; }
.sc-nav > a.sc-new.sc-on, .sc-sheet a.sc-new.sc-on { background: var(--b-klein) !important; color: var(--b-white) !important; }
.sc-tag, .sc-badge, .sc-nav > a.sc-new .sc-tag, .sc-sheet a.sc-new .sc-tag {
  display: inline-block; padding: 3px 5px 2px !important; background: var(--b-acid); color: var(--b-ink);
  font: 700 11px/1 var(--b-mono) !important; font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; }
a.sc-new:hover .sc-tag, .sc-win a:hover .sc-badge, .sc-sheet a:hover .sc-badge { background: var(--b-ink); color: var(--b-acid); }
.sc-cta { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-cta:hover { background: var(--b-klein) !important; color: var(--b-white) !important; }
.sc-win { width: auto !important; display: grid; grid-template-columns: repeat(3, max-content); gap: 0 6px; padding: 6px 4px 10px; }
.sc-win ul { padding: 0 !important; }
.sc-win a { padding: 7px 14px !important; white-space: nowrap; }
.sc-gh { margin: 10px 14px 6px; color: var(--b-klein); font: 600 11px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .1em; text-transform: uppercase; }
.sc-sheet ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; column-gap: 14px !important; }
.sc-sheet .sc-grp { margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--b-ink); }
.sc-sheet .sc-gh { margin: 2px 10px 4px; }
.sc-sheet .sc-grp a { min-height: 44px; font-size: 14px; }

/* ── declutter 11/13: home in five bands (Klein claim · white show · white products · white claims row · Klein close), one ask ──
   One vermilion element per view: the hero's Test the Viewer, later the close band's. Everything else that was vermilion on
   home (the "yours forever." block, the play button, the product arrows) moves to acid, Klein or ink. */
.home-n .hero-n h1 .b-block--acid { background: var(--b-acid); color: var(--b-ink); }
.home-v2 .hero-n .ctas { gap: 22px; flex-wrap: wrap; }
.home-n .field { padding: clamp(36px, 4.4vw, 64px) 0 !important; }
.home-n .field.hero-n { padding: clamp(22px, 2.6vw, 40px) 0 clamp(28px, 3vw, 40px) !important; }
.home-n .show-n { padding-bottom: 0 !important; }
.home-n .show-n__win { max-width: 100%; }
.home-n .show-n .promo-video, .home-n .show-n .video-wrap, .home-n .show-n .video-frame { margin: 0; }
.home-n .pv-btn { background: var(--b-klein) !important; color: var(--b-white) !important; }
.home-n .pv-play:hover .pv-btn { background: var(--b-acid) !important; color: var(--b-ink) !important; }
.home-n .product h2 { margin: 0; padding: 20px 20px 0; font: 900 var(--b-t-h3)/1 var(--b-display) !important; font-stretch: 125%; text-transform: uppercase; color: var(--b-ink); }
.home-v2.home-n .product .go b { background: var(--b-ink); color: var(--b-white); }
.home-v2.home-n .product:hover .go b { background: var(--b-klein); color: var(--b-white); }
.home-n .claims-n { padding-bottom: clamp(48px, 5.6vw, 80px) !important; }
.claims3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.claim3 { display: flex; flex-direction: column; align-items: flex-start; padding-top: 18px; border-top: 3px solid var(--b-ink); }
#root .claim3 h2 { margin: 0 0 12px; max-width: 18ch; color: var(--b-ink); font: 900 var(--b-t-h3)/1.02 var(--b-display) !important; font-stretch: 125%; text-transform: uppercase; }
#root .claim3 p { margin: 0 0 16px; max-width: 40ch; color: var(--b-ink-2); font: 400 17px/1.5 var(--b-serif) !important; }
.claim3 a { margin-top: auto; color: var(--b-klein) !important; font: 600 13px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.claim3 a:hover { color: var(--b-ink) !important; background: var(--b-acid); }
@media (max-width: 900px) { .claims3 { grid-template-columns: 1fr; gap: 28px; } }

/* the closing Klein band (every app page): Test the Viewer, the beta key as a white text link */
.close-n__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
section.waitlist.close-n .close-n__alt { background: transparent !important; color: var(--b-white) !important; border: 0 !important; padding: 0;
  font: 600 13px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
section.waitlist.close-n .close-n__alt:hover { color: var(--b-acid) !important; background: transparent !important; }
section.waitlist.close-n .wl-cta span { color: inherit !important; }

/* pricing: the plan names are h2 now (h1 → h2), drawn as the h3 was */
.plan h2.ph { margin: 0 0 14px; font: 900 19px/1 var(--b-display) !important; font-stretch: 125%; text-transform: uppercase; color: var(--b-ink); letter-spacing: -.01em !important; }
.pricing-hw h2 { margin: 0; font: 900 var(--b-t-h3)/1.1 var(--b-display) !important; font-stretch: 125%; text-transform: uppercase; color: var(--b-ink); }
.home-n .field.claims-n { padding-top: 8px !important; }   /* the products band above already leaves the gap */
.pricing .plan .pdesc { margin-bottom: 0; }
.pricing .plan { grid-template-rows: none !important; align-content: start; min-height: 0 !important; }

/* ── home hero: a real range beside the claim (2026-11-20). Data: HERO_RANGE in site-app.jsx (tools/build_home_hero.py).
   Three brand tones instead of poker red and green: ink raises, Klein calls, mist folds. ── */
.home-v2 .hero-n .hero-n__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-range { display: block; background: var(--b-white); color: var(--b-ink); text-decoration: none; border: var(--b-frame) solid var(--b-ink);
  transition: transform var(--b-dur) var(--b-ease), box-shadow var(--b-dur) var(--b-ease); }
.hero-range:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--b-ink); }
.hero-range:focus-visible { outline: 3px solid var(--b-acid); outline-offset: 3px; }
.hero-range .hr-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--b-ink); color: var(--b-acid);
  padding: 9px 12px; font: 500 12px/1.2 var(--b-mono); }
.hero-range .hr-bar b { color: var(--b-white); font: 800 15px/1.1 var(--b-display); font-stretch: 112%; text-transform: uppercase; }
.hero-range .hr-grid { width: 100%; border-collapse: separate; border-spacing: 1px; table-layout: fixed; padding: 5px; margin: 0; }
.hero-range .hr-grid td { height: clamp(21px, 2.05vw, 29px); padding: 0; border: 0; text-align: center; color: var(--b-white);
  font: 600 9.5px/1 var(--b-mono); font-stretch: 87.5%; text-shadow: 0 0 2px rgba(13, 14, 31, .6); }
.hero-range .hr-grid td.lt { color: var(--b-ink); text-shadow: none; }
.hero-range .hr-key { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 9px 12px 10px; border-top: var(--b-frame) solid var(--b-ink); font: 500 12px/1.2 var(--b-mono); }
.hero-range .hr-key i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; outline: 1px solid var(--b-ink); }
@media (max-width: 980px) {
  .home-v2 .hero-n .hero-n__split { grid-template-columns: 1fr; }
  .hero-range { max-width: 520px; }
  .hero-range .hr-grid td { height: clamp(19px, 5.6vw, 30px); font-size: clamp(7.5px, 2.1vw, 10px); }
}
@media (prefers-reduced-motion: reduce) { .hero-range { transition: none; } .hero-range:hover { transform: none; } }

/* ── Typography pass (2026-11-23, the 12-rule audit: side-session-notes typography-audit-2026-11-23.md) ──
   One size scale (11/12/13/15/17/18 · 19-24/24-38/28-48/30-56), tracking that tightens as type grows, balanced headings,
   buttons 1 px under the text beside them. */

/* B: headings wrap balanced, no lone word on the last line */
#root h1, #root h2, #root h3, #root h4, .docs-page h1, .docs-page h2, .docs-page h3, main h1, main h2, main h3 { text-wrap: balance; }
/* B: the home hero sets one phrase per block; the second and third stay on one line, sized to fit the column */
.home-v2 .hero-n h1 { font-size: clamp(24px, 8.2cqi, 56px) !important; }
@media (min-width: 981px) { .home-v2 .hero-n h1 { font-size: clamp(24px, 8.2cqi, 56px) !important; } }
.home-v2 .hero-n h1 .b-block:not(:first-child) { white-space: nowrap; }

/* F: tracking by size: 48 px and up -.025em, 34-42 -.02em, 24-26 -.01em, 20 and under -.005em */
#root h1, #root .ph-title, .docs-page h1, main h1, section.waitlist.close-n h2 { letter-spacing: -.025em !important; }
#root .claim3 h2, .home-n .product h2, .plan h2.ph, .pricing-hw h2, #root .hc-beat h2, .docs-article h2, #root .seohome h2 { letter-spacing: -.01em !important; }
#root .app-still h3, .docs-article h3, #root .seohome-card h3 { letter-spacing: -.005em !important; }

/* E: sizes on the scale */
#root .hc-beat h2 { font-size: var(--b-t-h3) !important; }
#root .hc-link { font-size: 12px; }
.pricing-hw .btn-lg { font-size: 12px; }
.figure-cap { font-size: 13px; }
.callout-body { font-size: 15px; }
.callout-title { font-size: 11px; }
.docs-pn .pn-grp, .docs-rail h6 { font-size: 11px; }
h1.compact small { font-size: 12px; }
.faq summary { font-size: 13px; }
/* G: the Solver download button 1 px under the head's lead; E: the closing band's lead on the lead token (was 22 px) */
.solver-head .solver-dlbtn { font-size: clamp(14px, 1.2vw, 17px); }
section.waitlist .wait .lede { font-size: var(--b-t-lead) !important; }

/* ── Docs, minimal frame (2026-11-23, phase 2 of the minimal site): white columns, a thin guide line instead of the ink
   rules and tinted fields, the current page in blue on the line instead of a filled block, no § before the headings.
   Markup unchanged. ── */
.docs-side, .docs-rail { background: var(--b-white) !important; border-right: 0 !important; border-left: 0 !important; }
.docs-link { border-left: 2px solid var(--b-rule) !important; border-radius: 0 !important; padding-left: 12px !important; }
.docs-link:hover { background: transparent !important; color: var(--b-klein) !important; border-left-color: var(--b-ink) !important; }
.docs-link.active, .docs-link[aria-current] { background: transparent !important; color: var(--b-klein) !important; border-left-color: var(--b-klein) !important; font-weight: 600; }
.docs-article h2 { border-top: 1px solid var(--b-rule) !important; padding-top: 24px; }
.docs-article h2::before { content: none !important; }
