/* v16 "The Mechanism": airy chrome over one persistent WebGL canvas */
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Josefin Sans'; src: url('../fonts/josefin-sans-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #1a2230;
  --ink-2: #3a4659;
  --hair: rgba(26, 34, 48, .22);
  --glass: rgba(255, 255, 255, .55);
  --glass-b: rgba(255, 255, 255, .8);
  --accent: #1f55e0;
  --scrim: rgba(220, 225, 232, .9);
  --dark: 0; /* 0 light .. 1 dark: written per frame by ui.js from the same story sample as the backdrop */
  --p-top: #DCE1E8; --p-bot: #C9D0DA; --p-mid-a: #7d838c; --p-mid-b: #9aa0a9; /* static poster studio (matches story.js LIGHT / LIGHT_D) */
  --tone-ink: #1a2230; --tone-ink-2: #3a4659; --tone-hair: rgba(26, 34, 48, .22); --tone-pill-fg: #fff;
  --gut: clamp(20px, 6.2vw, 150px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --head: 'Jost', 'Josefin Sans', system-ui, sans-serif;
  --body: 'Geist', 'Jost', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  /* theme tokens: light values here, dark values in the single dark token set at the end of the file */
  --body-bg: linear-gradient(180deg, #DCE1E8, #C9D0DA); --nav-end: #DCE1E8;
  --btn-fg: #fff; --btn-sh: 0 14px 34px -14px rgba(26, 34, 48, .55), 0 0 0 0 rgba(47, 107, 255, 0); --btn-sh-h: 0 18px 40px -12px rgba(26, 34, 48, .6), 0 0 0 6px rgba(47, 107, 255, .18);
  --ghost-bg: rgba(255, 255, 255, .35); --ghost-hfg: #fff;
  --card-sh: 0 22px 50px -28px rgba(26, 34, 48, .45), inset 0 1px 0 rgba(255, 255, 255, .9); --card-sh-h: 0 32px 60px -26px rgba(26, 34, 48, .5), inset 0 1px 0 #fff; --card-bd-h: #fff;
  --rec-bd: rgba(31, 85, 224, .55); --tag-best-bg: #1a2230; --cur-bd: #2f6bff; --cur-bg: rgba(47, 107, 255, .06);
  --fxk-hi: rgba(255, 255, 255, .85); --fxk-tint: 20%; --fxk-sh: 22, 30, 48; --fxk-sheen: .5; --fxk-a: #2f6bff; --fxk-b: #1f55e0;
  --fxs-pct: 55%; --fxs-a: .4; --fxs-in: rgba(255, 255, 255, .9);
  --fxh-pct: 45%; --fxh-mix: #fff; --fxh-a1: .55; --fxh-a2: .3; --fxh-in: rgba(255, 255, 255, .95); --fxr-pct: 62%;
  --tb-core: scale(1.18); --tb-cut: translate(0, 0); --tb-rays: rotate(45deg) scale(.4); --tb-rays-o: 0;
  --p5-bg: radial-gradient(ellipse 5% 7% at 56% 22%, rgba(47,107,255,.85), rgba(47,107,255,0) 100%),
    radial-gradient(ellipse 13% 10% at 52% 32%, rgba(47,107,255,.5), rgba(47,107,255,.14) 60%, rgba(47,107,255,0) 100%),
    radial-gradient(circle at 50% 50%, rgba(120,132,152,0) 56%, rgba(120,132,152,.32) 100%),
    radial-gradient(circle, rgba(84,96,116,.34) 0 1px, rgba(84,96,116,0) 1.6px) 0 0 / 9px 9px,
    radial-gradient(circle at 34% 28%, #ffffff 0, #eef0f4 38%, #d4d9e2 74%, #bcc4cf 100%);
  --p5-sh: inset 0 0 0 1px rgba(255,255,255,.7), 0 44px 70px -26px rgba(20,30,50,.3);
  --cyl-l:
    radial-gradient(ellipse 1.7% 3.6% at 93.4% 50%, #2f6bff 0, rgba(47,107,255,.55) 55%, rgba(47,107,255,0) 100%),
    radial-gradient(ellipse 7.2% 45% at 93.4% 50%, #f1f3f7 0, #cdd3dc 62%, #9aa3b0 70%, rgba(154,163,176,0) 74%),
    repeating-linear-gradient(90deg, rgba(48,58,78,.30) 0 5px, rgba(48,58,78,0) 5px 38px) 24% 3% / 58% 9% no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, rgba(40,50,70,.07) 1px 3px) 3% 0 / 9% 100% no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.0) 0 14%, rgba(255,255,255,.0) 70%, rgba(60,70,90,.18) 88%, rgba(60,70,90,.0) 100%),
    linear-gradient(180deg, #fcfdfe 0, #e3e7ee 13%, #b4bcc8 42%, #eef0f4 58%, #a2abb8 84%, #7d8794 100%);
  --cyl-d:
    radial-gradient(ellipse 1.7% 3.6% at 93.4% 50%, #5b8bff 0, rgba(47,107,255,.6) 55%, rgba(47,107,255,0) 100%),
    radial-gradient(ellipse 7.2% 45% at 93.4% 50%, #59616f 0, #394150 62%, #20262f 70%, rgba(32,38,47,0) 74%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 5px, rgba(0,0,0,0) 5px 38px) 24% 3% / 58% 9% no-repeat,
    repeating-linear-gradient(90deg, rgba(220,228,240,.28) 0 1px, rgba(0,0,0,.18) 1px 3px) 3% 0 / 9% 100% no-repeat,
    linear-gradient(180deg, #7b8493 0, #596271 14%, #343b47 44%, #5a6372 58%, #282e38 84%, #191d25 100%);
}
body[data-tone="dark"], .chapter[data-tone="dark"] {
  --ink: #eef1f5;
  --ink-2: #b9c2cf;
  --hair: rgba(238, 241, 245, .28);
  --glass: rgba(255, 255, 255, .07);
  --glass-b: rgba(255, 255, 255, .16);
  --accent: #8fb0ff;
  --scrim: rgba(14, 17, 22, .88);
}

html[data-tone="dark"] { --tone-ink: #eef1f5; --tone-ink-2: #b9c2cf; --tone-hair: rgba(238, 241, 245, .28); --tone-pill-fg: #0E1116; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body {
  background: var(--body-bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  transition: color .7s var(--ease);
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #1a2230; color: #fff; padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }

#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); color: var(--tone-ink); --nav-bg: color-mix(in srgb, #0E1116 calc(var(--dark, 0) * 100%), var(--nav-end)); transition: background .25s, color .22s, box-shadow .5s; }
.nav.is-scrolled { background: color-mix(in srgb, var(--nav-bg, #DCE1E8) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--hair); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 15px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.links { display: flex; gap: clamp(20px, 3vw, 48px); margin-right: auto; margin-left: clamp(24px, 5vw, 90px); }
.links a, .signin { font: 500 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; }
.links a::after, .signin::after { content: ""; position: absolute; left: 0; right: .22em; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.links a:hover::after, .signin:hover::after, .links a:focus-visible::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.pill { display: inline-flex; align-items: center; height: 42px; padding: 0 22px; border-radius: 999px; background: var(--tone-ink); color: var(--tone-pill-fg); font: 500 13px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .22s, color .22s; }

/* counter + cue */
.counter { position: fixed; left: var(--gut); bottom: 34px; z-index: 40; display: grid; gap: 8px; color: var(--tone-ink); font: 300 15px/1 var(--head); letter-spacing: .18em; pointer-events: none; transition: opacity .5s, color .22s; }
.counter b { font-weight: 500; font-size: 20px; letter-spacing: .12em; }
.cnt-bar { display: block; width: 72px; height: 1px; background: var(--tone-hair); position: relative; }
.cnt-bar i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: currentColor; transform-origin: left; transform: scaleX(.125); transition: transform .8s var(--ease); }
.cnt-label { font: 500 11px/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--tone-ink-2); transition: color .22s; }
.cue { position: fixed; left: 50%; bottom: 30px; z-index: 40; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; pointer-events: none; color: var(--tone-ink); transition: opacity .6s var(--ease), color .22s; }
.cue span { font: 500 11px/1 var(--head); letter-spacing: .34em; text-transform: uppercase; padding-left: .34em; color: var(--tone-ink-2); }
.cue i { width: 1px; height: 40px; background: var(--hair); position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; inset: 0; background: currentColor; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.cue.is-off { opacity: 0; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; width: 0; height: 0; pointer-events: none; display: none; }
.cursor i { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--cur-bd); background: var(--cur-bg); transition: transform .35s var(--ease), background .35s, opacity .3s; }
body[data-tone="dark"] .cursor i { border-color: #8fb0ff; }
@media (pointer: fine) {
  html.has-cursor .cursor { display: block; }
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [data-gear] { cursor: none; }
  html.has-cursor .cursor.is-link i { transform: scale(1.7); background: rgba(47, 107, 255, .12); }
  html.has-cursor .cursor.is-down i { transform: scale(.7); }
  html.has-cursor .cursor.is-out i { opacity: 0; }
}

/* chapters */
.chapter { position: relative; height: 170vh; color: var(--ink); pointer-events: none; }
.chapter[data-chapter="0"] { height: 140vh; }
.chapter[data-chapter="3"] { height: 230vh; }
.chapter[data-chapter="6"] { height: 190vh; }
.chapter[data-chapter="7"] { height: 125vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 84px var(--gut) 112px; }
.chapter a, .chapter button, .chapter [data-gear], .card { pointer-events: auto; }
.copy { max-width: 36rem; position: relative; }
[data-side="left"] .copy { margin-right: auto; }
[data-side="right"] .copy { margin-left: auto; }
[data-side="center"] .copy { max-width: 62rem; margin-inline: auto; text-align: center; }
[data-side="right"] .copy { padding-right: 0; }

.chapter[data-tone="dark"] .copy::before { content: ""; position: absolute; inset: -12% -22%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(10, 13, 18, .86), rgba(10, 13, 18, .62) 60%, transparent); filter: blur(10px); }
/* copy scrim: only while this chapter's copy is shown, and never darker than the backdrop is */
html.js:not(.is-static) .chapter[data-tone="dark"] .copy::before { opacity: 0; transition: opacity .35s var(--ease); }
html.js:not(.is-static) .chapter[data-tone="dark"].is-active:not(.is-wait):not(.is-leave) .copy::before { opacity: var(--dark); }
@media (min-width: 821px) {
  .chapter[data-tone="dark"] .pin { isolation: isolate; }
  .chapter[data-tone="dark"] .pin::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 13, 18, .72) 0%, rgba(10, 13, 18, .5) 30%, rgba(10, 13, 18, .16) 52%, transparent 66%); }
  .chapter[data-tone="dark"][data-side="right"] .pin::before { background: linear-gradient(270deg, rgba(10, 13, 18, .72) 0%, rgba(10, 13, 18, .5) 30%, rgba(10, 13, 18, .16) 52%, transparent 66%); }
  /* no hard horizontal seam while a dark chapter scrolls in: feather the edges, show only when active */
  .chapter[data-tone="dark"] .pin::before { opacity: var(--dark); /* tracks the backdrop darkness per frame: no class-flip band */ -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
}
[data-chapter="0"] .copy { max-width: 38rem; }
[data-chapter="0"] .h-xl { font-size: clamp(30px, 3.5vw, 66px); }
.eyebrow { margin: 0 0 20px; font: 500 13px/1.4 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.h { margin: 0 0 24px; font: 300 clamp(28px, 3.1vw, 52px)/1.22 var(--head); letter-spacing: .13em; text-transform: uppercase; color: var(--ink); }
.h-xl { font-size: clamp(30px, 4.3vw, 72px); line-height: 1.16; letter-spacing: .12em; }
.lede { margin: 0 0 28px; font: 400 clamp(17px, 1.25vw, 21px)/1.6 var(--body); color: var(--ink-2); max-width: 31em; }
[data-side="center"] .lede { margin-inline: auto; }
.fine { margin: 22px 0 0; font: 400 14.5px/1.5 var(--body); color: var(--ink-2); letter-spacing: .01em; }
.more { margin: 8px 0 0; }
.link { display: inline-flex; gap: 12px; align-items: center; font: 500 13px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--hair); transition: border-color .4s, gap .4s var(--ease); }
.link:hover { border-color: currentColor; gap: 18px; }
.link i, .card-go i { font-style: normal; }
code.asset { font: 400 .72em/1 var(--mono); letter-spacing: 0; text-transform: none; padding: .38em .7em; border: 1px solid var(--hair); border-radius: 999px; background: var(--glass); white-space: nowrap; vertical-align: .12em; }

/* buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
[data-side="center"] .cta-row { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 38px; border-radius: 999px; font: 500 15px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: box-shadow .5s var(--ease), background .4s, color .4s, border-color .4s; }
.btn-primary { background: var(--ink); color: var(--btn-fg); box-shadow: var(--btn-sh); font-size: 15px; height: 60px; padding: 0 42px; }
.btn-primary:hover { box-shadow: var(--btn-sh-h); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); background: var(--ghost-bg); }
.btn-ghost:hover { background: var(--ink); color: var(--ghost-hfg); }
.btn[disabled] { opacity: .7; }
.btn > span, .pill > span { display: inline-block; pointer-events: none; }
.magnetic { will-change: transform; }

/* stats */
.stats { display: flex; gap: clamp(22px, 3vw, 48px); margin: 8px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--hair); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { margin: 0; font: 300 clamp(40px, 3.6vw, 60px)/1 var(--head); letter-spacing: .04em; }
.stats dt { font: 400 14px/1.3 var(--body); color: var(--ink-2); max-width: 9em; }

/* chips */
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 15px/1 var(--body); color: var(--ink); transition: border-color .35s, background .35s, opacity .35s, transform .35s var(--ease); }
.chips em { font: 400 11px/1 var(--mono); font-style: normal; color: var(--ink-2); letter-spacing: .08em; }
.chips.has-hot li { opacity: .5; }
.chips li.is-hot, .chips li:hover, .chips li:focus-visible { opacity: 1; border-color: #8fb0ff; background: rgba(47, 107, 255, .22); transform: translateY(-2px); }
.chips li.is-hot em { color: #cfe0ff; }
.chips-fw { margin-bottom: 18px; }

/* clocks */
.clocks { display: grid; grid-template-columns: repeat(2, auto); gap: clamp(22px, 3vw, 52px); justify-content: start; margin: 4px 0 0; padding-top: 22px; border-top: 1px solid var(--hair); }
.clock { display: flex; flex-direction: column; gap: 10px; }
.clock-k { font: 500 12px/1.3 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.clock-v { font: 300 clamp(34px, 3.2vw, 52px)/1 var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #ffb4ae; }
.clock-72 .clock-v { color: #ffd37a; }

/* pricing */
[data-chapter="7"] .pin { justify-content: center; }
[data-chapter="7"] .copy { max-width: min(1560px, 100%); width: 100%; }
[data-chapter="7"] .h { margin-bottom: 16px; }
[data-chapter="7"] .lede { margin-bottom: 36px; }
.cards { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.2vw, 22px); text-align: left; }
.cards li { display: flex; }
.card { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 36px 26px 26px; border-radius: 22px; text-decoration: none; background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--card-sh); transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s; }
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: var(--card-sh-h); border-color: var(--card-bd-h); }
.card.is-rec { border-color: var(--rec-bd); }
.card-name { font: 500 13px/1.3 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.card-price { font: 400 18px/1 var(--head); color: var(--ink-2); letter-spacing: .06em; }
.card-price b { font: 300 clamp(36px, 2.9vw, 50px)/1 var(--head); color: var(--ink); letter-spacing: .02em; margin-right: .1em; white-space: nowrap; }
.card-allow { font: 400 15px/1.45 var(--body); color: var(--ink-2); flex: 1; }
.card-go { font: 500 12px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); display: flex; gap: 10px; transition: gap .4s var(--ease); }
.card:not(.fx-card):hover .card-go { gap: 16px; }
.tag { position: absolute; top: 14px; right: 16px; padding: 6px 11px; border-radius: 999px; font: 500 10.5px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.tag-rec { background: #1f55e0; }
.tag-best { background: var(--tag-best-bg); }
/* R2-D price-card effects (driven by js/pricing-fx.js; classes are added by the script, so without it the plain cards above apply) */
@property --fx-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card.fx-card {
  --fx-hi: var(--fxk-hi); --fx-tint: var(--fxk-tint); --fx-sh: var(--fxk-sh); --fx-sheen: var(--fxk-sheen); --fx-edge: 100%;
  --mx: 50%; --my: 0%; --glow: 0;
  --fx-a: var(--fxk-a); --fx-b: var(--fxk-b);
  --fx-tf: perspective(1100px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translate3d(0, calc(var(--lift, 0) * 1px), 0);
  transform: var(--fx-tf);
  transform-origin: 50% 50%;
  background-image:
    radial-gradient(460px circle at var(--mx) var(--my), color-mix(in srgb, var(--fx-hi) calc(var(--glow) * 100%), transparent), transparent 66%),
    radial-gradient(640px circle at var(--mx) var(--my), color-mix(in srgb, var(--fx-a) calc(var(--glow) * var(--fx-tint)), transparent), transparent 70%);
  transition: box-shadow .55s var(--ease), border-color .4s, scale .22s var(--ease);
}
.card.fx-card.is-rec {
  background-image:
    radial-gradient(460px circle at var(--mx) var(--my), color-mix(in srgb, var(--fx-hi) calc(var(--glow) * 100%), transparent), transparent 66%),
    radial-gradient(640px circle at var(--mx) var(--my), color-mix(in srgb, var(--fx-a) calc(var(--glow) * var(--fx-tint)), transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--fx-a) 9%, transparent), transparent 46%);
  box-shadow: 0 26px 60px -30px color-mix(in srgb, var(--fx-b) var(--fxs-pct), transparent), 0 24px 50px -30px rgba(var(--fx-sh), var(--fxs-a)), inset 0 1px 0 var(--fxs-in);
}
.card.fx-card::before, .card.fx-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1; }
.card.fx-card::before {
  padding: 1.5px;
  background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--fx-a) calc(var(--glow) * 100%), transparent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card.fx-card.is-rec::before {
  background:
    radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, #fff calc(var(--glow) * 70%), transparent), transparent 70%),
    conic-gradient(from var(--fx-ang), color-mix(in srgb, var(--fx-b) 30%, transparent) 0%, color-mix(in srgb, var(--fx-a) 22%, transparent) 45%, var(--fx-a) 74%, color-mix(in srgb, var(--fx-a) 55%, #fff) 88%, color-mix(in srgb, var(--fx-b) 30%, transparent) 100%);
  animation: fx-spin 9s linear infinite paused;
}
.card.fx-card.is-rec::after {
  inset: 0;
  background: linear-gradient(106deg, transparent 38%, rgba(255, 255, 255, var(--fx-sheen)) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
  animation: fx-sheen 7.5s ease-in-out infinite paused;
}
.card.fx-card.fx-vis::before, .card.fx-card.fx-vis::after { animation-play-state: running; }
@keyframes fx-spin { to { --fx-ang: 360deg; } }
@keyframes fx-sheen { 0%, 52% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.band-dark .card.fx-card, [data-theme="dark"] .card.fx-card, .chapter[data-tone="dark"] .card.fx-card, body[data-tone="dark"] .card.fx-card {
  --fx-hi: rgba(255, 255, 255, .1); --fx-tint: 26%; --fx-sh: 0, 0, 0; --fx-sheen: .13; --fx-a: #6f9bff; --fx-b: #8fb0ff;
}
.card.fx-card .card-price b { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.card.fx-card .fx-num { grid-area: 1 / 1; }
.card.fx-card .fx-real { grid-area: 1 / 1; opacity: 0; }
.card.fx-card .fx-counting { display: inline-grid; }
@media (hover: hover) {
  .card.fx-card:hover, .card.fx-card.fx-focus {
    border-color: color-mix(in srgb, var(--fx-a) var(--fxh-pct), var(--fxh-mix));
    box-shadow: calc(var(--ry, 0) * -1.6px) calc(42px + var(--rx, 0) * 1.6px) 70px -30px rgba(var(--fx-sh), var(--fxh-a1)), 0 14px 26px -18px rgba(var(--fx-sh), var(--fxh-a2)), inset 0 1px 0 var(--fxh-in);
  }
  .card.fx-card.is-rec:hover, .card.fx-card.is-rec.fx-focus {
    box-shadow: calc(var(--ry, 0) * -1.6px) calc(42px + var(--rx, 0) * 1.6px) 80px -30px color-mix(in srgb, var(--fx-b) var(--fxr-pct), transparent), 0 14px 26px -18px rgba(var(--fx-sh), var(--fxh-a2)), inset 0 1px 0 var(--fxh-in);
  }
}
.card.fx-card.fx-focus { border-color: color-mix(in srgb, var(--fx-a) var(--fxh-pct), var(--fxh-mix)); }
.card.fx-card.fx-press { scale: .985; }
.card.fx-card .card-go i { display: inline-block; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.card.fx-card:hover .card-go i, .card.fx-card.fx-focus .card-go i { transform: translateX(7px); }
.card.fx-card.fx-press .card-go i { transform: translateX(2px); transition-duration: .12s; }
@media (prefers-reduced-motion: reduce) {
  .card.fx-card.is-rec::before, .card.fx-card.is-rec::after { animation: none; }
  .card.fx-card.is-rec::after { display: none; }
  .card.fx-card, .card.fx-card .card-go i { transition: none; }
}

/* monitor: trailing "+11 more" chip (ghost, links to the services overview) */
.chips li.chip-more { padding: 0; border-style: dashed; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink-2); }
.chips li.chip-more a { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 18px 0 14px; border-radius: 999px; color: inherit; text-decoration: none; }
.chips li.chip-more em { font-size: 13px; }
.chips li.chip-more:hover, .chips li.chip-more:focus-within { transform: none; background: transparent; border-color: var(--ink-2); color: var(--ink); opacity: 1; }
.chips li.chip-more a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* govern: framework chips light their pins */
.chips-fw li { cursor: pointer; }
.chips-fw li:hover, .chips-fw li:focus-visible, .chips-fw li.is-hot { border-color: #8fb0ff; background: rgba(47, 107, 255, .22); transform: translateY(-2px); }
.chips-fw li.is-hot em { color: #cfe0ff; }
.chips-fw.has-hot li:not(.is-hot) { opacity: .5; }
.fw-hint { margin: -4px 0 0; }
.fw-hint .h-touch { display: none; }
@media (hover: none), (pointer: coarse) { .fw-hint .h-fine { display: none; } .fw-hint .h-touch { display: inline; } }

/* close + footer */
[data-chapter="6"] .pin { justify-content: space-between; padding-top: 16vh; padding-bottom: 56px; }
.copy-low { max-width: 62rem; margin-inline: auto; width: 100%; text-align: center; }
.foot { position: relative; z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 30px; padding: 30px var(--gut) 40px; background: var(--p-bot); color: var(--tone-ink); border-top: 1px solid var(--tone-hair); font: 400 14.5px/1.4 var(--body); }
.foot a { text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--tone-ink); text-decoration: underline; text-underline-offset: 4px; }

/* reveals: enter from below, exit upward, staggered */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .06em; margin: -.14em -.06em; }
.wi { display: inline-block; }
html.js:not(.is-static) .wi { transform: translateY(115%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
html.js:not(.is-static) [data-r], html.js:not(.is-static) .cards li { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 250ms); }
html.js:not(.is-static) .chapter.is-active:not(.is-wait):not(.is-leave) .wi { transform: none; }
html.js:not(.is-static) .chapter.is-active:not(.is-wait):not(.is-leave) [data-r], html.js:not(.is-static) .chapter.is-active:not(.is-wait):not(.is-leave) .cards li { opacity: 1; transform: none; }
html.js:not(.is-static) .chapter.is-past .wi, html.js:not(.is-static) .chapter.is-leave .wi { transform: translateY(-115%); transition-delay: calc(var(--i, 0) * 30ms); transition-duration: .7s; }
html.js:not(.is-static) .chapter.is-past [data-r], html.js:not(.is-static) .chapter.is-past .cards li, html.js:not(.is-static) .chapter.is-leave [data-r], html.js:not(.is-static) .chapter.is-leave .cards li { opacity: 0; transform: translateY(-34px); transition-delay: calc(var(--i, 0) * 25ms); transition-duration: .6s; }
html.js:not(.is-static) .chapter:not(.is-active):not(.is-past) .cards li, html.js:not(.is-static) .chapter.is-active .cards { opacity: 1; transform: none; }
html.js:not(.is-static) .cards { opacity: 1 !important; transform: none !important; }

/* poster backgrounds: static mode, or before the canvas is up */
html.is-static #stage { display: none; }
html.is-static .chapter, html:not(.v16-ready) .chapter { background-repeat: no-repeat; background-size: 100% 100%; }
html.is-static .chapter { height: auto; min-height: 100vh; pointer-events: auto; }
html.is-static .pin { position: relative; height: auto; min-height: 100vh; }
/* v18 posters: pure-CSS lock cylinder (lathe-turned steel barrel) on the side opposite the copy.
   Vars per chapter: --ox/--oy centre (oy in svh), --w width, --rot tilt. Pseudo-elements carry the object, chapter bg carries tone + glow. */
html.is-static .chapter, html:not(.v16-ready) .chapter {
  --ox: 72%; --oy: .5; --w: min(40vw, 74svh); --rot: -7deg; --glow: rgba(47,107,255,.12); --gx: var(--ox); --gy: calc(var(--oy) * 100svh);
  --none: linear-gradient(transparent, transparent);
  --cyl-top: var(--none);
}
html.is-static .chapter::before, html:not(.v16-ready) .chapter::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: var(--ox); top: calc(var(--oy) * 100svh); width: var(--w); aspect-ratio: 2.6;
  transform: translate(-50%, -50%) rotate(var(--rot)); border-radius: 7% / 24%;
  background: var(--cyl-top), var(--cyl-l);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 -10px 18px -8px rgba(40,50,70,.25);
  filter: drop-shadow(0 28px 34px rgba(20,30,50,.16));
}
html.is-static .chapter[data-tone="dark"]::before, html:not(.v16-ready) .chapter[data-tone="dark"]::before {
  background: var(--cyl-top), var(--cyl-d);
  box-shadow: inset 0 0 0 1px rgba(220,228,240,.14), inset 0 -10px 18px -8px rgba(0,0,0,.5);
  filter: drop-shadow(0 0 40px rgba(47,107,255,.18));
}
html.is-static .chapter, html:not(.v16-ready) .chapter {
  background-image: radial-gradient(34% 40% at var(--gx) var(--gy), var(--glow), transparent 70%), linear-gradient(180deg, var(--p-top), var(--p-bot));
}
/* 0 hero: closed, 3/4 hint via end face; copy left */
html.is-static [data-chapter="0"], html:not(.v16-ready) [data-chapter="0"] { --ox: 72%; --oy: .47; --rot: -9deg; }
/* 1 one asset in: glass housing, key in the end face, blue shear line along the pins; copy right */
html.is-static [data-chapter="1"], html:not(.v16-ready) [data-chapter="1"] { --ox: 26%; --oy: .48; --w: min(40vw, 74svh); --rot: -5deg; --glow: rgba(47,107,255,.2);
  --cyl-top: linear-gradient(90deg, rgba(47,107,255,0) 0, rgba(47,107,255,.85) 20%, rgba(47,107,255,.85) 80%, rgba(47,107,255,0) 100%) 6% 31% / 88% 1.4% no-repeat, linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1) 40%, rgba(255,255,255,.28));
  background-image: radial-gradient(34% 40% at var(--gx) var(--gy), var(--glow), transparent 70%), linear-gradient(180deg, var(--p-bot) 0%, var(--p-bot) 88%, var(--p-mid-a) 93%, #0E1116 100%); }
/* 2 monitor: dark, barrel opened, gears row hinted in the gap; copy left */
html.is-static [data-chapter="2"], html:not(.v16-ready) [data-chapter="2"] { --ox: 72%; --oy: .5; --w: min(44vw, 78svh); --rot: -6deg; --glow: rgba(47,107,255,.26);
  background-image: radial-gradient(34% 40% at var(--gx) var(--gy), var(--glow), transparent 70%), linear-gradient(180deg, #0E1116, #161B23); }
html.is-static [data-chapter="2"]::before, html:not(.v16-ready) [data-chapter="2"]::before { -webkit-mask-image: linear-gradient(90deg, #000 0 45%, transparent 45% 55%, #000 55%); mask-image: linear-gradient(90deg, #000 0 45%, transparent 45% 55%, #000 55%); }
html.is-static [data-chapter="2"]::after, html:not(.v16-ready) [data-chapter="2"]::after, html.is-static [data-chapter="4"]::after, html:not(.v16-ready) [data-chapter="4"]::after, html.is-static [data-chapter="3"]::after, html:not(.v16-ready) [data-chapter="3"]::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: var(--ox); top: calc(var(--oy) * 100svh); width: calc(var(--w) * .1); aspect-ratio: .6 / 1; transform: translate(-50%, -50%) rotate(var(--rot));
  background: radial-gradient(closest-side, rgba(47,107,255,.5), rgba(47,107,255,0)), repeating-radial-gradient(circle at 50% 30%, rgba(47,107,255,.65) 0 1px, transparent 1px 6px);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); opacity: .8; }
/* 4 govern: dark, opened; copy left, object right */
html.is-static [data-chapter="4"], html:not(.v16-ready) [data-chapter="4"] { --ox: 72%; --oy: .5; --w: min(44vw, 78svh); --rot: -5deg; --glow: rgba(47,107,255,.2);
  background-image: radial-gradient(34% 40% at var(--gx) var(--gy), var(--glow), transparent 70%), linear-gradient(180deg, #0E1116 0%, #161B23 90%, var(--p-mid-b) 97%, var(--p-top) 100%); }
html.is-static [data-chapter="4"]::before, html:not(.v16-ready) [data-chapter="4"]::before { -webkit-mask-image: linear-gradient(90deg, #000 0 45%, transparent 45% 55%, #000 55%); mask-image: linear-gradient(90deg, #000 0 45%, transparent 45% 55%, #000 55%); }
/* 3 respond: dark, one pin glows red, then re-seats; copy right, object left */
html.is-static [data-chapter="3"], html:not(.v16-ready) [data-chapter="3"] { --ox: 28%; --oy: .5; --w: min(44vw, 78svh); --rot: 4deg; --glow: rgba(255,59,48,.1);
  --cyl-top: radial-gradient(ellipse 3% 12% at 42% 14%, rgba(255,59,48,.95), rgba(255,59,48,.35) 55%, rgba(255,59,48,0) 100%), linear-gradient(90deg, rgba(47,107,255,0) 0, rgba(47,107,255,.6) 20%, rgba(47,107,255,.6) 80%, rgba(47,107,255,0) 100%) 6% 31% / 88% 1% no-repeat;
  background-image: radial-gradient(34% 40% at var(--gx) var(--gy), var(--glow), transparent 70%), linear-gradient(180deg, #161B23, #0E1116); }
/* 5 trust: pale satin dot globe (blue Europe hint) with the small cylinder beside it; copy right */
html.is-static [data-chapter="5"], html:not(.v16-ready) [data-chapter="5"] { --ox: 27%; --oy: .5; --w: min(40vw, 66svh); --rot: 0deg; --glow: rgba(47,107,255,.1); }
html.is-static [data-chapter="5"]::before, html:not(.v16-ready) [data-chapter="5"]::before {
  aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--p5-bg);
  box-shadow: var(--p5-sh); filter: none; }
html.is-static [data-chapter="5"]::after, html:not(.v16-ready) [data-chapter="5"]::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; left: 49%; top: calc(.5 * 100svh + var(--w) * .45); width: calc(var(--w) * .3); aspect-ratio: 2.6; transform: translate(-50%, -50%) rotate(-6deg);
  border-radius: 7% / 24%; background: var(--cyl-l); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); filter: drop-shadow(0 14px 16px rgba(20,30,50,.18)); }
/* 7 pricing: small cylinder resting top-left, cards below */
html.is-static [data-chapter="7"], html:not(.v16-ready) [data-chapter="7"] { --ox: 14%; --oy: .2; --w: min(18vw, 30svh); --rot: -8deg; --glow: rgba(47,107,255,.05); }
/* 6 close: closed cylinder, centred, key out, blue line out */
html.is-static [data-chapter="6"], html:not(.v16-ready) [data-chapter="6"] { --ox: 50%; --oy: .5; --w: min(26vw, 44svh); --rot: -7deg; --glow: rgba(47,107,255,.06);
  background-image: radial-gradient(34% 40% at var(--gx) var(--gy), var(--glow), transparent 70%), linear-gradient(180deg, var(--p-bot), var(--p-top)); }
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  html.is-static .chapter, html:not(.v16-ready) .chapter { --ox: 50%; --oy: .24; --w: 80vw; --rot: -6deg; }
  html.is-static [data-chapter="1"], html:not(.v16-ready) [data-chapter="1"] { --w: 84vw; }
  html.is-static [data-chapter="2"], html.is-static [data-chapter="4"], html.is-static [data-chapter="3"], html:not(.v16-ready) [data-chapter="2"], html:not(.v16-ready) [data-chapter="4"], html:not(.v16-ready) [data-chapter="3"] { --w: 84vw; }
  html.is-static [data-chapter="5"], html:not(.v16-ready) [data-chapter="5"] { --ox: 38%; --oy: .24; --w: 58vw; }
  html.is-static [data-chapter="5"]::after, html:not(.v16-ready) [data-chapter="5"]::after { left: 80%; top: calc(.36 * 100svh); width: 26vw; }
  html.is-static [data-chapter="7"], html:not(.v16-ready) [data-chapter="7"] { --ox: 50%; --oy: .13; --w: 44vw; }
  html.is-static [data-chapter="6"], html:not(.v16-ready) [data-chapter="6"] { --ox: 50%; --oy: .22; --w: 56vw; }
}
html.v16-ready:not(.is-static) .chapter { background: none; }

/* wide screens */
@media (min-width: 2200px) {
  body { font-size: 20px; }
  .copy { max-width: 46rem; }
  .nav { height: 88px; }
  .counter { bottom: 52px; }
  .h { font-size: clamp(52px, 2.4vw, 80px); }
  .h-xl { font-size: clamp(66px, 3vw, 100px); }
  .lede { font-size: 24px; }
  .fine { font-size: 17px; }
  .btn { height: 72px; font-size: 17px; } .btn-primary { height: 80px; font-size: 19px; padding: 0 60px; }
  .links a, .signin, .brand, .pill { font-size: 15px; }
  .pill { height: 50px; }
  [data-chapter="7"] .copy { max-width: 1900px; }
  .card-price b { font-size: 60px; } .card-allow { font-size: 18px; } .card-name { font-size: 15px; } .card { padding: 44px 32px 32px; }
  .chips li { height: 50px; font-size: 18px; }
  .clock-v { font-size: 64px; } .stats dd { font-size: 72px; } .stats dt { font-size: 17px; }
  .cue span, .cnt-label, .eyebrow { font-size: 14px; }
}

/* phone scrims exist only while their chapter is settled: otherwise the pin's hard bottom edge scrolls over the lock */
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  html.js:not(.is-static) .pin::before { opacity: 0; transition: opacity .5s var(--ease); }
  html.js:not(.is-static) .chapter.is-active:not(.is-wait):not(.is-leave) .pin::before { opacity: 1; }
}

/* tablet */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* phone: object top ~45%, copy bottom ~55% over a soft scrim */
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  body { font-size: 16px; }
  .nav { height: 58px; padding: 0 18px; }
  .brand span { font-size: 13px; letter-spacing: .24em; }
  .nav-right .signin { display: none; }
  .links a.m-only { display: block; }
  .pill { height: 38px; padding: 0 18px; font-size: 12px; }
  .pin { justify-content: flex-end; padding: 70px 20px 48px; } /* bottom clears the fixed counter */
  .pin::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, var(--scrim) 0%, var(--scrim) 55%, transparent 100%); }
  .copy, [data-side="center"] .copy { max-width: none; margin: 0; text-align: left; position: relative; z-index: 1; }
  .eyebrow { margin-bottom: 12px; font-size: 11.5px; letter-spacing: .24em; }
  .h { font-size: clamp(22px, 6.4vw, 30px); letter-spacing: .1em; margin-bottom: 16px; line-height: 1.24; }
  .h-xl { font-size: clamp(22px, 6.6vw, 30px); letter-spacing: .1em; }
  .lede { font-size: 16px; margin-bottom: 20px; }
  [data-side="center"] .lede { margin-inline: 0; }
  .fine { font-size: 13.5px; margin-top: 14px; }
  .cta-row, [data-side="center"] .cta-row { gap: 10px; justify-content: flex-start; }
  .btn { height: 52px; padding: 0 22px; font-size: 13px; letter-spacing: .16em; }
  .btn-primary { height: 56px; padding: 0 32px; font-size: 14px; }
  .stats { margin-bottom: 14px; padding-top: 14px; gap: 22px; }
  .stats dd { font-size: 36px; }
  .stats dt { font-size: 13px; }
  .chips { gap: 8px; }
  .chips li { height: 38px; font-size: 14px; padding: 0 14px 0 11px; }
  .clocks { gap: 22px; padding-top: 14px; }
  .clock-v { font-size: 27px; }
  .clock-k { font-size: 10.5px; letter-spacing: .16em; }
  .counter { left: auto; right: 18px; top: auto; bottom: 16px; display: flex; align-items: center; gap: 8px; font-size: 11px; opacity: .8; }
  .counter b { font-size: 12px; }
  .cnt-bar, .cnt-label { display: none; }
  .cue { display: none; }
  .foot { gap: 2px 20px; padding: 20px 20px 28px; font-size: 13.5px; }
  [data-chapter="6"] .pin { padding-top: 70px; padding-bottom: 48px; }
  [data-chapter="6"] .copy:first-child { margin-top: auto; }
  [data-chapter="6"] .copy-low { margin-top: 0; }

  /* pricing: compact stacked rows over a full scrim */
  [data-chapter="7"] .pin::before { height: 100%; background: linear-gradient(0deg, var(--scrim) 0%, var(--scrim) calc(100% - 210px), transparent calc(100% - 120px)); }
  [data-chapter="7"] .pin { padding-top: 64px; padding-bottom: 48px; justify-content: flex-end; }
  [data-chapter="7"] .lede { margin-bottom: 14px; }
  [data-chapter="7"] .h { margin-bottom: 8px; }
  [data-chapter="7"] .eyebrow { margin-bottom: 8px; }
  .cards { grid-template-columns: 1fr; gap: 8px; margin-bottom: 8px; }
  .card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "allow price"; align-items: center; gap: 2px 12px; padding: 12px 16px; border-radius: 16px; }
  .card-name { grid-area: name; font-size: 12px; letter-spacing: .2em; }
  .card-price { grid-area: price; text-align: right; font-size: 14px; }
  .card-price b { font-size: 28px; }
  .card-allow { grid-area: allow; font-size: 13.5px; line-height: 1.3; }
  .card-go { display: none; }
  .tag { position: static; grid-area: name; justify-self: end; margin-right: 0; display: none; }
  /* tag sits on its own row above the name so it never overlaps it (phones) */
  .card.is-rec, .card.is-best { grid-template-areas: "tag tag" "name price" "allow price"; }
  .tag { display: inline-block; position: static; grid-area: tag; justify-self: start; margin-bottom: 4px; padding: 4px 9px; font-size: 9.5px; }
  .card.is-rec, .card.is-best { margin-top: 4px; }
  .more { margin-top: 0; }
  .link { padding: 6px 0; }
}
@media (max-width: 720px) and (max-height: 760px) { [data-chapter="7"] .lede { display: none; } }

/* monitor: service explainer (selected chip -> card under the chips; fixed-height slot so nothing jumps) */
.chips li[data-gear] { cursor: pointer; }
.chips li[data-gear]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chips.has-hot li.is-sel { opacity: 1; }
.chips li.is-sel { border-color: #8fb0ff; background: rgba(47, 107, 255, .3); box-shadow: 0 0 0 1px rgba(143, 176, 255, .35), 0 8px 26px -10px rgba(47, 107, 255, .7); }
.chips li.is-sel em { color: #fff; }
.svc { --svc-h: 136px; position: relative; display: grid; margin-top: 16px; height: var(--svc-h); }
.svc > * { grid-area: 1 / 1; }
.svc-hint { align-self: start; margin: 6px 0 0; font: 400 14px/1.5 var(--body); color: var(--ink-2); letter-spacing: .01em; transition: opacity .3s var(--ease); }
.svc-hint .h-touch { display: none; }
@media (hover: none), (pointer: coarse) { .svc-hint .h-fine { display: none; } .svc-hint .h-touch { display: inline; } }
.svc.is-open .svc-hint { opacity: 0; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 9px; align-self: start; padding: 15px 18px 14px 20px; border-radius: 16px; border: 1px solid rgba(143, 176, 255, .34); background: linear-gradient(135deg, rgba(47, 107, 255, .16), rgba(255, 255, 255, .05) 70%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -24px rgba(47, 107, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .08); color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .35s var(--ease); overflow: hidden; }
.svc-card[hidden] { display: none; }
.svc.is-open .svc-card { opacity: 1; transform: none; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #2f6bff, #8fb0ff); transform-origin: top; transform: scaleY(0); transition: transform .45s var(--ease) .05s; }
.svc.is-open .svc-card::before { transform: none; }
.svc-card > * { transition: opacity .14s linear; }
.svc-card.is-swap > * { opacity: 0; }
.svc-top { display: flex; align-items: center; gap: 10px; }
.svc-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #8fb0ff; box-shadow: 0 0 10px 2px rgba(47, 107, 255, .8); animation: svcpulse 2.4s var(--ease) infinite; }
@keyframes svcpulse { 0%, 100% { box-shadow: 0 0 6px 1px rgba(47, 107, 255, .6); } 50% { box-shadow: 0 0 14px 4px rgba(47, 107, 255, .95); } }
.svc-idx { font: 400 11px/1 var(--mono); letter-spacing: .1em; color: #cfe0ff; }
.svc-name { font: 500 12.5px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.svc-line { font: 400 15px/1.5 var(--body); color: var(--ink); max-width: 34em; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.svc-proof { font: 400 11px/1.3 var(--mono); letter-spacing: .06em; color: var(--ink-2); }
.svc-proof i { display: inline-block; width: 3px; height: 3px; margin: 0 6px 2px; border-radius: 50%; background: #8fb0ff; }
.svc-more { flex: none; display: inline-flex; gap: 8px; align-items: center; font: 500 11.5px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: #cfe0ff; padding: 6px 0; border-bottom: 1px solid rgba(143, 176, 255, .4); transition: gap .35s var(--ease), color .3s, border-color .3s; pointer-events: auto; }
.svc-more:hover, .svc-more:focus-visible { gap: 12px; color: #fff; border-color: #fff; }
.svc-more i { font-style: normal; }
html.is-static .svc { height: auto; }
html.is-static .svc-card.is-list { opacity: 1; transform: none; gap: 12px; padding: 14px 18px; }
html.is-static .svc-item { display: flex; flex-direction: column; gap: 5px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
html.is-static .svc-item:last-child { border: 0; padding: 0; }
html.is-static .svc-item .svc-foot, html.is-static .svc-item .svc-dot { display: none; }
html.is-static .svc-card::before { transform: none; }
@media (min-width: 2200px) { .svc { --svc-h: 168px; } .svc-line { font-size: 18px; } .svc-hint { font-size: 17px; } .svc-name { font-size: 14px; } .svc-idx, .svc-proof { font-size: 13px; } .svc-more { font-size: 13px; } }
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  [data-chapter="2"] .lede { display: none; } /* the slot below takes its room so the copy never climbs into the lock */
  .svc { --svc-h: 136px; margin-top: 12px; }
  .svc-proof .svc-sr { display: none; }
  .svc-card { padding: 12px 14px 11px 16px; gap: 7px; border-radius: 14px; }
  .svc-line { font-size: 13.5px; line-height: 1.45; }
  .svc-proof { font-size: 10px; }
  .svc-more { font-size: 10.5px; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) { .svc-dot { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- dark theme: ONE token set (system preference unless forced light, and forced dark); every rule above consumes these tokens. Dark chapters keep their own tokens (set on body / .chapter, which win over :root). ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark;
    --ink: #eef1f5; --ink-2: rgba(238, 241, 245, .72); --hair: rgba(238, 241, 245, .26); --glass: rgba(255, 255, 255, .07); --glass-b: rgba(255, 255, 255, .15); --accent: #8fb0ff; --scrim: rgba(20, 25, 32, .9);
    --tone-ink: #eef1f5; --tone-ink-2: rgba(238, 241, 245, .72); --tone-hair: rgba(238, 241, 245, .26); --tone-pill-fg: #0E1116;
    --p-top: #232A35; --p-bot: #141920; --p-mid-a: #12161d; --p-mid-b: #161b23;
    --body-bg: linear-gradient(180deg, #232A35, #141920); --nav-end: #1b212b;
    --btn-fg: #0E1116; --btn-sh: 0 14px 34px -14px rgba(0, 0, 0, .65), 0 0 0 0 rgba(143, 176, 255, 0); --btn-sh-h: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 6px rgba(143, 176, 255, .22);
    --ghost-bg: rgba(255, 255, 255, .05); --ghost-hfg: #0E1116;
    --card-sh: 0 22px 50px -28px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .09); --card-sh-h: 0 32px 60px -26px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .16); --card-bd-h: rgba(255, 255, 255, .34);
    --rec-bd: rgba(143, 176, 255, .6); --tag-best-bg: #3a4660; --cur-bd: #8fb0ff; --cur-bg: rgba(143, 176, 255, .08);
    --fxk-hi: rgba(255, 255, 255, .1); --fxk-tint: 26%; --fxk-sh: 0, 0, 0; --fxk-sheen: .13; --fxk-a: #6f9bff; --fxk-b: #8fb0ff;
    --fxs-pct: 40%; --fxs-a: .6; --fxs-in: rgba(255, 255, 255, .1);
    --fxh-pct: 55%; --fxh-mix: transparent; --fxh-a1: .75; --fxh-a2: .4; --fxh-in: rgba(255, 255, 255, .14); --fxr-pct: 50%;
    --tb-core: none; --tb-cut: translate(7px, -7px); --tb-rays: none; --tb-rays-o: 1;
    --p5-bg: radial-gradient(ellipse 5% 7% at 56% 22%, rgba(95, 140, 255, .9), rgba(95, 140, 255, 0) 100%),
    radial-gradient(ellipse 13% 10% at 52% 32%, rgba(95, 140, 255, .5), rgba(95, 140, 255, .14) 60%, rgba(95, 140, 255, 0) 100%),
    radial-gradient(circle at 50% 50%, rgba(150, 162, 182, 0) 56%, rgba(150, 162, 182, .22) 100%),
    radial-gradient(circle, rgba(170, 182, 202, .38) 0 1px, rgba(170, 182, 202, 0) 1.6px) 0 0 / 9px 9px,
    radial-gradient(circle at 34% 28%, #4a5262 0, #343b48 38%, #272d38 74%, #1c2129 100%);
    --p5-sh: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 44px 70px -26px rgba(0, 0, 0, .6);
    --cyl-l: var(--cyl-d); }
}
:root[data-theme="dark"] { color-scheme: dark;
    --ink: #eef1f5; --ink-2: rgba(238, 241, 245, .72); --hair: rgba(238, 241, 245, .26); --glass: rgba(255, 255, 255, .07); --glass-b: rgba(255, 255, 255, .15); --accent: #8fb0ff; --scrim: rgba(20, 25, 32, .9);
    --tone-ink: #eef1f5; --tone-ink-2: rgba(238, 241, 245, .72); --tone-hair: rgba(238, 241, 245, .26); --tone-pill-fg: #0E1116;
    --p-top: #232A35; --p-bot: #141920; --p-mid-a: #12161d; --p-mid-b: #161b23;
    --body-bg: linear-gradient(180deg, #232A35, #141920); --nav-end: #1b212b;
    --btn-fg: #0E1116; --btn-sh: 0 14px 34px -14px rgba(0, 0, 0, .65), 0 0 0 0 rgba(143, 176, 255, 0); --btn-sh-h: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 6px rgba(143, 176, 255, .22);
    --ghost-bg: rgba(255, 255, 255, .05); --ghost-hfg: #0E1116;
    --card-sh: 0 22px 50px -28px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .09); --card-sh-h: 0 32px 60px -26px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .16); --card-bd-h: rgba(255, 255, 255, .34);
    --rec-bd: rgba(143, 176, 255, .6); --tag-best-bg: #3a4660; --cur-bd: #8fb0ff; --cur-bg: rgba(143, 176, 255, .08);
    --fxk-hi: rgba(255, 255, 255, .1); --fxk-tint: 26%; --fxk-sh: 0, 0, 0; --fxk-sheen: .13; --fxk-a: #6f9bff; --fxk-b: #8fb0ff;
    --fxs-pct: 40%; --fxs-a: .6; --fxs-in: rgba(255, 255, 255, .1);
    --fxh-pct: 55%; --fxh-mix: transparent; --fxh-a1: .75; --fxh-a2: .4; --fxh-in: rgba(255, 255, 255, .14); --fxr-pct: 50%;
    --tb-core: none; --tb-cut: translate(7px, -7px); --tb-rays: none; --tb-rays-o: 1;
    --p5-bg: radial-gradient(ellipse 5% 7% at 56% 22%, rgba(95, 140, 255, .9), rgba(95, 140, 255, 0) 100%),
    radial-gradient(ellipse 13% 10% at 52% 32%, rgba(95, 140, 255, .5), rgba(95, 140, 255, .14) 60%, rgba(95, 140, 255, 0) 100%),
    radial-gradient(circle at 50% 50%, rgba(150, 162, 182, 0) 56%, rgba(150, 162, 182, .22) 100%),
    radial-gradient(circle, rgba(170, 182, 202, .38) 0 1px, rgba(170, 182, 202, 0) 1.6px) 0 0 / 9px 9px,
    radial-gradient(circle at 34% 28%, #4a5262 0, #343b48 38%, #272d38 74%, #1c2129 100%);
    --p5-sh: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 44px 70px -26px rgba(0, 0, 0, .6);
    --cyl-l: var(--cyl-d); }

/* theme toggle (nav): sun/moon morph. The disc is a mask-cut crescent; rays retract into it. */
.theme-btn { flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--tone-hair); color: inherit; background: transparent; pointer-events: auto; transition: border-color .3s, background .3s, transform .35s var(--ease); }
.theme-btn:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
.theme-btn:active { transform: scale(.94); }
.theme-btn svg { width: 20px; height: 20px; overflow: visible; }
.theme-btn .tb-core { transform-origin: 12px 12px; transform: var(--tb-core); transition: transform .5s var(--ease); }
.theme-btn .tb-cut { transition: transform .5s var(--ease); transform: var(--tb-cut); }
.theme-btn .tb-rays { transform-origin: 12px 12px; transform: var(--tb-rays); opacity: var(--tb-rays-o); transition: transform .5s var(--ease), opacity .3s; }
.brand svg { flex: none; }
@media (max-width: 720px), (max-aspect-ratio: 4/5) { .nav-right { gap: 10px; } .nav-right .pill { order: -1; } .theme-btn { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .theme-btn .tb-core, .theme-btn .tb-cut, .theme-btn .tb-rays { transition: none; } }
@media (max-width: 440px) {
  .nav { gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand span { font-size: 11.5px; letter-spacing: .17em; overflow: hidden; text-overflow: ellipsis; }
  .nav-right { gap: 8px; flex: none; }
  .pill { padding: 0 14px; font-size: 11px; letter-spacing: .14em; }
}
@media (max-width: 440px) { .signin { font-size: 11px; letter-spacing: .08em; } .brand span { font-size: 11px; letter-spacing: .1em; } .pill { padding: 0 12px; letter-spacing: .1em; } .nav-right { gap: 7px; } }
@media (max-width: 380px) { .brand span { display: none; } .signin { letter-spacing: .06em; } .pill { padding: 0 12px; letter-spacing: .1em; } .theme-btn { width: 34px; height: 34px; } }

/* touch: sideways drags on the 3D object rotate it, vertical swipes scroll */
#stage { touch-action: pan-y; }
@media (pointer: coarse) {
  /* longer chapters on touch: a native fling covers less of the 3D transition, so it stays watchable (~3 swipes per chapter) */
  html:not(.is-static) .chapter { height: 250vh; }
  html:not(.is-static) .chapter[data-chapter="0"] { height: 190vh; }
  html:not(.is-static) .chapter[data-chapter="3"] { height: 320vh; }
  html:not(.is-static) .chapter[data-chapter="6"] { height: 270vh; }
  html:not(.is-static) .chapter[data-chapter="7"] { height: 150vh; }
}

/* menu button + panel (below 1100px the primary links collapse into a panel; same behaviour as the other public pages) */
.menu-btn { display: none; position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--tone-hair); color: inherit; pointer-events: auto; transition: border-color .3s, background .3s; }
.menu-btn:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i:nth-child(1) { top: 17px; }
.menu-btn i:nth-child(2) { top: 24px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }
.links .m-only { display: none; }
html.menu-open { overflow: hidden; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-block; }
  .nav.is-open { background: color-mix(in srgb, var(--nav-bg, #DCE1E8) 96%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--tone-hair); }
  .links { position: fixed; top: 68px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 22px; background: color-mix(in srgb, var(--nav-bg, #DCE1E8) 99%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; }
  .nav.is-open .links { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .links a { padding: 18px 0; font-size: 14px; border-bottom: 1px solid var(--tone-hair); }
  .links a::after { display: none; }
}
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  .links { top: 58px; }
  .menu-btn, .theme-btn { width: 38px; height: 38px; }
  .menu-btn i { left: 10px; right: 10px; }
  .menu-btn i:nth-child(1) { top: 15px; } .menu-btn i:nth-child(2) { top: 21.5px; }
  .menu-btn[aria-expanded="true"] i:nth-child(1), .menu-btn[aria-expanded="true"] i:nth-child(2) { top: 18.5px; }
}
@media (max-width: 380px) { .menu-btn { width: 34px; height: 34px; } .menu-btn i { left: 8px; right: 8px; } .menu-btn i:nth-child(1) { top: 13px; } .menu-btn i:nth-child(2) { top: 19.5px; } .menu-btn[aria-expanded="true"] i:nth-child(1), .menu-btn[aria-expanded="true"] i:nth-child(2) { top: 16.5px; } }
@media (prefers-reduced-motion: reduce) { .links, .menu-btn i { transition: none; } }

/* pricing cards: monthly price + VAT note */
.card-price small { font: 400 14px/1 var(--body); letter-spacing: .02em; white-space: nowrap; }
.card-go { line-height: 1.5; }
.fine.vat { margin: 0 0 10px; }

/* footer: same link set as the other public pages */
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
@media (min-width: 1900px) { .foot { font-size: 17px; } }

/* hero is visible from first paint: no loader, no reveal delay (the other chapters still reveal on arrival) */
html.js:not(.is-static) .chapter[data-chapter="0"]:not(.is-past):not(.is-leave) .wi { transform: none; transition-delay: 0s; }
html.js:not(.is-static) .chapter[data-chapter="0"]:not(.is-past):not(.is-leave) [data-r] { opacity: 1; transform: none; transition-delay: 0s; }
/* only the WebGL canvas fades in, once its first frame is drawn; the CSS poster shows until then */
#stage { transition: opacity .4s var(--ease); }
html.js:not(.is-static):not(.v16-ready) #stage { opacity: 0; }

/* touch: 44px minimum targets (desktop look unchanged) */
@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .pill { min-height: 44px; }
  .theme-btn, .menu-btn { min-width: 44px; min-height: 44px; }
  .signin { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  .links a { min-height: 44px; display: flex; align-items: center; }
  .chips li { min-height: 44px; }
  .chip-more a { min-height: 44px; display: inline-flex; align-items: center; }
  .link { min-height: 44px; }
  .foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0; }
  .foot nav { gap: 0 18px; }
  .svc-more, .svc-more a { min-height: 44px; display: inline-flex; align-items: center; }
  .btn { min-height: 48px; }
  .card { min-height: 44px; }
}
