/* Media Grabber — site styles
   Display: Doto (dot-matrix) · Text: Geist · Labels: Geist Mono
   Palette: black, off-white ink, one red. Fine film grain. */
:root {
  --paper: #0a0a0b; --paper-2: #121214; --ink: #ececed; --ink-2: #8d8e93; --line: rgba(236,236,237,.14); --card: #151517; --grain: .07;
  --red: #e5484d; --card-fg: #ededee;
  --display: "Doto", ui-monospace, monospace;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);   /* soft "expo-out" used by every interaction */
  --t: .55s;
}

* { box-sizing: border-box; }
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Film grain (canvas drawn by site.js) */
.grain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; opacity: var(--grain); mix-blend-mode: screen; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--red); color: #fff; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.sq::before { content: ""; display: inline-block; width: .62em; height: .62em; background: currentColor; margin-right: .55em; vertical-align: .05em; }
sup { font-family: var(--mono); font-size: .55em; margin-left: .2em; }
.red { color: var(--red); }

/* Fixed chrome */
.corner { position: fixed; top: var(--gutter); z-index: 20; }
.corner.l { left: var(--gutter); }
.corner.r { right: var(--gutter); }
.corner.r img { width: 34px; height: 34px; border-radius: 9px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gutter); align-items: center; padding: 14px var(--gutter); }
.bar a { text-decoration: none; }
.bar a:hover { color: var(--red); }
.bar .mid { display: flex; gap: .6em; }
.bar .mid a:not(:last-child)::after { content: ","; color: var(--ink); }
.bar .cta { justify-self: end; display: inline-flex; gap: 10px; align-items: center; background: var(--ink); color: var(--paper); padding: 9px 14px; border-radius: 99px; }
.bar .logo-mark { display: inline-flex; gap: 2px; margin-right: 8px; vertical-align: -1px; }
.bar .logo-mark i { width: 5px; height: 5px; background: var(--ink); display: block; }
.bar .logo-mark i:nth-child(2) { background: var(--red); transform: translateY(5px); }
@media (max-width: 760px) { .bar { grid-template-columns: 1fr auto; } .bar .mid { display: none; } }

/* Light tone (intro) — the page starts white and turns black as the intro expands */
:root { transition: background-color .6s var(--ease); }
html[data-tone="light"] { --paper: #ebebe8; --paper-2: #e2e2df; --ink: #0c0c0d; --ink-2: #55565b; --line: rgba(12,12,13,.16); }
html[data-tone="light"] .grain { mix-blend-mode: multiply; opacity: .16; }
html[data-tone="red"] { --paper: #e5484d; --paper-2: #d93f44; --ink: #0c0c0d; --ink-2: rgba(12,12,13,.68); --line: rgba(12,12,13,.24); --red: #fff; }
html[data-tone="red"] .grain { mix-blend-mode: multiply; opacity: .2; }
html[data-tone="red"] .btn:hover, html[data-tone="red"] .bar .cta:hover { color: #0c0c0d; }
body, .bar, .bar .cta, .corner, .btn { transition-property: background-color, color, background-size, box-shadow, transform; }
body { transition: background-color .9s var(--ease), color .9s var(--ease); }

/* Intro scene (pinned while you scroll through it) */
.intro { position: relative; height: 230vh; }
.scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #ebebe8; color: #0c0c0d; isolation: isolate;
  --paper: #ebebe8; --ink: #0c0c0d; --ink-2: #55565b; --line: rgba(12,12,13,.18); }
.black { position: absolute; inset: 0; background: #0c0c0d; z-index: 1; clip-path: inset(50% 50% 50% 50% round 18px); display: none; }
.black::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 65% 35%, rgba(229,72,77,.26), transparent 70%); pointer-events: none; }
.js .black { display: block; }
.boot { position: absolute; z-index: 2; }
.black .pop { position: absolute; left: 0; top: 0; z-index: 3; will-change: transform; }

.hero { position: relative; height: 100%; padding: calc(var(--gutter) * 3.2) var(--gutter) 84px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: var(--gutter); }
.word { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .8; letter-spacing: -.02em; margin: 0; color: #fff; mix-blend-mode: difference; position: relative; z-index: 3; pointer-events: none; white-space: nowrap; will-change: transform; }
.word .ch { display: inline-block; }
.hero > :not(.word):not(.hint) { position: relative; z-index: 2; }
.hint { z-index: 2; }
.w1 { grid-column: 4 / 13; grid-row: 1; justify-self: end; font-size: clamp(64px, min(18vw, 24vh), 330px); }
/* GRABBER has its own row and is pulled up over the card, so the copy below can never collide with it */
.w2 { grid-column: 1 / 11; grid-row: 3; align-self: start; justify-self: start; margin-top: -.5em; font-size: clamp(64px, min(18vw, 24vh), 330px); }
.stage { grid-column: 5 / 12; grid-row: 2; margin-top: -1vw; height: 30vh; border-radius: 18px; background: #0c0c0d; }
.js .stage { background: none; }
/* Desktop: tagline and buttons side by side so the buttons always clear the bottom bar on first load */
.hero-copy { grid-column: 5 / 13; grid-row: 4; align-self: end; padding-top: 16px; display: flex; align-items: center; gap: 28px; }
.hero-copy .btns { flex: none; flex-wrap: nowrap; }
.hero-copy p { flex: 1; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.3; margin: 0; max-width: 32em; letter-spacing: -.01em; }
.hero-side { grid-column: 1 / 5; grid-row: 4; align-self: end; color: #55565b; display: grid; gap: 6px; padding-bottom: 6px; }
.hint { display: none; } /* the buttons now sit where the hint was */
.hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Short desktop windows: a little tighter */
@media (max-height: 680px) and (min-width: 861px) {
  .hero { padding-top: calc(var(--gutter) * 2.4); padding-bottom: 80px; }
  .stage { height: 26vh; }
  .hero-copy { grid-column: 4 / 13; }
  .hero-copy p { font-size: 15px; }
  .hero-side, .hint { display: none; }
}

/* Boot log (loader) */
.bootlog { position: absolute; left: var(--gutter); bottom: 96px; z-index: 4; color: #55565b; line-height: 1.8; white-space: pre; transition: opacity .5s var(--ease); }
.bootlog b { color: #0c0c0d; font-weight: 500; }
.bootlog i { color: var(--red); font-style: normal; }

/* Loading state: only the boot display + log are visible */
.is-loading .hero .word, .is-loading .fade, .is-loading .bar, .is-loading .corner { opacity: 0; }
.is-loading body { overflow: hidden; }
.bar, .corner, .fade { transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .6s var(--ease), color .6s var(--ease); }
.is-loading .bar { transform: translateY(100%); }
html:not(.is-loading) .bootlog { opacity: 0; }

@media (max-width: 860px) {
  .intro { height: 200vh; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr; padding-top: 72px; }
  .w1, .w2, .stage, .hero-copy, .hero-side { grid-column: 1; }
  .w1 { font-size: 22vw; }
  .w2 { font-size: 22vw; grid-row: 3; margin: -11vw 0 0; align-self: start; }
  .stage { grid-row: 2; margin-top: 12px; height: auto; aspect-ratio: 1 / 1; max-height: 42svh; width: 100%; justify-self: center; }
  .hero-copy { grid-row: 4; display: block; }
  .hero-copy p { margin: 0 0 18px; }
  .hero-copy .btns { flex-wrap: wrap; }
  .hero-side, .hint { display: none; }
  .black .pop { width: min(78vw, 300px); }
  .bootlog { bottom: 24px; }
}

/* Popup mock inside the stage */
.pop { position: relative; z-index: 2; width: min(30vw, 400px); background: #f4f4f5; color: #16161a; border-radius: 14px; padding: 12px; font: 500 12px/1.4 var(--sans); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-2deg); }
.pop-h { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 2px 2px 10px; }
.pop-h img { width: 18px; height: 18px; border-radius: 5px; }
.pop-h span { margin-left: auto; font: 500 10px var(--mono); color: #6b6b74; }
.pop-tabs { display: flex; gap: 14px; color: #6b6b74; font-weight: 600; border-bottom: 1px solid #e3e3e8; margin-bottom: 10px; }
.pop-tabs b { color: #16161a; box-shadow: inset 0 -2px var(--red); padding-bottom: 7px; }
.pop-item { background: #fff; border: 1px solid #e6e6ea; border-radius: 10px; padding: 10px; }
.pop-row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pop-row i { width: 22px; height: 22px; border-radius: 6px; background: var(--red); flex: none; position: relative; }
.pop-row i::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 7px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pop-meta { color: #6b6b74; font-size: 11px; display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 9px 30px; }
.pop-meta em { color: #1f9d55; font-style: normal; }
.pop-bar { height: 5px; border-radius: 5px; background: #ececf0; overflow: hidden; }
.pop-bar b { display: block; height: 100%; width: 40%; background: var(--red); animation: load 4s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes load { 0% { width: 4%; } 80%, 100% { width: 100%; } }
.pop-foot { display: flex; justify-content: space-between; margin-top: 8px; font: 500 10px var(--mono); color: #6b6b74; text-transform: uppercase; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 99px; color: var(--paper); text-decoration: none; font-weight: 600; }
.btn.line { color: var(--ink); }
.arrow { font-family: var(--mono); }

/* Sections */
section { position: relative; padding: 120px var(--gutter); }
.head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 64px; }
.head .mono:first-child { grid-column: 1 / 4; }
.head h2 { grid-column: 4 / 13; margin: 0; font-weight: 500; font-size: clamp(30px, 4.4vw, 68px); line-height: 1; letter-spacing: -.035em; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 18px; } .head .mono:first-child, .head h2 { grid-column: 1; } }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step .n { font-family: var(--display); font-weight: 900; font-size: clamp(72px, 9vw, 150px); line-height: .85; display: block; margin-bottom: 18px; }
.step:hover .n { color: var(--red); }
.step h3 { margin: 0 0 6px; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-2); max-width: 26em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; row-gap: 40px; } }

/* Feature index */
.index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.index li { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.index .k { grid-column: 1 / 4; }
.index h3 { grid-column: 4 / 9; margin: 0; font-weight: 500; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.index p { grid-column: 9 / 13; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .index li { grid-template-columns: 1fr; gap: 6px; } .index .k, .index h3, .index p { grid-column: 1; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; white-space: nowrap; }
.marquee div { display: inline-flex; gap: 48px; padding-right: 48px; animation: slide 28s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 76px); text-transform: uppercase; line-height: 1; }
.marquee span:nth-child(3n) { color: var(--red); }
@keyframes slide { to { transform: translateX(-100%); } }


/* Statement */
.statement { font-size: clamp(32px, 6vw, 104px); font-weight: 500; letter-spacing: -.045em; line-height: .98; margin: 0; max-width: 14em; }
.statement .dots { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.facts span { box-shadow: inset 0 0 0 1px var(--line); border-radius: 99px; padding: 8px 14px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: 20px 0; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary .k { grid-column: 1 / 4; }
summary b { grid-column: 4 / 12; font-weight: 500; font-size: clamp(18px, 1.9vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
summary::after { content: "+"; grid-column: 12; justify-self: end; font-family: var(--mono); font-size: 18px; }
details[open] summary::after { transform: rotate(45deg); color: var(--red); }
summary:hover b { color: var(--red); }
details p { margin: 0; padding: 0 0 24px; color: var(--ink-2); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
details p span { grid-column: 4 / 11; }
@media (max-width: 860px) {
  summary { grid-template-columns: 1fr auto; row-gap: 6px; }
  summary .k { grid-column: 1 / 3; } summary b { grid-column: 1; } summary::after { grid-column: 2; grid-row: 2; }
  details p { display: block; }
}
code { font: 12px var(--mono); box-shadow: inset 0 0 0 1px var(--line); padding: 1px 6px; border-radius: 5px; }

/* Footer */
.end { padding: 120px var(--gutter) 110px; border-top: 1px solid var(--line); }
.end .big { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(80px, 22vw, 380px); line-height: .78; letter-spacing: -.03em; margin: 0 0 40px; }
.px { display: inline-block; width: .16em; height: .16em; background: var(--red); margin-left: .06em; vertical-align: baseline; }
.end-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; row-gap: 24px; }
.end-row .btns { grid-column: 1 / 7; }
.end-row nav { grid-column: 7 / 13; display: flex; justify-content: flex-end; gap: 22px; flex-wrap: wrap; color: var(--ink-2); }
.end-row nav a { text-decoration: none; }
.end-row nav a:hover { color: var(--red); }
@media (max-width: 760px) { .end-row .btns, .end-row nav { grid-column: 1 / 13; justify-content: flex-start; } }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee div, .pop-bar b { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Document page (privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: 120px var(--gutter) 140px; }
.doc h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 9vw, 110px); line-height: .82; margin: 0 0 24px; letter-spacing: -.02em; }
.doc h2 { font-weight: 500; font-size: 26px; letter-spacing: -.02em; border-top: 1px solid var(--line); padding-top: 14px; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--red); }

@media (max-width: 760px) {
  .bar > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .pop-h span { display: none; }
  .pop-tabs, .pop-row { white-space: nowrap; }
}

/* ================= Motion: every hover / click eases ================= */
a, summary, .step .n, .index li, .index h3, .index p, .index .k { transition: color var(--t) var(--ease); }

/* Buttons: red fill wipes up from the bottom; slight press on click */
.btn, .bar .cta {
  background: linear-gradient(var(--red), var(--red)) no-repeat 50% 100% / 100% 0%, var(--ink);
  transition: background-size var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform .35s var(--ease);
}
.btn:hover, .bar .cta:hover { background-size: 100% 100%, auto; color: #fff; }
.btn.line { background: linear-gradient(var(--ink), var(--ink)) no-repeat 50% 100% / 100% 0%, transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn.line:hover { background-size: 100% 100%, auto; color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.btn:active, .bar .cta:active, .corner.r:active { transform: scale(.96); transition-duration: .12s; }
.btn .arrow, .bar .cta .arrow { display: inline-block; transition: transform var(--t) var(--ease); }
.btn:hover .arrow, .bar .cta:hover .arrow { transform: translate(2px, -2px); }

/* Links: colour + underline that draws in from the left */
.bar a:not(.cta), .end-row nav a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px; transition: color var(--t) var(--ease), background-size var(--t) var(--ease); }
.bar a:not(.cta):hover, .end-row nav a:hover { background-size: 100% 1px; }

/* Corner logo */
.corner.r { display: block; transition: transform .45s var(--ease); }
.corner.r:hover { transform: rotate(-8deg) scale(1.06); }
#where { transition: opacity .35s var(--ease), transform .35s var(--ease); }
#where.swap { opacity: 0; transform: translateY(-6px); }

/* How it works */
.step .n { transition: color var(--t) var(--ease), transform var(--t) var(--ease); transform-origin: left bottom; }
.step:hover .n { transform: translateY(-4px); }

/* Feature rows: slide content (transform, no layout shift) */
.index h3, .index p, .index .k { transition: color var(--t) var(--ease), transform var(--t) var(--ease); }
.index li:hover { color: var(--red); }
.index li:hover h3 { transform: translateX(14px); }
.index li:hover .k { transform: translateX(6px); }


/* FAQ: smooth height (driven by site.js), rotating plus */
summary::after { transition: transform var(--t) var(--ease), color var(--t) var(--ease); }
summary:hover::after { color: var(--red); }
details .ans { overflow: hidden; }
details .ans p { transition: opacity .5s var(--ease), transform .5s var(--ease); }
details:not([open]) .ans p, details.closing .ans p { opacity: 0; transform: translateY(-6px); }
details.closing summary::after { transform: none; color: var(--ink); }

/* Facts pills */
.facts span { transition: box-shadow var(--t) var(--ease), color var(--t) var(--ease); }
.facts span:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }

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

/* ================= Custom cursor ================= */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor summary, .has-cursor button { cursor: none; }
.cursor-sq, .cursor-dot { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor-sq { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; transition: opacity .3s var(--ease), width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease); }
.cursor-dot { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.cursor-dot span { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: #000; opacity: 0; transition: opacity .3s var(--ease); }
.cursor.is-hover .cursor-sq { opacity: 0; }
.cursor.is-hover .cursor-dot span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.cursor { transition: opacity .3s var(--ease); }

/* ================= Section backgrounds ================= */
section, .end { isolation: isolate; overflow: hidden; overflow: clip; }
section > *, .end > * { position: relative; z-index: 1; }

/* Red band */
.marquee { background: #e5484d; color: #0c0c0d; border: 0; }
.marquee span:nth-child(3n) { color: #fff; }

/* How it works: faint dot-matrix grid */
.deco-dots::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--line) 1.3px, transparent 1.8px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  animation: drift 40s linear infinite; }
@keyframes drift { to { background-position: 180px 90px; } }

/* Features: thin column guides */
.deco-cols::before { content: ""; position: absolute; inset: 0 var(--gutter); z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px calc(100% / 12));
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); opacity: .6; }

@keyframes breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* Privacy: giant ghost word drifting behind the statement */
.ghost { position: absolute !important; z-index: 0 !important; left: 0; top: 50%; translate: 0 -50%; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(120px, 24vw, 420px); line-height: .8; color: rgba(12,12,13,.16); }
.ghost span { display: inline-block; animation: ghost 38s linear infinite; padding-right: .3em; }
@keyframes ghost { to { transform: translateX(-100%); } }

/* FAQ: big bobbing question mark */
.ghost-q { position: absolute !important; z-index: 0 !important; right: -2vw; top: 4%; pointer-events: none;
  font-family: var(--display); font-weight: 900; font-size: clamp(220px, 40vw, 640px); line-height: .8; color: var(--line); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-24px) rotate(3deg); } }

/* Footer: slow red glow from below */
.end::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80%; z-index: 0; pointer-events: none; transform-origin: 50% 100%;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(229,72,77,.5), transparent 70%); animation: breathe 9s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .deco-dots::before, .ghost span, .ghost-q, .end::before { animation: none; }
}

/* ================= Control showcase ================= */
.show { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.show-copy { grid-column: 1 / 6; }
.lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -.015em; margin: 0 0 36px; max-width: 24em; }
.picks { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.picks li { display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); cursor: default; }
.picks li > span { color: var(--ink-2); transition: color var(--t) var(--ease); }
.picks b { display: block; font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.02em; transition: color var(--t) var(--ease), transform var(--t) var(--ease); }
.picks small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.picks li:hover b, .picks li.on b { color: var(--red); transform: translateX(6px); }
.picks li:hover > span, .picks li.on > span { color: var(--red); }
.small-print { color: var(--ink-2); margin: 22px 0 0; line-height: 1.7; }

.device { grid-column: 7 / 13; position: relative; aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden; perspective: 1200px;
  background:
    radial-gradient(60% 55% at 55% 45%, rgba(229,72,77,.42), transparent 70%),
    radial-gradient(circle, rgba(255,255,255,.07) 1.2px, transparent 1.7px) 0 0 / 16px 16px,
    linear-gradient(160deg, #19191c, #0d0d0f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px rgba(0,0,0,.8); }
.device::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 35%); }
.device-tilt { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; will-change: transform; }
.shot-wrap { position: relative; height: 66%; aspect-ratio: 420 / 500; transform: translateZ(40px); }
.device-shot { width: 100%; height: 100%; border-radius: 14px; box-shadow: 0 50px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.2);
  transform: rotate(-2.5deg); transition: transform 1.2s var(--ease); }
.device:hover .device-shot { transform: rotate(0deg) scale(1.02); }

.callout { position: absolute; translate: 0 -50%; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: #ededee;
  background: rgba(20,20,22,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 7px 11px 7px 7px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.callout i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 10px; }
.callout { z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 30px -10px rgba(0,0,0,.7); }
.callout.l { right: calc(100% - 28px); transform: translateX(-14px); }
.callout.r { left: calc(100% - 28px); transform: translateX(14px); }
.device.in .callout { opacity: 1; transform: none; }
.device.in .c1 { transition-delay: .35s; } .device.in .c2 { transition-delay: .5s; } .device.in .c3 { transition-delay: .65s; } .device.in .c4 { transition-delay: .8s; }
.callout.on { background: #e5484d; color: #fff; transition-delay: 0s !important; }
.callout.on i { background: #fff; color: #e5484d; }

@media (max-width: 1100px) { .callout { font-size: 10px; } }
@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; row-gap: 40px; }
  .show-copy, .device { grid-column: 1; }
  .device { aspect-ratio: 4 / 5; }
  .shot-wrap { height: 64%; }
  .callout { font-size: 9.5px; padding: 5px 9px 5px 5px; }
  .callout i { width: 16px; height: 16px; font-size: 9px; }
  .callout.l { right: auto; left: -40px; } .callout.r { left: auto; right: -40px; }
}

/* ================= Permissions page ================= */
.perms { max-width: 880px; }
.perms .lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; color: var(--ink); margin: 18px 0 26px; }
.perms .facts { margin: 0 0 30px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--red); }
.perms h2 { display: flex; gap: 14px; align-items: baseline; scroll-margin-top: 80px; }
.perms h2 .mono { color: var(--red); }
.perm { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 12px 0; background: color-mix(in srgb, var(--ink) 3%, transparent);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.perm:hover { border-color: color-mix(in srgb, var(--red) 55%, transparent); transform: translateY(-2px); }
.perm header { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.perm header code { font-size: 13px; color: var(--ink); background: color-mix(in srgb, var(--red) 16%, transparent); box-shadow: none; padding: 4px 9px; border-radius: 7px; }
.perm .warn { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); }
.perm p { margin: 6px 0 0; }
.perm b { color: var(--ink); font-weight: 600; }
.notes { padding-left: 1.1em; }
.notes li { margin: 10px 0; }
.ask { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ================= Demo page ================= */
.steps-mini { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps-mini li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); line-height: 1.4; }
.steps-mini span { display: block; color: var(--red); margin-bottom: 6px; }
@media (max-width: 700px) { .steps-mini { grid-template-columns: 1fr 1fr; } }
.demo-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; margin: 14px 0 10px; box-shadow: 0 0 0 1px var(--line); }
.expect { color: var(--ink-2) !important; font-size: 12px !important; }
.expect b { color: var(--red); font-weight: 500; }
