/* Hallmark · checked: 2026-11-29 · genre: modern-minimal (inferred: a B2B industrial voice tool)
 * floor: 0 FAIL · fixed: 25 (4, 7a, 10a, 18, 19, 26b, 29, 30a, 34, 38iii, 40, 41, 47a, 47b, 48, 50, 54, 62, 63, 64, 67, 70, F1, F4, F21) · structural: 3 printed (58, 84, 9)
 * built: the project · redesign: polish · v2.0.0 */
/* Hallmark · waive 37 · Noto Sans Devanagari and Noto Sans Tamil only set the lang="hi" and lang="ta" runs · Inter has no Devanagari or Tamil glyphs and the technicians' Hindi and Tamil lines must render */
/* Hallmark · waive 38iii · the grey second clause appears once, in the hero h1, and every section head is now one colour · the two-tone hero line is Role Enterprise's house look, shared with RoleEdge and RoleSpace */
/* Hallmark · dismissed 3 · the left stripes on .fl-card and .pc are the app's own card style (web/style.css .card), shown as the product */
/* Hallmark · dismissed 19 · "All rights reserved" is the owner's Role Enterprise footer line, kept as found */
/* Hallmark · dismissed 49 · each pipeline tab is a quote over its caption, two lines by design; the quotes were shortened */
/* Hallmark · answered F15 · a polish keeps the layout, so the four column gaps stay as built */
/* Hallmark · dropped https://rolespace.duckdns.org/ · the owner asked to remove the Powered by Role Enterprise line and the RoleSpace link from the footer */
/* Hallmark · dropped am-approve, am-edit, am-rec · the approval card shows the product's own buttons as a picture, and one viewer toggle, #am-show, replaces them (70 names a fake send) */
/* Hunar's public home page. The page is one night shift: it starts at 02:14 on a dark plant floor, turns to dawn when
   the senior approves at 06:40, and ends in daylight with the comparison, the architecture and the roadmap. The header
   clock follows the section under it.
   One type family (Inter with its display optical size, Noto Sans Devanagari and Tamil for the technicians' languages,
   JetBrains Mono for code), zinc greys, black for the brand and every action, and muted colour for meaning only:
   spruce green for passed, ochre for "needs you", brick for danger, and slate blue for "the model proposes". Motion is transform and opacity on one
   easing curve, and is switched off for prefers-reduced-motion (home.js then shows the final states). */
:root {
  --ink: #0a0a0a; --ink-soft: #262626; --body: #3f3f46; --muted: #71717a; --muted-soft: #a1a1aa;
  --canvas: #ffffff; --page: #fafafa; --surface-card: #f4f4f5; --hairline: #e4e4e7; --hairline-soft: #f0f0f1; --line-strong: #d4d4d8;
  --ok: #2f6b4f; --ok-soft: #eef4f0; --ok-ink: #24563f; --ok-d: #8cc4a6;
  --watch: #8c6a1f; --watch-soft: #f8f3e7; --watch-ink: #6f5316; --watch-d: #d6b46c;
  --urgent: #a33a2f; --urgent-soft: #f9efed; --urgent-ink: #872e25; --urgent-d: #e3958b;
  --model: #4a5f86; --model-soft: #eff2f7; --model-d: #a3b4d4;
  --dk: #0a0a0a; --dk-1: #111113; --dk-2: #18181b; --dk-3: #1f1f23; --dk-line: #27272a; --dk-line-2: #3f3f46;
  --dk-ink: #fafafa; --dk-body: #a1a1aa; --dk-muted: #8b8b94; --soft-ink: #85858e;
  --font: "Inter", "Noto Sans Devanagari", "Noto Sans Tamil", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: "Manrope", "Inter", "Noto Sans Devanagari", ui-sans-serif, system-ui, sans-serif;
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 10px; --r-2xl: 14px; --r-3xl: 20px; --r-pill: 9999px;
  --out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --wrap: 1200px;
  --nav: 64px;
  --shadow-lg: 0 12px 16px -4px rgba(10, 10, 10, .08), 0 4px 6px -2px rgba(10, 10, 10, .03);
  --shadow-xl: 0 24px 48px -12px rgba(10, 10, 10, .18);
  --shadow-dk: 0 30px 80px -20px rgba(0, 0, 0, .85);

  /* lifted from the rules below (Hallmark 48): mock screens, frames, dawn, alpha steps */
  --white: #ffffff;
  --black: #000000;
  --ink-hover: #2b2b2b;
  --ok-line: #cfe0d6;
  --watch-line: #e6d7b1;
  --urgent-line: #edcfca;
  --w-a0: rgba(255, 255, 255, 0);
  --w-a02: rgba(255, 255, 255, .02);
  --w-a035: rgba(255, 255, 255, .035);
  --w-a045: rgba(255, 255, 255, .045);
  --w-a05: rgba(255, 255, 255, .05);
  --w-a06: rgba(255, 255, 255, .06);
  --w-a07: rgba(255, 255, 255, .07);
  --w-a08: rgba(255, 255, 255, .08);
  --w-a1: rgba(255, 255, 255, .1);
  --w-a12: rgba(255, 255, 255, .12);
  --w-a14: rgba(255, 255, 255, .14);
  --w-a16: rgba(255, 255, 255, .16);
  --w-a18: rgba(255, 255, 255, .18);
  --w-a2: rgba(255, 255, 255, .2);
  --w-a25: rgba(255, 255, 255, .25);
  --w-a38: rgba(255, 255, 255, .38);
  --w-a86: rgba(255, 255, 255, .86);
  --w-a92: rgba(255, 255, 255, .92);
  --k-a0: rgba(10, 10, 10, 0);
  --k-a14: rgba(10, 10, 10, .14);
  --k-a35: rgba(10, 10, 10, .35);
  --k-a45: rgba(10, 10, 10, .45);
  --k-a55: rgba(10, 10, 10, .55);
  --k-a9: rgba(10, 10, 10, .9);
  --b-a25: rgba(0, 0, 0, .25);
  --b-a6: rgba(0, 0, 0, .6);
  --b-a8: rgba(0, 0, 0, .8);
  --zinc-2-a7: rgba(39, 39, 42, .7);
  --zinc-a7: rgba(24, 24, 27, .7);
  --zinc-a86: rgba(24, 24, 27, .86);
  --ok-a0: rgba(47, 107, 79, 0);
  --ok-a2: rgba(47, 107, 79, .2);
  --ok-a55: rgba(47, 107, 79, .55);
  --ok-d-a06: rgba(140, 196, 166, .06);
  --ok-d-a14: rgba(140, 196, 166, .14);
  --ok-d-a25: rgba(140, 196, 166, .25);
  --ok-d-a55: rgba(140, 196, 166, .55);
  --watch-a2: rgba(140, 106, 31, .2);
  --watch-d-a05: rgba(214, 180, 108, .05);
  --watch-d-a14: rgba(214, 180, 108, .14);
  --watch-d-a25: rgba(214, 180, 108, .25);
  --watch-d-a5: rgba(214, 180, 108, .5);
  --urgent-a22: rgba(163, 58, 47, .22);
  --urgent-d-a16: rgba(227, 149, 139, .16);
  --urgent-d-a35: rgba(227, 149, 139, .35);
  --model-a22: rgba(74, 95, 134, .22);
  --model-d-a16: rgba(163, 180, 212, .16);
  --model-d-a3: rgba(163, 180, 212, .3);
  --fl-accent: #ededef;
  --fl-bg: #111113;
  --fl-dim: #7e7e88;
  --fl-info: #a3b4d4;
  --fl-ink: #ededef;
  --fl-line: #2a2a2f;
  --fl-muted: #a1a1aa;
  --fl-ok: #8cc4a6;
  --fl-ok-a14: rgba(140, 196, 166, .14);
  --fl-ok-a28: rgba(140, 196, 166, .28);
  --fl-ok-ink: #9fd0b5;
  --fl-ok-on: #0e1d15;
  --fl-panel: #18181b;
  --fl-panel-2: #1f1f23;
  --fl-senior: #d6b46c;
  --fl-senior-a1: rgba(214, 180, 108, .1);
  --fl-senior-on: #1d1606;
  --fl-stop: #e3958b;
  --fl-stop-a12: rgba(227, 149, 139, .12);
  --fl-stop-a14: rgba(227, 149, 139, .14);
  --fl-stop-a35: rgba(227, 149, 139, .35);
  --fl-stop-ink: #eaa79e;
  --ph-alert-bg: #fdfafa;
  --ph-bg: #f4f4f5;
  --ph-ink: #18181b;
  --ph-line: #e4e4e7;
  --ph-line-2: #d4d4d8;
  --ph-muted: #6b6b74;
  --ph-ok: #2f6b4f;
  --ph-ok-line: #cfe0d6;
  --ph-ok-soft: #eef4f0;
  --ph-senior: #6f5316;
  --ph-senior-line: #e6d7b1;
  --ph-senior-soft: #f8f3e7;
  --ph-stop: #a33a2f;
  --ph-stop-line: #edcfca;
  --ph-stop-soft: #f9efed;
  --frame-1: #2a2a2e;
  --frame-2: #141416;
  --frame-accent: #71717a;
  --frame-cam: #444444;
  --frame-edge: #232327;
  --frame-line: #3a3a3f;
  --dawn-1: #141416;
  --dawn-2: #2b2a2c;
  --dawn-3: #7d7873;
  --dawn-4: #e4e1dd;
  --dawn-5: #f7f6f4;
  --dawn-label: #e6e2dd;
  --dawn-soft: #d9d4ce;
  --dawn-sub: #ece8e3;
  --sun-core-a9: rgba(240, 236, 230, .9);
  --sun-halo-a35: rgba(220, 214, 206, .35);
  --wave-ink: 255, 255, 255;
  --font-deva: "Noto Sans Devanagari", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-tamil: "Noto Sans Tamil", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--font); font-optical-sizing: auto; font-feature-settings: "cv11", "ss03"; color: var(--ink); background: var(--canvas); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; flex: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--white); }
.dark ::selection { background: var(--white); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .nav:not(.light) :focus-visible, .foot :focus-visible { outline-color: var(--white); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 500; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }
.grow { flex: 1; }
.center { text-align: center; }
code, .mono { font-family: var(--mono); font-size: .88em; }
i[data-i] { display: inline-grid; place-items: center; font-style: normal; }
i[data-i] svg { width: 1.1em; height: 1.1em; }
[lang="hi"] { font-family: var(--font-deva); }
[lang="ta"] { font-family: var(--font-tamil); }

/* ------------------------------------------------------------------ marks, wordmark, dots, tags, buttons */
.mark { width: 28px; height: 28px; border-radius: 7px; }
.mark.sm { width: 20px; height: 20px; border-radius: 5px; }
.mark.xl { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 28px; box-shadow: 0 0 0 1px var(--w-a14), 0 20px 60px -10px var(--w-a18); }
.logo { display: flex; align-items: center; gap: 10px; }
.nav:not(.light) .logo .mark, .foot .logo .mark { box-shadow: 0 0 0 1px var(--w-a16); }
.wordmark { display: inline-flex; align-items: baseline; gap: 7px; font: 700 20px/1 var(--display); letter-spacing: -.01em; color: var(--white); white-space: nowrap; transition: color .45s; }
.wordmark .deva { font: 500 15px/1 var(--font-deva); letter-spacing: 0; color: var(--dk-muted); transition: color .45s; }
.wordmark.sm { font-size: 15px; }

.dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--muted-soft); display: inline-block; }
.dot.ok { background: var(--ok); } .dot.watch { background: var(--watch); } .dot.urgent { background: var(--urgent); }
.dot.live { position: relative; background: var(--ok); }
.dot.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok-a55); animation: live 2.2s var(--out) infinite; }
.dot.next { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.dot.later { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted-soft); }
@keyframes live { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3); opacity: 0; } }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); font: 500 12px/1 var(--font);
  border: 1px solid var(--hairline); color: var(--body); background: var(--canvas); white-space: nowrap; flex: none; }

.tag.ok { color: var(--ok-ink); background: var(--ok-soft); border-color: var(--ok-line); } .tag.ok::before { background: var(--ok); }
.tag.watch { color: var(--watch-ink); background: var(--watch-soft); border-color: var(--watch-line); } .tag.watch::before { background: var(--watch); }
.tag.urgent { color: var(--urgent-ink); background: var(--urgent-soft); border-color: var(--urgent-line); } .tag.urgent::before { background: var(--urgent); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r-lg); border: 1px solid transparent; font: 500 14px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s var(--out), transform .4s var(--out); }
.btn i[data-i] svg { width: 16px; height: 16px; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.btn.light { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--w-a1), 0 8px 30px -8px var(--w-a25); }
.btn.light:hover { background: var(--surface-card); transform: translateY(-1px); }
.btn.ghost-dark { color: var(--dk-ink); border-color: var(--dk-line-2); background: transparent; }
.btn.ghost-dark:hover { border-color: var(--muted); background: var(--w-a06); }
.btn.dark-btn { background: var(--ink); color: var(--white); }
.btn.dark-btn:hover { background: var(--ink-hover); }
.btn.outline { border-color: var(--line-strong); background: var(--white); color: var(--ink); }
.btn.outline:hover { border-color: var(--muted-soft); }
button:active, .btn:active, .phrase:active, .say-tabs button:active { transform: translateY(1px); }
button:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn i[data-i] { transition: transform .3s var(--out); } .btn:hover i[data-i]:last-child { transform: translateX(2px); }

/* ------------------------------------------------------------------ nav: black over dark sections, white over light ones */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); border-bottom: 1px solid transparent;
  transition: background-color .45s var(--out), color .45s var(--out), border-color .45s var(--out); }
.nav.scrolled { background: var(--dk); border-color: var(--w-a08); }
.nav-in { height: var(--nav); display: flex; align-items: center; gap: 24px; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 2px; }
.nav-links a { padding: 8px 11px; border-radius: 8px; font-size: 14px; color: var(--dk-body); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.on { color: var(--white); background: var(--w-a07); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.clock { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: var(--r-pill); border: 1px solid var(--dk-line-2);
  font: 500 13px/1 var(--font); color: var(--dk-body); transition: border-color .45s, color .45s; }
.clock i[data-i] svg { width: 14px; height: 14px; }
.clock .ck-ic { position: relative; width: 14px; height: 14px; }
.clock .ck-ic i { position: absolute; inset: 0; transition: opacity .5s var(--out), transform .6s var(--out); }
.clock { display: none; } .js .clock { display: inline-flex; }
.js .clock .ck-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.js .clock.day .ck-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
.clock.day .ck-sun { opacity: 1; transform: none; }
.ck-t { display: inline-block; min-width: 5ch; color: var(--white); font-variant-numeric: tabular-nums; font-family: var(--font); font-weight: 600; }
.ck-t.flip { animation: flip .36s var(--out); }
.ck-label { color: var(--dk-muted); }
@keyframes flip { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-70%); opacity: 0; } 55% { transform: translateY(70%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.nav-cta { background: var(--white); color: var(--ink); }
.nav-cta:hover { background: var(--surface-card); }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.nav-progress b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--w-a0), var(--white)); transform-origin: 0 50%; transform: scaleX(0); }
.nav.light { color: var(--ink); background: var(--canvas); border-color: var(--hairline); }
.nav.light .nav-links a { color: var(--body); }
.nav.light .nav-links a:hover, .nav.light .nav-links a.on { color: var(--ink); background: var(--surface-card); }
.nav.light .wordmark { color: var(--ink); } .nav.light .wordmark .deva { color: var(--muted); }
.nav.light .clock { border-color: var(--hairline); color: var(--body); }
.nav.light .ck-t { color: var(--ink); } .nav.light .ck-label { color: var(--muted); }
.nav.light .nav-cta { background: var(--ink); color: var(--white); } .nav.light .nav-cta:hover { background: var(--ink-hover); }
.nav.light .nav-progress b { background: linear-gradient(90deg, var(--k-a0), var(--ink)); }

/* ------------------------------------------------------------------ sections */
.sec { position: relative; padding: clamp(112px, 12vw, 168px) 0; }
.sec.tint { background: var(--page); border-block: 1px solid var(--hairline-soft); }
.dark { background: var(--dk); color: var(--dk-ink); }
.dark.d1 { background: var(--dk-1); color: var(--dk-ink); }
.sec.dark { overflow: clip; }
.sec-head { max-width: 760px; margin-bottom: clamp(56px, 6vw, 80px); }
h2 { font: 600 clamp(34px, 4.2vw, 54px)/1.14 var(--display); letter-spacing: -.018em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.sec-time, .eyebrow { display: block; margin-bottom: 18px; font: 600 12.5px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dark .sec-time { color: var(--dk-muted); }
.dawn .sec-time { color: var(--dawn-label); }
h2 .soft { display: block; margin-top: .2em; font-size: .6em; line-height: 1.25; letter-spacing: -.01em; font-weight: 500; }
.sub { margin-top: 22px; font-size: 18.5px; line-height: 1.7; color: var(--body); text-wrap: pretty; max-width: 62ch; }
.dark .sub { color: var(--dk-body); }
h3 { font: 600 19px/1.35 var(--display); letter-spacing: -.005em; }
.fine { margin-top: 28px; font-size: 12.5px; color: var(--muted); }
.dark .fine { color: var(--dk-muted); }
.fine a { text-decoration: underline; text-underline-offset: 2px; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.gridbg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--w-a035) 1px, transparent 1px), linear-gradient(90deg, var(--w-a035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, var(--black) 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, var(--black) 20%, transparent 80%); }

/* reveal on scroll; home.js adds .in. Without JS (or with reduced motion) everything is simply visible. */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .6s var(--out), transform .7s var(--out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* spotlight: a soft light follows the pointer across a card's border (fine pointers only) */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--w-a38), transparent 45%);
  -webkit-mask: linear-gradient(var(--black) 0 0) content-box, linear-gradient(var(--black) 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (hover: hover) and (pointer: fine) { .spot:hover::before { opacity: 1; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 136px 0 120px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--w-a045) 1px, transparent 1px), linear-gradient(90deg, var(--w-a045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, var(--black) 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, var(--black) 20%, transparent 75%); }
.hero-deva { position: absolute; left: 50%; bottom: 18%; z-index: -1; transform: translateX(-50%); pointer-events: none; user-select: none; white-space: nowrap;
  font: 700 clamp(160px, 26vw, 380px)/1 var(--font-deva); color: transparent; -webkit-text-stroke: 1px var(--w-a045); }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border-radius: var(--r-pill); border: 1px solid var(--dk-line);
  background: var(--zinc-a7); font-size: 13px; color: var(--dk-body); transition: border-color .3s, background .3s; }
.pill:hover { border-color: var(--dk-line-2); background: var(--zinc-2-a7); }
.pill-sep { width: 1px; height: 14px; background: var(--dk-line-2); }
.pill-b { color: var(--white); }
.pill i[data-i] svg { width: 14px; height: 14px; }
.display { margin-top: 32px; max-width: 1000px; font: 600 clamp(40px, 6.4vw, 80px)/1.1 var(--display); letter-spacing: -.022em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.display .soft { display: block; color: var(--dk-muted); }
/* The rotating phrase: every phrase sits in the same grid cell, so the box is always as wide as the longest one and
   the line around it never moves. A swap only moves transform and opacity (no reflow, no blur repaint). The second
   selector outranks `.js [data-split] .w`, which would otherwise make it an inline-block and put the phrases side by side. */
.rot, .js [data-split] .w.rot { display: inline-grid; justify-items: center; overflow: hidden; vertical-align: bottom; white-space: nowrap; padding-bottom: .08em; }
.rot-w { grid-area: 1 / 1; }
.rot.cycling .rot-w { opacity: 0; transform: translate3d(0, 100%, 0); will-change: transform, opacity; }
.rot.cycling .rot-w.on { opacity: 1; transform: none; transition: transform .7s var(--out), opacity .5s var(--out); }
.rot.cycling .rot-w.out { opacity: 0; transform: translate3d(0, -100%, 0); transition: transform .6s var(--out), opacity .35s var(--out); }
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(8px); transition: opacity .7s var(--out), transform .8s var(--out), filter .7s var(--out); transition-delay: var(--d, 0s); }
.js [data-split].in .w { opacity: 1; transform: none; filter: none; }
.lead { margin-top: 30px; max-width: 62ch; font-size: 19px; line-height: 1.7; color: var(--dk-body); text-wrap: pretty; }
.langs { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.langs span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--dk-line);
  background: var(--dk-1); color: var(--dk-ink); font-size: 13.5px; transition: border-color .3s, background .3s, transform .3s var(--out); }
.langs span.on { border-color: var(--white); background: var(--dk-3); transform: translateY(-2px); }
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }

/* the stage: the Floor screen, in motion */
.stage-wrap { margin-top: 72px; }
.stage { position: relative; max-width: 1040px; margin: 0 auto; }
.glow { position: absolute; inset: -4% -4% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side at 50% 42%, var(--w-a12), var(--w-a05) 55%, transparent); }
.win { position: relative; border-radius: 16px; overflow: hidden; background: var(--white); color: var(--ink); text-align: left;
  box-shadow: 0 0 0 1px var(--w-a12), 0 40px 100px -20px var(--b-a8), 0 24px 48px -24px var(--w-a12); }
.win-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: var(--page); border-bottom: 1px solid var(--hairline); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline); }
.win-url { margin: 0 auto; transform: translateX(-26px); height: 24px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 6px;
  background: var(--white); border: 1px solid var(--hairline); font: 400 12px/1 var(--mono); color: var(--muted); }
.win-top { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.win-top .wordmark { color: var(--ink); margin-right: 6px; }
.chip { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--hairline); font-size: 12.5px; color: var(--body); }
.chip.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.meter { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--body); }
.meter b { font: 500 12.5px/1 var(--mono); color: var(--ink); }
.win-main { position: relative; min-height: 560px; padding: 24px 28px 28px; }
.hscene { position: absolute; inset: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .6s var(--out), visibility 0s .6s; }
.hscene.on { position: relative; inset: auto; opacity: 1; visibility: visible; transition: opacity .6s var(--out); }
.h-cap { font: 500 13px/1.3 var(--font); color: var(--muted); }
.js .hscene [data-step] { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .6s var(--out), transform .7s var(--out); }
.js .hscene [data-step].on { opacity: 1; transform: none; }

.bubble { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); max-width: 760px; }
.bubble.me { background: var(--page); }
.bubble.hu { margin-left: auto; background: var(--white); box-shadow: var(--shadow-lg); }
.bubble .av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); font-weight: 600; font-size: 14px; }
.bubble img.av { border-radius: 8px; }
.bubble small { display: block; font-size: 12px; color: var(--muted); }
.bubble b { display: block; margin-top: 3px; font-weight: 500; font-size: 15.5px; line-height: 1.45; }
.bubble em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
.wv { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.wv i { width: 3px; border-radius: 3px; background: var(--ink); height: 100%; transform: scaleY(.3); animation: wv 1.1s var(--out) infinite; }
.wv i:nth-child(2n) { animation-delay: .12s; } .wv i:nth-child(3n) { animation-delay: .27s; } .wv i:nth-child(5n) { animation-delay: .4s; }
.wv.sm { height: 16px; margin: 0 6px; } .wv.sm i { width: 2px; }
@keyframes wv { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--hairline); background: var(--white); font-size: 13px; }
.tool b { font: 500 12.5px/1 var(--mono); }
.tool small { color: var(--muted); font-size: 12.5px; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--hairline); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.tool.done .spin { animation: none; border: 0; background: var(--ok); width: 8px; height: 8px; box-shadow: 0 0 0 3px var(--ok-soft); }
@keyframes spin { to { transform: rotate(360deg); } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cite { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 10px; border: 1px solid var(--hairline); background: var(--white); }
.cite small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cite b { font-weight: 500; font-size: 13.5px; line-height: 1.45; flex: 1; }
.cite .tag { align-self: flex-start; }
.sr-tip { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sr-tip small { color: var(--dk-body); }
.sr-tip .wv i { background: var(--white); }
.play { display: inline-flex; align-items: center; font: 500 12px/1 var(--mono); color: var(--dk-body); }
.play > i[data-i] { width: 24px; height: 24px; border-radius: 50%; background: var(--white); color: var(--ink); }
.play > i[data-i] svg { width: 12px; height: 12px; }

.steps { display: flex; flex-direction: column; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--hairline); font-size: 14px; }
.steps li > span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--surface-card); font: 500 12px/1 var(--mono); }
.steps li.ok { border-color: var(--ok-line); background: var(--ok-soft); }
.steps li.held { color: var(--muted); background: repeating-linear-gradient(135deg, var(--page) 0 8px, var(--surface-card) 8px 16px); font-style: italic; }
.steps li i[data-i] { margin-left: auto; color: var(--muted); }
.gate, .wo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--white); }
.gate b, .wo b { display: block; font: 500 13.5px/1.3 var(--font); }
.gate b { font-family: var(--mono); font-size: 12.5px; }
.gate small, .wo small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.gate .tag, .wo .tag { margin-left: auto; }
.g-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--white); }
.readback { padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--page); }
.readback small { font: 500 12px/1 var(--font); color: var(--muted); }
.readback b { display: block; margin-top: 8px; font-weight: 500; font-size: 15px; line-height: 1.5; }
.readback span { display: block; margin-top: 8px; font-size: 13px; color: var(--watch-ink); }

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; text-align: left;
  background: var(--dk-2); border: 1px solid var(--dk-line-2); color: var(--white); animation: bob 6s ease-in-out infinite; transition: opacity .3s; }
.float b { display: block; font-size: 13px; font-weight: 500; }
.float .f-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--dk-3); color: var(--ok-d); }
.float .f-ic.urgent { color: var(--urgent-d); } .float .f-ic.watch { color: var(--watch-d); }
.float .f-ic i[data-i] svg { width: 15px; height: 15px; }
.float small { display: block; font-size: 12px; color: var(--dk-body); }
.float.f1 { left: 48px; top: -58px; }
.float.f2 { right: 48px; bottom: -26px; animation-delay: -3s; }
.float.swap { opacity: 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scenes-nav { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.scenes-nav button { position: relative; overflow: hidden; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--dk-line);
  background: var(--dk-1); color: var(--dk-body); font-size: 13.5px; cursor: pointer; transition: color .3s, border-color .3s; }
.scenes-nav button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--white); transform-origin: 0 50%; transform: scaleX(0); }
.scenes-nav button[aria-selected="true"] { color: var(--white); border-color: var(--dk-line-2); }
.scenes-nav button[aria-selected="true"] i { animation: fill var(--scene-ms, 9000ms) linear forwards; }
.scenes-nav.paused button i { animation-play-state: paused; }
.scenes-nav .hero-pause { width: 36px; padding: 0; display: grid; place-items: center; }
.scenes-nav .hero-pause i[data-i] { position: static; height: auto; width: auto; background: none; transform: none; animation: none; }
.scenes-nav .hero-pause i[data-i] svg { width: 14px; height: 14px; }
.scenes-nav .hero-pause[aria-pressed="true"] { color: var(--white); border-color: var(--dk-line-2); }
@keyframes fill { to { transform: scaleX(1); } }

/* ------------------------------------------------------------------ the strip: built with, and why it matters */
.strip { border-bottom: 1px solid var(--hairline-soft); }
.marquee { overflow: hidden; border-bottom: 1px solid var(--hairline-soft); padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent); mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent); }
.marquee-track { display: flex; justify-content: center; }
.marquee ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding: 0 32px; }
.marquee li { white-space: nowrap; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.marquee li b { color: var(--ink); font-weight: 600; }
.marquee ul[aria-hidden] { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.why { padding: 96px 0 88px; }
.why-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.why-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.why-head p { color: var(--body); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hairline); }
.fact { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--hairline); }
.fact:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--hairline); }
.fact b { font: 600 clamp(38px, 4.4vw, 58px)/1 var(--font); letter-spacing: -.034em; font-variant-numeric: tabular-nums; }
.fact b small { font-size: .5em; letter-spacing: -.02em; color: var(--muted); margin-left: 2px; }
.fact > span { color: var(--ink); font-size: 15.5px; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.fact > em { font-style: normal; color: var(--body); font-size: 14px; line-height: 1.5; }
.fact cite { margin-top: auto; padding-top: 6px; font: 400 11.5px/1.4 var(--mono); font-style: normal; color: var(--muted); }
.fact cite a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.fact cite a:hover { color: var(--ink); text-decoration-color: currentColor; }
.fact .bar { height: 4px; border-radius: 4px; background: var(--surface-card); overflow: hidden; }
.fact .bar i { display: block; height: 100%; width: var(--v, 0%); background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--out) .2s; }
.fact.in .bar i, .no-anim .fact .bar i { transform: none; }
.why-gap { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gap-card { padding: 22px 24px; border-radius: var(--r-2xl); background: var(--page); border: 1px solid var(--hairline); }

.gap-card h3 { margin-top: 12px; font-size: 17px; }
.gap-card p { margin-top: 8px; color: var(--body); font-size: 14.5px; line-height: 1.55; }

/* ------------------------------------------------------------------ 01 the night shift: chapters and the pinned screens */
.night { background: radial-gradient(1200px 700px at 80% 0%, var(--w-a05), transparent 60%), var(--dk); }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); }
.chapters { position: relative; }
.ch { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 24px 0 24px 28px; border-left: 1px solid var(--dk-line);
  opacity: .32; transition: opacity .5s var(--out), border-color .5s; }
.ch.on { opacity: 1; border-left-color: var(--white); }
.ch:first-child { min-height: 60vh; }
.ch-t { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--dk-muted); }
.ch-t i[data-i] svg { width: 14px; height: 14px; }
.ch h3 { font: 600 clamp(24px, 2.2vw, 32px)/1.25 var(--display); letter-spacing: -.012em; color: var(--white); }
.ch p { color: var(--dk-body); font-size: 17.5px; line-height: 1.75; max-width: 44ch; text-wrap: pretty; }
.ch q { color: var(--white); quotes: "“" "”"; }
.rule-chip { display: inline-flex; align-items: flex-start; gap: 8px; width: fit-content; max-width: 100%; padding: 8px 12px; border-radius: 10px;
  background: var(--dk-2); border: 1px solid var(--dk-line); color: var(--dk-ink); font-size: 13px; line-height: 1.4; }
.rule-chip i[data-i] { margin-top: 1px; color: var(--ok-d); }
.rule-chip i[data-i] svg { width: 15px; height: 15px; }
.rule-chip.r-urgent i[data-i] { color: var(--urgent-d); }
.rule-chip.r-watch i[data-i] { color: var(--watch-d); }
.rule-chip code { color: var(--white); font-size: 12px; }
.ch-visual { display: none; }
.pin { position: sticky; top: calc(var(--nav) + 28px); height: min(660px, calc(100vh - var(--nav) - 56px)); align-self: start; }
.no-js .pin { display: none; }

/* the rugged tablet with the Floor screen (dark, like the app) */
.tab-frame { position: absolute; inset: 0 19% 10% 0; padding: 14px; border-radius: 30px; background: linear-gradient(145deg, var(--frame-1), var(--frame-2));
  box-shadow: 0 0 0 1px var(--frame-line), inset 0 0 0 1px var(--w-a05), var(--shadow-dk); }
.tab-screen { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: var(--fl-bg); color: var(--fl-ink); font-size: 12.5px; line-height: 1.45; }
.fl-scene { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s var(--out), visibility 0s .45s; }
.fl-scene.on { opacity: 1; visibility: visible; transition: opacity .45s var(--out); }
.fl-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--fl-line); flex-wrap: wrap; }
.fl-top img { width: 20px; height: 20px; border-radius: 5px; }
.fl-top b { font-weight: 600; font-size: 13px; }
.fl-pill { height: 20px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.fl-pill.on { background: var(--fl-ok-a14); color: var(--fl-ok-ink); box-shadow: inset 0 0 0 1px var(--fl-ok-a28); }
.fl-pill.ghost { border: 1px solid var(--fl-line); color: var(--fl-muted); font-family: var(--mono); font-weight: 500; }
.fl-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--fl-line); font-size: 11px; color: var(--fl-muted); }
.fl-tabs span { padding: 6px 10px; border-bottom: 2px solid transparent; }
.fl-tabs span.on { color: var(--fl-ink); border-bottom-color: var(--fl-accent); font-weight: 600; }
.fl-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 12px; padding: 12px; }
.fl-voice { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; min-width: 0; }
.fl-who { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--fl-muted); }
.fl-who b { color: var(--fl-ink); font-weight: 600; padding: 3px 8px; border: 1px solid var(--fl-line); border-radius: 7px; background: var(--fl-panel); }
.fl-banner { width: 100%; border-radius: 9px; padding: 6px 10px; font-size: 11.5px; font-weight: 700; }
.fl-banner.req { background: var(--fl-stop-a14); color: var(--fl-stop-ink); border: 1px solid var(--fl-stop); }
.fl-banner.iso { background: var(--fl-ok-a14); color: var(--fl-ok-ink); border: 1px solid var(--fl-ok); }
.fl-banner.danger { background: var(--urgent); color: var(--white); animation: flash 1s 3; }
@keyframes flash { 50% { opacity: .5; } }
.fl-talk { position: relative; width: 82px; height: 82px; border-radius: 50%; background: var(--fl-ok); color: var(--fl-ok-on); display: grid; place-content: center; justify-items: center; gap: 2px;
  font-size: 10.5px; font-weight: 700; box-shadow: 0 10px 28px var(--fl-ok-a28); flex: none; }
.fl-talk svg { width: 26px; height: 26px; fill: currentColor; }
.fl-talk::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--fl-ok); animation: ring 1.6s infinite; }
.fl-talk.stop { background: var(--urgent); color: var(--white); box-shadow: 0 10px 28px var(--fl-stop-a35); }
.fl-talk.stop::after { border-color: var(--fl-stop); }
@keyframes ring { 0% { transform: scale(.92); opacity: .7; } 100% { transform: scale(1.2); opacity: 0; } }
.fl-cap { width: 100%; display: flex; flex-direction: column; gap: 5px; }
.fl-you { color: var(--fl-muted); font-size: 12px; }
.fl-ai { font-weight: 600; font-size: 13.5px; line-height: 1.4; color: var(--fl-ink); }
.fl-ai small, .fl-you small { display: block; margin-top: 2px; font-weight: 400; font-size: 10.5px; color: var(--fl-dim); }
.fl-cards { min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 9px; border-radius: 12px; background: var(--fl-panel); color: var(--fl-ink); border: 1px solid var(--fl-line); overflow: hidden; }
.fl-cards > h4 { font-size: 11.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 6px; }
.fl-cards > h4 span { font-weight: 400; color: var(--fl-dim); font-size: 10px; }
.fl-card { border: 1px solid var(--fl-line); border-left: 3px solid var(--fl-info); background: var(--fl-panel-2); color: var(--fl-ink); border-radius: 9px; padding: 6px 9px; }
.fl-scene.on .fl-card { animation: card-in .5s var(--out) both; animation-delay: calc(var(--k, 0) * .12s + .15s); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.fl-card .k { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 10.5px; color: var(--fl-muted); font-weight: 600; }
.fl-card p { margin-top: 2px; font-size: 11.5px; line-height: 1.4; }
.fl-card .q { font-style: italic; color: var(--fl-muted); }
.fl-card .t { display: inline-block; padding: 0 6px; border: 1px solid var(--fl-line); border-radius: 99px; font-size: 9px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.fl-card .t.lock { color: var(--fl-stop-ink); border-color: var(--fl-stop); } .fl-card .t.ok { color: var(--fl-ok-ink); border-color: var(--fl-ok); } .fl-card .t.wait { color: var(--fl-senior); border-color: var(--fl-senior); }
.fl-card.kh { border-left-color: var(--fl-senior); background: var(--fl-senior-a1); }
.fl-card.hist, .fl-card.spare { border-left-color: var(--fl-muted); }
.fl-card.req { border-left-color: var(--fl-stop); }
.fl-card.iso { border-left-color: var(--fl-ok); }
.fl-card.fwo { border-left-color: var(--fl-accent); }
.fl-card.fwo.wait { border-left-color: var(--fl-senior); }
.fl-card.learn { border-left-color: var(--fl-senior); border-style: dashed; border-left-style: solid; }
.fl-card.alert { border-left-color: var(--fl-stop); background: var(--fl-stop-a12); }
.fl-card .withheld { color: var(--fl-dim); font-style: italic; }
.fl-play { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; padding: 3px 9px 3px 5px; border-radius: 99px; background: var(--fl-senior); color: var(--fl-senior-on); font-size: 10.5px; font-weight: 600; }
.fl-play svg { width: 11px; height: 11px; fill: currentColor; }
.fl-play .wv { height: 12px; gap: 2px; margin: 0 0 0 2px; } .fl-play .wv i { width: 2px; background: var(--fl-senior-on); }

/* the phone: the Approvals screen (light, like the app in light mode) */
.ph-frame { position: absolute; right: 0; bottom: 0; width: 31%; min-width: 214px; aspect-ratio: 9 / 17.2; padding: 9px; border-radius: 34px; background: var(--ink);
  box-shadow: 0 0 0 1px var(--frame-line), var(--shadow-dk); transform: rotate(2.5deg); }
.ph-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: var(--ph-bg); color: var(--ph-ink); padding: 40px 10px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; line-height: 1.4; }
.ph-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 0 3px; }
.ph-head b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.ph-head small { color: var(--ph-muted); font-size: 10px; }
.ph-sub { padding: 0 3px; font-size: 11px; font-weight: 600; color: var(--ph-muted); }
.ph-empty { margin: 4px 3px; padding: 14px 12px; border-radius: 12px; border: 1px dashed var(--ph-line-2); color: var(--ph-muted); text-align: center; font-size: 11px; }
.ph-empty b { display: block; color: var(--ph-ink); font-size: 12px; margin-bottom: 2px; }
.pc { position: relative; background: var(--white); border: 1px solid var(--ph-line); border-left: 3px solid var(--ph-senior); border-radius: 10px; padding: 7px 9px; display: grid; gap: 3px; }
.pc .k { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 10.5px; font-weight: 600; color: var(--ph-muted); }
.pc p { font-size: 11px; line-height: 1.4; }
.pc .q { font-style: italic; color: var(--ph-muted); }
.pc .t { display: inline-block; padding: 0 6px; border-radius: 99px; border: 1px solid var(--ph-line); font-size: 9px; letter-spacing: 0; text-transform: none; }
.pc .t.wait { color: var(--ph-senior); border-color: var(--ph-senior-line); background: var(--ph-senior-soft); } .pc .t.ok { color: var(--ok-ink); border-color: var(--ph-ok-line); background: var(--ph-ok-soft); } .pc .t.stop { color: var(--urgent-ink); border-color: var(--ph-stop-line); background: var(--ph-stop-soft); }
.pc.alert { border-left-color: var(--ph-stop); background: var(--ph-alert-bg); }
.pc.ok { border-left-color: var(--ph-ok); }
.pc-act { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.pc-act span { padding: 3px 9px; border-radius: 6px; font-size: 10px; font-weight: 600; }
.pc-act .ap { background: var(--ph-ink); color: var(--white); }
.pc-act .rj { border: 1px solid var(--ph-line-2); color: var(--ph-ink); }
.pc-act .rec { border: 1px solid var(--ph-senior-line); color: var(--ph-senior); border-radius: 99px; }
.pc-act .ack { background: var(--ph-ink); color: var(--white); }
.pc.new { animation: slide .55s var(--spring) both; box-shadow: 0 10px 24px -10px var(--k-a35); }
.pc.old { opacity: .6; }
@keyframes slide { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ------------------------------------------------------------------ 02 one sentence, end to end (interactive pipeline) */
.flow { position: relative; display: grid; gap: 22px; }
.say-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.say-tabs button { display: grid; gap: 3px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--dk-line); background: var(--dk); color: var(--dk-ink); cursor: pointer; text-align: left;
  transition: border-color .3s, background .3s, transform .3s var(--out); }
.say-tabs button:hover { border-color: var(--dk-line-2); transform: translateY(-1px); }
.say-tabs button span { font-size: 14.5px; font-weight: 500; }
.say-tabs button small { color: var(--dk-muted); font-size: 12px; }
.say-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.say-tabs button[aria-selected="true"] small { color: var(--muted); }
.lane { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 40px 16px; }
.node { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--dk); border: 1px solid var(--dk-line);
  font-size: 13px; line-height: 1.45; color: var(--dk-body); transition: transform .4s var(--out), box-shadow .4s var(--out), border-color .4s, opacity .4s; }
.node b { font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.node .n-who { font: 400 11px/1.3 var(--mono); color: var(--dk-muted); }
.node .n-res { min-height: 1.4em; font: 500 11.5px/1.35 var(--mono); color: var(--dk-ink); }
.js .node .n-res { opacity: 0; transform: translateY(4px); transition: opacity .4s var(--out), transform .4s var(--out); }
.node.lit .n-res { opacity: 1; transform: none; }
.n-head { display: flex; align-items: center; justify-content: space-between; }
.n-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--dk-2); color: var(--white); }
.n-ic i[data-i] svg { width: 17px; height: 17px; }
.n-num { font: 500 12px/1 var(--mono); color: var(--dk-muted); }
.node.k-code .n-ic { background: var(--white); color: var(--ink); }
.node.k-model .n-ic { background: var(--model-d-a16); color: var(--model-d); }
.node.k-model { border-color: var(--model-d-a3); border-style: dashed; }
.node.k-alert .n-ic { background: var(--urgent-d-a16); color: var(--urgent-d); }
.node.k-person .n-ic { background: var(--ok-d-a14); color: var(--ok-d); }
.node.k-held .n-ic { background: var(--watch-d-a14); color: var(--watch-d); }
.node.main:not(:nth-child(5))::after { content: ""; position: absolute; top: 29px; left: 100%; width: 16px; height: 1px; background: var(--dk-line-2); }
.node.lit { transform: translateY(-4px); border-color: var(--white); box-shadow: 0 0 0 1px var(--white), 0 18px 40px -12px var(--w-a18); }
.node.k-model.lit { border-color: var(--model-d); box-shadow: 0 0 0 1px var(--model-d), 0 18px 40px -12px var(--model-d-a3); }
.node.main.lit::after { background: var(--white); }
.node.dim { opacity: .3; }
.node.side { grid-row: 2; }
.node.side::before { content: ""; position: absolute; left: 30px; bottom: 100%; width: 1px; height: 40px; background: var(--dk-line-2); }
.node[data-n="alert"] { grid-column: 2; }
.node[data-n="held"] { grid-column: 4; }
.node[data-n="person"] { grid-column: 5; }
.node.side.lit::before { background: var(--white); }
.node[data-n="alert"].lit { border-color: var(--urgent-d); box-shadow: 0 0 0 1px var(--urgent-d), 0 16px 32px -14px var(--b-a8); animation: buzz .45s ease-in-out 3; }
.node[data-n="alert"].lit::before { background: var(--urgent-d); }
.node[data-n="held"].lit { border-color: var(--watch-d); box-shadow: 0 0 0 1px var(--watch-d), 0 16px 32px -14px var(--b-a8); }
.node[data-n="held"].lit::before { background: var(--watch-d); }
.node[data-n="person"].lit { border-color: var(--ok-d); box-shadow: 0 0 0 1px var(--ok-d), 0 16px 32px -14px var(--b-a8); }
.node[data-n="person"].lit::before { background: var(--ok-d); }
@keyframes buzz { 25% { transform: translate(-3px, -4px) rotate(-1deg); } 75% { transform: translate(3px, -4px) rotate(1deg); } }
.flow-out { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--dk); border: 1px solid var(--dk-line); min-height: 96px; }
.fo-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--white); color: var(--ink); transition: background .3s, color .3s; }
.fo-ic i[data-i] svg { width: 22px; height: 22px; }
.fo-ic.urgent { background: var(--urgent); color: var(--white); } .fo-ic.watch { background: var(--watch-d); color: var(--ink); } .fo-ic.ok { background: var(--ok-d); color: var(--ink); }
.flow-out b { display: block; font-size: 16px; font-weight: 600; color: var(--white); }
.flow-out p { margin-top: 4px; color: var(--dk-body); font-size: 14.5px; line-height: 1.55; }
.flow-out .say { margin-top: 8px; display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: var(--dk-2); border: 1px solid var(--dk-line); color: var(--white); font-size: 13.5px; }
.flow-out .say small { color: var(--dk-muted); font: 500 11px/1 var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: var(--dk-muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.sw.code { background: var(--white); } .sw.model { background: transparent; border: 1.5px dashed var(--model-d); } .sw.alert { background: var(--urgent-d); } .sw.held { background: var(--watch-d); } .sw.person { background: var(--ok-d); }

/* ------------------------------------------------------------------ 03 the gates: the lock-out tester and the rules */
.tester { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.phrases { display: grid; gap: 8px; }
.phrase { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--dk-line);
  background: var(--dk-1); color: var(--dk-ink); text-align: left; cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--out); }
.phrase:hover { border-color: var(--dk-line-2); transform: translateX(3px); }
.phrase[aria-pressed="true"] { border-color: var(--white); background: var(--dk-2); }
.phrase .lg { font: 500 10.5px/1 var(--mono); color: var(--dk-muted); padding: 4px 6px; border-radius: 5px; border: 1px solid var(--dk-line); min-width: 30px; text-align: center; }
.phrase span:not(.lg) { font-size: 14.5px; line-height: 1.4; }
.phrase .res { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--dk-line-2); color: var(--dk-muted); }
.phrase .res i[data-i] svg { width: 12px; height: 12px; }
.phrase.tried.pass .res { background: var(--ok-d); border-color: var(--ok-d); color: var(--ink); }
.phrase.tried.held .res { background: var(--watch-d); border-color: var(--watch-d); color: var(--ink); }
.verdict { position: sticky; top: calc(var(--nav) + 24px); display: grid; gap: 18px; padding: 24px; border-radius: var(--r-3xl); background: var(--dk-1); border: 1px solid var(--dk-line); }
.v-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 500 12px/1 var(--mono); color: var(--dk-muted); }
.v-heard { min-height: 3.2em; font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; color: var(--white); }
.v-heard .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--white); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.v-wave { display: flex; align-items: center; justify-content: space-between; height: 28px; }
.v-wave i { width: 3px; flex: none; border-radius: 3px; background: var(--dk-line-2); height: 100%; transform: scaleY(.2); transition: transform .25s var(--out), background-color .25s; }
.v-wave.on i { background: var(--white); animation: wv 1s var(--out) infinite; }
.v-wave.on i:nth-child(3n) { animation-delay: .15s; } .v-wave.on i:nth-child(4n) { animation-delay: .3s; } .v-wave.on i:nth-child(5n) { animation-delay: .45s; }
.checks { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--dk-line);
  font-size: 14px; color: var(--dk-body); transition: border-color .35s, color .35s; }
.check .c-mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--dk-line-2); color: var(--dk-muted); transition: background .3s, border-color .3s, color .3s, transform .4s var(--spring); }
.check .c-mark i[data-i] svg { width: 13px; height: 13px; }
.check.yes { color: var(--dk-ink); } .check.yes .c-mark { background: var(--ok-d); border-color: var(--ok-d); color: var(--ink); transform: scale(1.06); }
.check.no { color: var(--dk-ink); border-color: var(--watch-d-a5); } .check.no .c-mark { background: var(--watch-d); border-color: var(--watch-d); color: var(--ink); transform: scale(1.06); }
.check small { display: block; margin-top: 2px; color: var(--dk-muted); font-size: 12px; }
.v-out { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--dk-line); }
.v-out.pass b i[data-i] { color: var(--ok-d); }
.v-out.held b i[data-i] { color: var(--watch-d); }
.v-out b { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--white); }
.v-out p { color: var(--dk-body); font-size: 14px; line-height: 1.55; }
.v-out code { color: var(--white); }
.v-why { font: 400 12px/1.5 var(--mono); color: var(--dk-muted); }
.gates-grid { margin-top: 72px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-2xl); background: var(--dk-1); color: var(--dk-ink); border: 1px solid var(--dk-line); transition: transform .4s var(--out), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--dk-line-2); }
.card p { color: var(--dk-body); font-size: 15px; line-height: 1.6; flex: 1; }
.card code { align-self: flex-start; padding: 4px 8px; border-radius: 6px; background: var(--dk-2); border: 1px solid var(--dk-line); color: var(--dk-ink); font-size: 12px; }
.c-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--white); color: var(--ink); }
.c-ic.urgent { background: var(--urgent); color: var(--white); }
.c-ic i[data-i] svg { width: 20px; height: 20px; }
.rules { margin-top: 28px; }
.rules summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; color: var(--white); padding: 10px 0; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary i[data-i] { transition: transform .3s var(--out); }
.rules[open] summary i[data-i] { transform: rotate(90deg); }
.rules-table { margin-top: 12px; border-radius: var(--r-2xl); border: 1px solid var(--dk-line); overflow: hidden; }
.rules-table > div { display: grid; grid-template-columns: 220px 240px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--dk-line); font-size: 14px; color: var(--dk-body); }
.rules-table > div:first-child { border-top: 0; background: var(--dk-2); font: 500 13px/1.3 var(--font); color: var(--dk-muted); }
.rules-table b { color: var(--white); font-weight: 500; }
.rules-table code { color: var(--dk-ink); font-size: 12px; }

/* ------------------------------------------------------------------ 04 know-how: dawn */
.dawn { overflow: clip; background: linear-gradient(180deg, var(--dk) 0%, var(--dawn-1) 14%, var(--dawn-2) 30%, var(--dawn-3) 46%, var(--dawn-4) 60%, var(--dawn-5) 74%, var(--white) 100%); color: var(--ink); padding-top: 168px; }
.dawn .sun { position: absolute; left: 50%; top: 38%; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--sun-core-a9), var(--sun-halo-a35) 40%, transparent 70%); transform: translate3d(0, 120px, 0); opacity: .8; will-change: transform; }
.dawn .sec-head { position: relative; }
.dawn h2 { color: var(--white); text-shadow: 0 2px 30px var(--b-a25); }
.dawn .sub { color: var(--dawn-sub); }
.loop { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 96px; }
.fstep { position: relative; padding: 28px 26px; border-radius: var(--r-2xl); border: 1px solid var(--hairline); background: var(--canvas); }
.fstep:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -17px; width: 18px; height: 1px; background: var(--line-strong); }
.f-n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font: 500 13px/1 var(--mono); margin-bottom: 18px; }
.fstep time { display: block; font: 600 11.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fstep p { margin-top: 10px; color: var(--body); font-size: 15.5px; line-height: 1.65; }
.approve-row { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.approve-mock { position: relative; padding: 24px; border-radius: var(--r-3xl); border: 1px solid var(--hairline); background: var(--white); transition: border-color .4s; }
.approve-mock.done { border-color: var(--ok-line); }
.am-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.am-head small { color: var(--muted); font-size: 13px; }
.am-text { display: block; margin-top: 14px; font-weight: 500; font-size: 18px; line-height: 1.5; outline: none; border-radius: 6px; transition: background .3s; }
.am-text[contenteditable="true"] { background: var(--page); box-shadow: 0 0 0 1px var(--hairline); padding: 4px 8px; margin-left: -8px; margin-right: -8px; }
.am-quote { margin-top: 8px; color: var(--muted); font-size: 15px; }
.am-clip { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--page); border: 1px solid var(--hairline); font-size: 13px; color: var(--body); }
.am-clip > i[data-i] { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); }
.am-clip > i[data-i] svg { width: 12px; height: 12px; }
.am-clip .wv { height: 16px; margin: 0; } .am-clip .wv i { width: 2px; }
.am-act { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.am-act .static { pointer-events: none; }
.am-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.am-show { padding: 0; border: 0; background: none; font: 500 12.5px/1.4 var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.am-act .btn.rec-on { background: var(--urgent); color: var(--white); border-color: var(--urgent); }
.am-done { margin-top: 16px; display: none; align-items: center; gap: 10px; color: var(--ok-ink); font-size: 14px; }
.approve-mock.done .am-done { display: flex; animation: card-in .5s var(--out); }
.approve-mock.done .am-act .approve { display: none; }
.next-shift { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-3xl); background: var(--ink); color: var(--white); box-shadow: var(--shadow-xl); }
.next-shift small { font: 500 11.5px/1 var(--font); color: var(--dk-muted); }
.next-shift .ns-q { font-size: 16px; font-weight: 500; line-height: 1.45; }
.next-shift .ns-q em, .next-shift .ns-a em { display: block; margin-top: 4px; font-style: normal; color: var(--dk-muted); font-size: 13px; font-weight: 400; }
.next-shift .ns-a { padding-top: 12px; border-top: 1px solid var(--dk-line); font-size: 14.5px; line-height: 1.5; }
.next-shift .ns-src { display: flex; flex-wrap: wrap; gap: 6px; }
.next-shift .ns-src span { height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--dk-line-2); font: 500 11.5px/1 var(--mono); color: var(--dk-ink); }
.next-shift .ns-src span.new { border-color: var(--ok-d); color: var(--ok-d); }

/* ------------------------------------------------------------------ 05 roles */
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.role-tabs button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 6px; border-radius: 99px; border: 1px solid var(--hairline); background: var(--white); cursor: pointer;
  font-size: 14px; color: var(--body); transition: border-color .3s, background .3s, color .3s; }
.role-tabs button .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); font-weight: 600; color: var(--ink); transition: background .3s, color .3s; }
.role-tabs button small { color: var(--muted); font-size: 12px; }
.role-tabs button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); background: var(--page); }
.role-tabs button[aria-selected="true"] .av { background: var(--ink); color: var(--white); }
.role-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; }
.rp-col { padding: 22px 24px; border-radius: var(--r-2xl); border: 1px solid var(--hairline); background: var(--white); }
.rp-col h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.rp-col h3 i[data-i] { width: 26px; height: 26px; border-radius: 8px; background: var(--ok-soft); color: var(--ok-ink); }
.rp-col.stop h3 i[data-i] { background: var(--urgent-soft); color: var(--urgent-ink); }
.rp-col h3 i[data-i] svg { width: 14px; height: 14px; }
.rp-col ul { margin-top: 14px; display: grid; gap: 10px; }
.rp-col li { position: relative; padding-left: 16px; color: var(--body); font-size: 14.5px; line-height: 1.5; }
.rp-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.rp-col.stop li::before { background: var(--urgent); }
.rp-col.term { background: var(--ink); color: var(--dk-ink); border-color: var(--ink); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.rp-col.term h3 { font-family: var(--font); color: var(--white); }
.rp-col.term h3 i[data-i] { background: var(--dk-2); color: var(--white); }
.rp-col.term .tl { margin-top: 14px; display: grid; gap: 8px; }
.rp-col.term .tl p { color: var(--dk-body); }
.rp-col.term .tl p b { color: var(--white); font-weight: 500; }
.rp-col.term .tl p.r { color: var(--watch-d); }
.rp-col.term .tl p.g { color: var(--ok-d); }
.role-panel.swap .rp-col { animation: card-in .45s var(--out) both; }
.role-panel.swap .rp-col:nth-child(2) { animation-delay: .06s; } .role-panel.swap .rp-col:nth-child(3) { animation-delay: .12s; }

/* ------------------------------------------------------------------ 06 compare */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-3xl); border: 1px solid var(--hairline); background: var(--white); }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 16px 14px; border-bottom: 1px solid var(--hairline-soft); text-align: center; vertical-align: middle; }
.cmp thead th { font-size: 13px; font-weight: 500; color: var(--body); background: var(--page); border-bottom: 1px solid var(--hairline); line-height: 1.3; }
.cmp thead th small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--ink); width: 30%; line-height: 1.4; }
.cmp tbody th small { display: block; margin-top: 3px; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .us { background: var(--page); position: relative; }
.cmp thead .us { background: var(--ink); color: var(--white); }
.cmp thead .us .logo { justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; }
.cmp thead .us-note { color: var(--muted-soft); }
.cmp thead .us .mark { width: 22px; height: 22px; box-shadow: 0 0 0 1px var(--w-a2); }
.cmp td small { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.mk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.mk i[data-i] svg { width: 13px; height: 13px; }
.mk.y { background: var(--ink); color: var(--white); }
.us .mk.y { background: var(--ok); }
.mk.p { background: linear-gradient(90deg, var(--muted-soft) 50%, var(--surface-card) 50%); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mk.n { background: var(--canvas); color: var(--muted); box-shadow: inset 0 0 0 1px var(--hairline); }
.js .cmp tbody tr { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--out), transform .7s var(--out); transition-delay: calc(var(--r, 0) * .06s); }
.js .cmp-wrap.in tbody tr { opacity: 1; transform: none; }
.cmp-swipe { display: none; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.cmp-key { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.cmp-key span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-key .mk { width: 18px; height: 18px; }
.cmp-key .mk i[data-i] svg { width: 10px; height: 10px; }
.cmp-honest { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-honest > div { padding-top: 16px; border-top: 1px solid var(--hairline); }
.cmp-honest h3 { font-size: 16px; }
.cmp-honest p { margin-top: 10px; color: var(--body); font-size: 14.5px; line-height: 1.55; }

/* ------------------------------------------------------------------ 07 architecture: what each part sees */
.map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.map-col { display: grid; gap: 10px; }
.map-col h3 { font: 500 14px/1.3 var(--font); color: var(--muted); margin-bottom: 4px; }
.m-card { position: relative; display: grid; gap: 3px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--white); font-size: 13px; color: var(--body); line-height: 1.45; transition: transform .4s var(--out), box-shadow .4s; }
.m-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.m-card b { font-size: 14.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.m-card b i[data-i] svg { width: 15px; height: 15px; }
.m-card small { font: 400 11.5px/1.35 var(--font); color: var(--muted); }
.m-card.model { border-style: dashed; border-color: var(--model); background: var(--model-soft); }
.m-card.model b i[data-i] { color: var(--model); }
.m-card.next { border-style: dashed; opacity: .75; }
.m-card.next::after { content: "Next"; position: absolute; right: 12px; top: 12px; font: 500 10.5px/1 var(--mono); color: var(--muted); padding: 3px 6px; border-radius: 4px; border: 1px solid var(--hairline); }
.m-card.person { border-color: var(--ok-line); background: var(--ok-soft); }
.m-card.person b i[data-i] { color: var(--ok-ink); }
.core { position: relative; padding: 24px; border-radius: var(--r-3xl); background: var(--ink); color: var(--white); box-shadow: var(--shadow-xl); }
.core-h { display: flex; align-items: center; gap: 12px; }
.core-h .mark { width: 34px; height: 34px; box-shadow: 0 0 0 1px var(--w-a2); }
.core-h b { font-size: 17px; font-weight: 600; display: block; }
.core-h small { color: var(--dk-muted); font-size: 12.5px; }
.core-parts { margin-top: 18px; display: grid; gap: 8px; }
.core-parts > div { padding: 10px 0; border-top: 1px solid var(--dk-line); font-size: 12.5px; color: var(--dk-body); line-height: 1.45; }
.core-parts b { display: block; color: var(--white); font-weight: 500; font-size: 13.5px; font-family: var(--mono); }
.core-gates { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.core-gates span { height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; border: 1px solid var(--dk-line-2); font: 400 11px/1 var(--mono); color: var(--dk-ink); }
.wire { position: absolute; top: 50%; height: 1px; width: 56px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px); }
.wire.l { right: 100%; } .wire.r { left: 100%; }
.wire::after { content: ""; position: absolute; top: -3px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: packet 2.4s linear infinite; }
.wire.r::after { animation-direction: reverse; animation-delay: -1.2s; }
.wire.l2, .wire.r2 { top: calc(50% + 18px); }
.wire.l2::after { animation-direction: reverse; animation-delay: -.6s; background: var(--model); }
.wire.r2::after { animation-direction: normal; animation-delay: -1.8s; background: var(--model); }
@keyframes packet { from { transform: translateX(0); } to { transform: translateX(57px); } }
.wire-lbl { position: absolute; top: calc(50% - 30px); font: 500 10.5px/1.2 var(--mono); color: var(--muted); white-space: nowrap; }
.wire-lbl.l { right: calc(100% + 4px); transform: translateX(0); } .wire-lbl.r { left: calc(100% + 4px); }
.map-foot { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.map-foot > div { padding-top: 16px; border-top: 1px solid var(--hairline); }
.map-foot h3 { font-size: 16px; }
.map-foot p { margin-top: 8px; color: var(--body); font-size: 14.5px; line-height: 1.55; }
.arch-more { margin-top: 32px; }
.arch-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.arch-more summary::-webkit-details-marker { display: none; }
.arch-more summary i[data-i] { transition: transform .3s var(--out); }
.arch-more[open] summary i[data-i] { transform: rotate(90deg); }
.arch { margin-top: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--hairline); background: var(--white); overflow-x: auto; }
.arch img { width: 100%; height: auto; min-width: 720px; }

/* ------------------------------------------------------------------ 08 measured */
.runs { border-radius: var(--r-3xl); border: 1px solid var(--hairline); overflow: hidden; background: var(--white); }
.run { display: grid; grid-template-columns: 26px minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--hairline-soft); }
.run:first-child { border-top: 0; }
.run-h { background: var(--page); font: 500 13px/1.3 var(--font); color: var(--muted); padding-block: 14px; }
.run code { font-size: 12.5px; color: var(--ink); }
.run p { color: var(--body); font-size: 14px; line-height: 1.5; }
.run .res { display: grid; gap: 4px; justify-items: start; font-size: 13px; color: var(--body); }
.run .res small { color: var(--muted); font-size: 12px; }
.run .ok-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok-ink); }
.run .ok-dot i[data-i] svg { width: 14px; height: 14px; }
.limits { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.limits > div { padding: 20px 22px; border-radius: var(--r-2xl); border: 1px dashed var(--line-strong); }
.limits h3 { font-size: 16px; color: var(--watch-ink); }
.limits p { margin-top: 8px; color: var(--body); font-size: 14.5px; line-height: 1.55; }
.goals-head { margin-top: 64px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.goals-head p { color: var(--muted); font-size: 15px; }
.goals { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.goal { padding: 24px; border-radius: var(--r-2xl); border: 1px dashed var(--line-strong); background: var(--canvas); color: var(--ink); }
.goal b { display: block; font: 600 40px/1 var(--font); letter-spacing: -.03em; }
.goal span { display: block; margin-top: 10px; font-weight: 500; }
.goal small { display: block; margin-top: 6px; color: var(--body); font-size: 13.5px; line-height: 1.5; }

/* ------------------------------------------------------------------ 09 roadmap */
.road { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.road-line { position: absolute; left: 24px; right: 24px; top: 31px; height: 1px; background: var(--hairline); }
.road-line b { display: block; height: 100%; width: 33%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--out) .3s; }
.road.in .road-line b, .no-anim .road-line b { transform: none; }
.phase { position: relative; padding: 22px 24px 26px; border-radius: var(--r-2xl); border: 1px solid var(--hairline); background: var(--white); }
.phase.now { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.ph-h { display: flex; align-items: center; gap: 10px; }
.ph-h b { font-size: 16px; font-weight: 600; }
.ph-h small { color: var(--muted); font-size: 13px; }
.phase ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.phase li { position: relative; padding-left: 18px; color: var(--body); font-size: 15px; line-height: 1.5; }
.phase li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--muted-soft); }
.phase.now li::before { width: 6px; height: 6px; top: .55em; border-radius: 50%; background: var(--ok); }

/* ------------------------------------------------------------------ cta and footer */
.cta { padding: 150px 0; isolation: isolate; }
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.cta h2 { font-size: clamp(40px, 6vw, 72px); }
.cta .sub { max-width: 600px; margin-inline: auto; }
.cta-time { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font: 500 13px/1 var(--mono); color: var(--dk-muted); }
.cta-time i[data-i] svg { width: 14px; height: 14px; }
.foot { padding: 64px 0 36px; background: var(--dk); color: var(--dk-ink); border-top: 1px solid var(--dk-line); }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-cols b { color: var(--white); font-weight: 500; margin-bottom: 4px; }
.foot-cols a, .foot-cols span { color: var(--dk-body); transition: color .25s; }
.foot-cols a:hover { color: var(--white); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dk-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dk-muted); font-size: 13px; }

/* ------------------------------------------------------------------ in one minute: the explainer and its motion avatar */
.explain { padding: 112px 0 96px; background: radial-gradient(900px 500px at 25% 30%, var(--page), transparent 70%), var(--canvas); }
.ex-head { text-align: center; margin-inline: auto; }
.ex-head .sub { margin-inline: auto; }
.tint-strip { background: var(--page); border-top: 1px solid var(--hairline-soft); }
.tint-strip .marquee { background: var(--canvas); }
.tint-strip .gap-card { background: var(--canvas); }
.ex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ex-left { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.ex-state { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--hairline); background: var(--white);
  font: 500 12.5px/1 var(--mono); color: var(--body); transition: border-color .4s; }
.ex-state .dot { transition: background .4s; }
.ex-cap { max-width: 440px; min-height: 5.6em; font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.ex-who { display: block; margin-bottom: 6px; font: 500 13px/1.3 var(--font); color: var(--muted); }
.ex-cap .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--ink); animation: caret 1s steps(1) infinite; }

/* the orb: Hunar's mark at the core; rings listen, an arc searches, a ring of bars speaks */
.orb { --oc: var(--ink); --og: var(--k-a14); --R: 98px; position: relative; width: 300px; height: 300px; flex: none; }
.orb-glow { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, var(--og), transparent 64%); filter: blur(14px); transition: background .7s; animation: breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
.orb-ring { position: absolute; border-radius: 50%; border: 1px solid var(--hairline); transition: border-color .6s; }
.orb-ring.r1 { inset: 0; } .orb-ring.r2 { inset: 8%; } .orb-ring.r3 { inset: 16%; border-color: var(--line-strong); }
.orb[data-state="listen"] .orb-ring { animation: o-pulse 2.6s var(--out) infinite; }
.orb[data-state="listen"] .orb-ring.r2 { animation-delay: .35s; } .orb[data-state="listen"] .orb-ring.r1 { animation-delay: .7s; }
@keyframes o-pulse { 0% { transform: scale(.94); border-color: var(--oc); opacity: .9; } 70%, 100% { transform: scale(1.06); opacity: .25; } }
.orb-arc { position: absolute; inset: 4%; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--oc); border-right-color: color-mix(in oklab, var(--oc) 40%, transparent); opacity: 0; transition: opacity .4s; }
.orb[data-state="think"] .orb-arc, .orb[data-state="check"] .orb-arc { opacity: 1; animation: spin 1.1s linear infinite; }
.orb[data-state="check"] .orb-arc { animation-duration: 1.8s; }
.orb-bars { position: absolute; inset: 0; color: var(--oc); transition: color .6s; }
.orb-bars span { position: absolute; left: 50%; top: 50%; width: 3px; height: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--R))); }
.orb-bars i { position: absolute; left: -1.5px; bottom: 0; width: 3px; height: 30px; border-radius: 3px; background: currentColor; opacity: .85; transform-origin: 50% 100%; transform: scaleY(.18); transition: transform .5s var(--out); }
.orb[data-state="speak"] .orb-bars i { animation: eq .8s ease-in-out infinite alternate; animation-delay: var(--dl); }
.orb[data-state="person"] .orb-bars i { transform: scaleY(.32); }
.orb[data-state="check"] .orb-bars i { transform: scaleY(.24); }
@keyframes eq { 0% { transform: scaleY(.15); } 100% { transform: scaleY(var(--h, .9)); } }
.orb-core { position: absolute; inset: 31%; border-radius: 50%; background: var(--ink); display: grid; place-items: center;
  box-shadow: 0 24px 48px -14px var(--k-a45), inset 0 0 0 1px var(--w-a1); transition: transform .6s var(--spring); }
.orb-core img { width: 46%; height: auto; border-radius: 22%; }
.orb[data-state="speak"] .orb-core { animation: core-talk .5s ease-in-out infinite alternate; }
@keyframes core-talk { to { transform: scale(1.035); } }
.orb-badge { position: absolute; right: 16%; bottom: 16%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--oc);
  border: 1px solid var(--hairline); transition: color .5s, transform .5s var(--spring); }
.orb-badge i[data-i] svg { width: 20px; height: 20px; }
.orb-badge.pop { animation: badge-pop .5s var(--spring); }
@keyframes badge-pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
.orb[data-state="think"] { --oc: var(--model); --og: var(--model-a22); }
.orb[data-state="check"] { --oc: var(--watch); --og: var(--watch-a2); }
.orb[data-state="ok"], .orb[data-state="person"] { --oc: var(--ok); --og: var(--ok-a2); }
.orb[data-state="alert"] { --oc: var(--urgent); --og: var(--urgent-a22); }

/* the step panels */
.ex-panels { position: relative; display: grid; gap: 16px; }
.js .ex-panels { min-height: 420px; }
.exp { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-3xl); border: 1px solid var(--hairline); background: var(--canvas);
}
.js .exp { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.99); transition: opacity .5s var(--out), transform .6s var(--out), visibility 0s .5s; }
.js .exp.on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--out), transform .6s var(--out); }
.exp-tag { font: 600 17px/1.3 var(--font); letter-spacing: -.01em; color: var(--ink); }
.js .exp .s1, .js .exp .s2, .js .exp .s3, .js .exp .s4 { opacity: 0; transform: translateY(10px); }
.js .exp.on .s1, .js .exp.on .s2, .js .exp.on .s3, .js .exp.on .s4 { animation: s-in .6s var(--out) forwards; }
.js .exp.on .s1 { animation-delay: .15s; } .js .exp.on .s2 { animation-delay: .9s; } .js .exp.on .s3 { animation-delay: 1.9s; } .js .exp.on .s4 { animation-delay: 3s; }
@keyframes s-in { to { opacity: 1; transform: none; } }
.exp-row { display: flex; align-items: flex-start; gap: 12px; }
.exp-row small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.exp-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); font-weight: 600; border: 1px solid var(--hairline); }
.exp-av.sm { width: 26px; height: 26px; font-size: 12px; }
.exp-bub { padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: var(--page); border: 1px solid var(--hairline); }
.exp-bub b { display: block; font-weight: 500; font-size: 16px; line-height: 1.45; }
.exp-bub em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
.exp-wv { margin-top: 30px; }
.exp-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-langs span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 99px; border: 1px solid var(--hairline); font-size: 13.5px; color: var(--body); }
.exp.on .exp-langs span { animation: lang-hi 5s var(--out) infinite; }
.exp.on .exp-langs span:nth-child(2) { animation-delay: 1s; } .exp.on .exp-langs span:nth-child(3) { animation-delay: 2s; } .exp.on .exp-langs span:nth-child(4) { animation-delay: 3s; } .exp.on .exp-langs span:nth-child(5) { animation-delay: 4s; }
@keyframes lang-hi { 0%, 18% { background: var(--ink); color: var(--white); border-color: var(--ink); } 22%, 100% { background: transparent; color: var(--body); border-color: var(--hairline); } }
.exp-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: 13.5px; color: var(--body); }
.exp-facts span { display: inline-flex; align-items: center; gap: 7px; }
.exp-facts i[data-i] { color: var(--muted); }
.exp-src { display: grid; gap: 10px; }
.exp-src > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hairline); }
.exp-src > div:first-child { border-top: 0; }
.exp-src > div > i[data-i] { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-card); }
.exp-src > div > i[data-i] svg { width: 17px; height: 17px; }
.exp-src b { display: block; font-size: 14.5px; font-weight: 600; }
.exp-src small { font-size: 12.5px; color: var(--muted); }
.exp-src .dark-src > i[data-i] { background: var(--ink); color: var(--white); }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-ink); color: var(--white); }
.tick i[data-i] svg { width: 12px; height: 12px; }
.exp-ans { display: flex; align-items: flex-start; gap: 12px; margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); border: 1px solid var(--ok-line); }
.exp-ans img { border-radius: 7px; }
.exp-ans b { display: block; font-weight: 600; font-size: 16px; }
.exp-ans small { display: block; margin-top: 2px; font-size: 13px; color: var(--ok-ink); }
.exp-lock { display: grid; gap: 10px; }
.exp-lock-h { display: flex; align-items: center; gap: 12px; }
.exp-lock-h b { display: block; font-size: 15.5px; font-weight: 600; }
.exp-lock-h small { font-size: 13px; color: var(--muted); }
.lk { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--watch-soft); color: var(--watch-ink); border: 1px solid var(--watch-line); transition: background .4s, color .4s; }
.exp.on .lk { animation: lk-open .01s linear 2.6s forwards; }
@keyframes lk-open { to { background: var(--ok-soft); color: var(--ok-ink); border-color: var(--ok-line); } }
.exp-steps { display: grid; gap: 6px; }
.exp-steps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 14px; overflow: hidden; }
.exp-steps li span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--surface-card); font: 500 11.5px/1 var(--mono); }
.exp-steps li em { font-style: italic; color: var(--muted); background: repeating-linear-gradient(135deg, var(--page) 0 8px, var(--surface-card) 8px 16px); position: absolute; inset: 0 0 0 44px; display: flex; align-items: center; padding-left: 0; }
.exp-steps li b { font-weight: 500; opacity: 0; }
.exp.on .exp-steps li em { animation: unveil .5s var(--out) forwards; animation-delay: 2.7s; }
.exp.on .exp-steps li b { animation: s-in .5s var(--out) forwards; animation-delay: 2.8s; }
.exp.on .exp-steps li:nth-child(2) em, .exp.on .exp-steps li:nth-child(2) b { animation-delay: 2.9s; }
.exp.on .exp-steps li:nth-child(3) em, .exp.on .exp-steps li:nth-child(3) b { animation-delay: 3.1s; }
@keyframes unveil { to { transform: translateX(100%); opacity: 0; } }
.exp-say { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--page); border: 1px solid var(--hairline); font-size: 15px; font-weight: 500; }
.exp-danger { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--urgent-soft); border: 1px solid var(--urgent-line); color: var(--urgent-ink); font-size: 14px; line-height: 1.5; }
.exp-danger i[data-i] { margin-top: 2px; }
.exp-wo { padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-strong); background: var(--page); }
.exp-wo small { font: 500 12px/1 var(--font); color: var(--muted); }
.exp-wo b { display: block; margin-top: 8px; font-weight: 500; font-size: 16px; line-height: 1.5; }
.exp-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; font-size: 14px; }
.exp-status span { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--hairline); }
.exp-status .st-a { color: var(--muted); text-decoration: line-through; }
.exp-status .st-b { background: var(--watch-soft); border-color: var(--watch-line); color: var(--watch-ink); font-weight: 500; }
.exp-status i[data-i] { color: var(--muted); }
.exp-learn { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.exp-learn > div { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.exp-learn > div.ok b { color: var(--ok-ink); }
.exp-learn small { font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.exp-learn b { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.exp-learn span { font-size: 13px; color: var(--body); line-height: 1.45; }
.exp-arrow { align-self: center; color: var(--muted); }
.exp-play { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font: 500 12px/1 var(--mono); color: var(--ok-ink); }
.exp-play > i[data-i] { width: 24px; height: 24px; border-radius: 50%; background: var(--ok-ink); color: var(--white); }
.exp-play > i[data-i] svg { width: 11px; height: 11px; }
.exp-play .wv i { background: var(--ok-ink); }
.exp-note { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--page); border: 1px solid var(--hairline); font-size: 14px; color: var(--body); }
.ex-ctrl { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ex-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, transform .3s var(--out); }
.ex-btn:hover { border-color: var(--muted-soft); transform: translateY(-1px); }
.ex-btn i[data-i] svg { width: 16px; height: 16px; }
.ex-play { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ex-steps { display: flex; gap: 6px; padding: 5px; border-radius: 99px; border: 1px solid var(--hairline); background: var(--white); }
.ex-steps button { position: relative; overflow: hidden; height: 32px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: background .3s, color .3s; }
.ex-steps button span { position: relative; z-index: 1; }
.ex-steps button i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--surface-card); transform-origin: 0 50%; transform: scaleX(0); }
.ex-steps button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.ex-steps button[aria-selected="true"] i { animation: fill var(--ex-ms, 7500ms) linear forwards; }
.ex-steps.paused button i { animation-play-state: paused; }
.ex-steps.stopped button[aria-selected="true"] i { animation: none; transform: scaleX(1); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 8px; font-size: 13.5px; }
  .ck-label { display: none; }
  /* the story: each chapter carries its own screens */
  .story { grid-template-columns: minmax(0, 1fr); }
  .pin { display: none; }
  .ch { min-height: 0; opacity: 1; padding: 36px 0 36px 22px; border-left-color: var(--dk-line-2); }
  .ch:first-child { min-height: 0; }
  .ch-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 12px; align-items: start; margin-top: 8px; }
  .ch-visual .tab-screen { position: relative; height: 380px; border-radius: 18px; border: 6px solid var(--frame-edge); box-shadow: var(--shadow-dk); }
  .ch-visual .fl-scene { opacity: 1; visibility: visible; }
  .ch-visual .ph-mini { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--ph-bg); color: var(--ph-ink); font-size: 11px; line-height: 1.4; }
}
@media (max-width: 1100px) {
  .float { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .win-main { min-height: 760px; }
  .map { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .wire, .wire-lbl { display: none; }
  .role-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-col.term { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  /* the story: each chapter carries its own screens */
  .story { grid-template-columns: minmax(0, 1fr); }
  .pin { display: none; }
  .ch { min-height: 0; opacity: 1; padding: 36px 0 36px 22px; border-left-color: var(--dk-line-2); }
  .ch:first-child { min-height: 0; }
  .ch-visual { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 8px; }
  .ch-visual .tab-screen { position: relative; height: 380px; border-radius: 18px; border: 6px solid var(--frame-edge); box-shadow: var(--shadow-dk); }
  .ch-visual .fl-scene { opacity: 1; visibility: visible; }
  .ch-visual .ph-mini { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--ph-bg); color: var(--ph-ink); font-size: 11px; line-height: 1.4; max-width: 420px; }
  .tester { grid-template-columns: minmax(0, 1fr); }
  .say-tabs { display: flex; flex-wrap: wrap; }
  .verdict { position: relative; top: 0; order: -1; }
  .lane { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; }
  .node.side { grid-row: auto; grid-column: auto !important; }
  .node::after, .node::before { display: none; }
  .why-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ex { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .orb { width: 240px; height: 240px; --R: 78px; }
  .orb-bars i { height: 24px; }
  .ex-cap { min-height: 0; }
}
@media (max-width: 960px) {
  .grid3, .road, .loop, .why-gap, .cmp-honest, .map-foot, .limits { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .fact:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--hairline); }
  .fact { padding-right: 24px; }
  .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road-line, .fstep::after { display: none; }
  .approve-row { grid-template-columns: minmax(0, 1fr); }
  .rules-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rules-table > div:first-child { display: none; }
  .run { grid-template-columns: 26px minmax(0, 1fr); }
  .run p, .run .res { grid-column: 2; }
  .run-h { display: none; }
  .loop { margin-top: 100px; }
}
@media (max-width: 640px) {
  .hero .pill { white-space: nowrap; font-size: 12px; gap: 8px; padding: 0 12px 0 10px; }
  .hero .pill-sep, .hero .pill-b { display: none; }
  .wrap { padding: 0 16px; }
  .sec { padding: 88px 0; }
  .hero { padding: 112px 0 84px; }
  .lead { font-size: 16.5px; }
  .goals, .facts, .role-panel, .lane { grid-template-columns: minmax(0, 1fr); }
  .fact:nth-child(2n) { padding-left: 0; border-left: 0; }
  .win-top .chip:not(.on), .win-url { display: none; }
  .win-main { padding: 18px 16px 20px; min-height: 900px; }
  .hscene { inset: 18px 16px 20px; }
  .bubble .wv { display: none; }
  .nav-cta { display: none; }
  .clock { height: 30px; }
  .btn.lg { width: 100%; }
  .cta-row { width: 100%; }
  .ch-visual .tab-screen { height: 440px; }
  .fl-body { grid-template-columns: minmax(0, 1fr); }
  .fl-voice { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: flex-start; }
  .fl-talk { width: 56px; height: 56px; } .fl-talk span { display: none; }
  .fl-cap { flex: 1; min-width: 60%; }
  .dawn { padding-top: 120px; }
    .orb { width: 210px; height: 210px; --R: 68px; }
  .orb-bars i { height: 20px; }
  .orb-badge { width: 36px; height: 36px; }
  .exp { padding: 18px; }
  .exp-learn { grid-template-columns: minmax(0, 1fr); }
  .exp-arrow { transform: rotate(90deg); justify-self: center; }
  .exp-wv { display: none; }
  .ex-steps { overflow-x: auto; max-width: 100%; }
  .ex-steps button { padding: 0 10px; }
  .ex-cap { font-size: 17px; }
  .cmp-swipe { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hscene [data-step], .js [data-split] .w, .js .cmp tbody tr, .js .exp .s1, .js .exp .s2, .js .exp .s3, .js .exp .s4 { opacity: 1; transform: none; filter: none; }
  .exp-steps li em { display: none; } .exp-steps li b { opacity: 1; }
  .fact .bar i, .road-line b { transform: none; }
}


/* ---------------------------------------------------------------- 2026-12-01: the shorter page */
/* Safety: six short rules under the lock-out tester */
.rules-lite { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--dk-line); border: 1px solid var(--dk-line); border-radius: var(--r-2xl); overflow: hidden; }
.rules-lite li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 26px 26px 28px; background: var(--dk-1); }
.rules-lite i[data-i] { grid-row: span 2; color: var(--dk-body); margin-top: 3px; }
.rules-lite i[data-i] svg { width: 18px; height: 18px; }
.rules-lite b { font: 600 16px/1.35 var(--display); color: var(--white); }
.rules-lite span { color: var(--dk-body); font-size: 15px; line-height: 1.6; }
.rules-lite li:nth-child(3) i[data-i] { color: var(--urgent-d); }

/* Architecture: the diagram with the services' own icons */
.archd { margin: 0; }
.archd-scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-3xl); background: var(--page); padding: clamp(16px, 2.4vw, 32px); }
.archd-svg { display: block; width: 100%; min-width: 880px; height: auto; font-family: var(--font); }
.ad-cloud { fill: var(--canvas); stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 6 6; }
.ad-cap { font: 600 12.5px var(--font); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.ad-node rect { fill: var(--canvas); stroke: var(--hairline); stroke-width: 1.2; }
.ad-node.ad-hub > rect { stroke: var(--ink); stroke-width: 1.4; }
.ad-t { font: 600 17px var(--display); fill: var(--ink); letter-spacing: -.005em; }
.ad-s { font: 400 14px var(--font); fill: var(--muted); }
.ad-small { font-size: 12.5px; }
.ad-glyph { fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-glyph.ad-blue { stroke: #4285f4; stroke-width: 2; }
.ad-chips rect { fill: var(--surface-card); stroke: none; }
.ad-chips text { font: 500 12.5px var(--font); fill: var(--ink-soft); text-anchor: middle; }
.ad-line { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.ad-dash { stroke-dasharray: 5 5; }
.ad-head { fill: var(--muted); }
.ad-num circle { fill: var(--ink); }
.ad-num text { font: 700 13px var(--font); fill: var(--white); text-anchor: middle; }
.ad-legend { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px 28px; }
.ad-legend li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--body); font-size: 15.5px; line-height: 1.6; }
.ad-legend b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 13px/1 var(--font); }
.ad-swipe { display: none; margin: 10px 0 0; color: var(--muted); font-size: 13.5px; text-align: right; }
@media (max-width: 960px) { .ad-swipe { display: block; } }
.ad-note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.ad-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Results: four numbers */
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rcard { padding: 32px 28px; border: 1px solid var(--hairline); border-radius: var(--r-2xl); background: var(--canvas); display: flex; flex-direction: column; gap: 6px; }
.rcard b { font: 600 clamp(40px, 4.2vw, 56px)/1.05 var(--display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rcard b small { font-size: .5em; font-weight: 500; color: var(--muted); }
.rcard > span { margin-top: 8px; font-weight: 600; color: var(--ink); }
.rcard > small { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.res-note { margin-top: 32px; max-width: 72ch; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

@media (max-width: 900px) {
  .rules-lite { grid-template-columns: minmax(0, 1fr); }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .results { grid-template-columns: minmax(0, 1fr); }
  .archd-scroll { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
}


/* ---------------------------------------------------------------- 2026-12-01: smooth on a fast scroll */
/* Nothing animates where nobody can see it: the hero scenes and Floor scenes that are not showing drop their
   animations (fewer layers to composite on every scroll frame), and a section off screen pauses its own (home.js
   marks it .idle). */
.hscene:not(.on) *, .tab-screen#tab-screen .fl-scene:not(.on) *, .tab-screen#tab-screen .fl-scene:not(.on) *::after { animation: none !important; }
.idle *, .idle *::before, .idle *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- 2026-12-01: the live pieces, easy to find */
.nav-proof { display: inline-flex; align-items: center; gap: 7px; }
.nav-proof .dot { width: 6px; height: 6px; }
.proof-strip { margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 0; padding: 7px 8px 7px 8px;
  border-radius: var(--r-pill); border: 1px solid var(--dk-line); background: var(--dk-1); color: var(--dk-body); font-size: 13.5px;
  transition: border-color .25s, background-color .25s; }
.proof-strip:hover { border-color: var(--dk-line-2); background: var(--dk-2); }
.ps-live { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px; border-radius: var(--r-pill); background: var(--ok-d-a14); color: var(--ok-d); font-weight: 600; font-size: 12.5px; }
.ps-item { padding: 0 14px; border-left: 1px solid var(--dk-line-2); white-space: nowrap; }
.ps-live + .ps-item { border-left: 0; }
.ps-go { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-weight: 500; font-size: 13px; }
.ps-go i[data-i] svg { width: 14px; height: 14px; }

.live-sec { background: var(--canvas); }
.live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.live-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 24px; border-radius: var(--r-3xl); border: 1px solid var(--hairline); background: var(--canvas);
  transition: border-color .3s, box-shadow .3s var(--out), transform .4s var(--out); }
.live-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.lc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.lc-glyph { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--white); }
.lc-glyph i[data-i] svg { width: 22px; height: 22px; }
.live-card h3 { font-size: 20px; }
.live-card > p { color: var(--body); font-size: 15.5px; line-height: 1.65; }
.live-card > p.lc-stat { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 14px; line-height: 1.5; }
.lc-stat b { color: var(--ink); font-weight: 600; }
.lc-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.lc-go i[data-i] svg { width: 16px; height: 16px; transition: transform .3s var(--out); }
.live-card:hover .lc-go i[data-i] svg { transform: translateX(3px); }
@media (max-width: 960px) { .live-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .proof-strip { border-radius: var(--r-2xl); padding: 10px; gap: 8px; }
  .ps-item { display: none; }
  .ps-live::after { content: "Agent Search, Gemini Enterprise, Jira"; color: var(--dk-body); font-weight: 400; margin-left: 4px; }
}
.hero .stage-wrap { margin-top: 96px; }
@media (max-width: 1100px) { .hero .stage-wrap { margin-top: 56px; } }

/* ---------------------------------------------------------------- 2026-12-02: why Hunar, and onboarding a plant */
/* Why: the sourced numbers behind the problem (dark, at 02:14), then what each number decided in the design. */
.why .sec-head { max-width: 880px; }
.why sup { margin-left: 2px; font: 500 11px/1 var(--mono); vertical-align: super; }
.why sup a { color: var(--dk-muted); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
.why sup a:hover { color: var(--white); }
.why-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dk-line); border: 1px solid var(--dk-line); border-radius: var(--r-3xl); overflow: hidden; }
.why-stat { display: flex; flex-direction: column; gap: 6px; padding: 30px 28px 28px; background: var(--dk-1); min-width: 0; }
.why-stat b { font: 600 clamp(44px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.025em; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.why-stat.urgent b { color: var(--urgent-d); }
.why-stat > span { margin-top: 12px; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--white); }
.why-stat small { color: var(--dk-body); font-size: 14.5px; line-height: 1.55; }
.why-note { margin-top: 24px; max-width: 82ch; color: var(--dk-muted); font-size: 15px; line-height: 1.7; }
.why-h3 { margin: clamp(64px, 7vw, 96px) 0 24px; font: 600 clamp(22px, 2.4vw, 28px)/1.25 var(--display); letter-spacing: -.012em; color: var(--white); }
.why-map { display: grid; gap: 12px; }
.why-row { display: grid; grid-template-columns: minmax(0, 5fr) 40px minmax(0, 7fr); gap: 20px; align-items: center; padding: 24px 28px; border: 1px solid var(--dk-line); border-radius: var(--r-2xl); background: var(--dk-1); transition: border-color .3s; }
.why-row:hover { border-color: var(--dk-line-2); }
.why-fact b { display: block; font: 600 clamp(30px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.02em; color: var(--white); }
.why-fact small { display: block; margin-top: 8px; color: var(--dk-body); font-size: 14.5px; line-height: 1.55; }
.why-arrow { display: grid; place-items: center; color: var(--dk-muted); }
.why-arrow i[data-i] svg { width: 20px; height: 20px; }
.why-do { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.why-do > i[data-i] { grid-row: span 2; width: 40px; height: 40px; border-radius: var(--r-xl); border: 1px solid var(--dk-line-2); color: var(--white); }
.why-do > i[data-i] svg { width: 18px; height: 18px; }
.why-do b { font: 600 16.5px/1.35 var(--display); color: var(--white); }
.why-do span { color: var(--dk-body); font-size: 15px; line-height: 1.6; }
.why-do a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dk-line-2); }
.why-src { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--dk-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; counter-reset: src; }
.why-src li { position: relative; padding-left: 22px; counter-increment: src; color: var(--dk-muted); font-size: 12.5px; line-height: 1.55; scroll-margin-top: calc(var(--nav) + 24px); }
.why-src li::before { content: counter(src); position: absolute; left: 0; top: 0; font: 500 11.5px/1.7 var(--mono); color: var(--dk-body); }
.why-src li:target { color: var(--white); }
.why-src a { color: var(--dk-body); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--dk-line-2); }
.why-src a:hover { color: var(--white); }

/* Onboarding: the /onboard wizard in four scenes. Every scene sits in the same grid cell, so the window keeps the tallest
   scene's height and nothing on the page moves when a scene changes. Only opacity and transform animate. */
.onb-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.onb-steps { display: grid; gap: 6px; }
.onb-steps button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; border: 1px solid transparent; border-radius: var(--r-xl); background: none; text-align: left; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s; }
.onb-steps button:hover { background: var(--page); }
.onb-steps button[aria-selected="true"] { background: var(--canvas); border-color: var(--hairline); box-shadow: var(--shadow-lg); }
.onb-n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--canvas); font: 600 13px/1 var(--mono); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.onb-steps li.done .onb-n { background: var(--ok); border-color: var(--ok); color: var(--white); }
.onb-steps button[aria-selected="true"] .onb-n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.onb-steps b { font: 600 16px/1.35 var(--display); color: var(--ink); }
.onb-steps small { color: var(--body); font-size: 14px; line-height: 1.5; }
.onb-win { min-width: 0; border: 1px solid var(--hairline); border-radius: var(--r-3xl); background: var(--canvas); box-shadow: var(--shadow-xl); overflow: hidden; }
.onb-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); background: var(--page); }
.onb-dots { display: inline-flex; gap: 6px; }
.onb-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.onb-url { font: 500 12.5px/1 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onb-stage { display: grid; padding: clamp(16px, 2.4vw, 26px); }
.onb-scene { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--out), visibility 0s linear .45s; }
.onb-scene.on { opacity: 1; visibility: visible; transition: opacity .45s var(--out); }
.js .onb-scene [data-step] { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--out), transform .6s var(--out); }
.js .onb-scene [data-step].in { opacity: 1; transform: none; }
.onb-scene small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.onb-scene code { font: 500 12px/1 var(--mono); color: var(--body); }
.onb-file { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-xl); background: var(--page); }
.onb-file > i[data-i] { width: 38px; height: 38px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--hairline); color: var(--ink); }
.onb-file b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onb-read { position: relative; display: grid; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.onb-read > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity .3s; }
.onb-read .r1 { color: var(--muted); }
.onb-read .r2 { color: var(--ok-ink); opacity: 0; }
.onb-read .r2 i[data-i] svg { width: 14px; height: 14px; }
.onb-scene:has(.onb-doc.in) .onb-read .r1 { opacity: 0; }
.onb-scene:has(.onb-doc.in) .onb-read .r2 { opacity: 1; }
.onb-doc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--r-xl); }
.onb-doc b { font: 600 14.5px/1.4 var(--display); color: var(--ink); }
.onb-doc small { flex-basis: 100%; }
.onb-doc .tag { margin-left: auto; }
.onb-list { display: grid; border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden; }
.onb-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; font-size: 13px; color: var(--ink); }
.onb-list li + li { border-top: 1px solid var(--hairline-soft); }
.onb-list li > span { font: 600 11px/22px var(--mono); text-align: center; color: var(--muted); border: 1px solid var(--hairline); border-radius: 6px; height: 22px; }
.onb-list p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onb-list em { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-md); font: 600 11.5px/1 var(--font); font-style: normal; background: var(--ink); color: var(--white); }
.onb-list em i[data-i] svg { width: 11px; height: 11px; }
.onb-list li.iso { background: var(--surface-card); }
.onb-list li.loto { background: var(--watch-soft); }
.onb-list li.loto em { background: var(--watch); }
.onb-who { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); font-size: 14px; }
.onb-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); font: 500 13.5px/1 var(--font); }
.onb-btn i[data-i] svg { width: 15px; height: 15px; }
.onb-ok { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-xl); background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok-ink); }
.onb-ok > i[data-i] { grid-row: span 2; } .onb-ok > i[data-i] svg { width: 18px; height: 18px; }
.onb-ok b { font-size: 14px; }
.onb-ok small { color: var(--ok-ink); opacity: .85; }
.onb-cap { font-size: 13.5px; line-height: 1.55; color: var(--body); }
.onb-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--ink); border-radius: var(--r-lg); box-shadow: 0 0 0 3px var(--k-a14); }
.onb-field small { grid-column: 1 / -1; }
.onb-field b { font: 600 20px/1.2 var(--mono); letter-spacing: .04em; }
.onb-free { display: inline-flex; align-items: center; gap: 6px; color: var(--ok-ink); font-size: 13px; font-weight: 500; }
.onb-free i[data-i] svg { width: 14px; height: 14px; }
.onb-jira { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px; border-radius: var(--r-xl); border: 1px solid var(--hairline); }
.onb-jira > b { font: 600 26px/1 var(--mono); letter-spacing: .02em; }
.onb-jira small { flex-basis: 100%; }
.onb-issue { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 14px; border-radius: var(--r-lg); background: var(--page); border: 1px solid var(--hairline); font-size: 13.5px; }
.onb-issue p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.onb-issue small { grid-column: 1 / -1; }
.onb-checks { display: grid; gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden; }
.onb-checks li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 14px; font-size: 13.5px; }
.onb-checks li + li { border-top: 1px solid var(--hairline-soft); }
.onb-checks li > i[data-i] { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: var(--white); }
.onb-checks li > i[data-i] svg { width: 12px; height: 12px; }
.onb-checks small { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onb-live { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-xl); background: var(--dk); color: var(--white); }
.onb-live b { display: block; font: 600 15px/1.35 var(--display); }
.onb-live small { color: var(--dk-body); font-family: var(--mono); }
.onb-proof { margin-top: 36px; max-width: 80ch; color: var(--body); font-size: 15.5px; line-height: 1.7; }
.onb-proof b { color: var(--ink); }

@media (max-width: 1020px) {
  .why-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why-arrow { justify-items: start; transform: rotate(90deg); width: 20px; }
  .why-src { grid-template-columns: minmax(0, 1fr); }
  .onb-grid { grid-template-columns: minmax(0, 1fr); }
  .onb-steps { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 4px; }
  .onb-steps button { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; height: 100%; border-color: var(--hairline); }
  .onb-n { grid-row: auto; }
  .onb-steps small { display: none; }
}
@media (max-width: 640px) {
  .why-stats { grid-template-columns: minmax(0, 1fr); }
  .why-stat { padding: 24px 22px; }
  .why-row { padding: 20px; }
  .onb-list li { grid-template-columns: 22px minmax(0, 1fr); }
  .onb-list em { grid-column: 2; justify-self: start; }
  .onb-checks li { grid-template-columns: 22px minmax(0, 1fr); }
  .onb-checks small { grid-column: 2; text-align: left; }
  .onb-file { grid-template-columns: 34px minmax(0, 1fr); }
  .onb-read { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .js .onb-scene [data-step] { opacity: 1; transform: none; }
}

/* The night shift, behind the scenes: the Floor's Agent activity panel (as web/activity.js draws it in the app), and each
   chapter's "Behind it" row: the Google Cloud services involved, how an SOP PDF becomes chunks, and the Jira issue. */
.fl-voice .fl-talk { width: 64px; height: 64px; }
.fl-voice .fl-talk svg { width: 22px; height: 22px; }
.fl-act { width: 100%; padding: 7px 9px 4px; border: 1px solid var(--fl-line); border-radius: 10px; background: var(--fl-panel); text-align: left; }
.fl-act-h { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.fl-act-h .dot { width: 6px; height: 6px; }
.fl-act-h b { font-size: 10.5px; font-weight: 600; color: var(--fl-ink); }
.fl-act-h small { color: var(--fl-dim); font-size: 9.5px; }
.fl-act ol { display: grid; }
.fl-act li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: start; padding: 4px 0; }
.fl-act li + li { border-top: 1px solid var(--fl-line); }
.fl-scene.on .fl-act li { animation: card-in .45s var(--out) both; animation-delay: calc(var(--k, 0) * .35s + .3s); }
.fl-act-ic { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fl-line); background: var(--fl-panel-2); color: var(--fl-muted); }
.fl-act-ic i[data-i] svg { width: 10px; height: 10px; }
.fl-act-ic .spin { width: 10px; height: 10px; border-color: var(--fl-line); border-top-color: var(--fl-ink); }
.fl-act-t { display: flex; align-items: baseline; gap: 5px; font-size: 10.5px; font-weight: 600; line-height: 1.35; color: var(--fl-ink); }
.fl-act-t small { margin-left: auto; font: 500 9.5px/1 var(--mono); color: var(--fl-dim); white-space: nowrap; }
.fl-act-t em { flex: none; font: 600 8px/1.5 var(--font); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--fl-info); border: 1px solid var(--fl-info); border-radius: 3px; padding: 0 3px; }
.fl-act-d { display: block; font-size: 10px; line-height: 1.35; color: var(--fl-muted); }
.fl-act li.ok .fl-act-ic { color: var(--fl-ok); border-color: var(--fl-ok-a28); background: var(--fl-ok-a14); }
.fl-act li.warn .fl-act-ic, .fl-act li.alert .fl-act-ic { color: var(--fl-senior); border-color: var(--fl-senior); background: var(--fl-senior-a1); }
.fl-act li.blocked .fl-act-ic { color: var(--fl-stop); border-color: var(--fl-stop-a35); background: var(--fl-stop-a12); }
.fl-act li.blocked .fl-act-t, .fl-act li.danger .fl-act-t { color: var(--fl-stop-ink); }
.fl-act li.danger .fl-act-ic { color: var(--white); border-color: var(--fl-stop); background: var(--fl-stop); }

.ch-cloud { display: grid; gap: 10px; margin-top: 4px; max-width: 540px; }
.cc-h { font: 600 11.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--dk-muted); }
.cc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cc-node { display: inline-grid; grid-template-columns: 22px auto; column-gap: 8px; align-items: center; padding: 7px 11px 7px 8px; border: 1px solid var(--dk-line); border-radius: var(--r-lg); background: var(--dk-1); }
.cc-node > img, .cc-node > .cc-ic { grid-row: span 2; }
.cc-node b { font: 600 12.5px/1.25 var(--font); color: var(--white); }
.cc-node small { font-size: 11px; line-height: 1.25; color: var(--dk-muted); }
.cc-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--dk-2); color: var(--white); }
.cc-ic i[data-i] svg { width: 13px; height: 13px; }
.cc-arrow { color: var(--dk-muted); }
.cc-arrow i[data-i] svg { width: 14px; height: 14px; }
.ch .ch-cloud p { max-width: 54ch; font-size: 14.5px; line-height: 1.6; color: var(--dk-body); }
.cc-chunks { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--dk-line); border-radius: var(--r-xl); background: var(--dk-1); }
.cc-file { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cc-file i[data-i] svg { width: 14px; height: 14px; color: var(--dk-body); }
.cc-file code { color: var(--white); font-size: 11.5px; overflow-wrap: anywhere; }
.cc-file small { color: var(--dk-muted); font-size: 11px; }
.cc-chunks ol { display: grid; gap: 5px; }
.cc-chunks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 7px 9px; border: 1px solid var(--dk-line); border-radius: var(--r-lg); background: var(--dk); }
.cc-chunks li > span { height: 18px; border-radius: 4px; background: var(--dk-2); font: 500 10.5px/18px var(--mono); text-align: center; color: var(--dk-muted); }
.cc-chunks b { font: 500 11.5px/1.4 var(--mono); color: var(--white); }
.ch .cc-chunks p { max-width: none; font-size: 12px; line-height: 1.5; color: var(--dk-body); }
.cc-chunks li.held { border-color: var(--watch-d-a25); }
.ch .cc-chunks li.held p { display: flex; align-items: center; gap: 6px; color: var(--watch-d); }
.cc-chunks li.held i[data-i] svg { width: 12px; height: 12px; }
.cc-out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--dk-muted); }
.cc-out code { padding: 1px 6px; border: 1px solid var(--dk-line-2); border-radius: 4px; font-size: 11px; color: var(--white); }
.cc-out a, .cj-labels a { margin-left: auto; font-size: 11.5px; text-decoration: underline; text-underline-offset: 2px; }
.cc-out a { color: var(--dk-body); }
.cc-jira { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--white); color: var(--ink); box-shadow: var(--shadow-dk); }
.cj-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cj-top .cc-ic { background: var(--model-soft); color: var(--model); }
.cj-top b { font: 600 13px/1 var(--mono); color: var(--model); }
.cj-chip { padding: 2px 7px; border-radius: 4px; background: var(--surface-card); font-size: 11px; font-weight: 600; color: var(--body); }
.cj-chip.hi { background: var(--urgent-soft); color: var(--urgent-ink); }
.ch .cc-jira .cj-sum { max-width: none; font: 600 15px/1.35 var(--display); color: var(--ink); }
.cc-jira dl { margin: 0; display: grid; border-top: 1px solid var(--hairline); }
.cc-jira dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 12px; line-height: 1.45; }
.cc-jira dt { color: var(--muted); }
.cc-jira dd { margin: 0; color: var(--ink); }
.cj-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cj-labels span { padding: 1px 7px; border: 1px solid var(--hairline); border-radius: 4px; font-size: 11px; color: var(--body); }
.cj-labels a { color: var(--model); }
@media (max-width: 1020px) {
  /* each chapter's own Floor screen, at its natural height now that it carries the activity panel */
  .ch-visual .tab-screen { height: auto; }
  .ch-visual .fl-scene { position: relative; inset: auto; }
}
@media (max-width: 640px) {
  .cc-jira dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
