/* LocalFlix site styles. Shared by index, privacy and support.
   Concept: a private screening room. Near-black ground, the app's warm amber,
   and the logo's amber-to-violet ribbon used for display type, glows and the
   primary call to action. Display headings are huge and tightly set; body copy
   stays calm and readable. */

:root {
  color-scheme: dark;

  /* colour */
  --bg: #0b0b0f;
  --bg-2: #101016;
  --surface: #16161d;
  --surface-2: #1f1f29;
  --line: #2a2a36;
  --text: #f5f5f7;
  --muted: #b4b4c0;
  --faint: #858592;
  --amber: #f5a623;
  --amber-soft: #ffd087;
  --amber-ink: #100b09;
  --ribbon: linear-gradient(100deg, #ffd54a 0%, #ff7d30 29%, #ff367b 63%, #ba46fb 100%);
  --cta: linear-gradient(105deg, #ffc23e, #ff8c2f 47%, #ff4275);

  /* type */
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);

  /* layout */
  --wrap: 1170px;
  --gutter: 20px;
  --radius: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--amber); color: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffbe4d; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-weight: 900; }
h2 { font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 750; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 12px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ribbon-text, .display em { font-style: normal; background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, 0.84);
  backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.35rem; letter-spacing: -0.04em; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 2px 10px rgba(215, 50, 85, 0.3)); }
.brand b { font-weight: 900; background: linear-gradient(110deg, #ffc033 10%, #ff7040 40%, #ed2672 70%, #ac36ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { color: var(--text); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: #bbb9c5; text-decoration: none; font-size: 0.82rem; font-weight: 700; padding: 8px 11px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: var(--step-0); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ── Buttons and pills ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; padding: 14px 20px; font-size: 0.9rem; font-weight: 800; text-decoration: none;
  color: var(--amber-ink); background: var(--cta); border: 0; cursor: pointer;
  box-shadow: 0 10px 35px rgba(233, 119, 39, 0.16); transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { color: var(--amber-ink); transform: translateY(-2px); box-shadow: 0 14px 42px rgba(243, 92, 63, 0.33); }
.btn-ghost { background: rgba(255, 255, 255, 0.035); color: var(--text); border: 1px solid #47414e; box-shadow: none; }
.btn-ghost:hover { color: var(--text); box-shadow: none; background: rgba(255, 255, 255, 0.06); }
.pill-soon { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(245, 166, 35, 0.45); color: var(--amber-soft); padding: 10px 16px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; background: rgba(40, 32, 25, 0.6); }
.pill-soon:hover { color: #ffe1ad; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(245, 166, 35, 0.6); flex: none; }

/* ── Section scaffolding ────────────────────────────────────────────────── */
section { padding-block: clamp(72px, 9vw, 112px); position: relative; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  color: var(--amber); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #f5a623, #fc4282); }
.display { font-size: clamp(2.4rem, 1.4rem + 4vw, 3.9rem); font-weight: 900; letter-spacing: -0.055em; line-height: 1.04; }
.lede { color: #aaa8b4; font-size: var(--step-1); line-height: 1.75; max-width: 64ch; margin-top: 20px; }
.section-head { max-width: 820px; margin-bottom: 52px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px); }
.hero::before { content: ""; position: absolute; width: 880px; height: 880px; right: -320px; top: -180px; pointer-events: none;
  background: radial-gradient(circle, rgba(164, 38, 128, 0.32) 0%, rgba(216, 60, 54, 0.18) 27%, transparent 69%); }
.hero::after { content: ""; position: absolute; width: 740px; height: 700px; left: -480px; top: 240px; pointer-events: none;
  background: radial-gradient(circle, rgba(218, 107, 21, 0.25), transparent 60%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 1.6rem + 5.6vw, 5.6rem); letter-spacing: -0.07em; line-height: 0.98; margin-bottom: 26px; }
.hero h1 em { font-style: normal; background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 0; max-width: 52ch; color: #c3c1ca; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.8rem; color: #9996a4; }
.checks li::before { content: "\2713"; color: var(--amber); font-weight: 900; margin-right: 7px; }

.hero-art { position: relative; height: 640px; display: grid; place-items: center; }
.orbit { position: absolute; width: 540px; height: 540px; border-radius: 50%; border: 1px solid rgba(244, 127, 54, 0.16); transform: rotate(-20deg); box-shadow: inset 0 0 100px rgba(255, 60, 130, 0.08); }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; }
.orbit::before { inset: 48px; border: 1px dashed rgba(255, 163, 76, 0.22); }
.orbit::after { inset: 104px; border: 1px solid rgba(230, 70, 164, 0.24); }
.backmark { position: absolute; width: 440px; opacity: 0.1; transform: rotate(-17deg); filter: blur(1px); }
.phone { position: relative; z-index: 2; width: 270px; aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 44px; transform: rotate(6deg);
  background: linear-gradient(145deg, #4e4148, #141318 24%, #100e13 75%, #63515f);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 70, 105, 0.2), 0 0 0 1px rgba(130, 116, 122, 0.45); }
.phone::before { content: ""; position: absolute; z-index: 3; width: 72px; height: 18px; top: 14px; left: 50%; transform: translateX(-50%); background: #0b0b10; border-radius: 15px; }
.phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 36px; border: 1px solid #44404a; background: #0b0b0f; display: grid; place-items: center; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; z-index: 3; padding: 15px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(27, 24, 34, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55); }
.float-card span { display: flex; align-items: center; gap: 7px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: #a9a2b2; }
.float-card strong { display: block; margin-top: 6px; font-size: 1.02rem; }
.float-top { left: 0; top: 110px; transform: rotate(-8deg); }
.float-bottom { right: 0; bottom: 110px; transform: rotate(-4deg); }
.float-bottom strong { color: var(--amber-soft); }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 560px; }
}
@media (max-width: 520px) {
  .hero-art { height: 500px; }
  .phone { width: 220px; }
  .orbit { width: 380px; height: 380px; }
  .backmark { width: 300px; }
  .float-card { padding: 11px 13px; }
  .float-card strong { font-size: 0.85rem; }
  .float-top { top: 56px; }
  .float-bottom { bottom: 64px; }
}

/* ── Ribbon strip ───────────────────────────────────────────────────────── */
.strip { padding-block: 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #170f1b, #1f1215 50%, #170e1d); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px 22px;
  color: #dad3d5; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.strip b { color: var(--amber); font-size: 1rem; margin-right: 9px; letter-spacing: 0; }

/* ── Image placeholders (swap for <img> when artwork is ready) ─────────── */
.ph { position: relative; margin: 0; width: 100%; border: 2px dashed #3a3a4a; border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: var(--faint);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px), var(--surface-2); }
.ph figcaption, .ph .ph-label { padding: 16px; font-size: var(--step--1); line-height: 1.5; }
.ph strong { display: block; color: var(--muted); letter-spacing: 0.02em; }
.ph code { font-family: var(--mono); font-size: 0.75rem; color: var(--faint); }
.ph-screen { border: 0; border-radius: 0; height: 100%; }
.ph-square { aspect-ratio: 1 / 1; max-width: 470px; margin-inline: auto; }
.ph-phone { aspect-ratio: 1080 / 2340; border-radius: 22px; }

/* ── From .mkv to movie night ───────────────────────────────────────────── */
.shift { background: radial-gradient(ellipse at 48% 0%, rgba(123, 33, 83, 0.12), transparent 55%), var(--bg-2); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.file-visual { background: #17171f; border: 1px solid #393342; border-radius: 26px; padding: 30px; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35); display: grid; gap: 12px; }
.file-label { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: #8e8b9b; }
.raw-file { font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; color: #9c99a6; background: #101015; border: 1px solid #393743; border-radius: 12px; padding: 15px 17px; overflow-wrap: anywhere; }
.file-arrow { width: 40px; height: 40px; margin: 2px auto; border-radius: 50%; display: grid; place-items: center; color: #181017;
  background: linear-gradient(135deg, #ffb22d, #f34a62); box-shadow: 0 0 29px rgba(231, 103, 75, 0.35); }
.file-arrow .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.file-after { display: flex; align-items: center; gap: 16px; background: #211c24; border: 1px solid #77502c; border-radius: 14px; padding: 15px 19px; }
.file-after .play { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--amber); color: #151015; }
.file-after .play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.file-after strong { display: block; font-size: 1.05rem; }
.file-after small { display: block; color: #afa7aa; margin-top: 3px; font-size: 0.78rem; }
.sparks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; color: #b8b6c0; }
.sparks li { display: flex; gap: 12px; align-items: flex-start; }
.sparks li::before { content: "\2726"; color: #ffac45; line-height: 1.6; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ── Feature cards ──────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.feature { border: 1px solid var(--line); border-radius: 23px; padding: 32px; background: linear-gradient(145deg, #1a1922, #121217); display: grid; gap: 12px; align-content: start; transition: transform 0.2s, border-color 0.2s; }
.feature:hover { transform: translateY(-4px); border-color: #735360; }
.feature h3 { font-size: 1.3rem; letter-spacing: -0.035em; }
.feature p { color: #a8a7b4; font-size: 0.92rem; line-height: 1.7; }
.symbol { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; color: #ffbb54;
  background: linear-gradient(135deg, rgba(113, 66, 30, 0.35), rgba(99, 32, 70, 0.35)); border: 1px solid rgba(156, 83, 51, 0.35); }
.symbol .icon { width: 26px; height: 26px; }

/* ── Folders ────────────────────────────────────────────────────────────── */
.folders { overflow: hidden; }
.folder-media { position: relative; display: grid; place-items: center; min-height: 420px; }
.folder-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(228, 126, 25, 0.18), transparent 63%); filter: blur(12px); }
.folder-media > * { position: relative; }
.folder-points { display: grid; gap: 24px; margin-top: 32px; }
.folder-points article { padding-left: 20px; border-left: 2px solid #da753d; }
.folder-points h3 { font-size: 1.05rem; margin-bottom: 6px; }
.folder-points p { color: #a6a4af; font-size: 0.92rem; line-height: 1.65; }
@media (max-width: 900px) { .folder-media { min-height: 0; order: -1; } }

/* ── Player band ────────────────────────────────────────────────────────── */
.player-band { background: linear-gradient(120deg, #1c121c 0%, #17131d 40%, #121118); border-block: 1px solid #38303c; }
.player-band .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.player-band .display { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts div { background: #24202a; border: 1px solid #493740; border-radius: 13px; padding: 16px 18px; color: #ddd0d5; font-size: 0.85rem; line-height: 1.55; }
.facts b { display: flex; align-items: center; gap: 8px; color: #ffbd65; margin-bottom: 6px; font-size: 0.92rem; }
.facts .icon { width: 18px; height: 18px; }
@media (max-width: 960px) { .player-band .wrap { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li { border-top: 1px solid #5c4440; padding: 24px 14px 0 0; display: grid; gap: 10px; align-content: start; }
.num { font-size: 2.1rem; font-weight: 950; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(105deg, #ffb545, #d1339f); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.steps p { color: #aaa6b3; font-size: 0.92rem; line-height: 1.65; }
.optional { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: grid; gap: 10px; }
.shot-caption { text-align: center; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) {
  .gallery { grid-auto-flow: column; grid-auto-columns: minmax(190px, 46%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery figure { scroll-snap-align: start; }
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing { background: radial-gradient(circle at 85% 50%, rgba(134, 24, 83, 0.1), transparent 55%); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { border: 1px solid #34333e; background: #17171f; padding: 36px; border-radius: 25px; display: grid; gap: 12px; align-content: start; }
.plan-premium { border-color: #986048; background: linear-gradient(140deg, #30211e, #211821 70%); box-shadow: 0 0 85px rgba(220, 101, 32, 0.1); }
.plan-name { font-size: 0.85rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #e3dfe9; }
.plan-premium .plan-name { color: var(--amber-soft); }
.plan-head { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1.1; }
.plan p, .plan li { color: #bdb8c3; font-size: 0.92rem; line-height: 1.7; }
.plan ul { padding-left: 1.1em; margin: 6px 0 0; display: grid; gap: 6px; }
.plans-note { color: var(--faint); font-size: var(--step--1); margin-top: 20px; max-width: 72ch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 26px; } }

/* ── Privacy ────────────────────────────────────────────────────────────── */
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.points .symbol { width: 48px; height: 48px; margin: 0; border-radius: 13px; }
.points .symbol .icon { width: 22px; height: 22px; }
.points p { color: #a6a4af; margin-top: 4px; font-size: 0.95rem; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
.faq-grid > * { min-width: 0; }
.faq details { border-bottom: 1px solid #34313a; padding: 18px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; list-style: none; cursor: pointer; font-weight: 760; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--amber); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #aaa7b2; font-size: 0.92rem; line-height: 1.7; margin-top: 10px; padding-right: 28px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 850px; height: 460px; top: -270px; left: 50%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse, rgba(165, 40, 108, 0.33), rgba(223, 123, 38, 0.25) 38%, transparent 67%); }
.final .wrap { position: relative; display: grid; justify-items: center; gap: 18px; }
.final .display { font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); max-width: 16ch; }
.final .lede { margin-top: 0; text-align: center; }
.logo-big { width: 96px; height: 96px; filter: drop-shadow(0 8px 27px rgba(216, 58, 113, 0.35)); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: #0c0b0f; padding-block: 48px 30px; color: var(--muted); font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-grid h4 { margin: 0 0 12px; color: var(--text); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: #ffc075; }
.footer-brand p { margin-top: 12px; max-width: 34ch; }
.legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: #73707b; font-size: 0.75rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ── Document pages (privacy, support) ─────────────────────────────────── */
.doc-hero { padding-block: clamp(48px, 7vw, 80px) 8px; }
.doc-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.5vw, 3.6rem); letter-spacing: -0.055em; line-height: 1.04; }
.doc-meta { color: var(--faint); font-size: var(--step--1); margin-top: 14px; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-block: 32px clamp(56px, 8vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: var(--step--1); }
.toc h2 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.doc { max-width: 72ch; min-width: 0; }
.doc section { padding: 0; margin-top: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.doc section:first-child { margin-top: 0; }
.doc h2 { font-size: var(--step-2); letter-spacing: -0.03em; margin-bottom: 12px; }
.doc h3 { margin: 20px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 12px 0 0; display: grid; gap: 8px; }
.doc ol { padding-left: 1.4em; margin: 12px 0 0; display: grid; gap: 10px; }
.doc li > ul { margin-top: 10px; }
.doc ul + p, .doc ol + p, .doc .short + p { margin-top: 14px; }
.doc strong { color: var(--text); }
.doc code { font-family: var(--mono); font-size: 0.85em; color: var(--text); background: var(--surface-2); border-radius: 6px; padding: 1px 6px; }
.short { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 8px; }
.short p { color: var(--text); }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
}

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