/* =========================================================================
   PerpWatch — marketing site styles
   Design language: a perp trader's terminal. Near-black base, semantic
   trading palette (long=green, risk=red, funding=amber), blue only for UI
   actions. Numbers are set in mono so every figure reads like a live readout.
   Signature motif: the liquidation-proximity bar (LIQ <-> ENTRY).
   ========================================================================= */

:root {
  /* base */
  --void: #05060a;
  --bg: #080a11;
  --bg-2: #0a0d16;
  --panel: #0e1320;
  --panel-2: #121829;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  /* ink */
  --ink: #f3f6fd;
  --ink-soft: #c4cad8;
  --ink-mute: #7d859b;
  --ink-faint: #555d72;

  /* semantic trading palette */
  --long: #41d18a;     /* profit / long / safe */
  --long-dim: #1c6b48;
  --risk: #ff5d5d;     /* loss / liquidation / danger */
  --risk-dim: #7a2b32;
  --fund: #ffac4d;     /* funding / warning */
  --fund-dim: #7d5320;

  /* ui action */
  --act: #4d83ff;
  --act-2: #2f63e6;
  --act-soft: rgba(77, 131, 255, 0.14);

  /* type */
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, "Roboto Mono", monospace;

  --radius: 20px;
  --radius-lg: 30px;
  --max: 1200px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--void);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient candlestick / glow field behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(620px 420px at 78% -4%, rgba(77, 131, 255, 0.16), transparent 70%),
    radial-gradient(520px 380px at 8% 6%, rgba(255, 93, 93, 0.10), transparent 70%),
    radial-gradient(700px 500px at 50% 108%, rgba(65, 209, 138, 0.08), transparent 70%),
    linear-gradient(180deg, #06070c 0%, #080a11 45%, #05060a 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4, p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 12px;
  background: var(--ink); color: var(--void);
  padding: 12px 16px; border-radius: 10px; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* mono utility for figures */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--long); box-shadow: 0 0 12px var(--long);
}
.eyebrow.risk::before { background: var(--risk); box-shadow: 0 0 12px var(--risk); }
.eyebrow.fund::before { background: var(--fund); box-shadow: 0 0 12px var(--fund); }
.eyebrow.act::before { background: var(--act); box-shadow: 0 0 12px var(--act); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 14px; border: 1px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--act), var(--act-2));
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(77, 131, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -12px rgba(77, 131, 255, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); }
.btn-block { width: 100%; }

/* apple-style store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 22px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #15181f, #0c0e14);
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.3); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-top { display: block; font-size: 0.66rem; color: var(--ink-mute); letter-spacing: 0.04em; }
.store-badge .sb-main { display: block; font-family: var(--display); font-weight: 600; font-size: 1.18rem; line-height: 1.1; letter-spacing: -0.01em; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  background: rgba(6, 7, 12, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(6, 7, 12, 0.88);
  border-bottom-color: var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand img { height: 28px; width: auto; border-radius: 0; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; font-size: 0.96rem; transition: color 0.18s ease; }
.nav-menu a:hover { color: var(--ink); }
.nav-cta {
  padding: 11px 18px; border-radius: 12px;
  background: linear-gradient(135deg, var(--act), var(--act-2));
  color: #fff !important; font-weight: 600 !important;
  box-shadow: 0 12px 30px -12px rgba(77, 131, 255, 0.7);
}
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.05); color: var(--ink);
  font-weight: 600;
}
.nav-menu.static { gap: 20px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px; align-items: center;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.9rem, 6.4vw, 5.1rem); line-height: 0.98;
  letter-spacing: -0.04em; margin-bottom: 22px;
}
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--act); }
.hero .lead {
  color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  max-width: 540px; margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-sub {
  margin-top: 18px; font-family: var(--mono); font-size: 0.82rem; color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hero-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--long); box-shadow: 0 0 10px var(--long); }

/* hero visual: phone + floating signature card */
.hero-stage { position: relative; min-height: 560px; }
.phone-shell {
  position: relative; width: min(86%, 340px); margin-left: auto;
  border-radius: 44px; padding: 9px;
  background: linear-gradient(160deg, #1b1f2b, #0a0c12);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}
.phone-shell::after {
  content: ""; position: absolute; left: 50%; top: 16px; transform: translateX(-50%);
  width: 36%; height: 24px; background: #05060a; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-shell img { border-radius: 36px; width: 100%; display: block; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; }
.hero-glow.blue { width: 300px; height: 300px; background: rgba(77,131,255,0.3); top: 40px; right: -20px; }
.hero-glow.red { width: 220px; height: 220px; background: rgba(255,93,93,0.22); bottom: 30px; left: -10px; }

/* floating liq card — the signature element */
.liq-card {
  position: absolute; left: -8px; bottom: 56px; z-index: 5;
  width: min(74%, 296px);
  background: linear-gradient(180deg, rgba(20,25,40,0.96), rgba(11,14,22,0.96));
  border: 1px solid var(--line-2);
  border-radius: 18px; padding: 16px 16px 18px;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}
.liq-card .lc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.liq-card .lc-sym { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.liq-card .lc-pnl { font-family: var(--mono); font-weight: 700; font-size: 1.02rem; color: var(--risk); }
.liq-card .lc-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.tag {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 600;
  padding: 3px 7px; border-radius: 6px; letter-spacing: 0.02em;
}
.tag.long { color: var(--long); background: rgba(65,209,138,0.14); }
.tag.high { color: var(--fund); background: rgba(255,172,77,0.14); }

/* THE liquidation-proximity bar */
.liqbar { position: relative; }
.liqbar .track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--risk) 0%, var(--fund) 42%, var(--long) 100%);
  opacity: 0.92;
}
.liqbar .marker {
  position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--void);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5), 0 0 18px rgba(255,255,255,0.8);
  transform: translate(-50%, -50%);
  left: 20%;
}
.liqbar.animate .marker { animation: liq-drift 5.5s ease-in-out infinite; }
@keyframes liq-drift {
  0%, 100% { left: 16%; }
  50% { left: 33%; }
}
.liqbar .ends {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.64rem; color: var(--ink-faint);
  letter-spacing: 0.1em; margin-top: 8px; text-transform: uppercase;
}
.liq-card .lc-rows {
  margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
  font-family: var(--mono); font-size: 0.74rem;
}
.liq-card .lc-rows .k { color: var(--ink-faint); display: block; font-size: 0.64rem; letter-spacing: 0.04em; }
.liq-card .lc-rows .v { color: var(--ink); font-weight: 600; }
.liq-card .lc-rows .v.risk { color: var(--fund); }

/* =========================================================================
   EXCHANGE MARQUEE
   ========================================================================= */
.exchanges { padding: 28px 0 8px; }
.ex-label {
  text-align: center; font-family: var(--mono); font-size: 0.74rem;
  color: var(--ink-mute); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px;
}
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ex-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 12px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--panel);
  font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink-soft);
}
.ex-pill .pip { width: 8px; height: 8px; border-radius: 2px; }

/* =========================================================================
   GENERIC SECTION
   ========================================================================= */
.block { padding: 92px 0; }
.block.tight { padding: 64px 0; }
.head { max-width: 760px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.head p { color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.head .center { margin: 0 auto; }

/* ---------- problem → solution band ---------- */
.contrast {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.contrast > div { padding: 36px; }
.contrast .before { background: rgba(255,93,93,0.04); border-right: 1px solid var(--line); }
.contrast .after { background: rgba(65,209,138,0.04); }
.contrast h3 { font-family: var(--display); font-size: 1.15rem; margin-bottom: 18px; letter-spacing: -0.01em; }
.contrast .before h3 { color: var(--risk); }
.contrast .after h3 { color: var(--long); }
.contrast ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contrast li { display: flex; gap: 11px; color: var(--ink-soft); font-size: 0.98rem; }
.contrast li::before { font-family: var(--mono); font-weight: 700; flex: none; }
.contrast .before li::before { content: "×"; color: var(--risk); }
.contrast .after li::before { content: "→"; color: var(--long); }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 18px; font-size: 1.3rem;
}
.ic.blue { background: var(--act-soft); color: var(--act); }
.ic.green { background: rgba(65,209,138,0.14); color: var(--long); }
.ic.red { background: rgba(255,93,93,0.14); color: var(--risk); }
.ic.amber { background: rgba(255,172,77,0.14); color: var(--fund); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 1.18rem; margin-bottom: 9px; letter-spacing: -0.01em; }
.card p { color: var(--ink-mute); font-size: 0.96rem; }

/* ---------- split (copy + phone) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .split-media { order: -1; }
.split-copy h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; }
.split-copy > p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checks li::before { content: "✓"; color: var(--long); font-weight: 800; flex: none; margin-top: 1px; }
.checks li strong { color: var(--ink); font-weight: 600; }

.split-media { display: flex; justify-content: center; }
.device {
  position: relative; width: min(100%, 320px);
  border-radius: 42px; padding: 8px;
  background: linear-gradient(160deg, #1b1f2b, #0a0c12);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: var(--shadow);
}
.device::after {
  content: ""; position: absolute; left: 50%; top: 15px; transform: translateX(-50%);
  width: 34%; height: 22px; background: #05060a; border-radius: 0 0 15px 15px; z-index: 3;
}
.device img { border-radius: 35px; width: 100%; }

.note {
  margin-top: 22px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,172,77,0.05);
  display: grid; gap: 4px;
}
.note strong { color: var(--fund); font-family: var(--display); font-size: 0.96rem; }
.note span { color: var(--ink-mute); font-size: 0.9rem; }

/* mini stat readout used inside split copy */
.readout {
  display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 24px;
  font-family: var(--mono);
}
.readout .ro { display: grid; gap: 2px; }
.readout .ro b { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.readout .ro span { font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.readout .ro.green b { color: var(--long); }
.readout .ro.red b { color: var(--risk); }
.readout .ro.amber b { color: var(--fund); }

/* =========================================================================
   STAT STRIP
   ========================================================================= */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 24px;
}
.stat b { font-family: var(--display); display: block; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.stat span { color: var(--ink-mute); font-size: 0.92rem; }
.stat.blue b { color: var(--act); }
.stat.green b { color: var(--long); }

/* =========================================================================
   SCREENSHOT GALLERY (interactive tabs)
   ========================================================================= */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  border: 1px solid var(--line); color: var(--ink-soft);
  background: rgba(255,255,255,0.03);
  padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 0.92rem;
  transition: all 0.18s ease;
}
.tab:hover { border-color: var(--line-2); color: var(--ink); }
.tab.is-active { background: var(--act); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -10px rgba(77,131,255,0.7); }
.gallery {
  display: grid; grid-template-columns: 1fr minmax(300px, 360px); gap: 48px; align-items: center;
  padding: 44px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 300px at 80% 20%, rgba(77,131,255,0.14), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  min-height: 620px;
}
.gallery-copy h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.gallery-copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 460px; }
.gallery-copy .pill-row { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  font-family: var(--mono); font-size: 0.72rem; padding: 6px 11px; border-radius: 8px;
  border: 1px solid var(--line-2); color: var(--ink-soft); background: rgba(255,255,255,0.03);
}
.gallery-device {
  position: relative; width: min(100%, 320px); margin: 0 auto;
  border-radius: 42px; padding: 8px;
  background: linear-gradient(160deg, #1b1f2b, #0a0c12);
  border: 1px solid rgba(255,255,255,0.13); box-shadow: var(--shadow);
}
.gallery-device::after { content: ""; position: absolute; left: 50%; top: 15px; transform: translateX(-50%); width: 34%; height: 22px; background: #05060a; border-radius: 0 0 15px 15px; z-index: 3; }
.gallery-device img { border-radius: 35px; width: 100%; }

/* =========================================================================
   HOW IT WORKS (a real sequence — numbered markers justified)
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 28px; position: relative;
}
.step .n {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  color: var(--act); letter-spacing: 0.1em; margin-bottom: 16px; display: block;
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-bottom: 9px; letter-spacing: -0.01em; }
.step p { color: var(--ink-mute); font-size: 0.96rem; }

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin: 0 auto; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 34px; position: relative; display: flex; flex-direction: column;
}
.plan.featured {
  border-color: rgba(77,131,255,0.5);
  box-shadow: 0 26px 70px -24px rgba(77,131,255,0.45);
  background:
    radial-gradient(380px 240px at 80% 0%, rgba(77,131,255,0.16), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
}
.plan .plan-badge {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 8px; background: var(--act); color: #fff;
}
.plan h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin-bottom: 4px; }
.plan .plan-sub { color: var(--ink-mute); font-size: 0.94rem; margin-bottom: 22px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price .amt { font-family: var(--display); font-weight: 700; font-size: 3.2rem; letter-spacing: -0.04em; }
.plan .price .per { font-family: var(--mono); color: var(--ink-mute); font-size: 0.92rem; }
.plan .price-note { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 13px; }
.plan li { display: flex; gap: 11px; color: var(--ink-soft); font-size: 0.96rem; }
.plan li::before { content: "✓"; color: var(--long); font-weight: 800; flex: none; }
.plan li.off { color: var(--ink-faint); }
.plan li.off::before { content: "—"; color: var(--ink-faint); }
.plan .btn { margin-top: auto; }
.pricing-foot { text-align: center; margin-top: 22px; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-mute); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 4px 20px; transition: border-color 0.18s ease;
}
.faq-list details[open] { border-color: var(--line-2); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); color: var(--act); font-size: 1.4rem; flex: none; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--ink-mute); padding: 0 0 18px; font-size: 0.98rem; }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.cta {
  border: 1px solid rgba(77,131,255,0.4); border-radius: var(--radius-lg);
  padding: 56px 44px; text-align: center;
  background:
    radial-gradient(500px 300px at 50% 0%, rgba(77,131,255,0.2), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
}
.cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.cta p { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }
.cta .hero-actions { justify-content: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 48px 0 56px; color: var(--ink-mute); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); font-size: 0.95rem; transition: color 0.18s ease; }
.foot-links a:hover { color: var(--ink); }
.risk-warning { max-width: 940px; margin-top: 24px; font-size: 0.86rem; line-height: 1.6; }
.copyright { margin-top: 14px; font-family: var(--mono); font-size: 0.82rem; color: var(--ink-faint); }
.site-footer.slim { text-align: center; margin-top: 0; }
.site-footer.slim .copyright { margin: 0 auto; }

/* =========================================================================
   LEGAL PAGES
   ========================================================================= */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.legal .updated { font-family: var(--mono); color: var(--ink-mute); font-size: 0.84rem; margin-bottom: 30px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 36px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--act); text-decoration: underline; text-underline-offset: 3px; }
.legal .lead-small { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 28px; }
.support-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 26px; margin: 18px 0; }
.support-card h2 { margin-top: 0; }

/* =========================================================================
   SCROLL REVEAL  (hidden state only applies when JS is active)
   ========================================================================= */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stage { min-height: 0; max-width: 460px; margin: 0 auto; }
  .phone-shell { margin: 0 auto; }
  .liq-card { left: 0; bottom: 30px; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .split.flip { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-media { order: 0; }
  .gallery { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .contrast { grid-template-columns: 1fr; }
  .contrast .before { border-right: none; border-bottom: 1px solid var(--line); }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav { padding: 12px 18px; }
  .nav-menu:not(.static) {
    position: absolute; left: 14px; right: 14px; top: 64px;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 14px; border: 1px solid var(--line-2); border-radius: 18px;
    background: rgba(10,12,18,0.98); box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu:not(.static) a { padding: 10px 8px; }
  .nav-toggle { display: inline-flex; }
  .block { padding: 64px 0; }
  .features, .steps, .pricing, .statstrip { grid-template-columns: 1fr; }
  .hero-actions, .hero-actions .btn, .hero-actions .store-badge { width: 100%; }
  .cta .hero-actions .btn, .cta .hero-actions .store-badge { width: auto; }
  .gallery { padding: 22px; }
  .plan { padding: 26px; }
  .cta { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
