/* DisplaySplit — marketing site.
   Layout: one rounded "sheet" that starts as night sky, floods to electric blue and lands on paper;
   everything after it sits on black with hairlines instead of boxes. One accent, light-weight type. */

:root {
  --ink: #04050a;
  --ink-2: #0b0d16;
  --ink-3: #141826;
  --blue: #2746ff;
  --blue-hi: #6c88ff;
  --ice: #dfe5ff;
  --paper: #f1f3f8;
  --on-paper: #0a0d18;
  --on-paper-dim: #596177;
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.52);
  --hair: rgba(255, 255, 255, 0.1);
  --hair-strong: rgba(255, 255, 255, 0.2);
  --hair-paper: rgba(10, 13, 24, 0.12);
  --good: #5fe0a5;

  --display: "Host Grotesk", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(20px, 4.4vw, 64px);
  /* Film grain laid over every gradient so large colour fields have texture instead of looking airbrushed. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; color-scheme: dark; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--display); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }

.page { padding: 12px; max-width: 1480px; margin-inline: auto; }
.wrap { padding-inline: var(--gutter); }
/* The sheet's own colour shows as a hairline around its rounded corners, so it must match the dark hero, not the paper. */
.sheet { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink); }

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

h1 { font-weight: 300; font-size: clamp(44px, 5.9vw, 88px); line-height: 0.98; letter-spacing: -0.047em; text-wrap: balance; }
h2 { font-weight: 300; font-size: clamp(34px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -0.042em; text-wrap: balance; }
h3 { font-weight: 500; font-size: 17px; line-height: 1.3; letter-spacing: -0.012em; }
.dim { color: var(--dim); }
.blue { background: linear-gradient(95deg, var(--blue) 10%, #8098ff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.35vw, 18px); max-width: 46ch; }
.cap, .tag, .num, .dock__label, .hero__specs, .fine { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.fine { text-transform: none; letter-spacing: 0.01em; font-size: 12.5px; line-height: 1.6; }

/* ---------------------------------------------------------------- nav */

.nav { position: absolute; z-index: 20; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.logo__mark { display: inline-flex; gap: 2px; }
.logo__mark i { width: 9px; height: 15px; border-radius: 2.5px; background: var(--white); }
.logo__mark i + i { opacity: 0.45; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--hair); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; }
.nav__links a { padding: 7px 14px; border-radius: 999px; color: rgba(255, 255, 255, 0.72); transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav__end { display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: 14px; }
.nav__quiet { color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.nav__quiet:hover { color: var(--white); }

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

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.5); }
.btn--glass { background: rgba(255, 255, 255, 0.07); border-color: var(--hair-strong); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); }
.btn--split { padding: 0; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #6381ff 0%, #2f4dff 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 36px -14px rgba(39, 70, 255, 0.9); }
.btn--split > span:first-child { padding: 0 20px; }
.btn__arrow { align-self: stretch; width: 48px; display: grid; place-items: center; border-left: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.08); transition: background 0.2s; }
.btn__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.btn--split:hover .btn__arrow { background: rgba(255, 255, 255, 0.18); }
.btn--split:hover .btn__arrow svg { transform: translateX(2px); }

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

.hero { position: relative; isolation: isolate; min-height: 1000px; padding: 148px var(--gutter) 96px; overflow: hidden;
  background: linear-gradient(180deg, #04050a 0%, #050818 26%, #0a1670 58%, #2746ff 86%, #5b78ff 100%); }
.hero__sky { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(46% 40% at 78% 74%, rgba(160, 182, 255, 0.62), transparent 70%),
    radial-gradient(40% 30% at 6% 86%, rgba(126, 152, 255, 0.55), transparent 72%),
    radial-gradient(34% 26% at 62% 4%, rgba(39, 70, 255, 0.28), transparent 70%);
  /* The glows must be gone by the bottom edge, or the next section starts with a visible line. */
  -webkit-mask-image: linear-gradient(#000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 70%, transparent 100%); }
.hero__stars { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: 0.72; mix-blend-mode: overlay; pointer-events: none; background-image: var(--grain); }

.hero__copy { position: relative; z-index: 3; max-width: 760px; }
.tags { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.tag { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); }
.tag--box { padding: 5px 9px; border: 1px solid var(--hair-strong); border-radius: 5px; color: var(--white); background: rgba(255, 255, 255, 0.04); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(95, 224, 165, 0.18); }
.hero__lead { margin-top: 26px; max-width: 40ch; color: rgba(255, 255, 255, 0.72); font-size: clamp(16px, 1.3vw, 18px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.cta__note { font-size: 14px; color: rgba(255, 255, 255, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.cta__note:hover { color: var(--white); border-color: var(--white); }

.hero__scene { position: absolute; z-index: 1; right: 0; bottom: 44px; width: min(64%, 930px); pointer-events: none; }
.hero__scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.scn-label { font: 500 11px var(--mono); letter-spacing: 0.14em; fill: #fff; text-anchor: middle; }
.scn-dim { font: 400 10.5px var(--mono); letter-spacing: 0.08em; fill: rgba(255, 255, 255, 0.62); text-anchor: middle; }
.scn-plane { font: 400 9.5px var(--mono); letter-spacing: 0.18em; fill: rgba(255, 255, 255, 0.5); }

.hero__dock { position: absolute; z-index: 4; left: var(--gutter); bottom: 92px; display: flex; align-items: center; gap: 14px; }
.dock__label { color: rgba(255, 255, 255, 0.6); }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(4, 6, 20, 0.42); border: 1px solid var(--hair-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.seg button { background: none; border: 0; cursor: pointer; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; transition: color 0.2s, background 0.25s; }
.seg button:hover { color: var(--white); }
.seg button.is-on { background: var(--white); color: var(--ink); }

.hero__specs { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: baseline; color: rgba(255, 255, 255, 0.9); }
.hero__specs dt { color: rgba(255, 255, 255, 0.62); margin-right: 8px; }
.hero__specs dd { font-size: 12px; letter-spacing: 0.06em; }

/* -------------------------------------------------------------- paper */

.paper { background: var(--paper); color: var(--on-paper); padding-block: clamp(72px, 9vw, 132px); }
.paper--bleed { position: relative; isolation: isolate; background: linear-gradient(180deg, #5b78ff 0, #9dafff 110px, #d3dbff 250px, var(--paper) 430px); padding-top: clamp(190px, 20vw, 260px); }
.paper--bleed::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: 0.72; mix-blend-mode: overlay;
  -webkit-mask-image: linear-gradient(#000 0%, #000 35%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 35%, transparent 100%); }
.paper + .paper { padding-top: 0; }
.paper .lead { color: var(--on-paper-dim); margin-top: 22px; }
.paper .cap { color: var(--on-paper-dim); }

.quad { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(48px, 6vw, 84px) -26px 0; }
.quad::before { content: ""; position: absolute; inset: 0 26px auto; height: 1px; background: var(--hair-paper); }
.quad article { padding: 18px 26px 0; min-width: 0; }
.quad article + article { border-left: 1px solid var(--hair-paper); }
.quad h3 { margin-top: 6px; }
.quad p:last-child { margin-top: 8px; font-size: 15px; color: var(--on-paper-dim); }
.mini { display: block; width: 100%; height: auto; margin: 6px 0 2px; overflow: visible; }

/* --------------------------------------------------------------- demo */

.demo { --split: 50; --s: calc(var(--split) * 1%); margin-top: clamp(40px, 5vw, 64px); padding: clamp(14px, 2vw, 26px); border-radius: 24px; color: var(--white);
  background: radial-gradient(90% 120% at 50% -10%, #17235f 0%, #070914 58%); box-shadow: 0 50px 90px -50px rgba(20, 34, 120, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.demo__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: clamp(14px, 2vw, 22px); }
.tabs { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hair); }
.tab { background: none; border: 0; cursor: pointer; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: rgba(255, 255, 255, 0.62); transition: color 0.2s, background 0.25s; }
.tab:hover { color: var(--white); }
.tab.is-active { color: var(--ink); background: var(--white); }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__label { color: rgba(255, 255, 255, 0.6); transition: color 0.3s; }
.switch__track { position: relative; width: 50px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px var(--hair-strong); transition: background 0.3s; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform 0.35s var(--ease); }
.switch input:checked ~ .switch__track { background: var(--blue); }
.switch input:checked ~ .switch__track .switch__thumb { transform: translateX(22px); }
.switch input:focus-visible ~ .switch__track { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.demo[data-split="on"] .switch__label { color: var(--white); }

.screen { position: relative; aspect-ratio: 32 / 9; max-width: 100%; overflow: hidden; container-type: inline-size; border-radius: 12px;
  background: radial-gradient(120% 150% at 50% 0%, #131a36 0%, #06070d 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 5px #0c0f1c, 0 0 0 6px rgba(255, 255, 255, 0.1); margin: 6px; }
.screen > * { position: absolute; transition: left 0.75s var(--ease), top 0.75s var(--ease), width 0.75s var(--ease), height 0.75s var(--ease), opacity 0.45s, border-radius 0.5s, transform 0.6s var(--ease); }
.demo.is-dragging .screen > * { transition: opacity 0.3s; }

.win { border-radius: 0.6cqw; background: #10131f; border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 0.4cqw; height: 2.2cqw; padding: 0 0.9cqw; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--mono); font-size: 0.9cqw; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5); }
.win__bar i { width: 0.55cqw; height: 0.55cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.win__bar span { margin-left: 0.5cqw; }
.win--chat { top: 16%; height: 66%; left: calc(var(--s) + 1.6%); width: calc((100% - var(--s)) * 0.36); z-index: 1; }
.win--code { top: 22%; height: 60%; left: calc(var(--s) + (100% - var(--s)) * 0.42); width: calc((100% - var(--s)) * 0.54); z-index: 1; }
.chat { padding: 1cqw; display: grid; gap: 0.8cqw; }
.b { width: var(--w); height: 1.8cqw; border-radius: 0.9cqw; background: rgba(255, 255, 255, 0.09); }
.b--me { margin-left: auto; background: rgba(39, 70, 255, 0.75); }
.code { padding: 1.1cqw; display: grid; gap: 0.75cqw; }
.code span { width: var(--w); height: 0.7cqw; border-radius: 1cqw; background: var(--c, rgba(255, 255, 255, 0.15)); }

.win--main { z-index: 3; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; }
.main-body { position: relative; flex: 1; }
.video, .doc { position: absolute; inset: 0; transition: opacity 0.4s; }
.video { display: grid; place-items: center; background: radial-gradient(70% 110% at 74% 30%, #cfd9ff 0%, #5d7bff 34%, #1a2bb0 66%, #070b32 100%); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 6, 24, 0.55), transparent 42%); }
.video__play { position: relative; z-index: 1; width: 5cqw; height: 5cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px); }
.video__play::after { content: ""; position: absolute; left: 40%; top: 31%; border-left: 1.5cqw solid #fff; border-top: 0.95cqw solid transparent; border-bottom: 0.95cqw solid transparent; }
.video__track { position: absolute; z-index: 1; left: 3%; right: 3%; bottom: 7%; height: 0.3cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.video__track b { display: block; height: 100%; width: 40%; background: #fff; animation: play 9s linear infinite; }
@keyframes play { from { width: 8%; } to { width: 100%; } }
.doc { opacity: 0; background: #f4f5fa; padding: 3% 5%; display: grid; align-content: start; gap: 1.3cqw; }
.doc span { width: var(--w); height: 1.1cqw; border-radius: 1cqw; background: #cfd4e2; }
.doc span:first-child { height: 2.2cqw; background: #151a2e; margin-bottom: 0.6cqw; }

.demo[data-scene="video"] .win--main { border-radius: 0; border-color: transparent; }
.demo[data-scene="video"] .win--main .win__bar { display: none; }
.demo[data-scene="share"] .video, .demo[data-scene="maximize"] .video { opacity: 0; }
.demo[data-scene="share"] .doc, .demo[data-scene="maximize"] .doc { opacity: 1; }
.demo[data-scene="share"] .win--main, .demo[data-scene="maximize"] .win--main { height: calc(100% - 3cqw); border-radius: 0; }
.demo[data-split="on"] .win--main { width: var(--s); }

.taskbar { z-index: 2; bottom: 0; height: 3cqw; background: rgba(12, 15, 26, 0.94); border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; gap: 0.7cqw; }
.taskbar i { width: 1.35cqw; height: 1.35cqw; border-radius: 0.3cqw; background: rgba(255, 255, 255, 0.2); }
.taskbar i:first-child { background: var(--blue-hi); }
.taskbar--a { left: 0; width: 100%; }
.taskbar--b { left: 100%; width: 0; opacity: 0; }
.demo[data-split="on"] .taskbar--a { width: var(--s); }
.demo[data-split="on"] .taskbar--b { left: var(--s); width: calc(100% - var(--s)); opacity: 1; }

.share-frame { z-index: 4; left: 0; top: 0; width: 100%; height: 100%; border: 0.28cqw solid #ff5a5f; opacity: 0; pointer-events: none; }
.share-frame span { position: absolute; top: 0; right: 0; background: #ff5a5f; color: #fff; font-family: var(--mono); font-size: 0.9cqw; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25cqw 0.9cqw; border-radius: 0 0 0 0.5cqw; }
.demo[data-scene="share"] .share-frame { opacity: 1; }
.demo[data-scene="share"][data-split="on"] .share-frame { width: var(--s); }

.viewer { z-index: 6; right: 2%; bottom: 14%; width: 20%; padding: 0.9cqw; background: rgba(10, 12, 22, 0.92); border: 1px solid var(--hair-strong); border-radius: 0.9cqw; opacity: 0; transform: translateY(1cqw); pointer-events: none; backdrop-filter: blur(10px); }
.demo[data-scene="share"] .viewer { opacity: 1; transform: none; }
.viewer__label { font-family: var(--mono); font-size: 0.85cqw; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.6cqw; }
.viewer__screen { aspect-ratio: 16 / 9; background: #000; border-radius: 0.4cqw; display: grid; place-items: center; overflow: hidden; }
.viewer__content { width: 100%; aspect-ratio: 32 / 9; background: #f4f5fa; position: relative; transition: aspect-ratio 0.75s var(--ease); }
.viewer__content::after { content: ""; position: absolute; left: 7%; top: 18%; width: 30%; height: 12%; background: #151a2e; border-radius: 1cqw; box-shadow: 0 0.85cqw 0 #cfd4e2, 0 1.7cqw 0 #cfd4e2; }
.demo[data-split="on"] .viewer__content { aspect-ratio: 16 / 9; }

.divider { z-index: 8; top: 0; left: var(--s); width: 28px; height: 100%; margin-left: -14px; cursor: ew-resize; opacity: 0; pointer-events: none; touch-action: none; }
.divider::before { content: ""; position: absolute; left: 13.5px; top: 0; bottom: 0; width: 1px; background: #fff; box-shadow: 0 0 16px 2px rgba(108, 136, 255, 0.9); }
.divider__grip { position: absolute; left: 9px; top: 50%; width: 10px; height: 40px; margin-top: -20px; border-radius: 6px; background: #fff; transition: transform 0.2s; }
.divider:hover .divider__grip, .demo.is-dragging .divider__grip { transform: scale(1.18); }
.demo[data-split="on"] .divider { opacity: 1; pointer-events: auto; }
.divider:focus-visible { outline: none; }
.divider:focus-visible .divider__grip { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

.chip { z-index: 7; top: 4%; display: inline-flex; align-items: center; gap: 0.6cqw; padding: 0.3cqw 0.9cqw 0.3cqw 0.35cqw; border-radius: 999px; background: rgba(6, 8, 18, 0.72); border: 1px solid var(--hair-strong); font-family: var(--mono); font-size: 0.95cqw; letter-spacing: 0.06em; white-space: nowrap; opacity: 0; transform: translate(-50%, -0.6cqw); backdrop-filter: blur(8px); }
.chip b { display: grid; place-items: center; width: 1.7cqw; height: 1.7cqw; border-radius: 50%; background: #fff; color: var(--ink); font-size: 0.9cqw; font-weight: 500; }
.chip--a { left: calc(var(--s) / 2); }
.chip--b { left: calc(var(--s) + (100% - var(--s)) / 2); }
.demo[data-split="on"] .chip { opacity: 1; transform: translate(-50%, 0); }
.demo__caption { margin-top: clamp(14px, 2vw, 22px); padding: 0 6px 4px; color: rgba(255, 255, 255, 0.72); font-size: 15px; min-height: 1.6em; }

/* -------------------------------------------------------------- night */

.night { padding-block: clamp(72px, 8.5vw, 128px); }
.night .lead { color: var(--dim); }
.night .cap { color: var(--dim); }
.head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: end; }
.head .lead { justify-self: end; padding-bottom: 8px; }
.duo { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.duo--top { align-items: start; }

/* setup */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(44px, 6vw, 80px); border-top: 1px solid var(--hair); }
.steps li { padding: 20px 30px 0 0; min-width: 0; }
.steps li + li { padding-left: 30px; border-left: 1px solid var(--hair); }
.num { color: var(--dim); }
.steps h3 { margin-top: 22px; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--dim); max-width: 34ch; }
.art { height: 150px; margin-top: 16px; display: grid; place-items: center; position: relative; }
.bar { position: relative; width: min(230px, 80%); height: 64px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--hair-strong); overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.art--detect .bar span { position: absolute; inset: 0 auto 0 0; width: 46px; background: linear-gradient(90deg, transparent, rgba(108, 136, 255, 0.85), transparent); animation: scan 2.8s var(--ease) infinite; }
@keyframes scan { from { left: -46px; } to { left: 100%; } }
.art--layout .bar i { position: absolute; top: 5px; bottom: 5px; border-radius: 4px; }
.art--layout .bar i:nth-child(1) { left: 5px; background: linear-gradient(135deg, #fff, #6c88ff); animation: lw 6s var(--ease) infinite; }
.art--layout .bar i:nth-child(2) { right: 5px; box-shadow: inset 0 0 0 1px var(--hair-strong); animation: rw 6s var(--ease) infinite; }
.art--layout .bar b { position: absolute; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: #fff; animation: gp 6s var(--ease) infinite; }
@keyframes lw { 0%, 20%, 80%, 100% { width: calc(50% - 8px); } 40%, 60% { width: calc(64% - 8px); } }
@keyframes rw { 0%, 20%, 80%, 100% { width: calc(50% - 8px); } 40%, 60% { width: calc(36% - 8px); } }
@keyframes gp { 0%, 20%, 80%, 100% { left: calc(50% - 1.5px); } 40%, 60% { left: calc(64% - 1.5px); } }
.ring { width: 92px; height: 92px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--hair); stroke-width: 2; }
.ring .ring__run { stroke: #fff; stroke-linecap: round; stroke-dasharray: 213.6; animation: ring 15s linear infinite; }
@keyframes ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 213.6; } }
.ring__n { position: absolute; font-family: var(--mono); font-size: 22px; font-variant-numeric: tabular-nums; }

/* rows (safety, installer) */
.rows { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--hair); }
.rows li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.rows p { font-size: 15px; color: var(--dim); }
.rows--tight { margin-top: 16px; }
.rows + .fine { margin-top: 18px; color: var(--dim); max-width: 52ch; }

.panic { padding: 30px; border-radius: 22px; background: radial-gradient(110% 120% at 50% 0%, #10173e 0%, #080a14 62%); box-shadow: inset 0 0 0 1px var(--hair); text-align: center; }
.keys { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
kbd { font: 500 13px var(--mono); letter-spacing: 0.04em; min-width: 56px; padding: 12px 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--hair-strong), 0 2px 0 rgba(255, 255, 255, 0.14); animation: press 5s infinite; }
kbd:nth-child(2) { animation-delay: 0.12s; } kbd:nth-child(3) { animation-delay: 0.24s; } kbd:nth-child(4) { animation-delay: 0.36s; }
@keyframes press { 0%, 18%, 44%, 100% { transform: none; background: rgba(255, 255, 255, 0.05); color: #fff; } 24%, 38% { transform: translateY(2px); background: #fff; color: var(--ink); } }
.panic__screen { position: relative; height: 70px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--hair-strong); overflow: hidden; }
.panic__screen i { position: absolute; top: 5px; bottom: 5px; border-radius: 4px; background: linear-gradient(135deg, #fff, #6c88ff); }
.panic__screen i:nth-child(1) { left: 5px; animation: ma 5s var(--ease) infinite; }
.panic__screen i:nth-child(2) { right: 5px; width: calc(50% - 8px); animation: mb 5s var(--ease) infinite; }
@keyframes ma { 0%, 40%, 100% { width: calc(50% - 8px); } 52%, 92% { width: calc(100% - 10px); } }
@keyframes mb { 0%, 40%, 100% { opacity: 1; } 52%, 92% { opacity: 0; } }
.panic__note { margin-top: 16px; font-size: 14px; color: var(--dim); }

/* limits */
.ledger { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--hair); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.ledger dt { font-size: clamp(19px, 1.9vw, 24px); font-weight: 400; letter-spacing: -0.02em; }
.ledger dd { color: var(--dim); max-width: 52ch; }

/* pricing */
.offer { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: end; padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  background: linear-gradient(180deg, #060818 0%, #0d1a7c 62%, #2746ff 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.offer__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 86% 100%, rgba(170, 190, 255, 0.6), transparent 70%); }
.offer::after, .demo::after, .panic::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background-image: var(--grain); opacity: 0.5; mix-blend-mode: overlay; }
.demo, .panic { position: relative; isolation: isolate; }
.offer .cap { color: rgba(255, 255, 255, 0.66); }
.figure { font-weight: 300; font-size: clamp(110px, 17vw, 230px); line-height: 0.82; letter-spacing: -0.07em; margin: 18px 0 22px -0.04em; font-variant-numeric: tabular-nums; }
.figure sup { font-size: 0.3em; vertical-align: top; position: relative; top: 0.18em; margin-right: 0.08em; letter-spacing: 0; color: rgba(255, 255, 255, 0.6); }
.offer__sub { color: rgba(255, 255, 255, 0.76); }
.ticks { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.offer__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.offer .fine { margin-top: 16px; color: rgba(255, 255, 255, 0.7); }

/* download */
#download .lead { margin-top: 22px; }
#download .btn--split { margin-top: 30px; }
#download .fine { color: var(--dim); }
#download .btn--split + .fine { margin-top: 16px; }

.gate { margin-top: 30px; max-width: 520px; }
.gate__row { display: flex; gap: 8px; margin-top: 12px; }
.gate input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; border: 0; outline: 0; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--hair-strong); color: var(--white); font: inherit; font-size: 16px; transition: box-shadow 0.2s, background 0.2s; }
.gate input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.36); }
.gate input[type="email"]:focus-visible { background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1.5px var(--blue-hi); }
.gate input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff6b70; }
.gate__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gate button { margin: 0 !important; border: 0; font-family: inherit; color: var(--white); }
.gate button[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.gate__msg { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: #ff9da1; }
.gate .fine { margin-top: 4px; }
.gate .fine a, .gate__done a.inline { border-bottom: 1px solid var(--hair-strong); }
.gate__done { margin-top: 30px; max-width: 520px; }
.gate__done .cap { display: flex; align-items: center; gap: 9px; color: var(--white); }
.gate__done-text { margin: 12px 0 0; color: var(--dim); }
.gate__done .btn--split { margin-top: 22px !important; }
[hidden] { display: none !important; }
@media (max-width: 520px) { .gate__row { flex-direction: column; } .gate button { width: 100%; justify-content: space-between; } }

/* faq */
.duo--faq { grid-template-columns: 0.8fr 1.2fr; }
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 44px 22px 0; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.3s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); opacity: 0; }
.faq p { color: var(--dim); padding: 0 44px 24px 0; max-width: 62ch; }

/* footer */
.footer { padding: 30px 0 34px; border-top: 1px solid var(--hair); margin-top: 20px; overflow: hidden; }
.footer__row { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--dim); }
.footer nav a:hover { color: var(--white); }
.footer__word { font-weight: 300; font-size: clamp(70px, 19.5vw, 300px); line-height: 0.8; letter-spacing: -0.06em; margin: clamp(40px, 7vw, 90px) 0 0 -0.05em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.02) 86%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__legal { margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.4); }

/* legal pages */
.legal { padding: 72px var(--gutter) 110px; max-width: 860px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 14px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: 400; margin: 40px 0 10px; }
.legal p { color: var(--dim); margin-bottom: 12px; max-width: 66ch; }
.legal a { border-bottom: 1px solid var(--hair-strong); }
.draft { margin: 22px 0; padding: 14px 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 190, 110, 0.5); background: rgba(255, 190, 110, 0.08); color: #ffd9ad !important; font-size: 15px; }
.nav--plain { position: static; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--hair); }

/* ------------------------------------------------------------- motion */

.js .reveal { transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal:not(.is-in) { opacity: 0.001; transform: translateY(14px); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__scene { animation: rise 1.4s var(--ease) 0.2s both; }

/* --------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero { min-height: 0; padding-bottom: 150px; }
  .hero__scene { position: relative; right: auto; bottom: auto; width: 112%; margin: 30px -6% -20px; }
  .hero__dock { position: relative; left: auto; bottom: auto; margin-top: 8px; flex-wrap: wrap; }
  .quad { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .quad article:nth-child(3) { border-left: 0; }
  .head, .duo, .duo--faq, .offer { grid-template-columns: 1fr; }
  .head .lead { justify-self: start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .page { padding: 8px; }
  .sheet { border-radius: 22px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__quiet { display: none; }
  .hero { padding-top: 112px; }
  .seg button { padding: 7px 10px; font-size: 12px; }
  .hero__specs { gap: 6px 16px; }
  .hero__specs dt { width: 100%; }
  .quad { grid-template-columns: 1fr; margin-inline: 0; }
  .quad::before { inset: 0 0 auto; }
  .quad article, .quad article + article { padding: 18px 0 0; border-left: 0; }
  .quad article + article { border-top: 1px solid var(--hair-paper); }
  .mini { max-width: 300px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0 30px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--hair); }
  .rows li, .ledger > div { grid-template-columns: 1fr; gap: 6px; }
  .screen { aspect-ratio: 21 / 9; }
  .demo__bar { justify-content: center; }
  .tab { padding: 7px 10px; font-size: 12.5px; }
  .chip span { display: none; }
  .chip { padding: 0.4cqw; }
  .chip b { width: 4cqw; height: 4cqw; font-size: 2.1cqw; }
  .win__bar { height: 3.6cqw; font-size: 1.9cqw; }
  .viewer { width: 30%; }
  .viewer__label, .share-frame span { font-size: 1.8cqw; }
  .offer { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}
