/* DataDecks_Strider. Landing page. Plain CSS, no build step.
   The page wears the brand profile the skill ships with, by role. site.js swaps the roles. */

:root {
  --dark: #17233D;
  --dark-alt: #2440B8;
  --light: #EEF2F8;
  --card: #FFFFFF;
  --ink: #17233D;
  --accent: #F5A623;
  --accent-2: #E5533D;
  --pos: #2F5BEA;
  --neg: #E5533D;
  --neutral: #9AA6C2;
  --line: #D9E0EC;
  --muted: #6B7391;
  --deep: color-mix(in srgb, var(--dark) 56%, #000);

  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --m: clamp(16px, 4vw, 48px);
  --sw: min(1040px, 72vw);      /* front slide of the hero deck */
  --r: 20px;
  --out: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --w2: rgba(255, 255, 255, .72);
  --w3: rgba(255, 255, 255, .5);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--deep); color: #fff; font-family: var(--text); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; }
h1, h2, h3, p, ol, ul, pre { margin: 0; padding: 0; }
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: 3px; border-radius: 8px; }
::selection { background: var(--pos); color: #fff; }

.wrap { width: min(1200px, 100% - 2 * var(--m)); margin-inline: auto; position: relative; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--deep) 92%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.mk-bg { fill: #fff; } .mk-a { fill: var(--accent); } .mk-b { fill: var(--dark); }
.nav-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; font-size: 14px; font-weight: 700; color: var(--w2); text-decoration: none; }
.nav-link:hover { color: #fff; }
.gh svg { width: 18px; height: 18px; }
.nav-dl { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; color: #1B1304; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #fff), var(--accent)); transition: transform .2s var(--out); }
.nav-dl:hover { transform: translateY(-1px); }
.nav-dl .sm { display: none; }
.cta--install { margin-top: clamp(24px, 3vw, 36px); }

/* ---------- shared ---------- */
.glow { position: absolute; inset: 0; pointer-events: none; }
.sec { position: relative; padding: clamp(84px, 10vw, 150px) 0; overflow: hidden; }
.sec--dark { background: var(--deep); color: #fff; }
.sec--white { background: var(--card); color: var(--ink); }
.sec--light { background: var(--light); color: var(--ink); }

.head { display: grid; justify-items: center; text-align: center; row-gap: clamp(14px, 1.6vw, 20px); }
h1, h2 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
.head h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; max-width: 17ch; }
.head h2 em { font-style: normal; color: var(--accent); }
.head h2 span, .sub span { display: inline-block; }
.sub { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.45; max-width: 46ch; text-wrap: balance; color: var(--w2); }
.sec--white .sub, .sec--light .sub { color: color-mix(in srgb, var(--ink) 74%, transparent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--out), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--accent { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #fff), var(--accent)); color: #1B1304; box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 26%, transparent); }

.slide { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--light); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); gap: 2px; }
.seg-b { height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--w2); transition: background .2s, color .2s; }
.seg-b.is-on { background: #fff; color: var(--dark); }
.sec--white .seg, .sec--light .seg { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.sec--white .seg-b, .sec--light .seg-b { color: color-mix(in srgb, var(--ink) 68%, transparent); }
.sec--white .seg-b.is-on, .sec--light .seg-b.is-on { background: var(--ink); color: #fff; }

.ctl { display: grid; justify-items: center; text-align: center; row-gap: 22px; margin-top: clamp(28px, 3vw, 40px); }
.stat b { display: block; font-family: var(--display); font-size: clamp(64px, 8vw, 112px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; transition: color .3s; }
.stat span { display: block; margin-top: 10px; font-size: 17px; color: var(--w2); }
.stat.is-bad b { color: var(--neg); }
.note { font-size: 14px; color: var(--muted); max-width: 52ch; text-wrap: balance; }

.round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .09); color: #fff; transition: background .2s, transform .2s var(--out); flex: none; }
.round:hover { background: rgba(255, 255, 255, .2); }
.round:active { transform: scale(.94); }
.round svg { width: 20px; height: 20px; }

/* ---------- 1. hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 3.2vw, 48px) 0 clamp(64px, 7vw, 104px); text-align: center; }
.glow--hero {
  background:
    radial-gradient(46% 34% at 50% 70%, color-mix(in srgb, var(--pos) 62%, transparent), transparent 74%),
    radial-gradient(70% 46% at 50% -8%, color-mix(in srgb, var(--dark-alt) 58%, transparent), transparent 72%);
}
.glow--hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent 78%); mask-image: radial-gradient(60% 55% at 50% 30%, #000, transparent 78%);
}
.hero-top { display: grid; justify-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--w2);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 {
  margin-top: clamp(14px, 1.5vw, 20px); font-size: clamp(26px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 35%, color-mix(in srgb, var(--pos) 38%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
h1 span { display: inline-block; white-space: nowrap; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(20px, 2.2vw, 30px); }

.flow { position: relative; margin-top: clamp(26px, 3vw, 40px); height: calc(var(--sw) * .5625 + 40px); }
.flow-track { position: absolute; inset: 0; perspective: 2000px; perspective-origin: 50% 50%; }
.fs {
  position: absolute; top: 40px; left: 50%; width: var(--sw); margin-left: calc(var(--sw) / -2); aspect-ratio: 16 / 9; padding: 0;
  border-radius: 14px; overflow: hidden; background: var(--light); cursor: pointer; will-change: transform;
  transition: transform .75s var(--out), box-shadow .75s; box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.fs.is-jump { transition: none; }
.fs img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fs-after { clip-path: inset(0 0 0 0); transition: clip-path .5s var(--out); }
.fs.is-center .fs-after { transition: none; }
.fs-dim { position: absolute; inset: 0; background: var(--deep); opacity: 0; transition: opacity .75s; }
.fs[data-pos="0"] { z-index: 5; cursor: default; box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 28px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 120px color-mix(in srgb, var(--pos) 45%, transparent); }
.fs[data-pos="-1"] { z-index: 4; transform: translateX(-54%) translateZ(-360px) rotateY(36deg); }
.fs[data-pos="1"] { z-index: 4; transform: translateX(54%) translateZ(-360px) rotateY(-36deg); }
.fs[data-pos="-2"] { z-index: 3; transform: translateX(-88%) translateZ(-700px) rotateY(44deg); }
.fs[data-pos="2"] { z-index: 3; transform: translateX(88%) translateZ(-700px) rotateY(-44deg); }
.fs[data-pos="-1"] .fs-dim, .fs[data-pos="1"] .fs-dim { opacity: .46; }
.fs[data-pos="-2"] .fs-dim, .fs[data-pos="2"] .fs-dim { opacity: .72; }
.fs[data-pos="-1"]:hover .fs-dim, .fs[data-pos="1"]:hover .fs-dim { opacity: .28; }

.flow-ui { position: absolute; top: 40px; left: 50%; width: var(--sw); margin-left: calc(var(--sw) / -2); aspect-ratio: 16 / 9; z-index: 6; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tag { position: absolute; top: -30px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--w3); }
.tag--a { left: 2px; } .tag--b { right: 2px; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 3; will-change: transform; }
.cmp-line::before { content: ""; position: absolute; top: -12px; bottom: -12px; left: -1.5px; width: 3px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 22px 2px color-mix(in srgb, var(--accent) 70%, transparent); }
.cmp-knob {
  position: absolute; top: 50%; left: 0; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 45%, var(--accent-2)); color: #1B1304;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .16), 0 10px 26px rgba(0, 0, 0, .4), 0 0 40px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: transform .2s var(--spring);
}
.cmp-knob svg { width: 28px; height: 28px; }
.cmp-hint {
  position: absolute; top: calc(50% + 42px); left: 0; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1B1304; background: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: opacity .3s, transform .3s var(--out);
}
.flow-ui.is-used .cmp-hint { opacity: 0; transform: translateX(-50%) translateY(-6px); }
.flow-ui:hover .cmp-knob { transform: scale(1.08); }
.flow-ui.is-drag .cmp-knob { transform: scale(.94); }
.cmp-line:focus-visible { outline: none; }
.cmp-line:focus-visible .cmp-knob { box-shadow: 0 0 0 4px var(--deep), 0 0 0 7px #fff; }

.pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pin {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: auto; display: grid; place-items: center;
  background: var(--neg); color: #fff; font: 700 12px/1 var(--text); box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, .3);
  transition: transform .3s var(--spring), opacity .2s;
}
.pin:hover, .pin:focus-visible { transform: scale(1.22); z-index: 2; }
.pin.is-fixed { opacity: 0; transform: scale(.3); pointer-events: none; }
.pin-tip {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  background: var(--deep); color: #fff; padding: 8px 12px; border-radius: 10px; font: 700 13px/1.2 var(--text); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .15s;
}
.pin--l .pin-tip { left: -6px; transform: none; }
.pin--r .pin-tip { left: auto; right: -6px; transform: none; }
.pin--t .pin-tip { bottom: auto; top: 36px; }
@media (hover: hover) { .pin:hover .pin-tip, .pin:focus-visible .pin-tip { opacity: 1; } }

.hud { width: min(var(--sw), 100% - 2 * var(--m)); margin: 26px auto 0; position: relative; }
.hud-bar { display: flex; gap: 6px; }
.hud-bar i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .15); transition: background .3s, box-shadow .3s; }
.hud-bar i.is-on { background: color-mix(in srgb, var(--pos) 55%, #fff); box-shadow: 0 0 14px color-mix(in srgb, var(--pos) 90%, transparent); }
.hud-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; column-gap: 16px; margin-top: 22px; }
.hud-count { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }
.hud-count b { font-family: var(--display); font-size: 1.7em; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.hud-fix { margin-top: 2px; font-size: 16px; color: var(--w2); min-height: 1.5em; text-wrap: balance; }
.hud-fix s { text-decoration-thickness: 1.5px; color: var(--w3); }
.hud-fix b { color: #fff; font-weight: 700; }
.hud-note { margin: 22px auto 0; font-size: 13.5px; color: var(--w3); max-width: 64ch; text-wrap: balance; }
.hud-note a { color: var(--w2); text-underline-offset: 3px; }
.hud-note a:hover { color: #fff; }

/* ---------- 2. the grid, seen through a lens ---------- */
.glow--grid { background: radial-gradient(50% 44% at 50% 56%, color-mix(in srgb, var(--pos) 44%, transparent), transparent 72%); }
.lens {
  position: relative; width: min(1000px, 100% - 2 * var(--m)); aspect-ratio: 16 / 9; margin: clamp(28px, 3vw, 44px) auto 0; border-radius: 14px; overflow: hidden; cursor: crosshair;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .5), 0 0 120px color-mix(in srgb, var(--pos) 40%, transparent);
  --lx: 300px; --ly: 250px; --lr: 160px;
}
.lens-bp {
  position: absolute; inset: 0; background-color: color-mix(in srgb, var(--pos) 13%, var(--deep));
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 2.5% 4.444%;
}
.lens-bp .col { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--pos) 34%, transparent); }
.lens-bp .mar { position: absolute; border: 1px dashed color-mix(in srgb, var(--pos) 40%, #fff); }
.wb { position: absolute; border: 1.5px solid color-mix(in srgb, var(--pos) 30%, #fff); border-radius: 4px; background: color-mix(in srgb, var(--pos) 18%, transparent); }
.wb.is-in { border-width: 1px; background: none; opacity: .45; }
.wb.is-off { border-color: var(--neg); border-width: 2px; background: color-mix(in srgb, var(--neg) 28%, transparent); }
.wl { position: absolute; left: 6px; top: 5px; font: 700 11px/1 var(--mono); color: #fff; white-space: nowrap; }
.wb.is-off .wl { background: var(--neg); padding: 3px 5px; border-radius: 4px; left: 4px; top: 4px; }
.wb.is-thin .wl { top: 50%; transform: translateY(-50%); }
.lens-img {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), transparent 99%, #000 100%);
  mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), transparent 99%, #000 100%);
}
.lens-ring {
  position: absolute; left: 0; top: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; will-change: transform;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px color-mix(in srgb, var(--pos) 70%, transparent), 0 14px 40px rgba(0, 0, 0, .45), inset 0 0 40px color-mix(in srgb, var(--pos) 40%, transparent);
}

/* ---------- 3. axis ---------- */
.ax { display: grid; justify-items: center; row-gap: clamp(20px, 2.2vw, 28px); margin-top: clamp(28px, 3vw, 40px); width: min(900px, 100% - 2 * var(--m)); }
.ax-slide { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent), 0 10px 24px rgba(8, 14, 30, .1), 0 40px 80px rgba(8, 14, 30, .2); }
.ax-slide img { opacity: 0; }
.ax-slide img.is-on { opacity: 1; }
.ax-ctl { width: 100%; }
#ax-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 34px; margin: 0; background: none; cursor: ew-resize; }
#ax-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--line); }
#ax-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
#ax-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -14px; border-radius: 50%; border: 0; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 45%, var(--accent-2)); box-shadow: 0 0 0 4px var(--card), 0 6px 16px rgba(8, 14, 30, .3); }
#ax-range::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent); box-shadow: 0 0 0 4px var(--card), 0 6px 16px rgba(8, 14, 30, .3); }
#ax-range:focus-visible { outline: none; }
#ax-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--card), 0 0 0 7px var(--ink); }
.ax-ticks { display: flex; justify-content: space-between; padding: 0 17px; margin-top: 6px; }
.ax-ticks span { width: 0; display: flex; flex-direction: column; align-items: center; font: 700 14px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.ax-ticks span.is-on { color: var(--ink); }
.ax-ticks.is-ends { padding: 0; }
.ax-ticks.is-ends span { width: auto; }
.ax-ticks.is-ends span:first-child { align-items: flex-start; }
.ax-ticks.is-ends span:last-child { align-items: flex-end; }
.ax-ticks em { font: 700 11px/1 var(--text); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--pos); margin-top: 8px; }
.ax-say { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 24px); margin-top: 8px; text-align: left; }
.ax-say b { font-family: var(--display); font-size: clamp(60px, 8vw, 108px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--neg); transition: color .25s; }
.ax-say.is-ok b { color: var(--pos); }
.ax-say span { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.35; max-width: 24ch; color: color-mix(in srgb, var(--ink) 80%, transparent); }

/* ---------- 4. storyboard, build, check ---------- */
.glow--story { background: radial-gradient(40% 40% at 18% 34%, color-mix(in srgb, var(--dark-alt) 46%, transparent), transparent 72%), radial-gradient(44% 44% at 84% 70%, color-mix(in srgb, var(--pos) 30%, transparent), transparent 72%); }
.st-phases { list-style: none; display: flex; justify-content: center; align-items: center; margin: clamp(28px, 3vw, 40px) 0 clamp(22px, 2.4vw, 30px); }
.st-phases li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--w3); transition: color .3s; }
.st-phases li + li::before { content: ""; width: clamp(24px, 7vw, 92px); height: 2px; margin: 0 clamp(8px, 1.4vw, 16px); border-radius: 1px; background: rgba(255, 255, 255, .16); transition: background .4s; }
.st-phases b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .1); transition: background .3s, box-shadow .3s; }
.st-phases li.is-on { color: #fff; }
.st-phases li.is-on b { background: var(--pos); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pos) 28%, transparent), 0 0 24px var(--pos); }
.st-phases li.is-on::before { background: var(--pos); }
.st-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.st-doc, .st-out { background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .25); border-radius: var(--r); padding: clamp(16px, 1.8vw, 24px); text-align: left; }
.st-out { display: grid; align-content: center; row-gap: 16px; }
.st-doc { display: flex; flex-direction: column; }
.st-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.st-file { font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--w3); padding: 2px 8px 14px; }
.st-file b { color: var(--accent); font-weight: 700; }
.st-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); width: 100%; text-align: left; padding: 7px 8px; border-radius: 8px; font: 13px/1.5 var(--mono); color: var(--w2); cursor: default; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--out), background .15s; }
.st-row.is-in { opacity: 1; transform: none; }
.st-row span:first-child { color: var(--w3); }
.st-row:hover, .st-row:focus-visible, .st-row.is-hot { background: rgba(255, 255, 255, .09); color: #fff; }
.st-row:hover span:first-child, .st-row.is-hot span:first-child { color: var(--accent); }
.st-slide { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 40px rgba(0, 0, 0, .35); }
.st-pieces, .st-hl { position: absolute; inset: 0; }
.st-piece { position: absolute; background-repeat: no-repeat; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .5s, transform .6s var(--out); }
.st-piece.is-in { opacity: 1; transform: none; }
#st-img { opacity: 0; transition: opacity .35s; }
.st-slide.is-built #st-img { opacity: 1; }
.st-scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; opacity: 0; pointer-events: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pos) 28%, transparent) 80%, color-mix(in srgb, var(--pos) 90%, #fff)); transform: translateY(-100%); }
.st-slide.is-scan .st-scan { animation: scan 1s linear 1; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-100%); } 100% { opacity: 1; transform: translateY(334%); } }
.st-hl i { position: absolute; border: 2.5px solid var(--accent); border-radius: 6px; box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 60%, transparent); }
.st-check { display: flex; align-items: center; gap: 10px; min-height: 26px; font: 13px/1.4 var(--mono); color: var(--w2); opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--out); }
.st-check.is-in { opacity: 1; transform: none; }
.st-check::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pos) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.4l3.4 3.3L16 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }
.st-check b { color: #fff; }
.st-nav { display: grid; grid-template-columns: repeat(8, minmax(0, 96px)); justify-content: center; gap: 10px; margin-top: clamp(18px, 2vw, 26px); }
.st-t { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; opacity: .45; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); background: var(--light); transition: opacity .2s, box-shadow .2s, transform .2s var(--out); }
.st-t:hover { opacity: .8; transform: translateY(-2px); }
.st-t.is-on { opacity: 1; box-shadow: 0 0 0 2.5px #fff; }
.st-t img { width: 100%; height: 100%; }

/* ---------- 5. brand ---------- */
.br-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.br-b { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px 0 14px; border-radius: 999px; font-weight: 700; font-size: 16px; background: color-mix(in srgb, var(--ink) 6%, transparent); transition: background .2s, box-shadow .2s, transform .2s var(--out); }
.br-b:hover { transform: translateY(-2px); }
.br-b.is-on { background: var(--card); box-shadow: 0 1px 2px rgba(8, 14, 30, .1), 0 10px 24px rgba(8, 14, 30, .14); }
.br-sw { display: flex; }
.br-sw i { width: 22px; height: 22px; border-radius: 50%; margin-left: -7px; box-shadow: 0 0 0 2px var(--card); }
.br-sw i:first-child { margin-left: 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(28px, 3.4vw, 48px); }
.bc { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; padding: 0; background: var(--light); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 6px 14px rgba(8, 14, 30, .08), 0 22px 44px rgba(8, 14, 30, .14); transition: transform .25s var(--out), box-shadow .25s; }
.bc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bc img.is-new { clip-path: inset(0 100% 0 0); }
.bc img.is-wipe { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--out); }
button.bc { cursor: pointer; }
button.bc:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent), 0 10px 20px rgba(8, 14, 30, .12), 0 30px 56px rgba(8, 14, 30, .2); }
.bc--main { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; border-radius: 14px; }
.bc--dark { background: var(--dark); }
.b-tile { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--dark); color: #fff; display: grid; align-content: center; justify-items: center; row-gap: clamp(6px, .9vw, 12px); text-align: center; padding: 10px; box-shadow: 0 22px 44px rgba(8, 14, 30, .18); }
.b-tile p { font: 700 clamp(10px, .95vw, 12px)/1.2 var(--mono); color: var(--w3); }
.b-tile b { font-family: var(--display); font-size: clamp(16px, 1.9vw, 24px); letter-spacing: -.02em; }
.b-sw { display: flex; gap: clamp(4px, .6vw, 8px); }
.b-sw i { width: clamp(18px, 2.2vw, 28px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); }

/* ---------- 6. install ---------- */
.glow--install { background: radial-gradient(60% 50% at 50% 108%, color-mix(in srgb, var(--pos) 55%, transparent), transparent 72%); }
.k3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(32px, 4vw, 52px); }
.k3 li {
  display: grid; justify-items: center; align-content: center; row-gap: 12px; text-align: center; min-height: clamp(200px, 19vw, 250px);
  border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); background: linear-gradient(155deg, var(--dark-alt), color-mix(in srgb, var(--dark-alt) 48%, var(--deep)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 44px rgba(0, 0, 0, .3);
}
.k3 b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--dark); font: 700 20px/1 var(--display); }
.k3 h3 { font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; letter-spacing: -.03em; min-height: 2.2em; display: grid; align-items: center; text-wrap: balance; }
.k3 p { font-size: 16px; line-height: 1.4; min-height: 2.8em; max-width: 24ch; color: var(--w2); text-wrap: balance; }
.k3 a { color: #fff; text-underline-offset: 3px; }
.fine { margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--w3); max-width: 70ch; text-wrap: balance; }
.fine code { font: 13px var(--mono); color: var(--w2); }
.term { margin: clamp(36px, 4.4vw, 60px) auto 0; max-width: 820px; border-radius: 16px; background: color-mix(in srgb, var(--deep) 62%, #000); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; text-align: left; }
.term-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 6px 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--w3); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.term-copy { height: 36px; padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .1); }
.term-copy:hover { background: rgba(255, 255, 255, .2); }
.term pre { padding: 18px; font: 14px/1.6 var(--mono); color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.foot { background: color-mix(in srgb, var(--deep) 70%, #000); color: var(--w3); font-size: 14px; padding: 36px 0 48px; text-align: center; }
.foot-in { display: grid; justify-items: center; row-gap: 8px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
.foot a { color: var(--w2); text-underline-offset: 3px; line-height: 44px; }
.foot a:hover { color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --sw: 88vw; }
  h1 { font-size: 7.6vw; }
  .wl { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc--main { grid-row: auto; aspect-ratio: 16 / 9; }
  .lens-ring { width: 44%; }
  .fs[data-pos="-1"] { transform: translateX(-62%) translateZ(-240px) rotateY(34deg); }
  .fs[data-pos="1"] { transform: translateX(62%) translateZ(-240px) rotateY(-34deg); }
  .pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: 10px; box-shadow: 0 0 0 1.5px #fff, 0 2px 5px rgba(0, 0, 0, .28); }
  .pin::after { content: ""; position: absolute; inset: -10px; }
  .pin-tip { display: none; }
  .cmp-knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .cmp-knob svg { width: 22px; height: 22px; }
  .hud-fix { min-height: 3em; }
  .hud-fix s { display: block; }
  .st-stage { grid-template-columns: minmax(0, 1fr); }
  .st-out { order: -1; }
  .st-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .k3 { grid-template-columns: minmax(0, 1fr); }
  .ax-say { flex-direction: column; text-align: center; gap: 10px; }
  .gh span { display: none; }
  .nav-dl .lg { display: none; }
  .nav-dl { padding: 0 12px; }
  .nav-right { gap: 10px; }
  .brand { font-size: 15px; gap: 8px; }
  .nav-dl .sm { display: inline; }
}
@media (max-width: 460px) {
  .cta .btn { width: 100%; }
  .nav .gh { display: none; }
  .br-pick { flex-direction: column; align-items: center; }
  .br-b { width: 220px; }
  .seg-b { padding: 0 15px; font-size: 14px; }
  .st-phases li { font-size: 13px; gap: 7px; }
  .st-phases b { width: 26px; height: 26px; }
}

.no-motion *, .no-motion *::before, .no-motion *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.hero-sub { margin: 16px auto 0; max-width: 52ch; }
