:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-strong: rgba(118, 118, 128, 0.2);
  --separator: rgba(60, 60, 67, 0.14);
  --label: #1d1d1f;
  --label-2: #6e6e73;
  --label-3: #737378;

  --accent: #d4401f;
  --accent-hover: #c63a1b;
  --accent-pressed: #b33317;
  --accent-text: #b5321a;
  --accent-tint: rgba(255, 90, 54, 0.16);
  --accent-tint-hover: rgba(255, 90, 54, 0.26);
  --on-accent: #ffffff;
  --success: #248a3d;
  --echo: #ff5a36;

  --ink: #0b0a0d;
  --ink-2: #141317;
  --ink-3: #2a2730;
  --paper: #fffdf8;
  --paper-2: #c9c3ba;
  --paper-3: #a8a3ad;

  --thumb: #ffffff;
  --segment-selected: #ffffff;
  --shadow-card: 0 0.5px 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 18px 50px -12px rgba(20, 19, 23, 0.28);
  --shadow-video: 0 30px 70px -20px rgba(11, 10, 13, 0.55);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 160px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111013;
    --surface: #1f1e22;
    --fill: rgba(118, 118, 128, 0.24);
    --fill-strong: rgba(118, 118, 128, 0.36);
    --separator: rgba(84, 84, 88, 0.6);
    --label: #f5f5f7;
    --label-2: #a1a1a6;
    --label-3: #98989d;
    --accent-hover: #c63a1b;
    --accent-pressed: #b33317;
    --accent-text: #ff8a6e;
    --accent-tint: rgba(255, 90, 54, 0.2);
    --accent-tint-hover: rgba(255, 90, 54, 0.3);
    --segment-selected: #636366;
    --shadow-card: none;
    --shadow-float: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent-tint-hover); color: inherit; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; }
button { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }
:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 20;
  padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--label);
  box-shadow: var(--shadow-float);
}

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--lg { width: 28px; height: 28px; stroke-width: 1.5; }

/* ---------- links and buttons ---------- */
.link {
  color: var(--accent-text);
  font-weight: 500;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link:hover { text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border: 0; border-radius: 8px;
  background: var(--fill); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 180ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-pressed); }
.btn--primary[data-copied="true"] { background: var(--success); }
.btn--tinted { background: var(--accent-tint); color: var(--accent-text); }
.btn--tinted:hover { background: var(--accent-tint-hover); }
.btn--lg { height: 50px; padding: 0 26px; border-radius: 999px; font-size: 17px; }
.btn--lg .icon { width: 20px; height: 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--separator);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1200px; height: 56px; margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
.brand img { border-radius: 7px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; color: var(--label-2); }
.nav__links a { transition: color 180ms var(--ease); }
.nav__links a:hover { color: var(--label); }
.pill {
  height: 30px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center;
  background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600;
  transition: background 180ms var(--ease);
}
.pill:hover { background: var(--accent-hover); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 3.4vw, 48px) var(--gutter) 0; text-align: center; }
.hero h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero h1 span { color: var(--accent-text); }
.hero__sub { max-width: 560px; margin: 16px auto 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.4; color: var(--label-2); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 22px; }
.hero__cta .link { font-size: 17px; }

.stage {
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(24px, 4vw, 56px);
  margin: clamp(32px, 2.8vw, 40px) auto 0; max-width: 960px;
}
.stage__note { margin-top: 28px; font-size: 14px; color: var(--label-2); }

/* sample video */
.video {
  position: relative; flex-shrink: 0; margin: 0;
  width: 280px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
  background: var(--ink); color: #fff; text-align: left;
  box-shadow: var(--shadow-video);
  isolation: isolate;
}
.video__scene {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 50% 0%, var(--ink-3), var(--ink-2) 55%, var(--ink));
}
.video__glow { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55; animation: drift 14s var(--ease) infinite alternate; }
.video__glow--a { width: 220px; height: 220px; left: -60px; top: 18%; background: rgba(255, 90, 54, 0.55); }
.video__glow--b { width: 260px; height: 260px; right: -90px; top: 46%; background: rgba(255, 253, 248, 0.16); animation-duration: 18s; animation-delay: -6s; }
.video.is-paused .video__glow { animation-play-state: paused; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -30px, 0) scale(1.15); }
}

.video__caption {
  position: absolute; left: 22px; right: 22px; top: 44%;
  text-align: center; font-family: var(--font-display); font-size: 21px; line-height: 1.3; font-weight: 700;
  letter-spacing: -0.015em; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  min-height: 3.75em; display: flex; align-items: center; justify-content: center;
}
.video__caption.is-new { animation: cue-in 420ms var(--ease-out); }

.video__meta { position: absolute; left: 18px; right: 64px; bottom: 30px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.3; }
.video__meta span { color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.video__tag {
  position: absolute; top: 16px; left: 16px; padding: 4px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.4); font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.9);
}
.video__play {
  position: absolute; right: 14px; bottom: 24px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 180ms var(--ease);
}
.video__play:hover { background: rgba(255, 255, 255, 0.26); }
.video__play .icon { width: 18px; height: 18px; }
.video__play .icon--play { fill: currentColor; stroke-width: 1.2; }
.video__play[aria-pressed="true"] .icon--play,
.video__play[aria-pressed="false"] .icon--pause { display: none; }
.video__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.18); }
.video__bar span { display: block; height: 100%; width: 0; background: var(--paper); }

/* popup replica, mirrors popup/popup.css */
.popup {
  flex-shrink: 0; width: 360px; margin-top: 0; padding: 16px; border-radius: 16px;
  background: var(--bg); box-shadow: var(--shadow-float); text-align: left;
  font-size: 13px; line-height: 1.45; letter-spacing: -0.003em;
}
@media (prefers-color-scheme: dark) { .popup { background: #1c1c1e; } }
@media (prefers-color-scheme: dark) { .video { box-shadow: var(--shadow-video), 0 0 0 0.5px rgba(255, 255, 255, 0.14); } }
.popup__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.popup__head img { border-radius: 7px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.popup__head strong { display: block; font-family: var(--font-display); font-size: 15px; line-height: 1.3; letter-spacing: -0.012em; }
.popup__head span { font-size: 12px; color: var(--label-2); }
.popup__meta { padding: 0 4px 10px; }
.popup__meta strong { display: block; font-weight: 600; }
.popup__meta span { font-size: 12px; color: var(--label-2); }

.group { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-card); overflow: hidden; }
@media (prefers-color-scheme: dark) { .popup .group, .popup .transcript { background: #2c2c2e; } }
.row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 40px; padding: 6px 12px 6px 14px;
}
.row + .row::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; height: 0.5px; background: var(--separator); }
label.row { cursor: pointer; }
.row__value { padding: 3px 10px; border-radius: 6px; background: var(--fill); }

.switch {
  appearance: none; -webkit-appearance: none; position: relative; flex-shrink: 0;
  width: 38px; height: 23px; margin: 0; border-radius: 999px; background: var(--fill-strong); cursor: pointer;
  transition: background 180ms var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--thumb); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 260ms var(--ease-out);
}
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(15px); }

.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 2px; border-radius: 8px; background: var(--fill); }
.segmented button {
  line-height: 1.4;
  min-width: 52px; height: 22px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; cursor: pointer;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.segmented button[aria-pressed="true"] { background: var(--segment-selected); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); font-weight: 600; }

.transcript {
  height: 150px; margin-top: 10px; padding: 12px 14px; overflow-y: auto;
  -webkit-mask-image: linear-gradient(transparent, #000 18px); mask-image: linear-gradient(transparent, #000 18px);
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-card);
  font-size: 13.5px; line-height: 1.6; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--fill-strong) transparent;
}
.transcript p { margin: 0 0 10px; }
.transcript p:last-child { margin-bottom: 0; }
.transcript .cue { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; margin: 0 0 4px; }
.transcript .cue__time { font-family: var(--font-mono); font-size: 11px; line-height: 21.6px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.transcript .is-new { animation: cue-in 520ms var(--ease-out) both; }
.transcript .is-empty { color: var(--label-3); }
.popup__stats { margin: 8px 4px 0; font-size: 11px; color: var(--label-2); font-variant-numeric: tabular-nums; }
.popup__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.popup__actions .btn { height: 34px; }
.popup__actions .icon { width: 14px; height: 14px; stroke-width: 1.6; }

@keyframes cue-in {
  from { opacity: 0.4; transform: translateY(6px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- how it works ---------- */
.how {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px);
  max-width: 1200px; margin: 0 auto; padding: var(--section) var(--gutter) 0;
}
.how h2, .formats h2, .privacy h2, .support h2 {
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em;
}
.how__intro p { margin-top: 20px; max-width: 34ch; font-size: 19px; color: var(--label-2); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 40px 64px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 0.5px var(--separator);
  font-family: var(--font-display); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.steps li:last-child::before { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.steps__marker { position: absolute; left: 19.5px; top: 44px; bottom: 4px; width: 1px; background: var(--separator); }
.steps li:last-child .steps__marker { display: none; }
.steps h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.steps p { margin-top: 6px; max-width: 46ch; color: var(--label-2); }
.toolbar {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; margin-right: 6px;
  vertical-align: middle; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 0.5px var(--separator);
}
.toolbar span { width: 14px; height: 14px; border-radius: 4px; background: var(--fill-strong); }
.toolbar img { border-radius: 4px; box-shadow: 0 0 0 2px var(--accent-tint-hover); }

/* ---------- formats (dark band) ---------- */
.formats {
  margin-top: var(--section); padding: var(--section) var(--gutter);
  background: radial-gradient(1100px 600px at 15% 0%, var(--ink-3), var(--ink-2) 55%, var(--ink));
  color: var(--paper);
}
@media (prefers-color-scheme: dark) {
  .formats { background: radial-gradient(1100px 600px at 15% 0%, #3a3642, #1d1c21 60%, #18171b); }
  .formats { box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.08), inset 0 -0.5px 0 rgba(255, 255, 255, 0.08); }
}
.formats ::selection { background: rgba(255, 90, 54, 0.35); }
.formats__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); max-width: 1200px; margin: 0 auto; align-items: start; }
.formats__copy > p { margin-top: 20px; font-size: 19px; color: var(--paper-3); max-width: 34ch; }
.tabs { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.tabs button {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 0; border-radius: 12px;
  background: transparent; text-align: left; cursor: pointer; color: var(--paper-3);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.tabs button strong { font-size: 17px; font-weight: 600; color: var(--paper); letter-spacing: -0.015em; }
.tabs button span { font-size: 14px; }
.tabs button:hover { background: rgba(255, 253, 248, 0.05); }
.tabs button[aria-selected="true"] { background: rgba(255, 253, 248, 0.09); color: var(--paper-2); }
.tabs button[aria-selected="true"] strong::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; vertical-align: middle; border-radius: 50%; background: var(--echo); }
.tabs button:focus-visible { outline-color: var(--echo); }

.sheet {
  position: relative; isolation: isolate; border-radius: 16px; background: var(--paper); color: var(--ink-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.sheet__inner { position: relative; border-radius: inherit; background: var(--paper); overflow: hidden; }
.sheet:focus-visible { outline-color: var(--echo); }
.sheet__bar {
  display: flex; align-items: center; height: 40px; padding: 0 18px; border-bottom: 0.5px solid rgba(20, 19, 23, 0.12);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.4; color: #5f5a64;
}
.sheet__body {
  margin: 0; padding: 22px 24px 26px; min-height: 360px; max-height: 440px; overflow: auto;
  font-family: var(--font); font-size: 16px; line-height: 1.65; white-space: pre-wrap; word-break: break-word;
  scrollbar-width: thin;
}
.sheet__body.is-code { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; white-space: pre; }
.sheet__body .t { color: #6b6670; font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.sheet__body::selection, .sheet__body *::selection { background: rgba(255, 90, 54, 0.25); }

/* ---------- facts ---------- */
.facts { max-width: 1200px; margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 96px); margin: 0; }
.facts__list > div { padding: 28px 0 32px; border-top: 0.5px solid var(--separator); }
.facts__list dt { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; }
.facts__list dd { margin: 10px 0 0; max-width: 44ch; font-size: 17px; color: var(--label-2); }

/* ---------- privacy ---------- */
.privacy { max-width: 820px; margin: 0 auto; padding: var(--section) var(--gutter) 0; text-align: center; }
.privacy p { margin: 22px auto 0; max-width: 60ch; font-size: 19px; color: var(--label-2); }
.privacy .link { display: inline-block; margin-top: 20px; font-size: 17px; }

/* ---------- support ---------- */
.support { max-width: 820px; margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.faq { margin-top: 32px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
@media (prefers-color-scheme: dark) { .faq { background: var(--surface); } }
.faq details + details { border-top: 0.5px solid var(--separator); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-right: 4px;
  border-right: 1.7px solid var(--label-3); border-bottom: 1.7px solid var(--label-3);
  transform: rotate(45deg) translateY(-3px); transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateX(-3px); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { padding: 0 22px 20px; max-width: 68ch; color: var(--label-2); }
.support__contact { margin-top: 22px; color: var(--label-2); }

/* ---------- close ---------- */
.close { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: var(--section) var(--gutter); text-align: center; }
.close img { border-radius: 22px; box-shadow: var(--shadow-video); }
.close h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }

/* ---------- footer ---------- */
.foot { border-top: 0.5px solid var(--separator); }
.foot__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  max-width: 1200px; margin: 0 auto; padding: 28px var(--gutter) 40px; font-size: 13px; color: var(--label-2);
}
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot nav a:hover { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }
.foot p { flex-basis: 100%; font-size: 12px; }

/* ---------- privacy page (Read) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) var(--section); }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.doc .doc__date { margin-top: 12px; font-size: 14px; color: var(--label-2); }
.doc .doc__lead { margin-top: 28px; font-size: 21px; line-height: 1.45; letter-spacing: -0.015em; color: var(--label); }
.doc h2 { margin-top: 48px; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--label-2); }
.doc h2 + p, .doc h2 + ul, .doc p + ul, .doc ul + p { margin-top: 12px; }
.doc ul { margin: 0; padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--accent-text); }
.doc strong { color: var(--label); font-weight: 600; }
.doc code { font-family: var(--font-mono); font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--fill); color: var(--label); }
.doc a:not(.btn) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .pill { margin-left: auto; }
  .stage { flex-direction: column; align-items: center; }
  .popup { margin-top: 0; }
  .how, .formats__inner { grid-template-columns: minmax(0, 1fr); }
  .sheet__body { min-height: 300px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand span { font-size: 14px; }
  .video { width: min(260px, 100%); }
  .popup { width: 100%; max-width: 360px; padding: 14px; }
  .steps li { padding-left: 56px; }
  .facts__list { grid-template-columns: minmax(0, 1fr); }
  .sheet__body { padding: 18px; font-size: 15px; }
  .sheet__body.is-code { font-size: 12px; }
  .foot nav { margin-left: 0; }
}

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