/* Ranksmith Studio landing page. Static, no build step. Served under a strict CSP:
   nothing inline, nothing third-party. Layout widths: phones first, then 620, 800 and 1040 px. */

@font-face {
  font-family: "General Sans";
  src: url(fonts/GeneralSans-Variable.woff2) format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url(fonts/Montserrat-Variable.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #08080a;
  --surf: #131316;
  --surf2: #1d1d22;
  --line: rgba(255, 255, 255, .1);
  --ink: #f6f6f3;
  --dim: #a5a5ad;
  --red: #c8283a;
  --red-hover: #d93045;
  --gold: #f5c518;
  --silver: #d9dde3;
  --bronze: #e0823a;
  --blue: #3b9dff;
  --pop: #ffe33d;
  --sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --rank: "Montserrat", "Arial Black", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 76px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 450 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--sans); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255, 255, 255, .24); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 8px; background: #fff; color: #111; font-weight: 600;
}
.skip:focus { top: 10px; }

/* Page column */
.in {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: max(var(--gutter), clamp(16px, 4.2vw, 60px));
  padding-right: max(var(--gutter-r), clamp(16px, 4.2vw, 60px));
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 13px;
  background: var(--red); color: #fff;
  font: 600 16px/1.1 var(--sans); text-align: center;
  transition: background .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { background: var(--red-hover); }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 13.5px; white-space: nowrap; }
.ghost {
  font: 560 15px/1.2 var(--sans); color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 3px;
}
.ghost:hover { border-bottom-color: #fff; }

/* Sticky nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 10, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding-block: 8px; font-size: 14px; color: var(--dim); }
.logo { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font: 600 17px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.mk { display: block; width: 26px; height: 26px; flex: none; }
.nav-links { display: none; }
.nav-links a, .nav-login { padding: 8px 2px; }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; gap: 30px; padding-top: 22px; padding-bottom: 44px; }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.hero h1 { font: 600 clamp(36px, 6.3vw, 70px)/1.01 var(--sans); letter-spacing: -.04em; }
.pop {
  font: italic 900 .9em/1 var(--rank); letter-spacing: -.02em; color: var(--pop);
  -webkit-text-stroke: .07em #000; paint-order: stroke fill;
  text-shadow: 0 .06em 0 #000; padding-right: .06em;
}
.sub { margin-top: 18px; font-size: clamp(16px, 1.75vw, 19px); line-height: 1.42; color: var(--dim); max-width: 33em; }
.sub b { color: var(--ink); font-weight: 560; }
.prom { margin-top: 12px; font-weight: 560; color: var(--ink); font-size: 15.5px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.ticks li::before { content: "✓"; color: var(--gold); margin-right: 6px; font-weight: 700; }

.stage { display: grid; gap: 18px; justify-items: center; align-content: start; }
.phone-col { display: grid; gap: 14px; justify-items: center; width: min(100%, 264px); }
.ph {
  width: 100%; border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 7px #17171b, 0 0 0 8px rgba(255, 255, 255, .07), 0 40px 90px -30px #000;
}
.ph video { width: 100%; }
.sound {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px;
  border: 0; border-radius: 999px; background: var(--surf2); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font: 560 14px/1 var(--sans); cursor: pointer;
  transition: background .16s var(--ease);
}
.sound:hover { background: #2a2a31; }
.sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: currentColor; stroke: none; }
.sound[hidden], .phone-col.is-sound .sound { display: none; }

/* Rank list beside the hero phone */
.rl { display: grid; gap: 10px; width: 100%; max-width: 300px; }
.rl li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; gap: 6px; }
.rl b { display: block; font: 800 14px/1.1 var(--rank); color: #fff; letter-spacing: .01em; }
.rl span:not(.rk) { display: block; font-size: 13px; line-height: 1.3; color: var(--dim); margin-top: 3px; }
.rk { font: 800 25px/1 var(--rank); -webkit-text-stroke: 5px #000; paint-order: stroke fill; }
.rk.g { color: var(--gold); }
.rk.s { color: var(--silver); }
.rk.b { color: var(--bronze); }
.rk.w { color: #fff; }
.rk.u { color: var(--blue); }
.madein { font-size: 12.5px; color: var(--dim); text-align: center; }

/* Bands */
.band { padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--line); }
.band > h2 { font: 600 clamp(26px, 3.6vw, 42px)/1.05 var(--sans); letter-spacing: -.035em; }
.lead { margin-top: 10px; color: var(--dim); font-size: clamp(15px, 1.6vw, 18px); max-width: 38em; }

/* The launch film: the wide cut, or the tall one on phones (the hidden one never loads) */
.film-frame { margin-top: 22px; }
.film-v { width: 100%; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.film-tall { display: none; max-width: 420px; margin-inline: auto; }
@media (max-width: 640px) {
  .film-wide { display: none; }
  .film-tall { display: block; }
}

/* Videos with their pause button */
.vid { position: relative; }
.pp {
  position: absolute; right: 4px; bottom: 4px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer; color: #fff;
}
.pp::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(8, 8, 10, .66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  transition: background .16s var(--ease);
}
.pp:hover::before { background: rgba(8, 8, 10, .9); }
.pp svg { position: relative; width: 16px; height: 16px; fill: currentColor; }
.pp .i-play { display: none; }
.pp.is-paused .i-play { display: inline; }
.pp.is-paused .i-pause { display: none; }
.pp[hidden] { display: none; }
.pp:focus-visible { outline: none; }
.pp:focus-visible::before { box-shadow: 0 0 0 2px #fff; }

/* Made in Ranksmith: the row scrolls sideways inside itself on narrow screens */
.wall {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 236px);
  justify-content: start; gap: 12px; margin-top: 24px; padding-bottom: 6px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-color: #2a2a2e transparent; scrollbar-width: thin;
}
.wv { border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.wv video { width: 100%; }
.wall figcaption { color: var(--dim); font-size: 12.5px; margin-top: 8px; }
.wall figcaption b { display: block; color: var(--ink); font-weight: 560; }

/* Close the other tabs. The default is the finished state; app.js adds .armed, then .go. */
.tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tab {
  padding: 10px 14px; border-radius: 10px 10px 0 0; background: #141417; color: #8b8b94;
  font-size: 13px; line-height: 1.3; white-space: nowrap;
}
.tab s { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: currentColor; }
.tab i { font-style: normal; margin-left: 8px; opacity: .6; }
.tab.on { background: #26262c; color: #fff; box-shadow: inset 0 2px 0 var(--red); font-weight: 560; }

.tabs.armed .tab { color: #c9c9ce; }
.tabs.armed .tab s { text-decoration-color: transparent; }
.tabs.armed .tab.on { background: #141417; color: #8b8b94; box-shadow: inset 0 2px 0 transparent; }
.tabs.armed.go .tab { color: #8b8b94; transition: color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease); }
.tabs.armed.go .tab s { text-decoration-color: currentColor; transition: text-decoration-color .25s var(--ease); }
.tabs.armed.go .tab.on { background: #26262c; color: #fff; box-shadow: inset 0 2px 0 var(--red); }
/* One tab after another, about 120 ms apart, then Ranksmith lights. */
.tabs.go .tab:nth-child(2), .tabs.go .tab:nth-child(2) s { transition-delay: 120ms; }
.tabs.go .tab:nth-child(3), .tabs.go .tab:nth-child(3) s { transition-delay: 240ms; }
.tabs.go .tab:nth-child(4), .tabs.go .tab:nth-child(4) s { transition-delay: 360ms; }
.tabs.go .tab:nth-child(5), .tabs.go .tab:nth-child(5) s { transition-delay: 480ms; }
.tabs.go .tab:nth-child(6), .tabs.go .tab:nth-child(6) s { transition-delay: 600ms; }
.tabs.go .tab:nth-child(7), .tabs.go .tab:nth-child(7) s { transition-delay: 720ms; }
.tabs.go .tab:nth-child(8) { transition-delay: 980ms; }

/* How that Short got made */
.made { padding-bottom: 20px; }
.lv { display: grid; gap: 20px; padding-block: 30px; border-top: 1px solid var(--line); }
.lv:first-of-type { border-top: 0; padding-top: 24px; }
.lvl { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.lvl .rk { font-size: 38px; -webkit-text-stroke-width: 7px; }
.lvl em { font: 800 17px/1 var(--rank); font-style: normal; color: #fff; -webkit-text-stroke: 4px #000; paint-order: stroke fill; }
.lv h3 { font: 600 clamp(22px, 2.7vw, 31px)/1.08 var(--sans); letter-spacing: -.03em; }
.lv-words > p:not(.lvl):not(.ai) { margin-top: 10px; color: var(--dim); max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: var(--surf2); color: var(--ink); }
.kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 5px; background: #f1f1ee; color: #111; font: 700 12px/1 var(--sans);
  vertical-align: 1px; box-shadow: 0 2px 0 #9a9a9a;
}

.shot { position: relative; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--surf); box-shadow: 0 0 0 1px var(--line); }
.shot video { width: 100%; }

/* Rings and labels over the Find and Source clips, placed in % of the clip.
   Early ones show until data-late starts; late ones only inside it (app.js toggles .is-late). */
.ring { position: absolute; z-index: 2; border: 2px solid var(--pop); border-radius: 8px; box-shadow: 0 0 0 3px rgba(0, 0, 0, .55); pointer-events: none; }
.co {
  position: absolute; z-index: 2; max-width: 46%; padding: 6px 9px; border-radius: 7px;
  background: #fff; color: #111; font: 600 12px/1.25 var(--sans);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .6); pointer-events: none;
}
.shot .late { display: none; }
.shot.is-late .early { display: none; }
.shot.is-late .late { display: block; }

.find-rest  { left: 17.4%; top: 83.6%; width: 7.8%; height: 9%; }
.find-hover { left: 17.4%; top: 70%;   width: 7.8%; height: 6.8%; }
.find-co    { left: 27%;   top: 76.5%; }
.src-f      { left: .8%;   top: 71.8%; width: 18.2%; height: 7.6%; }
.src-f-co   { left: 20.5%; top: 72.4%; }
.src-f-late { left: .8%;   top: 62.3%; width: 18.2%; height: 7.6%; }
.src-f-co-late { left: 20.5%; top: 62.9%; }
.src-m      { left: 21.3%; top: 13.2%; width: 23%;   height: 8.2%; }
.src-m-co   { left: 45.8%; top: 14.2%; }

/* Media column with a caption, or two things stacked (BOSS) */
.media { min-width: 0; }
.media figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); }
.stack { display: grid; gap: 14px; }

/* BOSS quote: Smirk's real line from the hero Short */
.quote { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); max-width: 30em; }
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--ink); font-size: 1.15em; line-height: 1.35; font-weight: 520; }
.quote figcaption { margin-top: 6px; font-size: 12.5px; color: var(--dim); }

/* Sound board */
.ai { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--surf); box-shadow: 0 0 0 1px var(--line); font-size: 14px; line-height: 1.45; color: var(--dim); max-width: 30em; }
.ai b { color: var(--ink); font-weight: 620; margin-right: 8px; }
.beta { font: 800 10px/1 var(--rank); letter-spacing: .08em; padding: 4px 6px; border-radius: 4px; background: var(--pop); color: #111; vertical-align: 1px; }
.ai-text { display: block; margin-top: 6px; }
.sb { display: grid; gap: 16px; padding: 20px; }
.sb-hint { font-size: 12.5px; color: var(--dim); }
.sb h4 { margin: 0 0 8px; font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.sb .row { display: flex; flex-wrap: wrap; gap: 6px; }
.snd {
  display: inline-flex; align-items: center; min-height: 36px; padding: 8px 10px;
  border: 0; border-radius: 8px; background: var(--surf2); color: var(--ink);
  font-size: 12.5px; line-height: 1.15; text-align: left; cursor: pointer;
  transition: background .16s var(--ease), box-shadow .16s var(--ease);
}
.snd::before { content: "▶"; flex: none; font-size: 8px; color: var(--gold); margin-right: 7px; }
.snd:hover { background: #26262c; }
.snd[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--pop); background: #26262c; }
.snd[aria-pressed="true"]::before { content: "■"; }
.sb .more { font-size: 13px; color: var(--dim); }

/* Cast */
.cast {
  display: flex; justify-content: center; align-items: flex-end; padding: 22px 10px 0;
  background: radial-gradient(120% 90% at 50% 100%, #2a2030 0, #131316 70%);
}
/* Smirk leads: first, in front and larger; Cheez beside and slightly behind. Both stand on the bottom edge. */
/* The stage is at most 260 px tall and shrinks on phones; the art is sized by height so it keeps its shape. */
.cast { height: clamp(170px, 52vw, 260px); padding-top: 14px; }
.cast img { flex: none; width: auto; max-width: none; }
.cast-smirk { position: relative; z-index: 1; height: 100%; }
.cast-cheez { position: relative; z-index: 0; height: 80%; margin-left: -4%; }

/* What viewers say: the comments card under the Find clip (page HTML) */
.cm { padding: 18px 18px 16px; }
.cm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.cm-head h4 { font: 600 15px/1.2 var(--sans); color: var(--ink); }
.cm-x { font-size: 12.5px; color: var(--dim); }
.pill-blue {
  display: inline-block; margin-right: 6px; padding: 3px 7px; border-radius: 999px;
  background: var(--blue); color: #fff; font: 700 11.5px/1.1 var(--sans); font-variant-numeric: tabular-nums;
}
.cm-list { margin-top: 12px; }
.cm-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35;
}
.cm-list li:first-child { border-top: 0; }
.cm-list li.hit { border-radius: 8px; box-shadow: 0 0 0 2px var(--pop); border-top-color: transparent; margin-block: 4px; }
.cm-list li.hit + li { border-top-color: transparent; }
.cm-t { min-width: 0; overflow-wrap: anywhere; }
.cm-l { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cm-l svg { width: 12px; height: 12px; fill: currentColor; }
.cm-note { margin-top: 12px; color: var(--ink); font-size: 14px; font-weight: 520; }
.cm-foot { margin-top: 4px; color: var(--dim); font-size: 12px; }

/* Know what's working: competitors and your own channel */
.tr-block { margin-top: 30px; }
.tr-block h3, .lv-plain h3 { font: 600 clamp(22px, 2.7vw, 31px)/1.08 var(--sans); letter-spacing: -.03em; }
.tr-p { margin-top: 10px; color: var(--dim); max-width: 40em; }
.tr-block .media { margin-top: 20px; }
.lv.lv-plain { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 30px; }
.lv-plain .lv-words > p { margin-top: 10px; }

/* The screenshot keeps at least 900 px so its text stays readable; the frame scrolls, the page never does. */
.shot.scroller { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #2a2a2e transparent; scrollbar-width: thin; }
.scroll-inner { position: relative; min-width: 900px; }
.scroll-inner img { width: 100%; }
.scroll-inner .co { font-size: 12.5px; padding: 5px 8px; border-radius: 6px; white-space: nowrap; max-width: none; }
.scroll-inner .ring { border-radius: 8px; }
.cp-tags    { left: 1.5%;  top: 32.5%; width: 97.3%; height: 7.6%; }
.cp-tags-co { left: 26.5%; top: 41%; }
.cp-move    { left: 1.4%;  top: 62.9%; width: 16.4%; height: 5.6%; }
.cp-move-co { left: 17.9%; top: 62.7%; }
.scroll-inner .cp-move-co { font-size: 12px; padding: 4px 7px; } /* must end before the first thumbnail at 30 % */

/* Your own channel: the spotlight beside the words, then the Latest uploads row at full width. */
.tr-spot img { width: 100%; }
.tr-row { margin-top: 24px; }

/* Staying original */
.orig { display: grid; gap: 12px; margin-top: 24px; }
.oc { background: var(--surf); border-radius: 14px; padding: 20px; box-shadow: 0 0 0 1px var(--line); }
.oc h3 { font: 600 18px/1.15 var(--sans); letter-spacing: -.02em; }
.oc p { margin-top: 8px; color: var(--dim); font-size: 14.5px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* Offer and pricing */
.offer { display: grid; gap: 14px; margin-top: 24px; }
.seat { background: linear-gradient(160deg, #241317, #131316 60%); border-radius: 16px; padding: 24px; box-shadow: 0 0 0 1px rgba(200, 40, 58, .45); }
.seat h3 { font: 600 22px/1.1 var(--sans); letter-spacing: -.025em; }
.seat ul { margin: 14px 0 20px; display: grid; gap: 9px; color: var(--ink); font-size: 15px; }
.seat li { padding-left: 22px; position: relative; }
.seat li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.sum { background: var(--surf); border-radius: 16px; padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.sum h3 { font: 600 18px/1.15 var(--sans); letter-spacing: -.02em; margin-bottom: 12px; }
.sum dl { margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.sum dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sum dt, .sum dd { margin: 0; }
.sum dd { text-align: right; color: var(--ink); white-space: nowrap; }
.sum .tot { border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink); font-weight: 560; }
.sum .rs, .sum .rs dd { color: var(--gold); font-weight: 620; }
.dated { margin-top: 14px; font-size: 11.5px; color: var(--dim); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pl { position: relative; background: var(--surf); border-radius: 12px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--dim); }
.pl b { display: block; color: var(--ink); font: 600 15px/1.2 var(--sans); }
.pl strong { display: block; margin: 6px 0 4px; color: var(--ink); font: 600 21px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pl s { font-size: 13px; font-weight: 450; color: var(--dim); margin-left: 6px; letter-spacing: 0; }
.pl.me { box-shadow: 0 0 0 1px rgba(245, 197, 24, .55); }

/* Questions */
.faq { margin-top: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0;
  font-weight: 520; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--dim); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 0 16px; color: var(--dim); max-width: 42em; }

/* Close */
.close { text-align: center; padding-top: 56px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.close h2 { font: 600 clamp(28px, 4.4vw, 52px)/1.03 var(--sans); letter-spacing: -.04em; }
.close .acts, .close .ticks { justify-content: center; }

/* Footer */
.foot { padding-top: 22px; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; font-variant-numeric: tabular-nums; }
.foot-links a, .foot-links span { padding: 8px 0; }
.foot-links a:hover { color: var(--ink); }
.foot p { margin-top: 8px; font-size: 13px; }

/* Wider screens */
@media (min-width: 620px) {
  .orig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 800px) {
  .nav-row { gap: 22px; }
  .nav-links { display: flex; gap: 22px; }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 44px; padding-top: 44px; padding-bottom: 72px; }
  .lv { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 48px; padding-block: 40px; }
  .offer { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .band { padding-top: 64px; padding-bottom: 64px; }
  .made { padding-bottom: 20px; }
  .co { font-size: 13px; }
  .tabs { gap: 6px; }
  .tab { font-size: 15px; padding: 12px 18px; }
}
/* Phones: the Short comes sooner. The sentence still ends with its full stop. */
@media (max-width: 599px) {
  .prom, .sub-more { display: none; }
}
@media (min-width: 1040px) {
  .stage { grid-template-columns: 236px minmax(0, 1fr); align-items: center; justify-items: start; gap: 26px; }
  .phone-col { width: 236px; }
  .madein { grid-column: 1 / -1; text-align: left; }
}
/* Narrow phones: the labels over the app clips get smaller so they never cover the badge. */
@media (max-width: 420px) {
  .co { font-size: 10.5px; padding: 4px 6px; border-radius: 5px; }
  .ring { border-radius: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Page not found (404.html shares this sheet) */
.nf main {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 16px 40px; position: relative;
}
.nf h1 { font-size: clamp(44px, 11vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 26px; }
.nf .cta { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 560; }
.nf .cta:hover { background: var(--red-hover); }
.nf .login {
  position: absolute; top: 18px; right: 16px; display: inline-flex; align-items: center; gap: 5px;
  min-height: 40px; padding: 0 15px; border-radius: 999px; background: rgba(8, 8, 10, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: 15px; font-weight: 540;
}
.nf .login span { color: #c9c9ce; font-weight: 450; }
.nf .grain { display: none; }
@media (max-width: 400px) { .nf .login span { display: none; } }
@media (min-width: 900px) { .nf main { padding: 44px 7vw 64px; } .nf .login { right: 7vw; } }
