/* ============================================================
   ClipMode.ai — landing page styles
   Deep cool charcoal/slate base, electric-blue accent.
   Neo-grotesque (Helvetica Neue) with monospace technical readouts.
   ============================================================ */

:root {
  /* Surfaces — cool charcoal/slate, near-black */
  --bg:        oklch(0.17 0.012 256);
  --bg-2:      oklch(0.205 0.014 256);
  --panel:     oklch(0.225 0.015 256);
  --panel-2:   oklch(0.255 0.016 256);
  --line:      oklch(0.32 0.016 256);
  --line-soft: oklch(0.28 0.014 256);

  /* Text */
  --fg:        oklch(0.97 0.004 256);
  --fg-dim:    oklch(0.80 0.008 256);
  --muted:     oklch(0.66 0.012 256);
  --faint:     oklch(0.52 0.012 256);

  /* Accent — electric blue */
  --accent:      #2f6bff;
  --accent-bri:  #5a8bff;
  --accent-dim:  oklch(0.58 0.21 264 / 0.16);
  --accent-line: oklch(0.62 0.20 264 / 0.42);
  --accent-glow: oklch(0.62 0.22 264 / 0.30);

  --good: oklch(0.78 0.15 165);

  --sans: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", "Menlo", monospace;

  --maxw: 1200px;
  --r:   14px;
  --r-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Ambient: faint slate grid + a single cool radial wash behind hero */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% -8%, var(--accent-dim), transparent 60%),
    linear-gradient(to bottom, var(--bg-2), var(--bg) 40%);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(1100px 700px at 70% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(1100px 700px at 70% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bri);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.section-title { font-size: clamp(32px, 4vw, 52px); }
.lede { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 56ch; line-height: 1.55; }

.section { padding: clamp(80px, 11vh, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lede { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 26px -10px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-bri); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 14px 34px -12px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); border-color: oklch(0.4 0.016 256); transform: translateY(-1px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translate(3px,0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: oklch(0.17 0.012 256 / 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 18px; text-decoration: none; color: inherit; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(150deg, var(--accent-bri), var(--accent));
  position: relative; flex: none;
  box-shadow: 0 0 18px -4px var(--accent-glow);
}
.brand .mark::after {
  content: ""; position: absolute; inset: 7px;
  border: 2px solid rgba(255,255,255,.9); border-radius: 50%;
  border-right-color: transparent; border-bottom-color: transparent;
  transform: rotate(-45deg);
}
.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  letter-spacing: -0.04em;
  white-space: nowrap;
  line-height: 1;
}
.brand .dot { color: var(--accent-bri); margin: 0; padding: 0; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { color: var(--fg-dim); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vh, 112px) 0 clamp(72px, 9vh, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 82px); letter-spacing: -0.045em; }
.hero h1 .alt { color: var(--accent-bri); display: block; }
.hero .lede { margin-top: 26px; font-size: clamp(18px, 1.5vw, 21px); max-width: 48ch; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 34px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta .item { display: flex; flex-direction: column; gap: 3px; }
.hero-meta .num { font-family: var(--mono); font-size: 23px; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; }
.hero-meta .lab { font-size: 12.5px; color: var(--muted); }

/* Hero character composition */
.char-stage { position: relative; }
.char-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: 0 40px 90px -50px #000;
}
.char-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px 14px;
}
.char-head .id { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.char-head .live {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--good); display: inline-flex; align-items: center; gap: 7px;
}
.char-head .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 0 var(--good); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.15 165 / 0.5); }
  70% { box-shadow: 0 0 0 8px oklch(0.78 0.15 165 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.15 165 / 0); }
}
.char-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.var-card {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .35s, box-shadow .35s;
}
.char-frame.in .var-card { opacity: 1; transform: none; }
.char-frame.in .var-card:nth-child(1) { transition-delay: .05s; }
.char-frame.in .var-card:nth-child(2) { transition-delay: .18s; }
.char-frame.in .var-card:nth-child(3) { transition-delay: .31s; }
.char-frame.in .var-card:nth-child(4) { transition-delay: .44s; }
.var-card image-slot { width: 100%; height: 168px; display: block; }
.var-card .tag {
  position: absolute; left: 10px; top: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: oklch(0.17 0.012 256 / 0.78); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--fg-dim);
  padding: 4px 9px; border-radius: 7px;
}
.var-card .match {
  position: absolute; right: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  background: oklch(0.17 0.012 256 / 0.78); backdrop-filter: blur(6px);
  border: 1px solid var(--accent-line); color: var(--accent-bri);
  padding: 4px 8px; border-radius: 7px;
  display: inline-flex; align-items: center; gap: 5px;
}
.var-card .match::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
/* cycling highlight */
.var-card.active { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), 0 0 34px -8px var(--accent-glow); }
.scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bri), transparent);
  opacity: 0; pointer-events: none; filter: blur(.3px);
}
.var-card.active .scan { animation: scan 1.6s var(--ease); }
@keyframes scan { 0% { top: 0; opacity: .9; } 100% { top: 100%; opacity: 0; } }

.char-foot {
  margin-top: 14px; padding: 12px 8px 4px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line-soft);
}
.char-foot .label { font-size: 13px; color: var(--muted); }
.char-foot .val { font-family: var(--mono); font-size: 13px; color: var(--fg-dim); }
.char-source {
  position: absolute; left: -18px; top: 38px; z-index: 3;
  background: var(--panel-2); border: 1px solid var(--accent-line);
  border-radius: 11px; padding: 9px 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 18px 40px -22px #000;
}
.char-source .sq { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; flex: none; }
.char-source .sq image-slot { width: 100%; height: 100%; display: block; }
.char-source .t { line-height: 1.2; }
.char-source .t b { font-size: 13px; font-weight: 600; display: block; }
.char-source .t span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

/* ---------- Logos / trust strip ---------- */
.trust { border-block: 1px solid var(--line-soft); padding: 30px 0; }
.trust-inner { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; justify-content: center; }
.trust .cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.trust .logo { font-weight: 600; font-size: 17px; color: var(--muted); letter-spacing: -0.01em; opacity: .85; transition: color .2s, opacity .2s; }
.trust .logo:hover { color: var(--fg-dim); opacity: 1; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bad-strip { display: flex; gap: 10px; }
.bad-cell { flex: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--bg-2); }
.bad-cell image-slot { width: 100%; height: 140px; display: block; filter: grayscale(.3); }
.bad-cell .x {
  position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: oklch(0.55 0.18 25 / 0.95); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700;
}
.bad-cell .n { position: absolute; bottom: 8px; left: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: oklch(0.17 0.012 256 / .8); padding: 3px 7px; border-radius: 6px; }
.prob-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.prob-item { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-dim); }
.prob-item .mk { font-family: var(--mono); color: oklch(0.65 0.18 25); flex: none; font-size: 15px; margin-top: 2px; }

/* ---------- Solution pipeline ---------- */
.pipe {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; margin-top: 8px;
}
.pipe-node { padding: 28px 26px; border-radius: var(--r); transition: background .3s; }
.pipe-node .step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent-bri); text-transform: uppercase; }
.pipe-node h3 { font-size: 22px; margin: 12px 0 8px; }
.pipe-node p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pipe-node .meta { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.pipe-arrow { display: grid; place-items: center; padding: 0 6px; color: var(--faint); }
.pipe-arrow svg { width: 34px; height: 34px; }
.pipe-arrow.loop { color: var(--accent-bri); }
.pipe-once { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14.5px; color: var(--fg-dim); }
.pipe-once b { color: var(--accent-bri); }
.infinity { font-family: var(--mono); }

/* ---------- Specs ---------- */
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px;
  position: relative; overflow: hidden;
}
.spec::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .5; }
.spec .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.spec .v { font-family: var(--mono); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.03em; margin-top: 14px; line-height: 1; }
.spec .v .unit { font-size: 0.5em; color: var(--muted); margin-left: 4px; }
.spec .d { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.45; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.feat:hover { transform: translateY(-3px); border-color: oklch(0.4 0.016 256); background: var(--panel-2); }
.feat .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-dim); border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--accent-bri); margin-bottom: 22px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 21px; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.feat .stat { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--fg-dim); display: flex; gap: 8px; align-items: center; }
.feat .stat b { color: var(--accent-bri); }

/* ---------- Use cases ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel);
  transition: transform .25s var(--ease), border-color .25s;
}
.uc:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.uc image-slot { width: 100%; height: 190px; display: block; }
.uc .body { padding: 22px; }
.uc .body .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bri); }
.uc .body h3 { font-size: 19px; margin: 10px 0 8px; }
.uc .body p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 0.95fr 1.55fr; gap: 22px; align-items: stretch; }
.membership {
  background: linear-gradient(165deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--accent-line); border-radius: var(--r-lg); padding: 32px;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 70px -50px var(--accent-glow);
}
.membership::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); }
.membership .tier { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bri); }
.membership h3 { font-size: 26px; margin: 12px 0 18px; letter-spacing: -0.03em; }
.membership .price { display: flex; align-items: baseline; gap: 6px; }
.membership .price .amt { font-family: var(--mono); font-size: 48px; font-weight: 600; letter-spacing: -0.03em; }
.membership .price .per { color: var(--muted); font-size: 15px; }
.membership .billed { color: var(--muted); font-size: 14px; margin-top: 8px; }
.membership ul { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 13px; }
.membership li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--fg-dim); }
.membership li .ck { color: var(--accent-bri); flex: none; margin-top: 1px; }
.membership .btn { width: 100%; justify-content: center; margin-top: auto; }

.packs { display: flex; flex-direction: column; gap: 14px; }
.packs-head { display: flex; align-items: center; justify-content: space-between; }
.packs-head .h { font-size: 19px; font-weight: 600; }
.packs-head .note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pack {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 26px; transition: border-color .2s, transform .2s var(--ease), background .2s;
}
.pack:hover { border-color: var(--accent-line); transform: translateX(3px); background: var(--panel-2); }
.pack.feat-pack { border-color: var(--accent-line); }
.pack .credits { display: flex; flex-direction: column; }
.pack .credits .c { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.pack .credits .cl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--mono); }
.pack .perks { display: flex; flex-direction: column; gap: 5px; }
.pack .perks span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pack .perks span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.pack .disc { text-align: right; }
.pack .disc .badge { font-family: var(--mono); font-size: 11px; color: var(--good); background: oklch(0.78 0.15 165 / .12); border: 1px solid oklch(0.78 0.15 165 / .3); padding: 4px 9px; border-radius: 7px; display: inline-block; }
.pack .disc .each { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.pack .buy { text-align: right; min-width: 130px; }
.pack .buy .was { font-family: var(--mono); font-size: 13px; color: var(--faint); text-decoration: line-through; }
.pack .buy .now { font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.pack .buy .now.solo { color: var(--fg); }
.pack .buy button { margin-top: 8px; font-size: 13px; padding: 8px 16px; }

/* ---------- Final CTA ---------- */
.cta {
  background: linear-gradient(165deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(48px, 7vw, 84px); text-align: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% -20%, var(--accent-dim), transparent 70%); }
.cta h2 { font-size: clamp(34px, 4.5vw, 60px); letter-spacing: -0.04em; position: relative; }
.cta p { color: var(--muted); font-size: 18px; margin: 20px auto 36px; max-width: 52ch; position: relative; }
.signup { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; position: relative; }
.signup input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  padding: 14px 18px; color: var(--fg); font-family: var(--sans); font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.signup input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-dim); }
.signup input::placeholder { color: var(--faint); }
.signup .btn { flex: none; }
.signup-msg { position: relative; margin-top: 16px; font-family: var(--mono); font-size: 13px; min-height: 18px; color: var(--good); opacity: 0; transition: opacity .3s; }
.signup-msg.show { opacity: 1; }
.cta-fine { position: relative; margin-top: 18px; font-size: 12.5px; color: var(--faint); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer .blurb { color: var(--muted); font-size: 14px; max-width: 34ch; line-height: 1.55; }
.footer h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: var(--fg-dim); font-size: 14px; transition: color .15s; }
.footer ul a:hover { color: var(--fg); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bot .mono { font-family: var(--mono); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .var-card { opacity: 1; transform: none; }
  * { scroll-behavior: auto; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 120px); }
.legal-page .wrap { max-width: 720px; }
.legal-page h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; margin-bottom: 12px; }
.legal-page .updated { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 36px; }
.legal-page .lede { color: var(--fg-dim); font-size: 17px; line-height: 1.6; margin-bottom: 40px; }
.legal-page h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.02em; }
.legal-page h3 { font-size: 17px; margin: 24px 0 10px; color: var(--fg); }
.legal-page p, .legal-page li { color: var(--fg-dim); font-size: 15.5px; line-height: 1.65; margin-bottom: 14px; }
.legal-page ul, .legal-page ol { margin: 0 0 18px 1.25em; padding: 0; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--accent-bri); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--accent); }
.legal-page .warn {
  background: oklch(0.22 0.03 25 / 0.5);
  border: 1px solid oklch(0.45 0.12 25);
  border-radius: var(--r);
  padding: 18px 20px;
  margin: 24px 0;
}
.legal-page .warn strong { color: oklch(0.85 0.12 25); display: block; margin-bottom: 8px; }
.legal-page .company-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  margin-top: 32px;
}
.legal-page .company-block p { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .problem-grid, .price-wrap { grid-template-columns: 1fr; }
  .specs-grid, .uc-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr; }
  .pipe-arrow { padding: 8px 0; }
  .pipe-arrow svg { transform: rotate(90deg); }
  .char-source { left: 8px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .specs-grid, .uc-grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .pack { grid-template-columns: auto 1fr; gap: 14px; }
  .pack .disc, .pack .buy { grid-column: 1 / -1; text-align: left; }
  .pack .buy { display: flex; align-items: center; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
