/* Doom Count landing page ("In Sight"). Nothing on this page is driven by scroll position. Other pages use styles.css. */
@font-face { font-family: Geist; src: url(/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(/fonts/space-grotesk-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* 1vw and 1vh of the page as laid out: home.js divides them by the big-screen zoom, so sizes inside zoomed sections match the 1440 x 900 design. */
  --vw1: 1vw; --vh1: 1vh;
  --bg: #0D0E13; --bg2: #191A21; --black: #050608;
  --lime: #C8FF3A; --glow: #8BE61A; --hot: #FFB31A; --amber: #F5B65A;
  --text: #F1F3F7; --muted: #9AA0AE; --line: rgba(241, 243, 247, .12);
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display: "Space Grotesk", var(--sans); --dw: 700; --dls: -.055em; --ds: 1; --dlh: .92;
  --gut: clamp(20px, calc(5 * var(--vw1)), 72px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--text); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
canvas, img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--bg); }

.wrap { width: min(100% - var(--gut) * 2, 1120px); margin-inline: auto; }
h1, h2, .brand span, .price b { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dls); }
h1, h2 { line-height: var(--dlh); text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--lime); }
h2 { font-size: calc(clamp(40px, calc(5.4 * var(--vw1)), 84px) * var(--ds)); }
.one { margin-top: 18px; font-size: clamp(17px, calc(1.5 * var(--vw1)), 21px); line-height: 1.4; color: #C6CAD3; text-wrap: pretty; }
.fine { margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.fine.center { text-align: center; padding: 0 var(--gut); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 70; background: var(--lime); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* The words and phones start at opacity .001, not 0: the browser then draws them during the quiet opening instead of in the frame they appear. */
/* ---------- Brand ---------- */
.top { position: absolute; z-index: 20; left: 0; right: 0; top: 0; display: flex; justify-content: center; padding: clamp(18px, calc(3 * var(--vh1)), 30px) var(--gut) 0; opacity: .001; will-change: opacity; transition: opacity .9s ease; }
.ready .top { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand span { font-size: calc(clamp(27px, calc(2.5 * var(--vw1)), 36px) * var(--ds)); line-height: 1; }
.brand canvas { width: clamp(44px, calc(3.8 * var(--vw1)), 54px); height: clamp(44px, calc(3.8 * var(--vw1)), 54px); border-radius: 22.5%; box-shadow: 0 0 30px rgba(139, 230, 26, .4); }

/* ---------- Hero: the wall, then three iPhones ---------- */
/* Big screens: every section grows as one block, so the page keeps its 1440 x 900 proportions (home.js sets --hk, 1 to 2.2).
   Words grow less than pictures: text blocks zoom back by --tz, so they end up at 1 + 40% of the extra (1.35x when the phones are 1.88x). */
.top, .trio, .fold, .end, .foot { zoom: var(--hk, 1); }
.hero { zoom: var(--hz, 1); }   /* not inside a zoomed block, so it takes the text scale directly */
.brand, .fold-head, .car-bar, .tm-bar, .fold > .fine, .duo-text, .close > .wrap, .end h2, .end .cta, .foot > .wrap { zoom: var(--tz, 1); }
.hero-sec { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 50% 45%, #12131A 0%, var(--black) 70%); }
.cam { position: absolute; inset: 0; overflow: hidden; perspective: 1800px; perspective-origin: 50% 46%; }
.wall { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; backface-visibility: hidden; }
.rows { position: absolute; inset: 0; opacity: 0; }
.row { position: absolute; left: 0; width: 100%; background-repeat: repeat-x; will-change: transform; }
.wall-icon { position: absolute; border-radius: 24px; box-shadow: 0 0 70px rgba(139, 230, 26, .38), 0 0 0 1px rgba(200, 255, 58, .12); opacity: 0; }
.wall-icon canvas { width: 510px; height: 510px; transform: scale(.33334); transform-origin: 0 0; }
.veil { position: absolute; inset: 0; opacity: 0; pointer-events: none; will-change: opacity;
  background:
    radial-gradient(ellipse 90% 60% at 50% 34%, rgba(5, 6, 8, .82) 0%, rgba(5, 6, 8, .5) 55%, rgba(5, 6, 8, 0) 100%),
    linear-gradient(to bottom, rgba(5, 6, 8, .8) 0%, rgba(5, 6, 8, .2) 30%, rgba(5, 6, 8, .2) 60%, rgba(5, 6, 8, .9) 100%),
    rgba(5, 6, 8, .52); }

.hero { position: relative; z-index: 2; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(92px, calc(13.5 * var(--vh1)), 128px) var(--gut) 0; opacity: .001; will-change: opacity, transform; transform: translate3d(0, 22px, 0); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.ready .hero, .bare .hero { opacity: 1; transform: none; }
.tick { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); padding: 9px 14px; border: 1px solid rgba(200, 255, 58, .32); border-radius: 999px; background: rgba(5, 6, 8, .55); }
.tick span { color: var(--text); }
.tick i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--glow); animation: blink 1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero h1 { margin-top: clamp(14px, calc(2.2 * var(--vh1)), 24px); font-size: calc(clamp(52px, calc(8.1 * var(--vw1)), 128px) * var(--ds)); line-height: .9; text-shadow: 0 4px 60px rgba(5, 6, 8, .9); }
.hero h1 em { text-shadow: 0 0 80px rgba(139, 230, 26, .45); }
.say { margin-top: clamp(14px, calc(2.4 * var(--vh1)), 24px); font-size: clamp(18px, calc(1.7 * var(--vw1)), 25px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 1px 24px rgba(5, 6, 8, .95); }
.cta { margin-top: clamp(18px, calc(3 * var(--vh1)), 30px); }
.soon { display: inline-flex; align-items: center; height: 54px; padding: 0 30px; border-radius: 999px; background: var(--lime); color: #0D0E13; font-weight: 650; font-size: 17px; letter-spacing: -.01em; box-shadow: 0 0 0 1px rgba(200, 255, 58, .4), 0 10px 60px rgba(139, 230, 26, .35); cursor: default; user-select: none; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.soon[href] { cursor: pointer; user-select: auto; }
a.soon[href]:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(200, 255, 58, .6), 0 14px 70px rgba(139, 230, 26, .5); }

.trio { position: relative; z-index: 1; flex: 1; min-height: 0; margin-top: clamp(40px, calc(9.5 * var(--vh1)), 96px); --pw: clamp(250px, calc(24 * var(--vw1)), 350px); }
.trio .phone { position: absolute; left: 50%; top: 0; width: var(--pw); margin-left: calc(var(--pw) / -2); opacity: .001; will-change: opacity, transform; transform: translate3d(var(--x, 0), 46%, 0) scale(var(--s, 1)); transform-origin: 50% 0; transition: opacity .9s ease, transform 1.3s cubic-bezier(.16, .8, .2, 1); }
.trio .phone:nth-child(1) { --x: -66%; --s: .88; top: 34px; z-index: 0; transition-delay: .18s; filter: brightness(.6); }
.trio .phone:nth-child(2) { z-index: 2; transition-delay: .05s; box-shadow: inset 0 0 0 1.5px #3A3D48, 0 0 0 1.5px #2B2D36, 0 40px 120px rgba(0, 0, 0, .8), 0 0 120px rgba(139, 230, 26, .16); }
.trio .phone:nth-child(3) { --x: 66%; --s: .88; top: 34px; z-index: 0; transition-delay: .28s; filter: brightness(.6); }
.ready .trio .phone, .bare .trio .phone { opacity: 1; transform: translate3d(var(--x, 0), 0, 0) scale(var(--s, 1)); }

/* ---------- Phones ---------- */
.phone { position: relative; aspect-ratio: 393 / 852; border-radius: 15% / 6.9%; background: #000; overflow: hidden; container-type: inline-size; border: 8px solid #0A0B0E; color: #fff;
  box-shadow: inset 0 0 0 1.5px #3A3D48, 0 0 0 1.5px #2B2D36, 0 60px 120px rgba(0, 0, 0, .75); }
.phone.light { color: #16181D; }
.ph-island { position: absolute; z-index: 3; left: 50%; top: 2.7cqw; width: 30cqw; height: 8.9cqw; margin-left: -15cqw; border-radius: 999px; background: #000; }
.ph-bar { position: absolute; z-index: 3; left: 50%; bottom: 2.2cqw; width: 35cqw; height: 1.3cqw; margin-left: -17.5cqw; border-radius: 99px; background: currentColor; opacity: .85; }
.ph-wall { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.ph-wall.on { opacity: 1; }
.ph-status { position: absolute; z-index: 2; left: 8.6cqw; right: 7.6cqw; top: 4.6cqw; height: 5.2cqw; display: flex; justify-content: space-between; align-items: center; font-size: 4.3cqw; font-weight: 650; letter-spacing: -.02em; }
.ph-status span { display: flex; align-items: center; gap: 1.5cqw; }
.ph-status svg { height: 3.1cqw; width: auto; fill: currentColor; }
.phone { transition: color .5s; }

/* Home Screen */
.hs-grid { position: absolute; z-index: 1; left: 6.4cqw; right: 6.4cqw; top: 19cqw; display: grid; grid-template-columns: repeat(4, 16.6cqw); grid-auto-rows: 21.7cqw; justify-content: space-between; row-gap: 4.3cqw; grid-auto-flow: dense; }
.hs-grid.reflow .hs-app { animation: reflow .6s ease both; }
@keyframes reflow { from { opacity: .25; } to { opacity: 1; } }
.hs-app { display: flex; flex-direction: column; align-items: center; gap: 1.7cqw; }
.hs-app img { width: 16.6cqw; height: 16.6cqw; border-radius: 23%; }
.hs-app span, .hs-w > span { font-size: 3.1cqw; line-height: 1; font-weight: 500; white-space: nowrap; }
.hs-w { position: relative; grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; align-items: center; gap: 2cqw; }
.hs-w[data-size=small] { grid-column: span 2; }
.hs-w[data-size=large] { grid-row: span 4; }
.hs-w canvas, .hs-w .slot { width: 100%; }
.hs-w canvas { filter: drop-shadow(0 3cqw 6cqw rgba(0, 0, 0, .4)); }
.hs-w .slot { aspect-ratio: 364 / 170; }
.hs-w[data-size=small] .slot { aspect-ratio: 1; }
.hs-w[data-size=large] .slot { aspect-ratio: 364 / 382; }
.hs-dock { position: absolute; z-index: 1; left: 3.6cqw; right: 3.6cqw; bottom: 3.6cqw; height: 24cqw; border-radius: 8.4cqw; background: rgba(255, 255, 255, .16); display: flex; justify-content: space-around; align-items: center; padding: 0 2.6cqw; }
.hs-dock img { width: 16.6cqw; height: 16.6cqw; border-radius: 23%; }
/* The top part of a phone, fading out at the bottom. */
.phone.half { aspect-ratio: 393 / 600; border-radius: 15% 15% 0 0 / 9.8% 9.8% 0 0; border-bottom: 0; box-shadow: inset 0 0 0 1.5px #3A3D48;
  -webkit-mask: linear-gradient(#000 74%, transparent 99%); mask: linear-gradient(#000 74%, transparent 99%); }
.phone.half.short { aspect-ratio: 393 / 520; border-radius: 15% 15% 0 0 / 11.3% 11.3% 0 0; -webkit-mask: linear-gradient(#000 66%, transparent 98%); mask: linear-gradient(#000 66%, transparent 98%); }

/* ---------- Folds ---------- */
.fold { position: relative; background: var(--black); overflow: hidden; overflow: clip; }
.fold-head { text-align: center; padding: clamp(80px, calc(11 * var(--vh1)), 130px) var(--gut) 0; }
.fold-head .one { max-width: 30em; margin-inline: auto; }
.arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(241, 243, 247, .22); background: rgba(241, 243, 247, .06); cursor: pointer; position: relative; transition: background .2s, border-color .2s; }
.arrow:hover { background: rgba(241, 243, 247, .16); border-color: rgba(241, 243, 247, .4); }
.arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -3px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); }
.arrow.next::before { margin-left: -8px; transform: rotate(-135deg); }
.car-bar { position: relative; z-index: 4; display: flex; justify-content: center; align-items: center; gap: 18px; padding: 0 var(--gut); }
.car-cap { min-width: min(330px, calc(56 * var(--vw1))); text-align: center; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.car-cap b { display: inline-block; margin-left: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(200, 255, 58, .4); border-radius: 999px; padding: 4px 8px; vertical-align: 2px; }
.car-cap b.pro { color: var(--muted); border-color: var(--line); }

/* Widgets: a belt of them passes through the phone */
.belt-sec { padding-bottom: clamp(50px, calc(7 * var(--vh1)), 90px); }
.car { position: relative; margin-top: clamp(30px, calc(5 * var(--vh1)), 54px); outline-offset: -4px; }
.car-phone { display: flex; justify-content: center; }
.car-phone .phone { width: clamp(270px, calc(25 * var(--vw1)), 360px); }
.belt { position: absolute; inset: 0; pointer-events: none; -webkit-mask: linear-gradient(90deg, transparent 0, #000 26%, #000 74%, transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 26%, #000 74%, transparent 100%); }
.belt-item { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; transition: transform .9s cubic-bezier(.6, 0, .2, 1) .14s, opacity .5s ease .14s; }
.belt-item.jump { transition: none; }
.belt-item canvas { width: 100%; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5)); }
.belt-sec .car-bar { margin-top: -34px; }

/* Wallpaper: a cover-flow of Lock Screens */
.wp { padding-bottom: clamp(70px, calc(9 * var(--vh1)), 110px); }
.flow { position: relative; margin: clamp(30px, calc(5 * var(--vh1)), 54px) 0 30px; padding: 12px 0; --fw: clamp(230px, min(calc(23 * var(--vw1)), calc(26 * var(--vh1))), 330px); outline-offset: -4px; }
.flow-out { position: absolute; inset: 12px 0; -webkit-mask: linear-gradient(90deg, transparent 1%, rgba(0,0,0,.45) 19%, #000 30%, #000 70%, rgba(0,0,0,.45) 81%, transparent 99%); mask: linear-gradient(90deg, transparent 1%, rgba(0,0,0,.45) 19%, #000 30%, #000 70%, rgba(0,0,0,.45) 81%, transparent 99%); }
.flow-out .wps { position: absolute; left: 50%; top: 0; width: var(--fw); margin-left: calc(var(--fw) / -2); border-radius: 13.5% / 6.2%; filter: brightness(.5) saturate(.85); transition: transform .5s ease-in-out, opacity .5s ease; }
/* The screen itself is 393:852; the frame is drawn outside it, so nothing inside is squeezed. */
.flow-phone { position: relative; z-index: 2; width: var(--fw); aspect-ratio: 393 / 852; margin: 0 auto; border-radius: 13.5% / 6.2%; background: #000; overflow: hidden; container-type: inline-size; color: #fff; transition: color .15s ease;
  box-shadow: 0 0 0 1.5px #3A3D48, 0 0 0 9px #0A0B0E, 0 0 0 10.5px #2B2D36, 0 50px 120px rgba(0, 0, 0, .8), 0 0 140px var(--halo, rgba(139, 230, 26, .2)); }
.flow-phone.light .lk-btn { background: rgba(0, 0, 0, .1); }
.flow-in { position: absolute; inset: 0; }
.phone.lock .wps { position: absolute; inset: 0; aspect-ratio: auto; }
.phone.lock .wps canvas { height: 100%; object-fit: cover; }
.flow-in .wps { position: absolute; inset: 0; border-radius: 0; transition: transform .5s ease-in-out; }
.wps { overflow: hidden; container-type: inline-size; aspect-ratio: 393 / 852; background: #000; }
.wps.jump { transition: none !important; }
.wps canvas { width: 100%; }
.lk-date { position: absolute; z-index: 2; left: 0; right: 0; top: 19.5cqw; display: flex; justify-content: center; align-items: center; gap: 1.6cqw; font-size: 5.2cqw; line-height: 1; font-weight: 600; white-space: nowrap; }
.lk-date i { font-style: normal; opacity: .7; }
.lk-date svg { width: 5cqw; height: 5cqw; fill: currentColor; }
.lk-time { position: absolute; z-index: 2; left: 0; right: 0; top: 26.5cqw; text-align: center; font-size: 25cqw; line-height: 1; font-weight: 650; letter-spacing: -.045em; }
.lk-widgets { position: absolute; left: 8cqw; right: 8cqw; top: 54cqw; display: flex; align-items: center; gap: 4.4cqw; }
.lk-circ { flex: none; width: 14.5cqw; height: 14.5cqw; border-radius: 50%; display: grid; place-items: center; position: relative; background: rgba(255, 255, 255, .16); }
.light .lk-circ, .light .lk-btn { background: rgba(0, 0, 0, .1); }
.lk-circ svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.lk-circ circle { fill: none; stroke: currentColor; stroke-width: 3.4; }
.lk-circ circle:first-child { opacity: .25; }
.lk-circ b { font: 700 6.6cqw/1 var(--mono); letter-spacing: -.04em; }
.lk-rect { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.1cqw; }
.lk-rect b { font-size: 4.5cqw; line-height: 1.1; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-rect span { font-size: 4cqw; line-height: 1.1; opacity: .85; white-space: nowrap; }
.lk-rect i { display: block; height: 1.5cqw; margin-top: .8cqw; border-radius: 99px; background: linear-gradient(90deg, currentColor var(--f, 50%), transparent 0); position: relative; }
.lk-rect i::after { content: ""; position: absolute; inset: 0; border-radius: 99px; background: currentColor; opacity: .25; }
.lk-bottom { position: absolute; z-index: 2; left: 11.5cqw; right: 11.5cqw; bottom: 10.5cqw; display: flex; justify-content: space-between; }
.lk-btn { width: 13cqw; height: 13cqw; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.lk-btn svg { width: 46%; height: 46%; fill: currentColor; }

/* ---------- Month, Year and Life ---------- */
.time { padding-bottom: clamp(70px, calc(9 * var(--vh1)), 110px); }
.tm-screen { position: relative; width: min(100% - var(--gut) * 2, 700px, calc(54 * var(--vh1))); margin: clamp(36px, calc(5 * var(--vw1)), 60px) auto 0; padding: clamp(24px, calc(5 * var(--vw1)), 56px); border-radius: clamp(30px, calc(4 * var(--vw1)), 44px); background: radial-gradient(120% 90% at 30% 0%, #1C1E27, #0B0C10 70%); box-shadow: inset 0 0 0 1px rgba(241, 243, 247, .08); }
/* Two small widgets and one medium: the medium is as wide as two smalls and the gap (364 = 170 + 24 + 170). */
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6.6%; row-gap: clamp(18px, calc(3 * var(--vw1)), 30px); }
.tm-w { margin: 0; cursor: pointer; border-radius: 14px; }
.tm-w.wide { grid-column: span 2; }
.tm-w canvas { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5)); transition: opacity .3s ease, transform .3s ease; }
.tm-w canvas.out { opacity: 0; transform: scale(.985); }
.tm-w figcaption { margin-top: 10px; text-align: center; font-size: 15px; font-weight: 600; }
.tm-w figcaption span { display: block; margin-top: 3px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tm-bar { margin-top: 26px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gut); }
.tm-bar .fine { margin-top: 0; }

/* ---------- On track ---------- */
.duo { display: flex; justify-content: center; align-items: flex-end; gap: clamp(36px, calc(5 * var(--vw1)), 84px); padding: clamp(70px, calc(10 * var(--vh1)), 120px) var(--gut) 0; }
.duo.rev { flex-direction: row-reverse; }
.duo-phone { position: relative; flex: none; perspective: 1500px; }
.duo-phone .phone { width: min(calc(34 * var(--vw1)), 380px); transform: rotateY(-9deg); }
.duo-text { max-width: 560px; padding-bottom: clamp(70px, calc(13 * var(--vh1)), 140px); }
.duo h2 { font-size: calc(clamp(38px, calc(4.4 * var(--vw1)), 64px) * var(--ds)); }
.halo { position: absolute; inset: -18% -45%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(139, 230, 26, .2), transparent 72%); }
.beats { margin-top: 26px; }
.beats li { position: relative; padding: 11px 0 11px 28px; font-size: clamp(17px, calc(1.5 * var(--vw1)), 21px); line-height: 1.3; color: var(--text); opacity: .34; transition: opacity .5s; }
.beats li::before { content: ""; position: absolute; left: 3px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .4s, box-shadow .4s; }
.beats li.on { opacity: 1; }
.beats li.on::before { background: var(--lime); box-shadow: 0 0 12px var(--glow); }
.beats li:nth-child(3).on::before { background: var(--amber); box-shadow: 0 0 12px rgba(245, 182, 90, .7); }
.stack { position: relative; width: 100%; aspect-ratio: 364 / 170; perspective: 900px; }
.stack canvas { position: absolute; inset: 0; width: 100%; opacity: 0; transform: rotateX(-14deg) scale(.985); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1); backface-visibility: hidden; }
.stack canvas.front { opacity: 1; transform: none; z-index: 1; }
.stack canvas.tapme { cursor: pointer; }
.tap { position: absolute; z-index: 2; width: 9cqw; height: 9cqw; margin: -4.5cqw; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1.2cqw rgba(255, 255, 255, .18); opacity: 0; pointer-events: none; }
.tap.go { animation: tap .6s ease-out both; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.6); } 35% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.25); } }

/* ---------- Close ---------- */
.close { padding: clamp(90px, calc(12 * var(--vw1)), 160px) 0 clamp(60px, calc(8 * var(--vw1)), 110px); background: var(--bg); }
.plans { margin-top: clamp(36px, calc(5 * var(--vw1)), 64px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan { padding: 30px clamp(0px, calc(4 * var(--vw1)), 56px) 30px 0; }
.plan.pro { padding-left: clamp(24px, calc(4 * var(--vw1)), 56px); padding-right: 0; border-left: 1px solid var(--line); }
.plan h3 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan.pro h3 { color: var(--lime); }
.price { margin-top: 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; }
.price b { font-size: calc(clamp(56px, calc(6.4 * var(--vw1)), 96px) * var(--ds)); line-height: 1; }
.price span { font-size: 17px; color: var(--muted); }
.plan ul { margin-top: 18px; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: 17px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(241, 243, 247, .28); }
.plan.pro li::before { background: var(--lime); box-shadow: 0 0 10px var(--glow); }
.facts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; color: var(--muted); }
.faq { margin-top: clamp(50px, calc(6 * var(--vw1)), 84px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: clamp(19px, calc(1.7 * var(--vw1)), 23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--mono); color: var(--lime); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); max-width: 44em; }

.end { padding: clamp(90px, calc(12 * var(--vw1)), 170px) var(--gut) clamp(100px, calc(13 * var(--vw1)), 190px); text-align: center; background: radial-gradient(60% 55% at 50% 26%, rgba(139, 230, 26, .12), transparent 70%), var(--black); display: flex; flex-direction: column; align-items: center; }
.end canvas { width: clamp(104px, calc(10 * var(--vw1)), 150px); aspect-ratio: 1; border-radius: 22.5%; box-shadow: 0 0 90px rgba(139, 230, 26, .35); }
.end h2 { margin-top: clamp(30px, calc(4 * var(--vw1)), 54px); font-size: calc(clamp(52px, calc(10 * var(--vw1)), 168px) * var(--ds)); line-height: .9; }
.end .cta { margin-top: clamp(30px, calc(4 * var(--vw1)), 52px); }

.foot { padding: 50px 0 90px; background: var(--black); border-top: 1px solid var(--line); }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: baseline; }
.spite { font-size: clamp(20px, calc(2 * var(--vw1)), 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot small { grid-column: 1 / -1; color: #6B7080; font-size: 13px; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .brand { gap: 11px; }
  .brand span { font-size: calc(27px * var(--ds)); }
  .brand canvas { width: 42px; height: 42px; }
  .hero { padding-top: 84px; }
  .tick { font-size: 10px; letter-spacing: .06em; padding: 8px 11px; gap: 8px; }
  .hero h1 { font-size: calc(clamp(44px, calc(13.4 * var(--vw1)), 84px) * var(--ds)); max-width: 8em; }
  .say { font-size: 16.5px; }
  .soon { height: 50px; padding: 0 24px; font-size: 16px; }
  .trio { --pw: min(calc(64 * var(--vw1)), 270px); margin-top: clamp(30px, calc(6 * var(--vh1)), 56px); }
  .trio .phone:nth-child(1) { --x: -78%; }
  .trio .phone:nth-child(3) { --x: 78%; }
  h2 { font-size: calc(clamp(38px, calc(11 * var(--vw1)), 60px) * var(--ds)); }
  .fold-head { padding-top: 76px; }

  .car-phone .phone { width: min(calc(74 * var(--vw1)), 310px); }
  .car-cap { font-size: 15px; min-width: 0; flex: 1; }
  .car-bar { gap: 10px; }
  .arrow { width: 44px; height: 44px; }
  .flow { --fw: min(calc(62 * var(--vw1)), 260px); }

  .duo, .duo.rev { flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 76px var(--gut) 70px; }
  .duo-text { display: contents; }
  .duo h2 { order: -1; margin-bottom: 34px; font-size: calc(clamp(38px, calc(11 * var(--vw1)), 60px) * var(--ds)); }
  .duo-phone { margin-bottom: 6px; }
  .duo-phone .phone { width: min(calc(78 * var(--vw1)), 340px); transform: none; }
  .beats { text-align: left; margin-top: 0; }
  .beats li { padding: 8px 0 8px 26px; font-size: 17px; }

  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 0; }
  .plan.pro { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts { flex-direction: column; }
  .end h2 { font-size: calc(clamp(50px, calc(16 * var(--vw1)), 110px) * var(--ds)); }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-height: 760px) {
  .hero { padding-top: 84px; }
  .hero h1 { font-size: calc(min(calc(8.1 * var(--vw1)), calc(13.5 * var(--vh1))) * var(--ds)); }
}

/* ---------- Reduced motion ---------- */
.rm .beats li { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tick i { animation: none; }
  .hs-grid.reflow .hs-app, .tap.go { animation: none; }
  .top, .hero, .trio .phone, .belt-item, .wps, .ph-wall, .stack canvas, .beats li, .tm-w canvas { transition: none !important; }
}
.rm .top, .rm .hero, .rm .trio .phone, .rm .belt-item, .rm .wps, .rm .ph-wall, .rm .stack canvas, .rm .tm-w canvas { transition: none !important; }
