/* Unfinished Machines: one stylesheet for every page. The design system behind it is site/DESIGN.md. Motion comes
   from site.js adding classes; without script, or with reduced motion, everything shows in its final state. */

@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* The neutrals are registered so the whole page can ease into the dark security section and back. */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #fafafa; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --surface-2 { syntax: "<color>"; inherits: true; initial-value: #f3f3f4; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #1b1b1b; }
@property --ink-2 { syntax: "<color>"; inherits: true; initial-value: #5d5c5c; }
@property --ink-3 { syntax: "<color>"; inherits: true; initial-value: #8f8e94; }
@property --ink-4 { syntax: "<color>"; inherits: true; initial-value: #d4d4d8; }
@property --line { syntax: "<color>"; inherits: true; initial-value: #00000012; }
@property --line-2 { syntax: "<color>"; inherits: true; initial-value: #00000024; }
@property --hl { syntax: "<color>"; inherits: true; initial-value: #ffffffe6; }
@property --shade { syntax: "<color>"; inherits: true; initial-value: #0000000f; }
/* The aura's three colours shift with the section in view. */
@property --a1 { syntax: "<color>"; inherits: true; initial-value: #d9c6f7; }
@property --a2 { syntax: "<color>"; inherits: true; initial-value: #b5d5fc; }
@property --a3 { syntax: "<color>"; inherits: true; initial-value: #efb6d8; }

:root {
  /* harness swatches, and the deeper tone of each for small marks */
  --lilac: #d9c6f7; --teal: #a6e8ec; --peach: #ffcfa6; --lime: #d3ea8f; --pink: #efb6d8; --sky: #b5d5fc; --mint: #b9ecd0;
  --lilac-d: #9b7be6; --teal-d: #2fb5bf; --peach-d: #f39a55; --lime-d: #8fb82a; --pink-d: #dc6fae; --sky-d: #5c9ef0;
  /* status */
  --pass: #2bac76; --fail: #e5484d; --unknown: #d9822b; --info: #0b84fe; --violet: #7c5cff;
  --pass-ink: #13784f; --fail-ink: #c42f35; --info-ink: #0a6ad0; --violet-ink: #5b3fd6;
  --spot: #7c5cff12;
  --dot: #00000017;
  /* radius */
  --r-chip: 6px; --r-sm: 10px; --r-card: 16px; --r-panel: 24px; --r-band: 32px;
  /* motion */
  --out: cubic-bezier(.22, 1, .36, 1);
  --ui: cubic-bezier(.2, .9, .2, 1);
  --spring: cubic-bezier(.2, 1.35, .4, 1);
  --in: cubic-bezier(.55, 0, .8, .25);
  /* type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: "Newsreader", Georgia, serif;
  --t-display: clamp(44px, 8vw, 120px);
  --t-title: clamp(38px, 4.4vw, 64px);
  --t-lead: clamp(25px, 2.7vw, 42px);
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(140px, 15vw, 220px);
  transition: --bg .8s var(--ui), --surface .8s var(--ui), --surface-2 .8s var(--ui), --ink .8s var(--ui), --ink-2 .8s var(--ui), --ink-3 .8s var(--ui),
    --ink-4 .8s var(--ui), --line .8s var(--ui), --line-2 .8s var(--ui), --hl .8s var(--ui), --shade .8s var(--ui);
}
/* Shadows are rebuilt wherever the neutrals change, so a dark band gets dark depth. */
:root, .tone-dark {
  --ring: 0 0 0 1px var(--line);
  --card: inset 0 1px 0 var(--hl), 0 0 0 1px var(--line), 0 1px 2px var(--shade), 0 8px 24px -6px var(--shade);
  --card-up: inset 0 1px 0 var(--hl), 0 0 0 1px var(--line-2), 0 2px 4px var(--shade), 0 18px 40px -10px var(--shade);
  --float: 0 0 0 1px var(--line), 0 2px 4px var(--shade), 0 32px 80px -24px #1e143c3d;
}
html[data-tone="dark"], .tone-dark {
  --bg: #0c0c0f; --surface: #16161a; --surface-2: #202026; --ink: #f4f4f6; --ink-2: #a6a6ae; --ink-3: #75757e; --ink-4: #34343b;
  --line: #ffffff14; --line-2: #ffffff26; --hl: #ffffff0f; --shade: #00000073;
  --pass-ink: #4fd49c; --fail-ink: #ff8589; --info-ink: #6cb4ff; --violet-ink: #b4a2ff; --spot: #ffffff10; --dot: #ffffff14;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: #d9c6f7; color: #1b1b1b; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.quiet { color: var(--ink-3); }
.sw { display: inline-block; width: 10px; height: 10px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px #00000012; }
.sw.lilac { background: var(--lilac); } .sw.teal { background: var(--teal); } .sw.peach { background: var(--peach); }
.sw.lime { background: var(--lime); } .sw.pink { background: var(--pink); } .sw.sky { background: var(--sky); }

/* ---------------------------------------------------------------- aura: the colour behind the page */

.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  transition: --a1 1.4s var(--ui), --a2 1.4s var(--ui), --a3 1.4s var(--ui); }
.aura::before { content: ""; position: absolute; inset: -20% -15%; opacity: .5; transition: opacity 1s var(--ui);
  background:
    radial-gradient(36% 40% at 16% 18%, var(--a1), transparent 70%),
    radial-gradient(34% 38% at 86% 14%, var(--a2), transparent 70%),
    radial-gradient(40% 36% at 62% 94%, var(--a3), transparent 72%); }
.aura::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html[data-tone="sky"] .aura { --a1: #b5d5fc; --a2: #a6e8ec; --a3: #d9c6f7; }
html[data-tone="peach"] .aura { --a1: #ffcfa6; --a2: #efb6d8; --a3: #ffe3a8; }
html[data-tone="mint"] .aura { --a1: #b9ecd0; --a2: #d3ea8f; --a3: #a6e8ec; }
html[data-tone="teal"] .aura { --a1: #a6e8ec; --a2: #b5d5fc; --a3: #b9ecd0; }
html[data-tone="warm"] .aura { --a1: #ffcfa6; --a2: #efb6d8; --a3: #d9c6f7; }
html[data-tone="dark"] .aura { --a1: #2c2163; --a2: #0f3644; --a3: #3a1838; }
html[data-tone="dark"] .aura::before { opacity: .85; }

/* ---------------------------------------------------------------- header: a full bar that condenses into a floating pill */

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.bar { position: relative; display: flex; align-items: center; gap: 20px; max-width: 1240px; height: 72px; margin: 0 auto; padding: 0; border-radius: 999px; pointer-events: auto;
  transition: max-width .8s var(--out), height .6s var(--out), margin-top .6s var(--out), padding .6s var(--out), background-color .4s var(--ui), box-shadow .4s var(--ui); }
.scrolled .bar { max-width: 940px; height: 56px; margin-top: 12px; padding: 0 8px 0 20px; background-color: color-mix(in srgb, var(--surface) 76%, transparent);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade), 0 12px 32px -12px var(--shade); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; letter-spacing: -.015em; white-space: nowrap; }
.mark { width: 22px; height: 22px; flex: none; }
.mark rect { transition: transform .5s var(--spring); transform-origin: 19.4px 4.6px; }
.wordmark:hover .mark rect { transform: translate(-1.5px, 1.5px) scale(1.3); }
.nav { position: relative; display: flex; align-items: center; margin: 0 auto; }
.nav a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .2s var(--ui); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.nav-hl { position: absolute; left: 0; top: 0; height: 100%; width: var(--hw, 0); translate: var(--hx, 0) 0; border-radius: 999px; background: var(--surface-2); opacity: 0;
  transition: translate .5s var(--out), width .5s var(--out), opacity .25s var(--ui); }
.nav.hov .nav-hl { opacity: 1; }
.nav.snap .nav-hl { transition: opacity .25s var(--ui); }
.bar-actions { display: flex; align-items: center; gap: 6px; }
.signin { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .2s var(--ui), background-color .2s var(--ui); }
.signin:hover { color: var(--ink); background: var(--surface-2); }

/* ---------------------------------------------------------------- buttons */

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; font: 500 14px/1 var(--sans);
  letter-spacing: -.005em; white-space: nowrap; cursor: pointer; isolation: isolate;
  transition: transform .42s var(--spring), background-color .2s var(--ui), color .2s var(--ui), box-shadow .3s var(--ui); }
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.96); transition: transform 90ms cubic-bezier(.4, 0, 1, 1); }
.btn-primary, .btn-cta { background-color: var(--ink); color: var(--bg); box-shadow: inset 0 1px 0 #ffffff29, 0 1px 2px #0000002e, 0 8px 20px -8px #00000059; }
.btn-ghost { background-color: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px var(--shade); }
.btn-ghost:hover { background-color: var(--surface); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn-cta { height: 56px; padding: 0 6px 0 26px; gap: 18px; font-size: 16px; overflow: hidden; }
.btn-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, #ffffff30 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 140% 0; transition: background-position 1s var(--out); }
.btn-cta:hover::before { background-position: -40% 0; }
.circ { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink); overflow: hidden; transition: transform .5s var(--spring); }
.circ svg { grid-area: 1 / 1; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: translate .55s var(--out); }
.circ svg + svg { translate: -220% 0; }
.btn-cta:hover .circ svg:first-child { translate: 220% 0; }
.btn-cta:hover .circ svg + svg { translate: 0 0; }

/* ---------------------------------------------------------------- shared type */

h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); text-wrap: balance; }
h2 { font-size: var(--t-title); line-height: 1; letter-spacing: -.045em; }
.sub { max-width: 32em; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; text-wrap: balance; }
.label { display: inline-flex; align-items: center; gap: 8px; height: 30px; margin: 0 0 24px; padding: 0 13px 0 11px; border-radius: 999px; font-size: 13px; color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 72%, transparent); box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade); }
.label .sw { width: 8px; height: 8px; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--card); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.chip .dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.chip.pass { color: var(--pass-ink); background: color-mix(in srgb, var(--pass) 14%, var(--surface)); }
.chip.fail { color: var(--fail-ink); background: color-mix(in srgb, var(--fail) 12%, var(--surface)); }
.chip.blue { color: var(--info-ink); background: color-mix(in srgb, var(--info) 11%, var(--surface)); }
.pulse { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--pass); }

/* split headings: each word rises out of its own mask (site.js wraps them) */
.split .w { display: inline-block; clip-path: inset(-.12em -.14em -.2em -.14em); }
.split .wi { display: inline-block; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; isolation: isolate; padding: clamp(136px, 14vw, 184px) 0 0; text-align: center; overflow-x: clip; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1180px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(56% 52% at 50% 46%, #000 10%, transparent 78%); mask-image: radial-gradient(56% 52% at 50% 46%, #000 10%, transparent 78%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px; font-size: 13px; color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 72%, transparent); box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade), 0 8px 24px -12px var(--shade);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .3s var(--ui), color .2s var(--ui); }
.eyebrow:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px var(--shade), 0 10px 28px -12px var(--shade); }
.eyebrow .tag { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 12px; }
.eyebrow .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: translate .45s var(--spring); }
.eyebrow:hover .chev { translate: 3px 0; }
.hero h1 { max-width: 12.5em; margin: 30px auto 0; font-size: var(--t-display); line-height: .98; letter-spacing: -.052em; }
.hero h1 em, .closing h2 em { font-family: var(--serif); font-style: italic; letter-spacing: -.035em; padding: 0 .04em 0 .01em;
  background: linear-gradient(100deg, #7c5cff, #c94fd6 30%, #ef7d57 60%, #7c5cff 90%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 30px; font-size: clamp(17px, 1.45vw, 20px); }

/* the harness orbiting the model */
.orbit { position: relative; max-width: 1040px; height: 460px; margin: clamp(56px, 7vw, 88px) auto 0; }
.rings, .spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings ellipse { fill: none; stroke: var(--ink-4); stroke-width: 1; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spokes path { fill: none; stroke: var(--ink-4); stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; }
.core-glow { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; opacity: .7; filter: blur(46px);
  background: conic-gradient(from 90deg, #d9c6f7, #a6e8ec, #ffcfa6, #d3ea8f, #efb6d8, #b5d5fc, #d9c6f7); }
.core { position: absolute; left: 50%; top: 50%; width: 144px; height: 144px; translate: -50% -50%; display: grid; place-content: center; justify-items: center; gap: 2px;
  z-index: 2; border-radius: 38px; color: #fafafa; background: linear-gradient(165deg, #2c2837 0%, #141318 72%);
  box-shadow: inset 0 1px 0 #ffffff24, inset 0 0 0 1px #ffffff0f, 0 2px 4px #00000040, 0 30px 70px -18px #3b2a7a8c; }
.core::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1.5px #9b7be6; opacity: 0; pointer-events: none; }
.core .mark { width: 30px; height: 30px; margin-bottom: 12px; }
.core b { font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.core span { font-size: 12px; color: #a3a2ab; }
.parts { margin: 0; padding: 0; list-style: none; }
.parts li { position: absolute; left: var(--L); top: var(--T); translate: -50% -50%; z-index: 1;
  transform: translate(calc(var(--px, 0) * var(--z) * 1px), calc(var(--py, 0) * var(--z) * 1px)); transition: transform 1.4s var(--out); }
.part { position: relative; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 17px 0 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--card);
  font-size: 14px; white-space: nowrap; }
.part em { position: absolute; right: -6px; top: -11px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 10px/20px var(--mono); font-style: normal; opacity: 0; }
.pk { position: absolute; left: 50%; top: 50%; z-index: -1; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); opacity: 0; }
.p1 { --L: 9%; --T: 38%; --z: 18; --c: var(--lilac-d); --g: 2.6s; }
.p2 { --L: 86%; --T: 27%; --z: 10; --c: var(--teal-d); --g: 4.6s; }
.p3 { --L: 89%; --T: 67%; --z: 22; --c: var(--peach-d); --g: 6.6s; }
.p4 { --L: 62%; --T: 91%; --z: 14; --c: var(--lime-d); --g: 8.6s; }
.p5 { --L: 14%; --T: 75%; --z: 12; --c: var(--pink-d); --g: 10.6s; }
.p6 { --L: 37%; --T: 8%; --z: 20; --c: var(--sky-d); --g: 12.6s; }
.orbit-caption { margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 var(--gutter); font-size: clamp(20px, 2vw, 27px); letter-spacing: -.03em; line-height: 1.22; }

/* works-with marquee */
.marquee { max-width: 1100px; margin: clamp(104px, 11vw, 150px) auto 0; padding: 0 var(--gutter); }
.marquee p { margin: 0 0 20px; font-size: 13px; color: var(--ink-3); }
.marquee .viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.track-x { display: flex; width: max-content; animation: slide 40s linear infinite; }
.track-x ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.track-x li { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-size: 21px; font-weight: 500; letter-spacing: -.03em; color: var(--ink-3); white-space: nowrap; }
.track-x li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4); }
.marquee:hover .track-x { animation-play-state: paused; }

/* ---------------------------------------------------------------- manifesto */

.manifesto { padding: var(--section) 0 0; }
.manifesto .wrap { max-width: 1060px; }
.manifesto .big { margin: 0; isolation: isolate; font-size: var(--t-lead); line-height: 1.2; letter-spacing: -.035em; text-wrap: pretty; }
.manifesto mark { position: relative; background: none; color: inherit; }
.manifesto mark::before { content: ""; position: absolute; inset: .1em -.07em .02em; z-index: -1; border-radius: .2em; background: var(--c);
  opacity: clamp(0, calc(var(--p, 99) - var(--i, 0)), 1); transform: scaleX(clamp(0, calc(var(--p, 99) - var(--i, 0)), 1)); transform-origin: left; }
mark.lilac { --c: var(--lilac); } mark.teal { --c: var(--teal); } mark.peach { --c: var(--peach); } mark.lime { --c: var(--lime); }
.mw { opacity: clamp(.16, calc(var(--p, 99) - var(--i)), 1); transition: opacity .25s linear; }

/* ---------------------------------------------------------------- how it works */

.how { padding: var(--section) 0 0; }
.how-intro { text-align: center; }
.story { margin-top: clamp(64px, 8vw, 104px); }
.steps { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.stage-bg, .seg { display: none; }
.step + .step { margin-top: clamp(104px, 13vw, 168px); }
.copy { max-width: 760px; margin: 0 auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 14px; font-weight: 500; color: var(--ink); }
.kicker .n { font: 500 12px var(--mono); color: var(--ink-3); }
.kicker .sw { width: 8px; height: 8px; }
.copy h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.045em; text-wrap: pretty; }
.copy .sub { margin-top: 18px; }
.visual { position: relative; display: grid; place-items: center; margin-top: clamp(32px, 4vw, 48px); padding: clamp(18px, 3.6vw, 44px); border-radius: var(--r-panel); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); }
.visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, #0000001a 1px, transparent 0); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); opacity: .6; }
.t-sky { background: radial-gradient(90% 80% at 0% 0%, #d7e8fe, transparent 70%), radial-gradient(80% 70% at 100% 100%, #d4f3f5, transparent 70%), #f5f8fc; }
.t-peach { background: radial-gradient(90% 80% at 0% 0%, #ffe4cc, transparent 70%), radial-gradient(80% 70% at 100% 100%, #fbdcec, transparent 70%), #fdf8f4; }
.t-lilac { background: radial-gradient(90% 80% at 0% 0%, #ebe0fb, transparent 70%), radial-gradient(80% 70% at 100% 100%, #dcebfe, transparent 70%), #f8f6fd; }
.t-mint { background: radial-gradient(90% 80% at 0% 0%, #d6f4e4, transparent 70%), radial-gradient(80% 70% at 100% 100%, #ecf6cf, transparent 70%), #f5fbf7; }
.t-teal { background: radial-gradient(90% 80% at 0% 0%, #d3f4f5, transparent 70%), radial-gradient(80% 70% at 100% 100%, #dce8fd, transparent 70%), #f4f9fa; }
.scene { position: relative; width: 100%; }

/* pinned (large screens with script): text on the left, the scene on the right, a step control below */
.story.pinned { height: 600vh; margin-top: 0; }
.story.pinned .pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 92px var(--gutter) 100px; }
.story.pinned .steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: min(600px, calc(100vh - 210px)); column-gap: clamp(40px, 5vw, 80px);
  align-items: center; width: 100%; max-width: 1240px; padding: 0; }
.story.pinned .step { display: contents; }
.story.pinned .copy { grid-area: 1 / 1; margin: 0; text-align: left; }
.story.pinned .copy h3 { font-size: clamp(34px, 3.2vw, 48px); }
.story.pinned .copy .sub { margin-left: 0; }
.story.pinned .visual, .story.pinned .stage-bg { grid-area: 1 / 2; align-self: stretch; margin: 0; }
.story.pinned .stage-bg { display: block; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--float); }
.story.pinned .seg { position: absolute; left: 50%; bottom: 30px; translate: -50% 0; z-index: 2; display: grid; grid-template-columns: repeat(5, 96px); padding: 4px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade), 0 14px 34px -14px var(--shade);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.seg button { position: relative; z-index: 1; height: 36px; padding: 0; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .3s var(--ui); }
.seg button:hover { color: var(--ink); }
.seg button.on { color: var(--bg); }
.seg .thumb { position: absolute; left: 4px; top: 4px; width: 96px; height: 36px; border-radius: 999px; background: var(--ink); overflow: hidden;
  translate: calc(var(--i, 0) * 96px) 0; transition: translate .6s var(--spring); }
.seg .thumb::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--bg) 45%, transparent);
  transform: scaleX(var(--sp, 0)); transform-origin: left; }

/* 1. watch: a trace joined with evidence */
.watch { display: grid; grid-template-columns: minmax(0, 1.3fr) 72px minmax(0, 1fr); align-items: center; max-width: 900px; }
.trace { padding: 14px 16px 12px; }
.trace-head { display: flex; align-items: center; gap: 9px; height: 32px; font-size: 14px; }
.trace-head b { font-weight: 500; }
.trace-head .id { margin-left: auto; font: 400 11px var(--mono); color: var(--ink-3); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--info); }
.rows { position: relative; }
.span { display: grid; grid-template-columns: 116px 1fr; align-items: center; height: 30px; border-top: 1px solid var(--line); font: 400 12px var(--mono); color: var(--ink-2); }
.span > i { position: relative; display: block; height: 14px; }
.span > i::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 4px; background: var(--sky); box-shadow: inset 0 0 0 1px #5c9ef033; transform-origin: left; }
.span.tool > i::after { background: var(--teal); box-shadow: inset 0 0 0 1px #2fb5bf33; }
.span.bad { color: var(--fail-ink); }
.span.bad > i::after { background: color-mix(in srgb, var(--fail) 14%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--fail); }
.s1 > i::after { background: color-mix(in srgb, var(--lilac) 60%, var(--surface)); box-shadow: inset 0 0 0 1px #9b7be633; }
.s1 { --l: 0%; --w: 100%; --d: .2s; } .s2 { --l: 2%; --w: 17%; --d: .35s; } .s3 { --l: 20%; --w: 11%; --d: .5s; }
.s4 { --l: 32%; --w: 21%; --d: .65s; } .s5 { --l: 54%; --w: 15%; --d: .8s; } .s6 { --l: 70%; --w: 29%; --d: .95s; }
.playhead { position: absolute; top: 0; bottom: 0; left: 116px; width: 1.5px; border-radius: 1px; background: var(--info); opacity: 0; }
.links { position: relative; width: 72px; height: 240px; }
.links svg { width: 72px; height: 240px; overflow: visible; }
.links path { fill: none; stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1.25; }
.links circle { fill: var(--surface); stroke: color-mix(in srgb, var(--ink) 35%, transparent); stroke-width: 1.5; }
.links i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--info); box-shadow: 0 0 0 3px #0b84fe2e; opacity: 0; offset-rotate: 0deg; }
.links .k1 { offset-path: path("M72 50C36 50 36 120 0 120"); }
.links .k2 { offset-path: path("M72 120H0"); }
.links .k3 { offset-path: path("M72 190C36 190 36 120 0 120"); }
.evidence { display: grid; gap: 12px; }
.ev { padding: 11px 14px 12px; border-radius: 14px; }
.ev .src { display: block; margin-bottom: 1px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ev b { font-weight: 500; font-size: 14px; letter-spacing: -.01em; }
.ev.verdict { display: flex; align-items: center; gap: 10px; box-shadow: inset 0 1px 0 var(--hl), 0 0 0 1.5px color-mix(in srgb, var(--fail) 45%, transparent), 0 10px 26px -8px #e5484d40; }

/* 2. group: failed tasks gather into failure modes */
.field { max-width: 880px; height: 340px; }
.swarm, .halos { position: absolute; inset: 0 0 84px 0; }
.swarm { display: none; }
.js .swarm { display: block; }
.swarm i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--c); }
.halos span { position: absolute; top: 50%; height: calc(var(--ry, 30) * 2.8%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--hc), transparent); }
.halos .z1 { left: 17%; --hc: #e5484d24; } .halos .z2 { left: 50%; --hc: #e58a2b24; } .halos .z3 { left: 83%; --hc: #8b6cf024; }
.modes { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: center; }
.mode b { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--card);
  font-weight: 500; font-size: 12.5px; letter-spacing: -.01em; white-space: nowrap; }
.mode b i { width: 8px; height: 8px; border-radius: 50%; background: var(--mc); }
.mode span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.m1 { --mc: #e5484d; } .m2 { --mc: #e58a2b; } .m3 { --mc: #8b6cf0; }
html:not(.js) .field { height: auto; }
html:not(.js) .modes { position: static; }
html:not(.js) .halos { display: none; }

/* 3. rewrite: the harness files, one tool description changing */
.editor { max-width: 820px; overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 12px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 50%, var(--surface)); }
.lights { display: flex; gap: 6px; margin-right: 10px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.tab { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 8px; font: 400 12px var(--mono); color: var(--ink-3); white-space: nowrap; }
.tab.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade); }
.mod { width: 6px; height: 6px; border-radius: 50%; background: var(--unknown); }
.ed-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.files { display: grid; align-content: start; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 35%, var(--surface)); }
.files span { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 8px; font: 400 11.5px var(--mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files .dir { font: 500 11px var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.files .sw { width: 8px; height: 8px; border-radius: 3px; }
.files span.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade); }
.code { margin: 0; padding: 14px 14px 16px 0; min-width: 0; counter-reset: ln; font: 400 12px/2 var(--mono); color: var(--ink-2); white-space: pre-wrap; }
.code .ln { display: block; position: relative; padding: 0 10px 0 40px; border-radius: 0 6px 6px 0; }
.code .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 26px; text-align: right; color: var(--ink-4); }
.code .ins::before { counter-increment: none; }
.code .k { color: var(--violet-ink); }
.code .s { color: #a35a12; }
.code .del { background: color-mix(in srgb, var(--fail) 10%, var(--surface)); box-shadow: inset 2px 0 0 var(--fail); }
.code .del .s { text-decoration: line-through; text-decoration-color: #e5484d99; }
.code .ins { background: color-mix(in srgb, var(--pass) 12%, var(--surface)); box-shadow: inset 2px 0 0 var(--pass); }
.code .ins .s { color: #146b45; }
.cands { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.cands .lbl { margin-right: 4px; font-size: 12px; color: var(--ink-3); }
.cands .chip { height: 28px; padding: 0 12px; font-size: 12px; }
.cands .chip svg { width: 13px; height: 13px; margin-right: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cands .pick { color: var(--violet-ink); background: color-mix(in srgb, var(--violet) 10%, var(--surface)); box-shadow: inset 0 0 0 1.5px #7c5cff8c; }

/* 4. test: replays turning green */
.gate { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 32px; align-items: center; max-width: 820px; padding: 24px 26px; }
.cells { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.cells i { aspect-ratio: 1; border-radius: 5px; background: #cdeedd; }
.cells i.f { background: var(--pass); }
.scan { position: absolute; left: -6px; right: -6px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--pass), transparent); box-shadow: 0 0 14px #2bac7699; opacity: 0; }
.legend { display: flex; gap: 18px; margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: #cdeedd; }
.legend i.f { background: var(--pass); }
.legend span { white-space: nowrap; }
.grid-cap { margin: 0 0 14px; font-size: 12px; color: var(--ink-3); }
.approve .note { margin: 28px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.meters { display: grid; gap: 12px; }
.gauge { position: relative; width: 132px; height: 132px; margin: 0 auto 6px; }
.gauge svg { width: 100%; height: 100%; rotate: -90deg; }
.gauge circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge .trk { stroke: var(--surface-2); }
.gauge .val { stroke: var(--pass); stroke-dasharray: 100; stroke-dashoffset: 0; }
.gv { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gv b { font: 400 28px/1 var(--sans); letter-spacing: -.04em; }
.gv > span { margin-top: 4px; font-size: 11px; color: var(--ink-3); }
.meters .m { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.meters .m b { font: 400 18px var(--mono); color: var(--ink); letter-spacing: -.02em; }
.pass-line { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--pass-ink); --d: 2.4s; }
.check { position: relative; display: block; flex: none; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--pass) 16%, var(--surface)); }
.check::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid var(--pass); border-width: 0 2px 2px 0; border-radius: 0 0 1px 0; transform: rotate(45deg); }

/* 5. ship: a canary with its failure rate falling */
.ship { max-width: 760px; padding: 22px 24px 20px; }
.ship-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ship-head b { flex: 1; min-width: 12em; font-weight: 500; }
.ship-head .to { width: 14px; height: 14px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ver { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--surface-2); font: 400 12px var(--mono); color: var(--ink-2); }
.ver.new { background: var(--ink); color: var(--bg); }
.chart { position: relative; height: 150px; margin: 18px 0 16px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--violet); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart .lbl { position: absolute; right: 0; top: 0; font: 400 11px var(--mono); color: var(--ink-3); }
.chart .end { position: absolute; right: 0; top: 82.7%; width: 10px; height: 10px; margin: -5px -5px 0 0; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px #7c5cff59; }
.stages { display: grid; grid-template-columns: 1fr 1.6fr 3fr; gap: 6px; }
.stages i { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.stages i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: left; }
.stages span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.stages div:nth-child(1) { --d: .4s; } .stages div:nth-child(2) { --d: 1.2s; } .stages div:nth-child(3) { --d: 2s; }
.guards { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* ---------------------------------------------------------------- approval window */

.approve { padding: clamp(96px, 11vw, 160px) 0 0; text-align: center; overflow-x: clip; }
.approve .stage { position: relative; margin: clamp(48px, 6vw, 72px) auto 0; text-align: left; }
.approve .halo { position: absolute; left: 50%; top: -6%; width: min(1240px, 130%); height: 112%; translate: -50% 0; pointer-events: none; filter: blur(30px);
  background: radial-gradient(50% 50% at 50% 50%, #c4b0f0a6, #b5d5fc40 46%, transparent 72%); }
.window { position: relative; max-width: 1060px; margin: 0 auto; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--float); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
.window-bar .lights { width: 70px; margin: 0; }
.wb-pad { width: 70px; }
.url { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; max-width: 340px; height: 26px; margin: 0 auto; padding: 0 12px; border-radius: 8px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 400 11px var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.url svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.app { display: grid; grid-template-columns: 216px 1fr; min-height: 430px; }
.side { display: grid; align-content: start; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 35%, var(--surface)); font-size: 13px; color: var(--ink-2); }
.side .org { display: flex; align-items: center; gap: 9px; padding: 2px 8px 14px; color: var(--ink); font-weight: 500; }
.org-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: var(--bg); }
.org-mark .mark { width: 14px; height: 14px; }
.side > span { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; border-radius: 8px; }
.side > span.on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line), 0 1px 2px var(--shade); }
.side .count { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); font: 400 11px/18px var(--mono); text-align: center; color: var(--ink-2); }
.main { min-width: 0; padding: 22px 28px 26px; }
.crumbs { font-size: 12px; color: var(--ink-3); }
.crumbs span { margin: 0 4px; opacity: .6; }
.main h3 { margin: 8px 0 12px; font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status { display: inline-grid; justify-items: start; }
.status > * { grid-area: 1 / 1; }
.panes { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 20px; }
.pane { min-width: 0; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.pane h4 { margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.diff { margin: 0; font: 400 12px/1.8 var(--mono); color: var(--ink-2); white-space: pre-wrap; }
.diff .ctx, .diff .add, .diff .del { display: block; padding: 0 8px; border-radius: 4px; }
.diff .ctx { margin-bottom: 4px; color: var(--ink-3); }
.diff .add { background: color-mix(in srgb, var(--pass) 12%, var(--surface)); color: #146b45; }
.diff .del { margin-bottom: 2px; background: color-mix(in srgb, var(--fail) 10%, var(--surface)); color: #a1262b; }
.measure { display: grid; grid-template-columns: 1fr auto; gap: 9px 12px; font-size: 13px; color: var(--ink-2); }
.measure b { font: 400 12px var(--mono); text-align: right; color: var(--ink); }
.measure b.good { color: var(--pass-ink); }
.bars { display: grid; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--ink-2); }
.bars div { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 10px; }
.bars b { font: 400 12px var(--mono); text-align: right; color: var(--ink); }
.track { position: relative; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.track i { position: absolute; inset: 0; border-radius: inherit; background: var(--fail); transform-origin: left; }
.track.after i { transform: scaleX(0); }
.decide { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fbtn { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500;
  box-shadow: inset 0 1px 0 #ffffff29, 0 1px 2px #0000002e; }
.fbtn.light { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.toast { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border-radius: 14px;
  background: #1b1b1b; color: #f4f4f6; font-size: 13px; box-shadow: 0 14px 34px -10px #00000073, inset 0 1px 0 #ffffff1a; }
.toast b { font-weight: 500; }
.tk { position: relative; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--pass); }
.tk::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ripple { position: absolute; left: 0; top: 0; z-index: 4; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; translate: var(--bx, 0) var(--by, 0);
  background: radial-gradient(closest-side, #7c5cff59, #7c5cff00); opacity: 0; pointer-events: none; }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 24px; height: 24px; opacity: 0; pointer-events: none; translate: var(--sx, 0) var(--sy, 0);
  fill: #1b1b1b; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 3px 5px #00000040); transform-origin: 5px 3px; }
.status .done { opacity: 0; }
.still .status .wait, html:not(.js) .status .wait { opacity: 0; }
.still .status .done, html:not(.js) .status .done { opacity: 1; }

/* ---------------------------------------------------------------- results */

.results { padding: var(--section) 0 0; text-align: center; }
.band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1160px; margin: clamp(56px, 6vw, 80px) auto 0; text-align: left;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { padding: 26px 30px 34px; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat .lbl { margin: 0; font-size: 14px; color: var(--ink-2); }
.stat .fig { display: flex; align-items: baseline; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.stat .fig s { font-size: 28px; letter-spacing: -.03em; color: var(--ink-3); text-decoration-thickness: 2px; }
.stat .fig b { font-size: clamp(64px, 7vw, 108px); font-weight: 400; line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.stat .of { font-size: 22px; letter-spacing: -.02em; color: var(--ink-3); }
.ticks { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; margin-top: 26px; }
.ticks i { height: 16px; border-radius: 3px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .35s var(--ui) var(--k), box-shadow .35s var(--ui) var(--k); }
.ticks[data-kind="bad"] i.on { background: color-mix(in srgb, var(--fail) 78%, var(--surface)); box-shadow: none; }
.ticks[data-kind="good"] i.on { background: var(--pass); box-shadow: none; }
.ticks[data-kind="caught"] i { background: color-mix(in srgb, var(--violet) 18%, var(--surface)); box-shadow: inset 0 0 0 1px #7c5cff59; }
.ticks[data-kind="caught"] i.on { background: color-mix(in srgb, var(--fail) 78%, var(--surface)); box-shadow: none; }

/* ---------------------------------------------------------------- security: a dark band the whole page eases into */

.security { padding: var(--section) 0 0; }
.sec-band { margin: 0 clamp(8px, 1.4vw, 20px); padding: clamp(96px, 11vw, 150px) 0; border-radius: var(--r-band); background: var(--bg); color: var(--ink); text-align: center; }
.sec-band .label { background: #ffffff0a; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: clamp(56px, 6vw, 80px) auto 0; text-align: left; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; min-height: 270px; padding: 28px; border-radius: var(--r-panel);
  background: linear-gradient(180deg, #ffffff0b, #ffffff03 60%), var(--surface); box-shadow: inset 0 1px 0 #ffffff14, 0 0 0 1px var(--line);
  transition: transform .5s var(--out), box-shadow .3s var(--ui); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #ffffff1a, 0 0 0 1px var(--line-2), 0 24px 48px -24px #000000b3; }
.tile h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.tile p { margin: 0; max-width: 30em; font-size: 15px; color: var(--ink-2); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ui);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 62%); }
.spot:hover::after { opacity: 1; }
.t-redact { grid-column: span 2; justify-content: space-between; }
.t-pin { grid-column: span 3; flex-direction: row; align-items: center; min-height: 0; }
.redact { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #00000059; box-shadow: inset 0 0 0 1px var(--line); font: 400 13px/1.9 var(--mono); color: var(--ink-2); }
.logline { margin: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; max-width: none; font-size: 13px; }
.tile .logline { font-size: 13px; color: var(--ink-2); }
.logline .ts { color: var(--ink-3); }
.pii { display: inline-grid; align-items: center; }
.pii > * { grid-area: 1 / 1; }
.raw { margin: 0 -4px; padding: 0 4px; border-radius: 4px; background: #e5484d1f; color: #ffb3b6; }
.tok { justify-self: start; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; background: #a6e8ec24; box-shadow: inset 0 0 0 1px #a6e8ec4d; color: #a6e8ec; font-size: 12px; }
.tok::before { content: "["; opacity: .6; } .tok::after { content: "]"; opacity: .6; }
html:not(.js) .raw, .still .raw { visibility: hidden; }
.vis { display: flex; align-items: flex-start; gap: 12px; height: 92px; }
.t-pin .vis { align-items: center; height: auto; }
.lock svg { width: 56px; height: 56px; fill: none; stroke: #b4a2ff; stroke-width: 2.4; stroke-linecap: round; }
.lock rect { fill: #7c5cff24; }
.lock circle { fill: #b4a2ff; stroke: none; }
.region .ping { position: relative; width: 12px; height: 12px; margin: 9px 2px 0 4px; flex: none; border-radius: 50%; background: var(--pass); }
.region .ping::before, .region .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--pass); opacity: 0; }
.region .chip { height: 30px; padding: 0 12px; font: 400 12px var(--mono); }
.days b { font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.days span { align-self: flex-start; margin-top: 40px; font-size: 14px; color: var(--ink-3); }
.scope .row { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #ffffff08; box-shadow: inset 0 0 0 1px var(--line); }
.scope .k { margin-right: 4px; font: 400 12px var(--mono); color: var(--ink-2); }
.scope .chip { height: 26px; }
.chip.no { color: var(--ink-3); text-decoration: line-through; }
.pin-demo { gap: 14px; margin-left: auto; }
.pin-demo .ver { height: 30px; padding: 0 12px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--line); }
.pin-demo .ver:first-child { color: var(--ink-3); text-decoration: line-through; }
.pin-demo .ver.old { color: var(--ink); background: #7c5cff33; box-shadow: inset 0 0 0 1px #7c5cff80; }
.switch { position: relative; width: 48px; height: 28px; flex: none; border-radius: 999px; background: var(--violet); }
.switch i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; translate: 20px 0; box-shadow: 0 1px 3px #0006; }

/* ---------------------------------------------------------------- closing */

.closing { position: relative; isolation: isolate; overflow: hidden; padding: clamp(170px, 19vw, 270px) 0 clamp(180px, 20vw, 290px); text-align: center; }
.closing h2 { font-size: clamp(50px, 9vw, 144px); line-height: .92; letter-spacing: -.057em; }
.closing .actions { margin-top: 48px; }
.closing .fine { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); }
.wash { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 60% at 50% 112%, #ffd4aad9, #fab28c59 42%, transparent 76%),
    radial-gradient(40% 70% at 10% 115%, #a680eb5c, transparent 70%),
    radial-gradient(40% 70% at 90% 115%, #8ce9ed8c, transparent 70%); }
.floaters { margin: 0; padding: 0; list-style: none; }
.floaters li { position: absolute; z-index: -1; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: var(--card); font-size: 13px; color: var(--ink-2); }
.f1 { left: 7%; top: 18%; --b: 6s; } .f2 { right: 8%; top: 13%; --b: 7s; } .f3 { left: 11%; bottom: 25%; --b: 5.5s; }
.f4 { right: 11%; bottom: 31%; --b: 6.5s; } .f5 { left: 41%; top: 6%; --b: 7.5s; } .f6 { right: 34%; bottom: 10%; --b: 6.8s; }

/* ---------------------------------------------------------------- footer */

.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; margin: 0 auto; }
.cols > div { padding: 26px var(--gutter) 40px; }
.cols > div + div { border-left: 1px solid var(--line); }
.cols h6 { margin: 0 0 14px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.cols a { display: block; width: fit-content; padding: 2px 0; font: 400 20px/1.45 var(--serif); color: var(--ink); transition: color .2s var(--ui); }
.cols a:hover { color: var(--ink-3); }
.cols .fine { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 32px; font-size: 12px; color: var(--ink-3); }
.cols .tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 12px; }
.giant { margin: 12px 0 -.16em; font-size: clamp(30px, 11.2vw, 206px); font-weight: 500; line-height: 1; letter-spacing: -.07em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 90%, transparent) 25%, color-mix(in srgb, var(--ink) 0%, transparent) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- text pages (privacy, terms, 404) */

.doc { padding: clamp(136px, 14vw, 176px) 0 clamp(80px, 10vw, 128px); }
.doc .wrap { max-width: 760px; }
.doc .label { margin-bottom: 20px; font-size: 13px; line-height: 1; }
.doc h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1; letter-spacing: -.05em; }
.doc .updated { margin: 16px 0 48px; font-size: 13px; color: var(--ink-3); }
.doc h2 { margin: 48px 0 10px; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.doc a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-4); transition: text-decoration-color .2s var(--ui); }
.doc a:not(.btn):hover { text-decoration-color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); font-weight: 500; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.doc th { font-size: 12px; font-weight: 500; color: var(--ink-3); border-bottom-color: var(--line-2); }
.doc .actions { justify-content: flex-start; }

/* ================================================================ motion (only with script, never with reduced motion) */

@keyframes slide { to { transform: translateX(-50%); } }
@keyframes march { to { stroke-dashoffset: -180; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(3vw, 2vh) scale(1.06); } 100% { transform: translate(-2vw, 3vh) scale(1.02); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes hue { to { background-position: -220% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #2bac7680; } 70%, 100% { box-shadow: 0 0 0 7px #2bac7600; } }
@keyframes ping-blue { 0% { box-shadow: 0 0 0 0 #0b84fe73; } 70%, 100% { box-shadow: 0 0 0 6px #0b84fe00; } }
@keyframes rise { from { opacity: 0; filter: blur(8px); translate: 0 16px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes show { to { opacity: 1; } }
@keyframes ring-in { from { opacity: 0; scale: .86; } }
@keyframes pop { from { opacity: 0; scale: .5; } }
@keyframes fly { from { opacity: 0; scale: .4; translate: calc(-50% + var(--dx, 0px)) calc(-50% + var(--dy, 0px)); } }
@keyframes glow { 0%, 16%, 100% { box-shadow: var(--card); } 3%, 12% { box-shadow: 0 0 0 1.5px var(--c), 0 12px 30px -8px var(--c); } }
@keyframes badge { 0%, 16%, 100% { opacity: 0; translate: 0 4px; } 4%, 12% { opacity: 1; translate: 0 0; } }
@keyframes packet { 0%, 6% { opacity: 0; translate: 0 0; } 7.5% { opacity: 1; } 12.5% { opacity: 1; translate: var(--dx, 0px) var(--dy, 0px); } 14%, 100% { opacity: 0; translate: var(--dx, 0px) var(--dy, 0px); } }
@keyframes thump { 0% { opacity: 0; scale: 1; } 4% { opacity: .9; scale: 1; } 40%, 100% { opacity: 0; scale: 1.32; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sweep { 0% { opacity: 0; left: 116px; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes cell { 0% { scale: 1; } 40% { scale: 1.16; } 100% { scale: 1; } }
@keyframes scan { 0% { opacity: 0; top: 0; } 10%, 85% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
@keyframes gauge { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ok { to { background: color-mix(in srgb, var(--pass) 16%, var(--surface)); box-shadow: none; } }
@keyframes tick { to { transform: rotate(45deg) scale(1); } }
@keyframes gone { to { opacity: 0; } }
@keyframes halo-pulse { 0% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px #7c5cff59; } 50% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 10px #7c5cff00; } 100% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px #7c5cff00; } }
@keyframes drain { to { transform: scaleX(0); } }
@keyframes cur-in { 0% { opacity: 0; translate: var(--sx) var(--sy); } 20% { opacity: 1; } 100% { opacity: 1; translate: var(--cx) var(--cy); } }
@keyframes cur-click { 50% { scale: .8; } }
@keyframes cur-out { 0% { opacity: 1; translate: var(--cx) var(--cy); } 100% { opacity: 0; translate: calc(var(--cx) + 60px) calc(var(--cy) + 40px); } }
@keyframes hover-on { to { scale: 1.05; } }
@keyframes press { 0% { scale: 1.05; } 35% { scale: .92; } 100% { scale: 1; } }
@keyframes ripple { 0% { opacity: 1; scale: .4; } 100% { opacity: 0; scale: 2.4; } }
@keyframes swap-out { to { opacity: 0; translate: 0 -5px; } }
@keyframes swap-in { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@keyframes toast-in { from { opacity: 0; translate: 0 18px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes raw-cycle { 0%, 18% { opacity: 1; filter: blur(0); } 26%, 88% { opacity: 0; filter: blur(6px); } 96%, 100% { opacity: 1; filter: blur(0); } }
@keyframes tok-cycle { 0%, 22% { opacity: 0; scale: .7; } 30%, 86% { opacity: 1; scale: 1; } 92%, 100% { opacity: 0; scale: .7; } }
@keyframes shackle { from { translate: 0 -5px; } }
@keyframes radar { 0% { opacity: .8; scale: 1; } 100% { opacity: 0; scale: 3.2; } }
@keyframes switch-knob { 0%, 30% { translate: 0 0; } 42%, 100% { translate: 20px 0; } }
@keyframes switch-bg { 0%, 30% { background: #ffffff1f; } 42%, 100% { background: var(--violet); } }
@keyframes ver-old { 0%, 34% { color: var(--ink-3); background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--line); } 46%, 100% { color: var(--ink); background: #7c5cff33; box-shadow: inset 0 0 0 1px #7c5cff80; } }
@keyframes ver-new { 0%, 34% { color: var(--ink); text-decoration-color: transparent; } 46%, 100% { color: var(--ink-3); text-decoration-color: currentColor; } }

/* the rings, the marquee and the live dots move even before the hero plays; reduced motion stops them (bottom of the file) */
.rings ellipse { animation: march 34s linear infinite; }
.rings ellipse + ellipse { animation-duration: 26s; animation-direction: reverse; }
.pulse { animation: ping 2.2s var(--ui) infinite; }
.hero h1 em, .closing h2 em { animation: hue 9s linear infinite; }

/* the aura drifts slowly */
.js:not(.still) .aura::before { animation: drift 36s ease-in-out infinite alternate; will-change: transform; }

/* split headings rise word by word; a pinned step's words leave upward as the next step's arrive */
.js:not(.still) .split:not(.ready) { opacity: 0; animation: show 0s 3s forwards; }
.js:not(.still) .split .wi { translate: 0 120%; transition: translate .5s var(--in) calc(var(--wi) * .35); }
.js:not(.still) .split.in .wi, .js:not(.still) .step.on .split .wi { translate: 0 0; transition: translate 1s var(--out) calc(var(--d0, 0s) + var(--wi)); }
.js:not(.still) .step.past .split .wi { translate: 0 -120%; }
.js:not(.still) .step .split { --d0: .16s; }

/* hero: everything waits for the fonts, then plays in one sequence */
.js:not(.still) .hero:not(.go) :is(.eyebrow, .sub, .actions, .core, .core-glow, .rings, .spokes, .parts li) { opacity: 0; }
.js:not(.still) .hero.go .eyebrow { animation: rise .9s var(--out) both; }
.js:not(.still) .hero.go .sub { animation: rise 1s var(--out) .42s both; }
.js:not(.still) .hero.go .actions { animation: rise 1s var(--out) .54s both; }
.js:not(.still) .hero h1 .wi { transition-duration: 1.1s; }
.js:not(.still) .hero.go .rings { animation: ring-in 1.6s var(--out) .55s both; }
.js:not(.still) .hero.go .spokes { animation: fade 1.2s var(--ui) 1.4s both; }
.js:not(.still) .hero.go .core-glow { animation: fade 1.8s var(--out) .6s both, spin 16s linear infinite; }
.js:not(.still) .hero.go .core { animation: pop 1s var(--spring) .6s both; }
.js:not(.still) .hero.go .core::after { animation: thump 2s var(--out) 4.1s infinite; }
.js:not(.still) .hero.go .parts li { animation: fly 1.1s var(--out) var(--in-d) both; }
.js:not(.still) .hero.go .part { animation: bob var(--b) ease-in-out var(--in-d) infinite, glow 12s ease-in-out var(--g) infinite; }
.js:not(.still) .hero.go .part em { animation: badge 12s ease-in-out var(--g) infinite; }
.js:not(.still) .hero.go .pk { animation: packet 12s var(--ui) var(--g) infinite; }
.p1 { --in-d: .8s; --b: 6s; } .p2 { --in-d: .88s; --b: 7s; } .p3 { --in-d: .96s; --b: 5.5s; }
.p4 { --in-d: 1.04s; --b: 6.5s; } .p5 { --in-d: 1.12s; --b: 7.5s; } .p6 { --in-d: 1.2s; --b: 5s; }
/* scrolling away: the hero copy lifts and fades a little */
.js:not(.still) .hero-copy { translate: 0 calc(var(--hp, 0) * -70px); opacity: calc(1 - var(--hp, 0) * .85); }
.js:not(.still) .orbit { scale: calc(1 - var(--hp, 0) * .05); }

/* blocks focus in as they reach the screen, one after another */
.js:not(.still) .reveal { opacity: 0; filter: blur(8px); translate: 0 22px; transition: opacity .9s var(--out), filter .9s var(--out), translate 1.1s var(--out); }
.js:not(.still) .reveal.in { opacity: 1; filter: blur(0); translate: 0 0; }
.js:not(.still) .band .reveal:nth-child(2), .js:not(.still) .bento .reveal:nth-child(2), .js:not(.still) .bento .reveal:nth-child(5) { transition-delay: .08s; }
.js:not(.still) .band .reveal:nth-child(3), .js:not(.still) .bento .reveal:nth-child(3), .js:not(.still) .bento .reveal:nth-child(6) { transition-delay: .16s; }
.js:not(.still) .bento .reveal:nth-child(4) { transition-delay: .04s; }

/* pinned scenes: the tinted panel cross-fades, the scene focuses in, the copy rolls over */
.js:not(.still) .story.pinned .visual { opacity: 0; transition: opacity .7s var(--ui); }
.js:not(.still) .story.pinned .step.on .visual { opacity: 1; }
.js:not(.still) .story.pinned .copy { pointer-events: none; }
.js:not(.still) .story.pinned .step.on .copy { pointer-events: auto; }
.js:not(.still) .story.pinned :is(.kicker, .copy .sub) { opacity: 0; translate: 0 14px; filter: blur(6px); transition: opacity .35s var(--ui), translate .5s var(--out), filter .4s var(--ui); }
.js:not(.still) .story.pinned .step.past :is(.kicker, .copy .sub) { translate: 0 -14px; }
.js:not(.still) .story.pinned .step.on :is(.kicker, .copy .sub) { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity .6s var(--ui) .12s, translate .9s var(--out) .12s, filter .6s var(--ui) .12s; }
.js:not(.still) .story.pinned .step.on .copy .sub { transition-delay: .5s; }
.js:not(.still) .scene { opacity: 0; translate: 0 26px; scale: .97; filter: blur(10px); transition: opacity .45s var(--ui), translate .7s var(--out), scale .7s var(--out), filter .5s var(--ui); }
.js:not(.still) .step.past .scene { translate: 0 -26px; }
.js:not(.still) .step.on .scene { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); transition: opacity .6s var(--ui) .18s, translate 1s var(--out) .18s, scale 1s var(--out) .18s, filter .7s var(--ui) .18s; }

/* 1. watch */
.js:not(.still) .live { animation: ping-blue 1.8s var(--ui) infinite; }
.js:not(.still) .span > i::after { transform: scaleX(0); }
.js:not(.still) .step.on .span > i::after { transform: none; animation: grow .7s var(--out) calc(var(--d) + .2s) both; }
.js:not(.still) .step.on .playhead { animation: sweep 1.3s cubic-bezier(.4, 0, .6, 1) .35s both; }
.js:not(.still) .links svg { opacity: 0; transition: opacity .5s var(--ui); }
.js:not(.still) .step.on .links svg { opacity: 1; transition-delay: 1.3s; }
.js:not(.still) .step.on .links i { animation: travel 2.6s var(--ui) 1.5s infinite; }
.js:not(.still) .step.on .links .k2 { animation-delay: 1.75s; }
.js:not(.still) .step.on .links .k3 { animation-delay: 2s; }
.js:not(.still) .ev { opacity: 0; translate: 16px 0; transition: opacity .5s var(--ui), translate .8s var(--out); }
.js:not(.still) .step.on .ev { opacity: 1; translate: 0 0; }
.js:not(.still) .step.on .e1 { transition-delay: 1.4s; } .js:not(.still) .step.on .e2 { transition-delay: 1.55s; }
.js:not(.still) .step.on .e3 { transition-delay: 2.5s; transition-timing-function: var(--ui), var(--spring); }

/* 2. group */
.js:not(.still) .swarm i { left: calc(var(--x0) * 1%); top: calc(var(--y0) * 1%); background: var(--ink-4);
  transition: left 1.3s var(--out) var(--dl), top 1.3s var(--out) var(--dl), background-color .6s var(--ui) var(--dl); animation: bob var(--b) ease-in-out infinite; }
.js:not(.still) .step.on .swarm i { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); background: var(--c); }
.js:not(.still) .halos span { opacity: 0; scale: .6; transition: opacity .6s var(--ui), scale 1.2s var(--out); }
.js:not(.still) .step.on .halos span { opacity: 1; scale: 1; transition-delay: 1.3s; }
.js:not(.still) .mode { opacity: 0; translate: 0 12px; transition: opacity .6s var(--ui), translate .9s var(--spring); }
.js:not(.still) .step.on .mode { opacity: 1; translate: 0 0; }
.js:not(.still) .step.on .m1 { transition-delay: 1.5s; } .js:not(.still) .step.on .m2 { transition-delay: 1.62s; } .js:not(.still) .step.on .m3 { transition-delay: 1.74s; }

/* 3. rewrite */
.js:not(.still) .code .del, .js:not(.still) .code .ins { opacity: 0; translate: -8px 0; transition: opacity .4s var(--ui), translate .7s var(--out); }
.js:not(.still) .step.on .code .del { opacity: 1; translate: 0 0; transition-delay: .5s; }
.js:not(.still) .step.on .code .ins { opacity: 1; translate: 0 0; transition-delay: 1s; }
.type.typing::after { content: ""; display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -3px; border-radius: 1px; background: #146b45; animation: caret .8s steps(1) infinite; }
.js:not(.still) .cands .chip { opacity: 0; scale: .8; transition: opacity .3s var(--ui), scale .55s var(--spring), box-shadow .45s var(--ui), background-color .45s var(--ui), color .45s var(--ui); }
.js:not(.still) .step.on .cands .chip { opacity: 1; scale: 1; }
.js:not(.still) .step.on .cands .chip:nth-of-type(2) { transition-delay: 2.5s; } .js:not(.still) .step.on .cands .chip:nth-of-type(3) { transition-delay: 2.6s; } .js:not(.still) .step.on .cands .chip:nth-of-type(4) { transition-delay: 2.7s; }
.js:not(.still) .cands .pick { background: var(--surface-2); box-shadow: none; color: var(--ink-2); }
.js:not(.still) .step.on .cands .pick { background: color-mix(in srgb, var(--violet) 10%, var(--surface)); box-shadow: inset 0 0 0 1.5px #7c5cff8c; color: var(--violet-ink); transition-delay: 2.6s, 2.6s, 3.3s, 3.3s, 3.3s; }
.js:not(.still) .cands .pick svg { scale: 0; transition: scale .5s var(--spring); }
.js:not(.still) .step.on .cands .pick svg { scale: 1; transition-delay: 3.45s; }

/* 4. test */
.js:not(.still) .cells i { background: var(--surface-2); transition: background-color .3s var(--ui) var(--cd); }
.js:not(.still) .cells i.f { background: color-mix(in srgb, var(--fail) 38%, var(--surface)); }
.js:not(.still) .step.on .cells i { background: #cdeedd; animation: cell .45s var(--spring) var(--cd); }
.js:not(.still) .step.on .cells i.f { background: var(--pass); }
.js:not(.still) .step.on .scan { animation: scan 1.7s cubic-bezier(.45, 0, .55, 1) .25s both; }
.js:not(.still) .gauge .val { stroke-dashoffset: 100; }
.js:not(.still) .step.on .gauge .val { animation: gauge 1.4s var(--out) .55s forwards; }
.js:not(.still) .step .check { background: transparent; box-shadow: inset 0 0 0 2px var(--line-2); }
.js:not(.still) .step .check::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--ink); animation: spin .8s linear infinite; }
.js:not(.still) .step .check::after { transform: rotate(45deg) scale(0); }
.js:not(.still) .step.on .check { animation: ok .25s var(--ui) var(--d) forwards; }
.js:not(.still) .step.on .check::before { animation: spin .8s linear infinite, gone .2s var(--ui) var(--d) forwards; }
.js:not(.still) .step.on .check::after { animation: tick .5s var(--spring) var(--d) forwards; }

/* 5. ship */
.js:not(.still) .chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.still) .step.on .chart .line { animation: draw 2.2s var(--ui) .35s forwards; }
.js:not(.still) .chart .area { opacity: 0; transition: opacity .9s var(--ui); }
.js:not(.still) .step.on .chart .area { opacity: 1; transition-delay: 2.2s; }
.js:not(.still) .chart .end { opacity: 0; scale: 0; transition: opacity .3s var(--ui), scale .6s var(--spring); }
.js:not(.still) .step.on .chart .end { opacity: 1; scale: 1; transition-delay: 2.45s; animation: halo-pulse 2s var(--ui) 3s infinite; }
.js:not(.still) .stages i::after { transform: scaleX(0); }
.js:not(.still) .step.on .stages i::after { transform: none; animation: grow .8s var(--out) var(--d) both; }
.js:not(.still) .guards .chip { opacity: 0; scale: .85; transition: opacity .3s var(--ui), scale .5s var(--spring); }
.js:not(.still) .step.on .guards .chip { opacity: 1; scale: 1; }
.js:not(.still) .step.on .guards .chip:nth-child(1) { transition-delay: 2.5s; } .js:not(.still) .step.on .guards .chip:nth-child(2) { transition-delay: 2.6s; }
.js:not(.still) .step.on .guards .chip:nth-child(3) { transition-delay: 2.7s; } .js:not(.still) .step.on .guards .chip:nth-child(4) { transition-delay: 2.9s; }

/* the approval window tilts up into place, then plays: the change appears, the failures drain, a cursor approves it */
.js:not(.still) .window { opacity: 0; transform: perspective(1800px) rotateX(16deg) translateY(56px) scale(.95); transform-origin: 50% 0;
  transition: opacity 1s var(--out), transform 1.5s var(--out); }
.js:not(.still) .window.in { opacity: 1; transform: none; }
.js:not(.still) .window .add, .js:not(.still) .window .del { opacity: 0; translate: -8px 0; transition: opacity .5s var(--ui), translate .7s var(--out); }
.js:not(.still) .window.play .add, .js:not(.still) .window.play .del { opacity: 1; translate: 0 0; }
.js:not(.still) .window.play .del { transition-delay: .15s; }
.js:not(.still) .window.play .add:nth-child(3) { transition-delay: .3s; }
.js:not(.still) .window.play .add:nth-child(4) { transition-delay: .42s; }
.js:not(.still) .window.play .add:nth-child(5) { transition-delay: .54s; }
.js:not(.still) .window .measure b { opacity: 0; transition: opacity .5s var(--ui) .5s; }
.js:not(.still) .window.play .measure b { opacity: 1; }
.js:not(.still) .window .track.after i { transform: none; }
.js:not(.still) .window.play .track.after i { animation: drain 1.1s var(--out) .8s forwards; }
.js:not(.still) .window .chip.blue .dot { animation: ping-blue 1.8s var(--ui) infinite; }
.js:not(.still) .window.play .cursor { animation: cur-in 1.1s var(--out) 1.3s forwards, cur-click .3s var(--ui) 2.55s, cur-out .7s var(--ui) 4.4s forwards; }
.js:not(.still) .window.play .approve { animation: hover-on .25s var(--ui) 2.2s forwards, press .45s var(--spring) 2.55s forwards; }
.js:not(.still) .window.play .ripple { animation: ripple .8s var(--out) 2.62s; }
.js:not(.still) .window.play .wait { animation: swap-out .35s var(--ui) 2.85s forwards; }
.js:not(.still) .window.play .done { animation: swap-in .45s var(--out) 2.95s forwards; }
.js:not(.still) .toast { opacity: 0; }
.js:not(.still) .window.play .toast { animation: toast-in .7s var(--spring) 3.3s both; }

/* security */
.js:not(.still) .t-redact.in .raw { animation: raw-cycle 8s var(--ui) var(--pd) infinite; }
.js:not(.still) .t-redact .tok { opacity: 0; }
.js:not(.still) .t-redact.in .tok { animation: tok-cycle 8s var(--spring) var(--pd) infinite; }
.p-a { --pd: .6s; } .p-b { --pd: 1.1s; } .p-c { --pd: 1.6s; }
.js:not(.still) .t-key.in .shackle { animation: shackle .9s var(--spring) .5s both; }
.js:not(.still) .region .ping::before { animation: radar 2.4s var(--out) infinite; }
.js:not(.still) .region .ping::after { animation: radar 2.4s var(--out) 1.2s infinite; }
.js:not(.still) .t-pin.in .switch { animation: switch-bg 6s var(--ui) 1s infinite alternate both; }
.js:not(.still) .t-pin.in .switch i { animation: switch-knob 6s var(--spring) 1s infinite alternate both; }
.js:not(.still) .t-pin.in .ver.old { animation: ver-old 6s var(--ui) 1s infinite alternate both; }
.js:not(.still) .t-pin.in .pin-demo .ver:first-child { animation: ver-new 6s var(--ui) 1s infinite alternate both; }

/* the closing harness parts float */
.js:not(.still) .floaters li { animation: bob var(--b) ease-in-out infinite; }

/* ---------------------------------------------------------------- narrow screens */

@media (max-width: 1080px) {
  .bar { gap: 12px; }
  .nav a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .watch { grid-template-columns: 1fr; gap: 14px; }
  .links { display: none; }
  .ed-body { grid-template-columns: 1fr; }
  .files { display: none; }
  .gate { grid-template-columns: 1fr; gap: 24px; }
  .meters { grid-template-columns: 132px 1fr; column-gap: 24px; align-items: center; }
  .gauge { grid-row: span 3; margin: 0; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .panes { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-2); }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-redact, .t-pin { grid-column: span 2; }
  .floaters { display: none; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols > div:nth-child(3) { border-left: 0; }
  .cols > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav, .signin { display: none; }
  .bar { justify-content: space-between; }
  .scrolled .bar { margin-top: 8px; padding: 0 6px 0 16px; }
  .wordmark { font-size: 15px; }
  .eyebrow { max-width: 100%; height: 32px; font-size: 12px; gap: 8px; }
  .eyebrow > span:not(.tag) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .eyebrow .tag { height: 24px; font-size: 11px; }
  .actions .btn { width: 100%; max-width: 340px; }
  .btn-cta { justify-content: space-between; }
  .orbit { height: 400px; }
  .core { width: 108px; height: 108px; border-radius: 30px; }
  .core-glow { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .core .mark { width: 24px; height: 24px; margin-bottom: 8px; }
  .core b { font-size: 13px; }
  .part { height: 34px; gap: 7px; padding: 0 12px 0 10px; font-size: 12px; }
  .part .sw { width: 8px; height: 8px; }
  .p1 { --L: 24%; --T: 27%; } .p2 { --L: 76%; --T: 19%; } .p3 { --L: 78%; --T: 74%; }
  .p4 { --L: 50%; --T: 94%; } .p5 { --L: 23%; --T: 78%; } .p6 { --L: 46%; --T: 5%; }
  .track-x li { font-size: 18px; gap: 36px; padding-right: 36px; }
  .visual { margin-left: calc(var(--gutter) * -.5); margin-right: calc(var(--gutter) * -.5); }
  .field { height: 360px; }
  .swarm, .halos { bottom: 118px; }
  .modes { grid-template-columns: 1fr; gap: 6px; }
  .mode span { display: none; }
  .span { grid-template-columns: 112px 1fr; }
  .playhead { left: 112px; }
  .code { font-size: 11.5px; }
  .code .ln { padding-left: 36px; }
  .code .ln::before { width: 22px; }
  .ship-head b { order: 5; min-width: 100%; }
  .main { padding: 18px 16px 20px; }
  .window-bar .url, .wb-pad { display: none; }
  .ed-bar .tab:not(.on) { display: none; }
  .toast { left: 12px; right: 12px; bottom: 12px; }
  .stat { padding: 22px 4px 28px; }
  .bento { grid-template-columns: 1fr; }
  .t-redact, .t-pin { grid-column: auto; }
  .t-pin { flex-direction: column; align-items: flex-start; }
  .pin-demo { margin-left: 0; }
  .tile { min-height: 0; padding: 24px; }
  .tile .logline { font-size: 12px; }
  .cols a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track-x { width: auto; justify-content: center; }
  .track-x ul + ul { display: none; }
  .track-x ul { flex-wrap: wrap; justify-content: center; gap: 12px 0; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
