/* Sample Series website
   Dark studio look, matched to the app: near-black surfaces, crimson accent,
   soft glass cards and glowing controls. */

:root {
  --bg: #0A0A0C;
  --bg-2: #0F0F12;
  --surface: #141418;
  --surface-2: #1B1B20;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F4F4F6;
  --text-2: #B4B4BC;
  --muted: #7A7A84;
  --red: #B50D15;
  --red-hot: #E0242D;
  --red-glow: rgba(224, 36, 45, 0.45);
  --amber: #FFB020;
  --violet: #8E6BD0;
  --blue: #4F7BE8;
  --green: #3FBF7F;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--text-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--text); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { left: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Background glow ---------- */
.page-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 40% at 50% -5%, rgba(181, 13, 21, 0.28), transparent 70%),
    radial-gradient(40% 30% at 100% 100%, rgba(142, 107, 208, 0.10), transparent 70%),
    var(--bg);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(10, 10, 12, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 16px rgba(181, 13, 21, 0.35);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-2); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-cta { margin-left: 8px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: rgba(10, 10, 12, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-hot), var(--red));
  box-shadow: 0 10px 30px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 14px 40px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

.appstore {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px;
  border-radius: 16px; background: #fff; color: #000; transition: transform .15s;
}
.appstore:active { transform: scale(0.98); }
.appstore svg { width: 26px; height: 26px; }
.appstore small { display: block; font-size: 11px; line-height: 1; font-weight: 500; opacity: .75; }
.appstore strong { display: block; font-size: 19px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hot);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 10px var(--red-hot); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); line-height: 1.55; }
.grad { background: linear-gradient(180deg, #fff 30%, #FF8A8F); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 10vw, 120px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); margin: 14px 0 16px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); margin: 18px 0 20px; letter-spacing: -0.035em; }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Phone mockup (drawn to look like the app) ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; top: 10%;
  background: radial-gradient(circle, rgba(224, 36, 45, 0.35), transparent 65%); filter: blur(20px);
}
.phone {
  text-align: left;
  position: relative; width: min(340px, 86vw); aspect-ratio: 9 / 19.2;
  border-radius: 52px; padding: 12px;
  background: linear-gradient(160deg, #2A2A30, #0E0E11 40%, #1C1C21);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden;
  background: radial-gradient(120% 50% at 50% 0%, rgba(181, 13, 21, 0.35), transparent 60%), #0B0B0E;
  padding: 48px 14px 14px; display: flex; flex-direction: column; gap: 8px;
}
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.screen > * { flex-shrink: 0; }
.scr-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; }
.scr-top .pill { font-size: 10.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--text-2); }
.scr-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.scr-sub { font-size: 11px; color: var(--muted); margin-top: -6px; }
.chips { display: flex; gap: 6px; overflow: hidden; }
.chip {
  flex: none; font-size: 10.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text-2);
}
.chip.on { color: #FF6B72; background: rgba(224, 36, 45, 0.14); border-color: rgba(224, 36, 45, 0.55); }
.chip.v { color: #B79BEA; background: rgba(142, 107, 208, 0.14); border-color: rgba(142, 107, 208, 0.5); }
.chip.a { color: #FFC45C; background: rgba(255, 176, 32, 0.12); border-color: rgba(255, 176, 32, 0.45); }
.fx-card {
  border-radius: 18px; padding: 12px; background: linear-gradient(180deg, #17171B, #111114);
  border: 1px solid var(--border);
}
.fx-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.fx-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 10px var(--red-hot); }
.knobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.knob { width: 100%; max-width: 64px; margin: 0 auto; }
.knob-label { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.knob-val { font-size: 10px; font-weight: 600; font-family: var(--mono); color: var(--text); }
.wave { height: 58px; width: 100%; }
.screen .wave { height: 40px; }
.screen .knob { max-width: 54px; }
.scr-row { display: flex; gap: 8px; }
.mini { flex: 1; border-radius: 14px; padding: 10px; background: #141418; border: 1px solid var(--border); }
.mini b { display: block; font-size: 11px; }
.mini span { font-size: 10px; color: var(--muted); }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #3FBF7F, #FFB020 75%, #E0242D); }
.scr-bottom { margin-top: auto; border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); }
.art { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--red-hot), #4A0508); flex: none; }
.scr-bottom b { font-size: 12px; display: block; }
.scr-bottom span { font-size: 10px; color: var(--muted); }
.play { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.play svg { width: 12px; height: 12px; }

/* ---------- Logos / trust strip ---------- */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: 14px; font-weight: 500; padding-top: 8px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 16px; height: 16px; color: var(--red-hot); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border); overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { font-size: 20px; margin: 16px 0 8px; }
.card p { font-size: 15.5px; margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(224, 36, 45, 0.12); color: #FF5C63; border: 1px solid rgba(224, 36, 45, 0.3);
}
.icon svg { width: 22px; height: 22px; }
.icon.v { background: rgba(142, 107, 208, 0.12); color: #B79BEA; border-color: rgba(142, 107, 208, 0.3); }
.icon.a { background: rgba(255, 176, 32, 0.1); color: #FFC45C; border-color: rgba(255, 176, 32, 0.3); }
.icon.b { background: rgba(79, 123, 232, 0.12); color: #8DAAF5; border-color: rgba(79, 123, 232, 0.3); }
.icon.g { background: rgba(63, 191, 127, 0.12); color: #6FD9A4; border-color: rgba(63, 191, 127, 0.3); }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 10vw, 120px); }
.split.rev .split-media { order: -1; }
.split h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 16px; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(224, 36, 45, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23FF5C63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.panel {
  border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(180deg, #16161A, #0F0F12); border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
}

/* EQ faders visual */
.faders { display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; height: 200px; padding: 8px 4px 0; }
.fader { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.fader-track { position: relative; flex: 1; width: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.fader-fill { position: absolute; left: 0; right: 0; bottom: 50%; border-radius: 6px; }
.fader-cap {
  position: absolute; left: 50%; width: 26px; height: 14px; transform: translate(-50%, 50%);
  border-radius: 5px; background: linear-gradient(180deg, #F0F0F2, #B9B9C0); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.fader small { font-size: 10px; color: var(--muted); font-family: var(--mono); }
@media (max-width: 420px) { .fader-cap { width: 18px; } .fader small { font-size: 8.5px; } }

/* Export formats visual */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fmt { border-radius: 18px; padding: 16px 10px; text-align: center; background: #151519; border: 1px solid var(--border); }
.fmt.on { border-color: var(--red-hot); background: rgba(224, 36, 45, 0.1); }
.fmt b { display: block; font-size: 17px; margin-top: 8px; }
.fmt span { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.fmt i { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; }
.progress { margin-top: 16px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress > div { height: 100%; width: 72%; border-radius: 8px; background: linear-gradient(90deg, var(--red), #FF5C63); box-shadow: 0 0 16px var(--red-glow); }

/* Chord chips visual */
.chords { display: flex; flex-wrap: wrap; gap: 10px; }
.chord { flex: 1 1 calc(25% - 10px); min-width: 70px; text-align: center; padding: 18px 8px; border-radius: 16px; background: #151519; border: 1px solid var(--border); font-weight: 700; font-size: 20px; }
.chord small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.chord.on { border-color: rgba(142, 107, 208, 0.6); background: rgba(142, 107, 208, 0.12); color: #CDB8F5; }

/* Version list visual */
.versions { display: grid; gap: 8px; }
.ver { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #151519; border: 1px solid var(--border); }
.ver.on { border-color: rgba(224, 36, 45, 0.5); background: rgba(224, 36, 45, 0.08); }
.ver b { font-size: 14px; display: block; }
.ver span { font-size: 12px; color: var(--muted); }
.ver .tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); white-space: nowrap; }
.ver.on .tag { color: #FF6B72; background: rgba(224, 36, 45, 0.15); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; border-radius: var(--radius-lg); padding: 30px; background: linear-gradient(180deg, #17171B, #0F0F12); border: 1px solid var(--border); display: flex; flex-direction: column; }
.plan.best { border-color: rgba(224, 36, 45, 0.6); box-shadow: 0 30px 70px rgba(181, 13, 21, 0.25); }
.plan .badge { position: absolute; top: -13px; left: 30px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--red-hot), var(--red)); }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.price strong { font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); font-size: 16px; }
.plan .per { font-size: 14px; color: var(--text-2); min-height: 22px; }
.plan .ticks { margin: 24px 0 28px; }
.plan .btn { margin-top: auto; }
.fineprint { max-width: 680px; margin: 28px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.04); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p { font-size: 16px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; border-radius: 36px;
  padding: clamp(44px, 7vw, 80px) clamp(20px, 5vw, 60px);
  background: radial-gradient(80% 120% at 50% 0%, rgba(224, 36, 45, 0.35), transparent 60%), linear-gradient(180deg, #18090B, #0E0E11);
  border: 1px solid rgba(224, 36, 45, 0.25);
}
.cta h2 { font-size: clamp(32px, 5vw, 54px); margin: 14px 0 16px; }
.cta .lead { max-width: 560px; margin: 0 auto 30px; }

/* ---------- Page header (subpages) ---------- */
.page-head { padding: clamp(56px, 9vw, 104px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.page-head h1 { font-size: clamp(38px, 6vw, 64px); margin: 16px 0 16px; letter-spacing: -0.03em; }
.page-head .lead { max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; justify-content: center; }
.crumbs a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding-bottom: 96px; }
.legal .updated { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16.5px; color: var(--text-2); line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: #FF6B72; text-decoration: underline; text-underline-offset: 3px; }
.legal .summary { border-radius: var(--radius); padding: 22px 24px; background: rgba(224, 36, 45, 0.06); border: 1px solid rgba(224, 36, 45, 0.25); }
.legal .summary p:last-child { margin: 0; }
.toc { border-radius: var(--radius); padding: 20px 24px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); margin: 28px 0 8px; }
.toc b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { font-size: 15px; margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Support ---------- */
.help-card { display: flex; flex-direction: column; gap: 6px; }
.help-card a.link { color: #FF6B72; font-weight: 600; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }
.help-card a.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.steps { counter-reset: s; display: grid; gap: 10px; margin-top: 12px; }
.steps li { counter-increment: s; display: flex; gap: 12px; font-size: 15.5px; color: var(--text-2); }
.steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot p { font-size: 14.5px; max-width: 320px; margin-top: 14px; }
.foot h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.foot li { margin-bottom: 10px; }
.foot li a { color: var(--text-2); font-size: 15px; }
.foot li a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf h1 { font-size: clamp(80px, 16vw, 160px); letter-spacing: -0.05em; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
