/* brand-warden.com — one system with the console: Bricolage Grotesque + Instrument Sans, paper /
   ink / one stamp blue for chrome. The fictional Keldane palette lives only inside product
   objects: its --cv-* tokens and the published chart order (--c1 to --c3) are written into each
   page's head by gen_site.py from its KELDANE table. Three motion verbs: draw, flip, press. */

:root {
  --paper: #f7f6f2;
  --white: #ffffff;
  --vellum: #ede6d4;
  --vellum-deep: #e2d9c2;
  --night: #12172b;
  --ink: #1b1f26;
  --ink-2: #4a525d;
  --muted: #667080; /* never on vellum: 4.02:1 there. Use --ink-2 (6.35:1). */
  --line: #e3e5e0;
  --stamp: #2e3fcb;
  --stamp-deep: #1f2c9c;
  --stamp-soft: #e8ebff;
  --pass: #1e7a4f;
  --pass-soft: #e2f1e8;
  --seal: var(--pass);
  --seal-soft: var(--pass-soft);
  --warn: #8a5710;
  --warn-soft: #faefd9;
  --fail: #b4322a;
  --fail-soft: #f8e4e1;
  --highlight: #ffe27a;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(20, 24, 40, 0.06), 0 14px 34px -18px rgba(20, 24, 40, 0.28);

  /* one type scale */
  --fs-hero: 700 clamp(48px, 6.6vw, 96px) / 0.98 var(--display);
  --fs-h2: 700 clamp(36px, 4.2vw, 60px) / 1.04 var(--display);
  --fs-close: 700 clamp(40px, 5.6vw, 80px) / 1 var(--display);

  /* three motion verbs */
  --t-draw: 600ms;
  --e-draw: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-flip: 250ms;
  --e-flip: ease-out;
  --t-press: 450ms;
  --e-press: cubic-bezier(0.2, 1.4, 0.4, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--stamp); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button { font: inherit; }
code { font: 13px/1.4 var(--mono); background: var(--stamp-soft); padding: 1px 6px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); }

/* focus: a stamp ring on light grounds, white on night and stamp */
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
.s-night :focus-visible, .s-stamp :focus-visible, .nav.on-dark :focus-visible { outline-color: #fff; }
.s-night .rcard :focus-visible { outline-color: var(--stamp); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; font: 600 14px/1.4 var(--sans); color: #fff; background: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; text-decoration: none; }

/* type: one scale, a 12 px floor for anything a reader must read */
h1 { font: 700 clamp(44px, 4.6vw, 64px)/1.02 var(--display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font: var(--fs-h2); letter-spacing: -0.02em; margin: 0; max-width: 18ch; text-wrap: balance; }
h3 { font: 600 18px/1.3 var(--sans); margin: 0 0 8px; }
.lede { font: 400 21px/1.4 var(--sans); color: var(--ink-2); max-width: 30em; margin: 24px 0 32px; }
.sub { font: 400 19px/1.45 var(--sans); color: var(--ink-2); max-width: 30em; margin: 16px 0 0; }
.label, .eyebrow { margin: 0; font: 600 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--stamp); margin-bottom: 24px; }
.fine { font-size: 13px; color: var(--muted); }
.small { font-size: 15px; }
@media (max-width: 560px) { .lede { font-size: 19px; } .sub { font-size: 17px; } }

/* grounds: one per section, no two neighbors alike */
.s-paper { background: var(--paper); }
.s-white { background: var(--white); }
.s-vellum { background: var(--vellum); }
.s-night { background: var(--night); color: #fff; }
.s-night h2 { color: #fff; }
.s-night .sub { color: rgba(255, 255, 255, 0.72); }
.s-stamp { background: var(--stamp); color: #fff; position: relative; overflow: hidden; }
.s-stamp h2 { color: #fff; }
.s-vellum .label, .s-vellum .sub { color: var(--ink-2); }
.s-night .label, .s-stamp .label { color: rgba(255, 255, 255, 0.72); }
.sec { padding-block: 104px; overflow-x: clip; }
.sec-u, .tier-utility { padding-block: 64px; }
@media (max-width: 700px) { .sec { padding-block: 64px; } }
.centered { text-align: center; }
.centered h2, .centered .sub, .centered .lede { margin-inline: auto; }

/* the step tag and the sample tag */
.step { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 600 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.step i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.s-vellum .step { color: var(--ink-2); }
.s-night .step { color: rgba(255, 255, 255, 0.72); }
.s-night .step i { background: #fff; }
.centered .step { justify-content: center; }
.tag { margin: 0 0 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 246, 242, 0.86); backdrop-filter: saturate(160%) blur(10px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
/* shield = stamp blue on light, white on night/stamp; wordmark = ink on light, white on dark; never a blue wordmark */
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 21px var(--display); letter-spacing: -0.02em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo .mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav .wrap { gap: 12px; } .nav-cta .btn.primary { display: none; } .nav-cta .btn { padding: 9px 14px; font-size: 14px; } }
.nav.on-dark { background: rgba(18, 23, 43, 0.72); }
.nav.on-dark .logo, .nav.on-dark .nav-links a { color: #fff; }
.nav.on-dark .mark path:first-child { fill: #fff; }
.nav.on-dark .mark path:last-child { stroke: var(--stamp); }
.nav.on-dark .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.nav.on-dark .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.nav.on-dark .btn.primary { background: #fff; color: var(--stamp); }

/* buttons, links, badges, chips, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font: 600 15px var(--sans); border: 1px solid transparent; cursor: pointer; transition: transform 0.05s ease, background 0.15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--stamp); color: #fff; }
.btn.primary:hover { background: var(--stamp-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(27, 31, 38, 0.18); }
.btn.ghost:hover { background: var(--white); }
.btn.invert { background: #fff; color: var(--stamp); }
.btn.invert:hover { background: var(--stamp-soft); }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.night-ghost { padding: 10px 18px; font-size: 14px; color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.32); border-radius: 999px; }
.btn.night-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font: 600 16px/1.4 var(--sans); color: var(--stamp); }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; padding: 0; font: 600 14px/1.5 var(--sans); color: var(--stamp); background: none; border: 0; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 2px 8px; font: 600 12px/1.6 var(--sans); white-space: nowrap; }
.badge.pass { background: var(--pass-soft); color: var(--pass); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.fail { background: var(--fail-soft); color: var(--fail); }
.badge.soft { background: var(--stamp-soft); color: var(--stamp); }
.badge.neutral { background: var(--paper); color: var(--ink-2); }
.chip { display: inline-block; border-radius: 6px; padding: 1px 7px; font: 600 12px/1.6 var(--sans); white-space: nowrap; }
.chip.pass { background: var(--pass-soft); color: var(--pass); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.fail { background: var(--fail-soft); color: var(--fail); }
.chip.soft { background: var(--stamp-soft); color: var(--stamp); }
.stack { display: grid; justify-items: start; }
.stack > * { grid-area: 1 / 1; max-width: 100%; }
.ok { width: 12px; height: 12px; flex: none; }
.ok circle { fill: var(--pass); }
.ok path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tick { width: 12px; height: 12px; flex: none; }
.tick path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pin { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 12px/1 var(--sans); font-style: normal; color: #fff; background: var(--warn); }

/* the seal: the motif. It presses only on a file that passed; "held" is the dashed ring in its place.
   Each verification answer has its own seal (words and glyph), so color is never the only cue. */
.seal { display: block; color: var(--stamp); }
.seal.sm { width: 16px; height: 16px; }
.seal .check { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hold { display: grid; place-items: center; width: 64px; height: 64px; border: 2px dashed var(--muted); border-radius: 50%; font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }

/* ------------------------------------------------------------------ 1 · hero: the copy beside a readable slide */
.hero-home { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-home h1 { margin: 0; font: 700 clamp(40px, 4.4vw, 62px) / 1.02 var(--display); letter-spacing: -0.03em; }
.hero-home .lede { margin: 20px 0 0; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.trust { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-deck { min-width: 0; }
.hero-deck .tag { margin-bottom: 10px; }
.hslide .bs-title { color: var(--cv-teal); }
.hero-deck .film { margin-top: 14px; }
.deck-line { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.deck-line .mono { font-size: 12px; }
@media (max-width: 1099px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero-copy { max-width: 640px; } .hero-deck { max-width: 640px; } }
@media (max-width: 560px) { .hero-deck .film { gap: 4px; } .hero-deck .th { width: 40px; height: 22px; } .hero-deck .th-n { font-size: 11px; } }
/* the example: the request and its result */
.split-example { grid-template-columns: 400px 600px; }
.stage { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1040px; margin: 48px auto 0; text-align: left; }
.stage-chat { min-width: 0; }
.chat { position: relative; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.switch { display: none; gap: 2px; margin: 0 0 14px; padding: 3px; background: var(--vellum); border-radius: 999px; }
html.js .switch { display: inline-flex; }
.switch button { padding: 8px 14px; font: 600 13px/1 var(--sans); color: var(--ink-2); background: transparent; border: 1px solid transparent; border-radius: 999px; cursor: pointer; }
.switch button[aria-pressed="true"] { color: var(--ink); background: var(--white); border-color: var(--line); }
.msg-user { width: fit-content; max-width: 88%; margin: 0 0 12px auto; padding: 10px 14px; font-size: 16px; line-height: 1.45; background: var(--paper); border-radius: 14px; }
.ai-name { margin: 0; font: 600 13px/1.4 var(--sans); color: var(--ink-2); }
.ai-text { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }
.trace { margin-top: 10px; padding: 8px 12px; font: 13px/1.65 var(--mono); color: var(--ink-2); background: var(--white); border: 1px dashed var(--line); border-radius: 10px; }
.trace p { margin: 0; padding-left: 1.3em; text-indent: -1.3em; }
.trace b { font-weight: 400; color: var(--stamp); }
.file { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 12px; padding: 12px 14px; background: var(--paper); border-radius: 14px; }
.file-cover { position: relative; display: block; width: 64px; height: 36px; margin-top: 3px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.file-cover i { position: absolute; display: block; }
.fc-band { left: 0; top: 0; bottom: 0; width: 28%; background: var(--cv-teal); border-radius: 3px 0 0 3px; }
.fc-title { left: 38%; top: 30%; width: 46%; height: 10%; min-height: 3px; background: var(--cv-navy); border-radius: 1px; }
.fc-rule { left: 38%; top: 56%; width: 16%; height: 6%; min-height: 2px; background: var(--cv-teal); }
.fc-seal { display: none; }
@media (min-width: 561px) { .file { grid-template-columns: minmax(0, 1fr); } .file-cover { display: none; } }
.file-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font: 600 15px/1.35 var(--sans); overflow-wrap: anywhere; }
.file-meta { margin: 2px 0 8px; font-size: 13px; color: var(--muted); }
.file-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dchip summary { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; font: 600 12px/1.6 var(--sans); color: var(--stamp); background: var(--stamp-soft); border-radius: 6px; list-style: none; cursor: pointer; }
.dchip summary::-webkit-details-marker { display: none; }
.dchip summary::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.dchip[open] summary::after { margin-top: 2px; transform: rotate(-135deg); }
.dpop { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 5; margin: 0; padding: 10px 14px; font-size: 13px; line-height: 1.6; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.stage-deck { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.cover { position: relative; display: grid; grid-template-columns: 28% 1fr; height: 248px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.cover-band { position: relative; background: var(--cv-teal); border-radius: 9px 0 0 9px; }
.cover-band i { position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.cover-text { padding: 48px 24px 0 28px; }
.cover-title { margin: 0; font: 700 26px/1.1 var(--display); letter-spacing: -0.01em; color: var(--cv-navy); }
.cover-sub { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.cover-rule { display: block; width: 40px; height: 4px; margin-top: 16px; background: var(--cv-teal); }
.cover-seal { position: absolute; top: -36px; right: -24px; width: 112px; height: 112px; color: var(--seal); transform: rotate(-14deg); opacity: 0.92; mix-blend-mode: multiply; }
.film { display: flex; justify-content: space-between; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.film li { display: grid; justify-items: center; gap: 4px; }
.th { position: relative; display: block; width: 52px; height: 29px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.th-n { font: 12px/1 var(--mono); color: var(--muted); }
.th i, .th span { position: absolute; display: block; }
.th .b { left: 0; top: 0; bottom: 0; width: 28%; background: var(--cv-teal); border-radius: 3px 0 0 3px; }
.th .t { left: 12%; top: 18%; width: 40%; height: 3px; background: var(--cv-navy); border-radius: 1px; }
.th-cover .t { left: 38%; top: 42%; width: 46%; }
.th-section { background: var(--cv-teal); border-color: var(--cv-teal); }
.th-close { background: var(--cv-navy); border-color: var(--cv-navy); }
.th .w { left: 14%; top: 45%; width: 32%; height: 3px; background: #fff; border-radius: 1px; }
.th .bars { left: 12%; bottom: 14%; display: flex; align-items: flex-end; gap: 2px; height: 46%; }
.th .bars i, .th .hb i, .th .two i { position: static; }
.th .bars i { width: 5px; }
.th .bars .c1 { height: 55%; background: var(--c1); }
.th .bars .c2 { height: 80%; background: var(--c2); }
.th .bars .c3 { height: 100%; background: var(--c3); }
.th .g { left: 12%; width: 70%; height: 2px; background: var(--line); }
.th .g1 { top: 42%; }
.th .g2 { top: 58%; }
.th .g3 { top: 74%; width: 48%; }
.th .two { left: 12%; right: 12%; top: 36%; bottom: 14%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.th .two i { border: 1px dashed var(--line); border-radius: 2px; }
.th .hb { left: 12%; top: 40%; display: grid; gap: 2px; width: 62%; }
.th .hb i { height: 3px; }
.th .hb .c1 { width: 100%; background: var(--c1); }
.th .hb .c2 { width: 72%; background: var(--c2); }
.th .hb .c3 { width: 46%; background: var(--c3); }
.th .fdot { top: -5px; right: -5px; width: 10px; height: 10px; border-radius: 50%; }
.th .fdot.w { display: none; background: var(--warn); }
.th .fdot.p { background: var(--pass); }
.th .fdot.p::after { content: ""; position: absolute; left: 3.4px; top: 1.6px; width: 2.6px; height: 4.8px; border: solid #fff; border-width: 0 1.4px 1.4px 0; transform: rotate(45deg); }
.stage-cap { display: none; margin: 24px 0 0; font-size: 15px; color: var(--ink-2); text-align: center; }
html.js .stage-cap { display: block; }
@media (max-width: 1099px) { .stage { grid-template-columns: minmax(0, 520px); justify-content: center; gap: 56px; } }
@media (max-width: 560px) {
  .hero-home { padding: 28px 0 40px; }
  .hero-home h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .stage { margin-top: 28px; }
  .chat { padding: 16px; border-radius: 16px; }
  .trace { font-size: 12px; line-height: 1.6; }
  .file { grid-template-columns: 128px minmax(0, 1fr); }
  .file-cover { width: 128px; height: 72px; margin-top: 0; }
  .fc-seal { position: absolute; display: block; top: -14px; right: -10px; width: 48px; height: 48px; color: var(--seal); transform: rotate(-14deg); opacity: 0.92; mix-blend-mode: multiply; }
  .stage-cap { margin-top: 14px; }
}

/* ------------------------------------------------------------------ 1b · research: two survey findings, printed, never counted up */
.research h2 { max-width: 22ch; margin-top: 16px; }
.rs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.rs-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.rs-n { margin: 0; font: 700 clamp(56px, 6vw, 84px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rs-h { margin: 4px 0 0; font: 600 20px/1.3 var(--sans); }
.rs-copy { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.rs-cap { margin: auto 0 0; padding-top: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); border-top: 1px solid var(--line); }
.rs-pop { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.rs-more { margin: 2px 0 0; }
.rs-more summary { display: inline-flex; align-items: center; min-height: 32px; font: 600 14px/1.4 var(--sans); color: var(--stamp); cursor: pointer; }
.rs-more p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.rs-link { margin: 0; font: 600 14px/1.6 var(--sans); }
.rs-link a { display: inline-block; padding: 4px 0; }
.rs-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 40px; }
.rs-bridge .turn { max-width: 30em; margin: 0; font: 500 clamp(20px, 1.9vw, 26px)/1.35 var(--sans); letter-spacing: -0.01em; color: var(--ink); text-align: left; text-wrap: balance; }
.rs-actions { margin: 0; }
.rs-note { margin: 24px 0 0; color: var(--ink-2); }
@media (max-width: 900px) { .rs-cards { grid-template-columns: minmax(0, 1fr); } .rs-bridge { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rs-cards { gap: 16px; margin-top: 32px; } .rs-card { padding: 20px; } .rs-n { font-size: 56px; } .rs-actions .btn { width: 100%; } }
/* the four plain steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1040px; margin: 56px auto 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.steps h3 { margin: 12px 0 8px; font: 600 19px/1.3 var(--sans); }
.steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.steps .step-n { display: grid; place-items: center; width: 28px; height: 28px; font: 600 13px/1 var(--sans); color: #fff; background: var(--ink); border-radius: 50%; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roles { max-width: 1040px; margin: 36px auto 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-align: center; text-wrap: balance; }
@media (max-width: 1099px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .steps-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 36px; } }
.sources { margin: 24px 0 0; padding-left: 1.4em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sources li { margin-top: 12px; }
.sources a { color: var(--stamp); overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ 2 · the line: five steps, one rail */
.line-sec h2 { max-width: none; }
.line { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); max-width: 1120px; margin: 48px auto 0; text-align: left; }
.line-src { position: relative; height: 200px; }
.src { position: absolute; left: 0; display: grid; justify-items: start; gap: 6px; }
.src-guide { top: 0; }
.src-tpl { top: 120px; }
.src-l { font-size: 12px; line-height: 1.4; color: var(--muted); white-space: nowrap; }
.gpage { position: relative; display: flex; flex-direction: column; gap: 5px; width: 64px; height: 84px; padding: 10px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.gpage i { display: block; height: 3px; background: var(--line); border-radius: 2px; }
.gpage i.s { width: 70%; }
.gpage i.hl { width: 70%; height: 5px; background: var(--highlight); }
.gpage b { position: absolute; right: 5px; bottom: 4px; font: 400 12px/1 var(--mono); color: var(--muted); }
.tcard { position: relative; display: block; width: 96px; height: 54px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.tcard i { position: absolute; display: block; }
.tcard .b { left: 0; top: 0; bottom: 0; width: 28%; background: var(--cv-teal); border-radius: 3px 0 0 3px; }
.tcard .t { left: 38%; top: 40%; width: 44%; height: 4px; background: var(--cv-navy); border-radius: 1px; }
.wires { position: absolute; left: 0; top: 0; width: 150px; height: 200px; overflow: visible; }
.wires path { fill: none; stroke: var(--line); stroke-width: 1.5; }
.line-main { position: relative; min-width: 0; }
.rail, .track { position: absolute; top: 55px; left: 10%; right: 10%; height: 2px; }
.rail { background: var(--line); }
.rail-ink { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; }
.track { z-index: 2; container-type: inline-size; pointer-events: none; }
.rider { position: absolute; left: -20px; top: -10px; width: 40px; height: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 2px 6px rgba(20, 24, 40, 0.18); opacity: 0; }
.rider i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--cv-teal); }
.stations { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.st { position: relative; display: flex; flex-direction: column; align-items: center; padding: 28px 8px 0; text-align: center; }
.st-1::before { content: ""; position: absolute; left: 0; top: 55px; width: calc(50% - 28px); height: 1.5px; background: var(--line); }
.bk { position: absolute; top: 0; left: 12px; width: calc(100% - 24px); height: 28px; }
.st-2 .bk { width: calc(300% - 24px); }
.bk span { display: block; font: 600 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); text-align: center; white-space: nowrap; }
.st-1 .bk span { color: var(--stamp); }
.bk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 6px; border: 1px solid var(--line); border-bottom: 0; }
.dot { position: relative; z-index: 3; display: grid; place-items: center; width: 56px; height: 56px; flex: none; font: 600 15px/1 var(--sans); color: var(--muted); background: var(--white); border: 2px solid var(--line); border-radius: 50%; }
.dot .lit { position: absolute; inset: -2px; display: grid; place-items: center; color: var(--stamp); background: var(--stamp-soft); border: 2px solid var(--ink); border-radius: 50%; }
.st-name { margin: 12px 0 0; font: 600 15px/24px var(--sans); }
.st-obj { display: grid; place-items: center; min-height: 100px; margin-top: 10px; }
.st-cap { max-width: 20ch; margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.mstack { position: relative; display: block; width: 160px; max-width: 100%; }
.mstack > .fan { position: absolute; inset: 0; border-radius: 10px; box-shadow: 0 1px 2px rgba(20, 24, 40, 0.14); }
.fan-1 { transform: translate(14px, -9px) rotate(7deg); }
.fan-2 { transform: translate(9px, -6px) rotate(4.5deg); }
.fan-3 { transform: translate(4px, -3px) rotate(2deg); }
.mstack > .mswatch { position: relative; }
.mswatch { display: block; width: 160px; max-width: 100%; overflow: hidden; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.mswatch > i { display: block; height: 36px; }
.mswatch > span { display: grid; padding: 6px 10px 8px; }
.mswatch b { font: 600 13px/1.35 var(--sans); }
.mswatch .mono { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.mswatch .cite { color: var(--muted); }
.hosts { display: grid; justify-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hosts li { padding: 3px 12px; font: 600 13px/1.4 var(--sans); background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.tslide { position: relative; display: block; width: 128px; height: 72px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.tslide i, .tslide span { position: absolute; display: block; }
.ts-edge { left: 0; top: 0; bottom: 0; width: 5px; background: var(--cv-teal); }
.ts-title { left: 15px; top: 12px; width: 52px; height: 5px; background: var(--cv-teal); border-radius: 2px; }
.tslide .ts-bars { left: 15px; bottom: 10px; display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.ts-bars i { position: static; width: 12px; }
.ts-bars .c1 { height: 50%; background: var(--c1); }
.ts-bars .c2 { height: 75%; background: var(--c2); }
.ts-bars .c3 { height: 100%; background: var(--c3); }
.mfix { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.4; }
.mfix li { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.sealed { position: relative; display: grid; justify-items: center; gap: 8px; }
.sealed-seal { position: absolute; top: -14px; right: -14px; width: 48px; height: 48px; color: var(--seal); transform: rotate(-14deg); opacity: 0.92; mix-blend-mode: multiply; }
.sealed > .mono { font-size: 12px; color: var(--ink-2); }
.line-link { margin: 28px 0 0; text-align: center; }
@media (min-width: 1000px) and (max-width: 1199px) { .st-5 .bk span { text-align: right; } }
@media (max-width: 999px) {
  .line { display: block; max-width: 560px; margin-top: 40px; }
  .line-src { display: flex; gap: 28px; align-items: flex-end; height: auto; margin: 0 0 24px; }
  .src { position: static; }
  .wires, .st-1::before, .bk::after { display: none; }
  .line-src { position: relative; }
  .line-src::after { content: ""; position: absolute; left: 27px; top: 100%; width: 2px; height: 28px; background: var(--line); }
  .stations { display: block; }
  .st { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-content: start; height: 112px; padding: 4px 0 0; text-align: left; }
  .st .dot { grid-row: 1 / span 3; }
  .st-name { margin: 2px 0 0; }
  .st-obj { justify-items: start; min-height: 0; margin-top: 6px; }
  .st-cap { max-width: none; margin: 6px 0 0; }
  .bk { top: 8px; left: auto; right: 0; width: auto; height: auto; }
  .st-2 .bk { width: auto; }
  .bk span { text-align: right; }
  .rail, .track { top: 32px; left: 27px; right: auto; width: 2px; height: calc(4 * 112px); }
  .track { container-type: size; }
  .rider { left: -19px; top: -11px; }
  .mstack { width: auto; }
  .mstack > .fan { display: none; }
  .mswatch { display: grid; grid-template-columns: 36px minmax(0, 1fr); width: auto; }
  .mswatch > i { height: auto; }
  .mswatch > span { grid-template-columns: auto auto; align-items: baseline; gap: 0 8px; padding: 5px 10px; }
  .mswatch b { grid-column: 1 / -1; }
  .hosts { display: flex; flex-wrap: wrap; justify-items: start; }
  .tslide { width: 80px; height: 45px; }
  .ts-title { left: 10px; top: 7px; width: 32px; height: 4px; }
  .tslide .ts-bars { left: 10px; bottom: 6px; height: 20px; gap: 3px; }
  .ts-bars i { width: 8px; }
  .mfix { justify-items: start; gap: 2px; }
  .mfix li { justify-content: flex-start; }
  .line-src { gap: 20px; }
  .gpage { width: 48px; height: 63px; padding: 7px 6px; gap: 4px; }
  .gpage b { font-size: 12px; right: 4px; bottom: 3px; }
  .tcard { width: 80px; height: 45px; }
  .sealed { grid-template-columns: auto auto; align-items: end; gap: 12px; }
  .sealed-seal { top: -12px; left: 54px; right: auto; width: 40px; height: 40px; }
}

/* ------------------------------------------------------------------ 3 · brand owner: the review card */
.split { display: grid; grid-template-columns: 400px 600px; justify-content: space-between; align-items: center; gap: 80px; }
.split-obj { position: relative; min-width: 0; }
@media (max-width: 1099px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split-obj { max-width: 640px; } }
.review { position: relative; padding: 24px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
.rm-line { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); }
.rv-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.meter { height: 4px; overflow: hidden; background: var(--stamp-soft); border-radius: 2px; }
.meter i { display: block; height: 100%; background: var(--stamp); transform-origin: 0 50%; transition: transform 400ms var(--e-draw); }
.review[data-state="open"] .meter i, .review[data-choice="ask"] .meter i { transform: scaleX(0); }
.rv-count { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
/* Publish follows the options in the tab order (decide, then publish) but sits at the bar's right */
.rv-publish { position: absolute; top: 20px; right: 24px; padding: 10px 16px; }
.rv-publish:disabled { color: var(--muted); background: var(--line); cursor: not-allowed; }
.lock { display: none; width: 12px; height: 12px; }
.rv-publish:disabled .lock { display: block; }
.lock rect { fill: currentColor; }
.lock path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.rv-done { visibility: hidden; padding: 6px 10px; font-size: 13px; }
.review[data-state="published"] .rv-publish { display: none; }
.review[data-state="published"] .rv-done { visibility: visible; }
.rv-conflict { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.rv-page { position: relative; display: flex; flex-direction: column; gap: 5px; width: 64px; height: 84px; padding: 10px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.rv-page i { display: block; height: 3px; background: var(--line); border-radius: 2px; }
.rv-page i.s { width: 70%; }
.rv-page i.hl { width: 80%; height: 5px; background: var(--highlight); }
.rv-page b { position: absolute; right: 5px; bottom: 4px; font: 400 12px/1 var(--mono); color: var(--muted); }
.rv-text { padding-right: 132px; }
.rv-title { margin: 0; font: 600 16px/1.35 var(--sans); }
.rv-meta { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.rv-flag { position: absolute; top: 20px; right: 0; margin: 0; }
.rv-resolved, .rv-sent { display: none; }
.review[data-choice="guide"] .rv-resolved, .review[data-choice="template"] .rv-resolved, .review[data-choice="ask"] .rv-sent { display: inline-flex; }
.rv-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.opt { display: grid; align-content: start; gap: 2px; padding: 14px; text-align: left; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.opt:disabled { cursor: default; }
.opt-ask { grid-column: 1 / -1; background: var(--paper); }
.opt-l { font: 600 14px/1.4 var(--sans); }
.opt-s { font-size: 13px; line-height: 1.4; color: var(--muted); }
.opt-c { order: -1; display: flex; align-items: flex-end; gap: 5px; width: fit-content; height: 40px; margin-bottom: 10px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.opt-c i { width: 16px; border-radius: 2px 2px 0 0; }
.opt-c i:nth-child(1) { height: 45%; }
.opt-c i:nth-child(2) { height: 72%; }
.opt-c i:nth-child(3) { height: 100%; }
.opt[aria-pressed="true"] { background: var(--stamp-soft); border-color: var(--stamp); box-shadow: 0 0 0 1px var(--stamp); }
.opt[aria-pressed="true"] .opt-s { color: var(--ink-2); }
.cursor { position: absolute; left: 0; top: 0; z-index: 4; opacity: 0; pointer-events: none; transition: opacity 200ms ease-out, transform 600ms var(--e-draw); }
.cursor.show { opacity: 1; }
.cursor svg { display: block; width: 18px; height: 22px; }
.cursor path { fill: var(--ink); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.cursor.flip > span { left: auto; right: 6px; }
.cursor > span { position: absolute; left: 14px; top: 18px; padding: 2px 8px; font: 600 12px/1.4 var(--sans); color: #fff; white-space: nowrap; background: var(--stamp); border-radius: 999px; }
.rv-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; align-items: center; margin-top: 16px; padding: 14px; background: var(--paper); border-radius: 12px; }
.rv-label { grid-column: 1 / -1; }
.rv-state { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.review[data-state="open"] .rv-slide .ts-bars i, .review[data-choice="ask"] .rv-slide .ts-bars i { background: var(--line); }
.obj-cap { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.replay-row { min-height: 21px; margin: 8px 0 0; }
@media (max-width: 560px) {
  .review { padding: 16px; }
  .rv-publish { top: 12px; right: 16px; }
  .rv-options { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .opt { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 12px; }
  .opt-c { grid-row: 1 / span 2; align-self: center; height: 32px; margin: 0; gap: 4px; }
  .opt-c i { width: 12px; }
  .opt-ask { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .rv-conflict { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .rv-page { width: 48px; height: 64px; padding: 7px 6px; gap: 4px; }
  .rv-text { padding-right: 0; }
  .rv-flag { position: static; grid-column: 2; display: flex; min-height: 24px; }
  .rv-result { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ 4 · build and check: the slide on its layout */
.split-build { grid-template-columns: 640px minmax(0, 1fr); gap: 48px; align-items: start; }
.split-build .split-obj { order: -1; }
.split-build .split-text { position: sticky; top: 112px; }
@media (max-width: 1099px) { .split-build { grid-template-columns: minmax(0, 1fr); } .split-build .split-obj { order: 0; } .split-build .split-text { position: static; } }
.formats { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.formats li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.fmt { position: relative; display: block; flex: none; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.fmt-deck { width: 24px; height: 14px; }
.fmt-deck::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 28%; background: var(--cv-teal); }
.fmt-doc { width: 17px; height: 22px; margin-inline: 3.5px; }
.fmt-doc::before { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; height: 2px; background: var(--cv-navy); box-shadow: 0 4px 0 var(--line), 0 8px 0 var(--line), 0 12px 0 var(--line); }
.build { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.pol { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.layouts { position: relative; padding-top: 30px; }
.tpl-tab { position: absolute; top: 0; left: 0; margin: 0; padding: 2px 10px; font-size: 12px; line-height: 1.5; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.lay-strip { display: grid; grid-template-columns: repeat(4, 136px); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lay { position: relative; display: block; width: 136px; height: 76px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.lay i, .lay span { position: absolute; display: block; }
.lay .b { left: 0; top: 0; bottom: 0; width: 28%; background: var(--cv-teal); }
.lay .t { left: 10%; top: 14%; width: 40%; height: 6px; background: var(--cv-navy); border-radius: 2px; }
.lay-title .t { left: 38%; top: 44%; width: 44%; }
.lay-section { background: var(--cv-teal); border-color: var(--cv-teal); }
.lay-section .w { left: 12%; top: 46%; width: 24px; height: 5px; background: #fff; border-radius: 2px; }
.lay .bx { left: 10%; top: 34%; bottom: 12%; width: 37%; border: 1px dashed var(--line); border-radius: 3px; }
.lay .bx.r { left: auto; right: 10%; }
.lay .bx.ch { right: 10%; width: auto; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 4px; }
.lay .bx.ch i { position: static; width: 10px; }
.lay .bx.ch .c1 { height: 45%; background: var(--c1); }
.lay .bx.ch .c2 { height: 70%; background: var(--c2); }
.lay .bx.ch .c3 { height: 95%; background: var(--c3); }
.lay-l { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.picked .lay::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--stamp); border-radius: 5px; }
.picked .lay-l { color: var(--stamp); font-weight: 600; }
.lay.ghost { position: absolute; z-index: 5; margin: 0; transform-origin: 0 0; pointer-events: none; box-shadow: var(--shadow); transition: transform var(--t-draw) var(--e-draw), opacity 150ms linear 600ms; }
.lay.ghost.go { opacity: 0; }
.words { margin-top: 16px; padding: 10px 16px; background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; }
.words .label { margin-bottom: 4px; }
.words p:not(.label) { margin: 0; font-size: 14px; line-height: 1.5; }
.words b { font-weight: 600; }
.bslide-wrap { position: relative; margin-top: 48px; }
.bslide { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.bs-title { position: absolute; left: 36px; top: 30px; display: grid; margin: 0; font: 700 30px/1.2 var(--display); letter-spacing: -0.01em; color: var(--cv-teal); }
.bs-title > span { grid-area: 1 / 1; }
.t-before { font-weight: 400; letter-spacing: 0; opacity: 0; }
.selbox { position: absolute; inset: -6px -10px; outline: 1.5px dashed var(--stamp); opacity: 0; }
.selbox i { position: absolute; width: 6px; height: 6px; background: #fff; border: 1.5px solid var(--stamp); }
.selbox i:nth-child(1) { left: -3px; top: -3px; }
.selbox i:nth-child(2) { right: -3px; top: -3px; }
.selbox i:nth-child(3) { left: -3px; bottom: -3px; }
.selbox i:nth-child(4) { right: -3px; bottom: -3px; }
.bs-callout { position: absolute; left: 36px; right: 36px; top: 96px; margin: 0; font-size: 18px; line-height: 1.4; color: var(--ink); }
.sla { position: relative; display: inline-block; }
.squig { position: absolute; left: -1px; right: -1px; bottom: -5px; width: calc(100% + 2px); height: 6px; overflow: visible; }
.squig path { fill: none; stroke: var(--warn); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dotted { position: absolute; left: 0; right: 0; bottom: -2px; display: none; border-bottom: 1px dotted var(--muted); }
.sla .pin { position: absolute; top: -19px; right: -11px; }
.bs-chart { position: absolute; left: 36px; right: 36px; bottom: 24px; display: flex; align-items: flex-end; gap: 48px; }
.grp { display: grid; justify-items: center; gap: 6px; }
.grp-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.grp-bars i { display: block; width: 22px; height: calc(var(--h) * 1%); border-radius: 2px 2px 0 0; transform-origin: 50% 100%; }
.grp-bars .c1 { background: var(--c1); }
.grp-bars .c2 { background: var(--c2); }
.grp-bars .c3 { background: var(--c3); }
.grp-l { font-size: 12px; line-height: 1.4; color: var(--muted); }
.bs-num { position: absolute; right: 16px; bottom: 12px; font: 12px/1 var(--mono); color: var(--muted); }
.ph { position: absolute; display: grid; place-items: center; font-size: 12px; color: var(--muted); border: 1.5px dashed var(--muted); border-radius: 6px; opacity: 0; }
.ph-t { left: 30px; top: 26px; width: 46%; height: 44px; }
.ph-c { left: 30px; top: 92px; width: 66%; height: 34px; }
.ph-ch { left: 30px; right: 30px; bottom: 18px; height: 52%; }
.sticker { position: absolute; top: 76px; right: -24px; z-index: 2; display: grid; gap: 6px; width: 248px; padding: 10px 12px; font-size: 13px; background: var(--white); border-radius: 10px; box-shadow: 0 0 0 3px #fff, 0 8px 18px -8px rgba(20, 24, 40, 0.35); transform: rotate(2deg); }
.sticker p { display: flex; align-items: center; gap: 8px; margin: 0; }
.sticker p > span:last-child { white-space: nowrap; }
.cspot { position: absolute; top: -40px; right: -36px; z-index: 3; display: grid; place-items: center; width: 96px; height: 96px; }
.held { position: relative; display: grid; place-items: center; width: 72px; height: 72px; }
.held svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hd-fill { fill: #fff; }
.hd-ring { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 4; }
.hd-cover { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.held b { position: relative; font: 600 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.bnote { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 15px; line-height: 1.45; }
.bnote .pin { flex: none; }
.checklist { display: grid; gap: 10px; padding: 0; list-style: none; }
.checklist.bnote { display: grid; }
.checklist li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
.checklist b { padding-top: 3px; font: 600 12px/1.6 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.checklist .pin { display: inline-grid; margin-right: 4px; vertical-align: -5px; }
@media (max-width: 560px) { .checklist li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.bmore { margin: 8px 0 0 30px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.bmore .arrow-link { font-size: 15px; }
.dial-wrap { margin-top: 20px; text-align: center; }
.dial-legend { margin-bottom: 10px; }
.dial-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 480px); margin: 0 auto; padding: 4px; background: var(--vellum); border-radius: 999px; --i: 1; }
.dial-track::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); background: #fff; border: 2px solid var(--stamp); border-radius: 999px; transform: translateX(calc(var(--i) * 100%)); transition: transform var(--t-flip) var(--e-draw); }
.dial-track label { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 0; font: 600 15px/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.pol-adv:checked ~ .dial-wrap .dial-track { --i: 0; }
.pol-std:checked ~ .dial-wrap .dial-track { --i: 1; }
.pol-str:checked ~ .dial-wrap .dial-track { --i: 2; }
.pol:focus-visible ~ .dial-wrap .dial-track { outline: 2px solid var(--stamp); outline-offset: 3px; }
.lv { opacity: 0; visibility: hidden; }
.pol-adv:checked ~ * .lv.adv, .pol-std:checked ~ * .lv.std, .pol-str:checked ~ * .lv.str { opacity: 1; visibility: visible; }
.frow { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 0; padding: 10px 0; font-size: 14px; line-height: 1.4; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow .stack { justify-items: end; }
@media (max-width: 1099px) { .sticker { right: 12px; } .cspot { right: -8px; } }
@media (max-width: 700px) {
  .lay-strip { grid-template-columns: repeat(4, minmax(0, 76px)); gap: 8px; }
  .lay { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .lay .t { height: 4px; }
  .lay .bx.ch { gap: 2px; padding: 2px; }
  .lay .bx.ch i { width: 5px; }
  .lay-section .w { width: 14px; height: 3px; }
  .bs-title { left: 18px; top: 14px; font-size: 20px; }
  .bs-callout { left: 18px; right: 18px; top: 56px; font-size: 15px; }
  .sla .pin { top: -17px; right: -12px; }
  .bs-chart { left: 18px; right: 18px; bottom: 12px; gap: 20px; }
  .grp-bars { gap: 4px; height: 66px; }
  .grp-bars i { width: 12px; }
  .bs-num { right: 10px; bottom: 8px; }
  .ph-t { left: 12px; top: 10px; height: 30px; }
  .ph-c { left: 12px; top: 48px; height: 26px; }
  .ph-ch { left: 12px; right: 12px; bottom: 8px; }
  .sticker { position: relative; top: auto; right: auto; width: auto; max-width: 300px; margin-top: 10px; padding: 8px 12px; transform: none; }
  .words { padding: 8px 12px; }
  .words p:not(.label) { font-size: 13px; }
  .frow { padding: 8px 0; }
  .bslide-wrap { margin-top: 40px; }
  .cspot { top: -24px; right: -8px; width: 64px; height: 64px; }
  .held { width: 60px; height: 60px; }
  .formats { display: block; margin-top: 24px; font-size: 14px; }
  .formats li { display: inline; font-size: 14px; }
  .formats li + li::before { content: " "; }
  .formats .fmt { display: none; }
}
@media (max-width: 600px) { .dial-track { border-radius: 20px; } .dial-track::before { border-radius: 16px; } .dial-track label { flex-direction: column; gap: 2px; padding: 8px 0; font-size: 14px; } }

/* ------------------------------------------------------------------ 5 · proof: the result card, shared with the verify page */
.proof { max-width: 1104px; margin: 40px auto 0; }
.proof-live { display: none; max-width: 820px; margin: 0 auto; }
.rcard { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 28px; color: var(--ink); text-align: left; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
.rc-doc { position: relative; align-self: start; min-width: 0; }
.rc-slide { position: relative; display: flex; flex-direction: column; gap: 9px; width: 100%; aspect-ratio: 16 / 9; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.rc-slide > i { display: block; flex: none; width: 80%; height: 6px; background: var(--line); border-radius: 3px; }
.rc-slide > i.s { width: 50%; }
.rc-head { display: block; max-width: 8.6em; margin-bottom: 8px; font: 700 18px/1.2 var(--display); color: var(--cv-teal); }
.rc-generic > i.t { width: 56%; height: 10px; margin-bottom: 8px; background: var(--muted); opacity: 0.35; }
.rc-generic.is-page { width: 62%; aspect-ratio: 8.5 / 11; }
.caret { position: relative; display: none; width: 0; height: 20px; vertical-align: -3px; }
.caret::after { content: ""; position: absolute; left: 1px; top: 0; width: 2px; height: 20px; background: var(--ink); }
.rcard.typing .caret { display: inline-block; }
.rc-seal { position: absolute; top: -34px; right: -18px; width: 96px; height: 96px; color: var(--seal); transform: rotate(-14deg); opacity: 0.92; mix-blend-mode: multiply; }
.rc-mod { display: none; color: var(--warn); }
.rcard[data-status="modified"] .rc-ok, .rcard.m-seal .rc-ok { display: none; }
.rcard[data-status="modified"] .rc-mod, .rcard.m-seal .rc-mod { display: block; }
.rc-strip { display: flex; justify-content: space-between; margin: 12px 0 0; padding: 0; list-style: none; }
.rc-strip li { display: grid; place-items: center; width: 34px; height: 20px; font: 12px/1 var(--mono); color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 4px; transition: background-color var(--t-flip), border-color var(--t-flip), color var(--t-flip); }
.rcard[data-status="modified"] .rc-strip .ch, .rcard.m-strip .rc-strip .ch { color: var(--warn); background: var(--warn-soft); border-color: var(--warn); }
.rc-info { min-width: 0; }
.rc-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font: 600 16px/1.35 var(--sans); overflow-wrap: anywhere; }
.rc-status { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.rc-selfline { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.rcard dl { display: grid; row-gap: 6px; margin: 14px 0 0; font: 14px/1.45 var(--sans); }
.rcard dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 8px; }
.rcard dt { color: var(--muted); }
.rcard dd { margin: 0; color: var(--ink); }
.rcard dd.mono { font: 13px/1.55 var(--mono); }
.rcard dd .chip { margin: 0 4px 0 0; font-family: var(--sans); }
.rc-detail { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 540px)); justify-content: center; gap: 24px; text-align: left; }
.proof-pair > div { display: flex; flex-direction: column; }
.proof-pair .rcard { flex: 1; align-content: start; }
.proof-pair .label { margin: 0 0 10px; }
.proof-pair .rcard { grid-template-columns: minmax(0, 1fr); }
.proof-pair .rc-doc { width: 100%; max-width: 300px; }
.proof .night-ghost { display: none; margin-top: 24px; }
.under { margin: 20px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.under a { color: #fff; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  html.js .proof-live { display: block; }
  html.js .proof .night-ghost { display: inline-flex; }
  html.js .proof .proof-pair { display: none; }
}
@media (max-width: 1099px) { .proof-pair { grid-template-columns: minmax(0, 540px); } }
@media (max-width: 700px) {
  .rcard { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px; }
  .rc-doc { width: 100%; max-width: 280px; justify-self: center; }
  .rcard dl { row-gap: 3px; }
  .rcard dl > div { grid-template-columns: 112px minmax(0, 1fr); }
  .proof .night-ghost { width: 100%; }
}

/* ------------------------------------------------------------------ 6 · close */
.close { padding-block: 104px; text-align: center; }
.close .wm { position: absolute; left: 50%; top: 50%; width: 500px; height: 500px; color: rgba(255, 255, 255, 0.06); transform: translate(-50%, -50%); }
.close .wrap { position: relative; }
.close h2 { max-width: 14ch; margin: 0 auto; font: var(--fs-close); letter-spacing: -0.02em; }
.price-line { margin: 20px auto 0; font-size: 16px; color: rgba(255, 255, 255, 0.8); text-wrap: balance; }
.nk { margin-left: 0.05em; }
.close-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; }
.close-actions .more { font-size: 16px; color: #fff; text-decoration: underline; }
.close .fine { margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.close .fine a { color: #fff; text-decoration: underline; }
@media (max-width: 700px) { .close { padding-block: 60px; } .close .wm { width: 400px; height: 400px; } .close-actions { flex-direction: column; gap: 16px; } .close-actions .btn { width: 100%; } }

/* footer */
footer { padding: 32px 0 36px; font-size: 14px; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); }
footer .row1 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer .row1 a { color: var(--ink-2); }
footer .row2 { display: flex; align-items: flex-start; gap: 10px; max-width: 78ch; margin-top: 16px; line-height: 1.5; color: var(--ink-2); }
footer .row2 p { margin: 0; }
footer .row2 .seal { flex: none; width: 20px; height: 20px; margin-top: 1px; }
footer .row3 { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ other pages */
.hero { padding: 84px 0 56px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(36px, 4vw, 48px); }
.prose h2 { max-width: none; margin-top: 40px; font-size: 26px; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose .meta { color: var(--muted); font-size: 14px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
table.spec th, table.spec td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.spec th { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; }
@media (max-width: 560px) { table.spec { font-size: 13px; } table.spec th, table.spec td { padding: 8px 4px; } table.spec th { letter-spacing: 0.02em; } }
.card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }
details.faq { padding: 14px 0; border-bottom: 1px solid var(--line); }
details.faq summary { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; cursor: pointer; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--muted); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }
.sec-u h2:not(.plan-h) { max-width: none; font-size: clamp(28px, 3vw, 40px); }
.sec-u .sub { max-width: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--stamp); box-shadow: 0 0 0 4px var(--stamp-soft); }
.plan-h { display: flex; align-items: center; gap: 8px; max-width: none; margin: 0 0 8px; font: 600 18px/1.3 var(--sans); letter-spacing: 0; }
.price { margin: 14px 0 4px; font: 700 56px/1 var(--display); }
.price small { font: 500 14px var(--sans); color: var(--muted); }
.price.word { padding-top: 14px; font-size: 28px; }
.floor { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.checks { flex: 1; margin: 18px 0 22px; padding: 0; font-size: 14px; color: var(--ink-2); list-style: none; }
.checks li { position: relative; padding: 6px 0 6px 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--pass-soft); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 15px; width: 6px; height: 3px; border-left: 2px solid var(--pass); border-bottom: 2px solid var(--pass); transform: rotate(-45deg); }
.notice { padding: 10px 14px; font-size: 14px; color: var(--warn); background: var(--warn-soft); border-radius: 10px; }

/* ------------------------------------------------------------------ how it works: the long version of the line */
.hiw-hero { padding: 84px 0 96px; }
.hiw-intro { max-width: 760px; }
.hiw-intro .lede { margin-bottom: 0; }
.hiw-hero .line { margin-top: 72px; }
.hiw.sec { padding-block: 80px; }
.hiw-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.hiw-copy { grid-column: 2; grid-row: 1; }
.hiw-obj { grid-column: 1; grid-row: 1; min-width: 0; }
.hiw-h { display: flex; align-items: baseline; gap: 14px; max-width: none; margin: 0 0 20px; font-size: clamp(36px, 3.4vw, 48px); }
.hiw-h .n { color: var(--stamp); }
.s-night .hiw-h .n { color: rgba(255, 255, 255, 0.72); }
.hiw-copy p { margin: 0 0 12px; font-size: 17px; color: var(--ink-2); }
.hiw-copy .fine { font-size: 13px; color: var(--muted); }
.s-night .hiw-copy p { color: rgba(255, 255, 255, 0.8); }
.s-night .hiw-copy a { color: #fff; text-decoration: underline; }
.hiw-more { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); }
.hiw-more summary { font: 600 15px/1.5 var(--sans); color: var(--stamp); cursor: pointer; }
.hiw-more-in { display: grid; gap: 32px; margin-top: 24px; }
.hiw-review { max-width: 600px; }
.hiw-build { max-width: 640px; }
@media (max-width: 1099px) { .hiw-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .hiw-copy, .hiw-obj { grid-column: auto; grid-row: auto; } .hiw-copy { max-width: 40em; } }
@media (max-width: 700px) { .hiw.sec { padding-block: 64px; } }
.g2s { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.g2s-page { position: relative; }
.g2s-page::after { content: ""; position: absolute; left: 100%; top: 108px; width: 48px; height: 1px; background: var(--stamp); transform-origin: 0 50%; }
.g2s-page::before { content: ""; position: absolute; left: calc(100% + 44px); top: 106px; width: 5px; height: 5px; border-radius: 50%; background: var(--stamp); }
.gpage-lg { position: relative; display: flex; flex-direction: column; gap: 9px; width: 240px; aspect-ratio: 8.5 / 11; padding: 26px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.gpage-lg > i { display: block; flex: none; height: 4px; background: var(--line); border-radius: 2px; }
.gpage-lg > i.h { width: 48%; height: 8px; background: var(--cv-navy); }
.gpage-lg > i.s { width: 74%; }
.gpage-lg > i.m { width: 88%; }
.gq { position: relative; display: flex; align-items: center; gap: 6px; height: 18px; margin: 4px 0; font: 12px/1.4 var(--sans); color: var(--ink); }
.gq-sw { flex: none; width: 14px; height: 14px; background: var(--cv-teal); border-radius: 2px; }
.gq-t { position: relative; z-index: 0; padding: 0 3px; white-space: nowrap; }
.gq-t::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--highlight); border-radius: 2px; transform-origin: 0 50%; }
.gpno { position: absolute; right: 14px; bottom: 10px; font: 400 12px/1 var(--mono); color: var(--muted); }
.g2s-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; align-items: start; }
.more-btn { align-self: center; justify-self: start; }
.swc { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.swc:focus:not(:focus-visible) { outline: none; }
.swc > i { display: block; height: 112px; }
.swc-in { display: grid; gap: 2px; padding: 12px 14px 14px; }
.swc-in p { margin: 0; }
.swc-name { font: 600 15px/1.3 var(--sans); }
.swc-hex { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.swc-cite { width: fit-content; min-height: 17px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.swc-in .swc-role { justify-self: start; margin-top: 8px; padding: 1px 8px; font: 600 12px/1.4 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.swc-in .swc-note { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.swc-in .swc-pms { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.swc-in .swc-pms.none { color: var(--muted); }
.swc-more { margin-top: 8px; }
.swc-more summary { font: 600 12px/1.5 var(--sans); color: var(--stamp); cursor: pointer; }
.swc-in .swc-more p { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.flychip { position: absolute; left: 0; top: 0; z-index: 3; width: 14px; height: 14px; opacity: 0; pointer-events: none; }
.flychip i { display: block; width: 14px; height: 14px; background: var(--cv-teal); border-radius: 2px; }
.typespec { max-width: 900px; }
.tsrow { display: grid; grid-template-columns: 80px minmax(0, 1fr) max-content max-content; gap: 16px; align-items: center; min-height: 64px; padding: 12px 0; }
.tsrow + .tsrow { border-top: 1px solid var(--line); }
.tsrow p { margin: 0; }
.tss-title { font: 700 28px/32px var(--display); color: var(--cv-teal); }
.tss-body { font: 400 15px/1.4 var(--sans); }
.tss-caption { font: 400 12px/1.4 var(--sans); letter-spacing: 0.04em; color: var(--ink-2); }
.tsspec { display: grid; gap: 2px; font-size: 12px; line-height: 1.35; color: var(--ink-2); white-space: nowrap; }
.tsspec b { font-weight: 500; color: var(--ink); }
.tssrc { justify-self: end; font-size: 12px; color: var(--muted); }
.brief { padding: 14px 16px; font: 13px/1.6 var(--mono); color: var(--ink-2); background: var(--white); border: 1px dashed var(--line); border-radius: 10px; }
.brief p { margin: 0; }
.brief .brief-hd { margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.brief .gap { color: var(--muted); }
.must { font-weight: 700; color: var(--pass); }
.hiw-copy sup { font-size: 12px; line-height: 0; }
.check { min-width: 0; max-width: 960px; margin: 0; padding: 0; border: 0; }
.check .dial-wrap { margin-top: 0; text-align: left; }
.check .dial-track { margin: 0; }
.pol-blurb { max-width: 40em; margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.check-panel { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.check-panel > div { padding: 20px 24px 22px; }
.check-panel > div + div { border-left: 1px solid var(--line); }
.check-panel .label { margin-bottom: 6px; }
.cp-build .frow { grid-template-columns: 56px minmax(0, 1fr) auto; }
.cat { font: 600 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cp-foot { max-width: 40em; margin: 16px 0 0; }
.cp-stack { justify-items: center; padding-top: 12px; text-align: center; }
.cp-stack > div { display: grid; justify-items: center; gap: 6px; width: 100%; }
.cp-seal { width: 64px; height: 64px; color: var(--seal); transform: rotate(-14deg); opacity: 0.92; mix-blend-mode: multiply; }
.cp-stack b { font: 600 15px/1.3 var(--sans); }
.cp-stack > div > span:last-child { font-size: 13px; color: var(--muted); }
.legend-row { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.legend-row li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.legend-row .seal { flex: none; width: 40px; height: 40px; }
.lg-valid { color: var(--seal); }
.lg-modified { color: var(--warn); }
.lg-invalid { color: var(--fail); }
.lg-unknown { color: var(--muted); }
.drop.has-result + .vf-legend { gap: 8px 20px; margin-top: 16px; }
.drop.has-result + .vf-legend li { gap: 6px; font-size: 13px; }
.drop.has-result + .vf-legend .seal { width: 24px; height: 24px; }
.drop.has-result + .vf-legend .lg-d { display: none; }
.s-night .legend-row { padding: 16px 20px; background: var(--white); border-radius: 16px; }
.hiw-proof .label { margin: 0 0 10px; }
@media (max-width: 899px) {
  .g2s { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gpage-lg { width: 160px; gap: 6px; padding: 16px 12px; }
  .gq { height: auto; }
  .gq-t { white-space: normal; }
  .g2s-page::after { left: 80px; top: 100%; width: 1px; height: 40px; transform-origin: 50% 0; }
  .g2s { gap: 40px; }
  .g2s-page::before { left: 78px; top: calc(100% + 36px); }
  .check-panel { grid-template-columns: minmax(0, 1fr); }
  .check-panel > div + div { border-top: 1px solid var(--line); border-left: 0; }
}
@media (max-width: 700px) { .tsrow { grid-template-columns: minmax(0, 1fr); gap: 6px; } .tssrc { justify-self: start; } .tsspec { white-space: normal; } .hiw-hero { padding: 56px 0 72px; } .hiw-hero .line { margin-top: 48px; } }

/* ------------------------------------------------------------------ verify: the empty stamp */
.drop { display: grid; justify-items: center; gap: 24px; padding: 40px 20px; scroll-margin-top: 80px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.ring { position: relative; display: grid; place-items: center; width: 280px; height: 280px; text-align: center; border: 2px dashed var(--stamp); border-radius: 50%; transition: transform var(--t-flip) var(--e-flip); }
.drop.over .ring { border-style: solid; transform: rotate(-14deg); }
.ring-in { display: grid; gap: 4px; margin: 0; padding: 0 28px; }
.ring-in b { font: 600 17px/1.3 var(--sans); }
.ring-in > span { font-size: 13px; color: var(--muted); }
.ring-in .rin-pick { display: none; }
@media (hover: none) { .ring-in .rin-drop { display: none; } .ring-in .rin-pick { display: inline; } }
.ring-seal { position: absolute; inset: -2px; display: none; width: calc(100% + 4px); height: calc(100% + 4px); transform: rotate(-14deg); opacity: 0.92; }
.ring.done { border-color: transparent; }
.ring.done .ring-in { visibility: hidden; }
.ring.is-valid .rs-valid, .ring.is-modified .rs-modified, .ring.is-invalid .rs-invalid, .ring.is-unknown .rs-unknown { display: block; }
.rs-valid { color: var(--seal); }
.rs-modified { color: var(--warn); }
.rs-invalid { color: var(--fail); }
.rs-unknown { color: var(--muted); transform: none; opacity: 1; }
.ring-none { position: absolute; inset: 0; display: none; place-items: center; margin: 0; font: 600 17px/1.3 var(--sans); color: var(--ink-2); }
.ring.is-unknown .ring-none { display: grid; }
.drop-actions { display: grid; justify-items: center; gap: 10px; }
.drop-actions .fine { margin: 0; }
.result { width: 100%; max-width: 760px; }
.result:empty { display: none; }
.result .rcard { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 20px 24px; box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 700px) { .result .rc-doc { display: none; } .result .rcard { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; } }
.result-note { margin: 0; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 560px) { .ring { width: 200px; height: 200px; } .ring-in { padding: 0 18px; } }

/* ------------------------------------------------------------------ motion: draw, flip, press
   Every sequence below needs JavaScript and no reduced-motion preference. Without either, each
   object shows its final state, and the controls still work without transitions. Each scene plays
   once; only transform and opacity move, plus color on chips, pins and the seal. */
@keyframes press { 0% { opacity: 0; transform: rotate(-14deg) scale(1.6); } 100% { opacity: 0.92; transform: rotate(-14deg) scale(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes uncover { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }
@keyframes flip-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes flip-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
@keyframes blip { 0% { opacity: 0; transform: scale(0.4); } 30% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes shown { 0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fill-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ride-x { 0% { opacity: 0; transform: translateX(25cqw); } 6% { opacity: 1; } 100% { opacity: 1; transform: translateX(100cqw); } }
@keyframes ride-y { 0% { opacity: 0; transform: translateY(25cqh); } 6% { opacity: 1; } 100% { opacity: 1; transform: translateY(100cqh); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes sticker-in { from { opacity: 0; transform: rotate(2deg) scale(0.9); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes tap { from { transform: scale(0.98); } to { transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fly-x { from { opacity: 1; transform: translateX(0); } to { opacity: 1; transform: translateX(var(--dx)); } }
@keyframes fly-y { from { transform: translateY(0); } to { transform: translateY(var(--dy)); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fan-out { from { transform: none; } }
@media print { [data-type] { clip-path: none !important; animation: none !important; } }

@media (prefers-reduced-motion: no-preference) {
  /* 1 hero · press: plays once fonts are ready; the switch replays it for the same file */
  html.js [data-hero]:not([data-play]) .seq,
  html.js [data-hero]:not([data-play]) .cover,
  html.js [data-hero]:not([data-play]) .film li,
  html.js [data-hero]:not([data-play]) .fdot.p,
  html.js [data-hero]:not([data-play]) .cover-seal,
  html.js [data-hero]:not([data-play]) .fc-seal { opacity: 0; }
  html.js [data-hero][data-play] .seq { animation: flip-in 200ms var(--e-flip) var(--t, 0ms) both; }
  html.js [data-hero][data-play] .cover { animation: flip-in 300ms var(--e-flip) 900ms both; }
  html.js [data-hero][data-play] .film li { animation: flip-in var(--t-flip) var(--e-flip) calc(1000ms + var(--n) * 60ms) both; }
  html.js [data-hero][data-play] .fdot.w { display: block; opacity: 0; animation: blip 600ms linear 1500ms; }
  html.js [data-hero][data-play] .fdot.p { animation: pop var(--t-flip) var(--e-flip) 2100ms both; }
  html.js [data-hero][data-play] .cover-seal { animation: press var(--t-press) var(--e-press) 2300ms both; }
  html.js [data-hero][data-play] .cover-seal .check { animation: draw 300ms ease-out 2550ms both; }
  html.js [data-hero][data-play] .fc-seal { animation: press var(--t-press) var(--e-press) 2950ms both; }
  html.js [data-hero][data-play] .fc-seal .check { animation: draw 300ms ease-out 3200ms both; }
  html.js [data-hero][data-play="2"] .msg-user, html.js [data-hero][data-play="2"] .msg-ai { animation: none; }
  html.js [data-hero][data-play="2"] .ai-name { animation: flip-in var(--t-flip) var(--e-flip) both; }

  /* 2 the line · draw: the rail fills, each station lights, the file rides to the certificate */
  html.js .line:not(.on) .rail-ink { transform: scaleX(0); }
  html.js .line.on .rail-ink { animation: fill-x 2400ms linear both; }
  html.js .line:not(.on) .lit, html.js .line:not(.on) .st-obj, html.js .line:not(.on) .st-cap { opacity: 0; }
  html.js .line.on .lit { animation: flip-in var(--t-flip) var(--e-flip) calc(var(--i) * 600ms) both; }
  html.js .line.on .st-obj, html.js .line.on .st-cap { animation: flip-in 300ms var(--e-flip) calc(var(--i) * 600ms) both; }
  html.js .line.on .rider { animation: ride-x 1800ms linear 600ms both, flip-out 200ms ease-out 2400ms forwards; }
  html.js .line.on .fan { animation: fan-out var(--t-draw) var(--e-draw) 150ms both; }
  html.js .line:not(.on) .drawn .ring, html.js .line:not(.on) .drawn .check { stroke-dashoffset: 1; }
  html.js .line:not(.on) .drawn .rest { opacity: 0; }
  html.js .line.on .drawn .ring { animation: draw var(--t-draw) var(--e-draw) 2400ms both; }
  html.js .line.on .drawn .rest { animation: flip-in 300ms ease-out 2700ms both; }
  html.js .line.on .drawn .check { animation: draw 300ms ease-out 3000ms both; }

  /* 3 brand owner · flip: the cursor decides, the bar fills, Publish becomes a badge */
  html.js .review .rv-resolved, html.js .review .rv-sent, html.js .review[data-state="published"] .rv-done { animation: flip-in var(--t-flip) var(--e-flip) both; }
  html.js .review[data-state="published"] .rv-done .tick path { animation: draw 300ms ease-out 150ms both; }
  html.js .pressed { animation: tap 150ms ease-out; }

  /* 4 build · draw: the layout flies in, the words fill it, the title is fixed, the acronym held */
  html.js .build:not(.on) .picked .lay::after,
  html.js .build:not(.on) .words,
  html.js .build:not(.on) .bslide,
  html.js .build:not(.on) .sticker,
  html.js .build:not(.on) .cspot,
  html.js .build:not(.on) .bs-callout,
  html.js .build:not(.on) .t-after,
  html.js .build:not(.on) .bslide .pin { opacity: 0; }
  html.js .build:not(.on) .grp-bars i { transform: scaleY(0); }
  html.js .build:not(.on) .squig path { stroke-dashoffset: 1; }
  html.js .build.on .picked .lay::after { animation: flip-in var(--t-flip) var(--e-flip) both; }
  html.js .build.on .words { animation: flip-in 300ms var(--e-flip) 150ms both; }
  html.js .build.on .bslide { animation: flip-in 80ms linear 750ms both; }
  html.js .build.on.noflip .bslide { animation: scale-in 450ms var(--e-draw) 150ms both; }
  html.js .build.on .ph-t { animation: shown 200ms linear 750ms; }
  html.js .build.on .ph-ch { animation: shown 320ms linear 750ms; }
  html.js .build.on .ph-c { animation: shown 440ms linear 750ms; }
  html.js .build.on .t-before { animation: shown 1050ms linear 900ms; }
  html.js .build.on .t-after { animation: flip-in var(--t-flip) var(--e-flip) 1900ms both; }
  html.js .build.on .grp-bars i { animation: grow 400ms var(--e-draw) calc(1020ms + var(--k) * 40ms) both; }
  html.js .build.on .bs-callout { animation: flip-in var(--t-flip) var(--e-flip) 1140ms both; }
  html.js .build.on .selbox { animation: shown 550ms linear 1600ms; }
  html.js .build.on .sticker { animation: sticker-in 300ms var(--e-press) 1900ms both; }
  html.js .build.on .squig path { animation: draw 400ms ease-out 2300ms both; }
  html.js .build.on .bslide .pin { animation: pop 300ms var(--e-press) 2300ms both; }
  html.js .build.on .cspot { animation: flip-in 80ms linear 2700ms both; }
  html.js .build.on .hd-cover { animation: uncover var(--t-draw) var(--e-draw) 2700ms both; }
  html.js .build:not(.on) .bnote, html.js .build:not(.on) .bmore { opacity: 0; }
  html.js .build.on .bnote, html.js .build.on .bmore { animation: flip-in var(--t-flip) var(--e-flip) 2700ms both; }

  /* 5 proof · flip: the caret blinks, a number changes, the certificate names the slide */
  html.js .rcard.typing .caret { animation: blink 500ms steps(1) infinite; }
  html.js .rcard.m-seal .rc-mod { animation: flip-in var(--t-flip) var(--e-flip) both; }

  /* how it works · the guide's teal travels to its swatch card and its page cite types in */
  html.js .g2s:not(.on) .gq-t::before { transform: scaleX(0); }
  html.js .g2s.on .gq-t::before { animation: fill-x 600ms var(--e-draw) both; }
  html.js .g2s:not(.on) .g2s-page::after, html.js .g2s:not(.on) .g2s-page::before { opacity: 0; }
  html.js .g2s.on .g2s-page::after { animation: fill-x 300ms var(--e-draw) 600ms both; }
  html.js .g2s.on .g2s-page::before { animation: flip-in 150ms ease-out 900ms both; }
  html.js .g2s.fly .flychip { animation: fly-x 500ms linear 600ms both, flip-out 150ms ease-out 1100ms forwards; }
  html.js .g2s.fly .flychip i { animation: fly-y 500ms cubic-bezier(0.55, 0, 0.9, 0.45) 600ms both; }
  html.js .g2s:not(.on) [data-type] { clip-path: inset(0 100% 0 0); }
  html.js .g2s.fly [data-type] { animation: type 330ms steps(10) 1150ms both; }

  /* verify · the ring gives way to the seal, pressing in the result's color */
  .ring.done .rs-valid { animation: press var(--t-press) var(--e-press) both; }
  .ring.done .rs-valid .check { animation: draw 300ms ease-out 250ms both; }
  .ring.done .rs-modified, .ring.done .rs-invalid, .ring.done .rs-unknown, .ring.done .ring-none { animation: flip-in var(--t-flip) var(--e-flip) both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 999px) {
  html.js .line:not(.on) .rail-ink { transform: scaleY(0); }
  html.js .line.on .rail-ink { animation-name: fill-y; }
  html.js .line.on .rider { animation-name: ride-y, flip-out; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) {
  html.js .g2s.on .g2s-page::after { animation-name: fill-y; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  html.js .build.on .sticker { animation-name: flip-in; }
}
@media (prefers-reduced-motion: no-preference) { html.js .rm-line { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dial-track::before, .meter i, .cursor, .rc-strip li, .ring, .lay.ghost { transition: none !important; }
}
@media (max-width: 560px) {
  footer { padding: 28px 0 28px; font-size: 13px; }
  footer .row2 { margin-top: 12px; }
  .line { margin-top: 40px; }
  .line-src { margin-bottom: 16px; }
  .line-link { margin-top: 20px; }
  .hero-home .lede { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .obj-cap { margin-top: 12px; }
  .formats { margin-top: 16px; }
  .proof { margin-top: 32px; }
  .split { gap: 24px; }
  .layouts { padding-top: 28px; }
  .dial-wrap { margin-top: 16px; }
  .bnote { margin-top: 20px; }
  .stage-cap { margin-top: 12px; }
  .hero-home { padding-bottom: 36px; }
}

/* Analytics is optional and limited to the public site. */
.bw-analytics-choice{position:fixed;z-index:1000;bottom:16px;left:16px;right:16px;max-width:680px;margin:auto;padding:20px;background:#F7F6F2;color:#1B1F26;border:1px solid #D9DCD6;border-radius:10px;box-shadow:0 6px 24px #0002;font:14px/1.5 'Instrument Sans',sans-serif}
.bw-analytics-choice[hidden]{display:none}
.bw-analytics-choice p{margin:0 0 14px}
.bw-analytics-choice div{display:flex;gap:12px;flex-wrap:wrap}
.bw-analytics-choice button,.bw-analytics-settings{font:inherit;min-height:44px;padding:10px 14px;border:1px solid #C9CDC7;border-radius:6px;background:white;color:#1B1F26}
.bw-analytics-choice button[data-choice=accepted]{background:#2E3FCB;color:white;border-color:#2E3FCB}
.bw-analytics-settings{margin-top:16px;background:transparent}
