/* ============================================================
   True Duplicate Video Cleaner — landing page
   Palette: Twilight · Surface: Soft · Voice: Confident
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #0F0A2E;
  --ink-2: #2A2552;
  --muted: #6B6890;
  --line: #E8E3F5;
  --bg: #FAF8FF;
  --bg-tint: #F1ECFE;
  --card: #FFFFFF;

  --violet-50: #F3EFFE;
  --violet-100: #E5DCFE;
  --violet-200: #C9B6FC;
  --violet-300: #A88BF8;
  --violet-500: #6D5BF5;
  --violet-600: #5A47E0;
  --violet-700: #4534B8;

  --mint: #2DD4A5;
  --mint-soft: #DFFAF1;

  --grad: linear-gradient(135deg, #6D5BF5 0%, #9B7CF8 50%, #B69CFF 100%);
  --grad-soft: linear-gradient(135deg, #EDE7FE 0%, #F6F1FF 100%);

  --shadow-sm: 0 1px 2px rgba(45, 28, 110, 0.04), 0 1px 1px rgba(45, 28, 110, 0.03);
  --shadow-md: 0 8px 30px rgba(85, 65, 200, 0.07), 0 2px 6px rgba(45, 28, 110, 0.04);
  --shadow-lg: 0 30px 80px rgba(85, 65, 200, 0.18), 0 10px 30px rgba(85, 65, 200, 0.08);
  --shadow-violet: 0 20px 60px rgba(109, 91, 245, 0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.01em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: var(--shadow-violet);
  position: relative;
}
.brand-mark::after {
  content: ""; width: 0; height: 0;
  border-left: 8px solid white; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  margin-left: 3px;
}
.brand-name { font-size: 16px; }
.brand-name span { color: var(--violet-500); }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { color: inherit; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--violet-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--grad); color: white;
  box-shadow: 0 12px 30px rgba(109, 91, 245, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(109, 91, 245, 0.5); }
.btn-ghost {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--violet-300); color: var(--violet-600); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; position: relative; }
.hero-bg {
  position: absolute; inset: -40px 0 0 0; z-index: 0; pointer-events: none;
}
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px);
}
.hero-bg::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155, 124, 248, 0.35), transparent 70%);
  top: -100px; left: -120px;
}
.hero-bg::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45, 212, 165, 0.22), transparent 70%);
  bottom: -80px; right: -80px;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--violet-600);
  background: var(--card); border: 1px solid var(--violet-100);
  padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 4px rgba(45, 212, 165, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(45, 212, 165, 0); } }

h1.headline {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 22px 0 22px;
}
h1.headline .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  font-size: 19px; line-height: 1.55; color: var(--muted);
  max-width: 520px; margin: 0 0 36px;
}
.lede b { color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 28px; display: flex; gap: 28px;
  font-size: 13px; color: var(--muted);
}
.hero-meta b { color: var(--ink); font-weight: 700; }
.check { color: var(--mint); font-weight: 700; }

/* ---------- Hero visual ---------- */
.scope {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--card) 0%, var(--bg-tint) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.scope-header {
  position: absolute; top: 0; left: 0; right: 0; height: 44px;
  display: flex; align-items: center; padding: 0 18px; gap: 8px;
  border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--card) 70%, transparent);
  backdrop-filter: blur(8px); z-index: 5;
  font-size: 12px; color: var(--muted);
}
.scope-dots { display: flex; gap: 6px; margin-right: 8px; }
.scope-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.scope-dots span:first-child { background: #FF6B6B; }
.scope-dots span:nth-child(2) { background: #FFC542; }
.scope-dots span:nth-child(3) { background: var(--mint); }
.scope-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.scope-status {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  color: var(--violet-600); font-weight: 600;
}
.scope-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-500); animation: pulse 1.4s infinite; }

.scope-body { position: absolute; top: 44px; left: 0; right: 0; bottom: 0; padding: 22px; }

/* ---------- Video tiles ---------- */
.tile {
  position: absolute;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  overflow: hidden;
  opacity: 0.55;
  filter: saturate(0.6);
  transform: scale(1);
  transition: opacity .4s, filter .4s, transform .4s;
}
.tile.scanned { opacity: 1; filter: none; }
.tile.active { transform: scale(1.04); }
.tile::after {
  content: ""; width: 0; height: 0;
  border-left: 14px solid rgba(255,255,255,0.95);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  margin-left: 4px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.tile-label {
  position: absolute; bottom: 8px; left: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: rgba(255,255,255,0.9); font-weight: 500;
  letter-spacing: 0.02em;
}
.tile-glow {
  position: absolute; inset: 0; border-radius: 14px;
  box-shadow: 0 0 0 2px var(--violet-500), 0 0 40px rgba(109, 91, 245, 0.5);
  opacity: 0; transition: opacity .4s;
}
.tile.active .tile-glow { opacity: 1; }

/* Scan line */
.scanline {
  position: absolute; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--violet-500) 20%, var(--violet-500) 80%, transparent);
  box-shadow: 0 0 16px rgba(109, 91, 245, 0.8);
  border-radius: 2px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s;
}
.scope.scanning .scanline { opacity: 1; }

/* Fingerprint output */
.fp {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--violet-600);
  background: var(--card);
  border: 1px solid var(--violet-100);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  transition: opacity .4s, transform .4s, color .4s, background .4s, border-color .4s;
}
.fp.scanned { opacity: 1; transform: translateX(-50%) translateY(0); }
.fp.dupe {
  color: #117A5C;
  border-color: rgba(45,212,165,0.5);
  background: var(--mint-soft);
}

/* match connector svg */
.scope svg.connect { position: absolute; inset: 0; pointer-events: none; }
.scope svg.connect path {
  opacity: 0;
  transition: opacity .5s;
  filter: drop-shadow(0 0 2px rgba(109,91,245,0.6));
}
.scope.matched svg.connect path { opacity: 1; }

/* match badge */
.match-badge {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  background: var(--mint-soft);
  color: #117A5C;
  font-weight: 700; font-size: 11px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(45, 212, 165, 0.4);
  box-shadow: var(--shadow-sm);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity .5s, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.scope.matched .match-badge { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.match-badge .tick {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint); color: white;
  display: grid; place-items: center; font-size: 9px;
}

/* ---------- Comparison Section ---------- */
.compare { padding: 100px 0; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.18em;
  color: var(--violet-500); text-transform: uppercase; font-weight: 600;
}
.section-title {
  font-size: clamp(34px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 800;
  margin: 14px 0 14px; max-width: 760px;
}
.section-sub {
  color: var(--muted); font-size: 18px; max-width: 620px; line-height: 1.55;
}

.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 56px;
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.compare-card.bad { background: linear-gradient(180deg, var(--card) 0%, color-mix(in oklab, var(--card) 92%, #FF6B6B) 100%); }
.compare-card.good {
  background: linear-gradient(180deg, var(--card) 0%, var(--violet-50) 100%);
  border-color: var(--violet-200);
  box-shadow: 0 30px 60px rgba(109, 91, 245, 0.12);
}
.compare-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.compare-tag.bad { background: #FFE9E9; color: #B83A3A; }
.compare-tag.good { background: var(--violet-50); color: var(--violet-600); }
.compare-h { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 8px; }
.compare-d { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 22px; }

/* file rows */
.file-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: all .6s;
}
.compare-card.good .file-row.lit {
  border-color: rgba(45, 212, 165, 0.5);
  background: linear-gradient(90deg, #F7FFFC 0%, white 100%);
}
.file-row .thumb {
  width: 56px; height: 36px;
  border-radius: 6px;
  background: var(--grad);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.file-row .thumb::after {
  content: ""; width: 0; height: 0;
  border-left: 8px solid white; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.file-row .info { flex: 1; min-width: 0; }
.file-row .name {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--ink); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-row .meta { color: var(--muted); font-size: 11px; margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.file-row .verdict {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
}
.verdict.different { background: #FFE9E9; color: #B83A3A; }
.verdict.match { background: var(--mint-soft); color: #117A5C; }

.compare-foot {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
}
.compare-foot.bad { background: color-mix(in oklab, var(--card) 80%, #FF6B6B); color: #B83A3A; }
.compare-foot.good { background: var(--mint-soft); color: #0D6147; font-weight: 600; }

/* ---------- How it works ---------- */
.how { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, #F0EAFE 60%, var(--bg) 100%); }
.how-inner {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 60px; align-items: start;
  margin-top: 56px;
}
.steps { display: flex; flex-direction: column; gap: 8px; }
.step {
  display: flex; gap: 18px; padding: 22px;
  border-radius: 18px; cursor: pointer;
  transition: all .3s ease;
  border: 1px solid transparent;
  position: relative;
}
.step:hover { background: color-mix(in oklab, var(--card) 50%, transparent); }
.step.active {
  background: var(--card); border-color: var(--violet-100);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--violet-50); color: var(--violet-600);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
  transition: all .3s;
}
.step.active .step-num { background: var(--grad); color: white; box-shadow: var(--shadow-violet); }
.step-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.step-body { color: var(--muted); font-size: 14px; line-height: 1.55; }

.stage {
  position: sticky; top: 100px;
  aspect-ratio: 4 / 3.2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stage-content {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 32px;
}
.stage-fade { opacity: 0; transition: opacity .5s ease; }
.stage-fade.show { opacity: 1; }

/* ---------- App preview ---------- */
.preview-section { padding: 100px 0; }
.preview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.phone {
  position: relative;
  width: 320px;
  margin: 0 auto;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #2A2552, #0F0A2E);
  box-shadow: var(--shadow-lg), 0 60px 100px rgba(109, 91, 245, 0.25);
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}
.phone img {
  width: 100%; border-radius: 30px; display: block;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-18px) rotate(-1.5deg); }
}
.phone-halo {
  position: absolute; inset: -60px;
  background: radial-gradient(circle, rgba(109, 91, 245, 0.25), transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

/* feature list */
.feat-list { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.feat {
  display: flex; gap: 18px; align-items: flex-start;
}
.feat-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--violet-50); color: var(--violet-600);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace; font-weight: 700;
}
.feat-h { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.feat-d { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Stats / CTA ---------- */
.cta {
  padding: 100px 0 120px;
}
.cta-card {
  background: var(--grad);
  border-radius: 32px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: white;
}
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px);
}
.cta-card::before { width: 400px; height: 400px; background: rgba(255,255,255,0.25); top: -200px; left: -100px; }
.cta-card::after { width: 300px; height: 300px; background: rgba(45, 212, 165, 0.25); bottom: -150px; right: -50px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-h {
  font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05;
  letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px;
}
.cta-s { font-size: 18px; opacity: 0.85; max-width: 540px; margin: 0 auto 36px; line-height: 1.5; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: white; color: var(--violet-700); }
.cta .btn-primary:hover { box-shadow: 0 18px 40px rgba(0,0,0,0.2); }
.cta .btn-ghost { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); color: white; }

/* counter strip */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-n {
  font-size: 40px; font-weight: 800; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-l { font-size: 13px; opacity: 0.8; margin-top: 4px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }

/* ---------- Legal / prose pages ---------- */
.legal { padding: 64px 0 96px; }
.legal-wrap { max-width: 760px; }
.legal h1 {
  font-size: clamp(34px, 4vw, 48px); line-height: 1.1;
  letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 8px;
}
.legal .updated {
  color: var(--muted); font-size: 13px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.legal p { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.legal a { color: var(--violet-600); text-decoration: none; font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal code {
  font-family: 'JetBrains Mono', monospace; font-size: 0.9em;
  background: var(--violet-50); color: var(--violet-700);
  padding: 2px 6px; border-radius: 6px;
}
.legal .lead { font-size: 18px; color: var(--ink-2); }
.legal ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); }
.legal li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.legal hr {
  border: 0; height: 1px; background: var(--line);
  margin: 40px 0;
}
.legal table {
  width: 100%; border-collapse: collapse; margin: 8px 0 16px;
  font-size: 15px;
}
.legal th, .legal td {
  text-align: left; padding: 14px 16px; vertical-align: top;
  border-bottom: 1px solid var(--line); line-height: 1.55;
}
.legal th {
  font-weight: 700; color: var(--ink); background: var(--violet-50);
  font-size: 13px; letter-spacing: 0.02em;
}
.legal td { color: var(--ink-2); }
.legal td:first-child { font-weight: 600; color: var(--ink); width: 38%; }
.legal td code { font-weight: 500; }
@media (max-width: 600px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 4px 0; }
  .legal td:first-child { width: auto; padding-top: 16px; }
  .legal tr { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
}
.legal .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--violet-600);
  text-decoration: none;
}
.legal .back:hover { color: var(--violet-700); }
.legal .back svg { transition: transform .2s ease; }
.legal .back:hover svg { transform: translateX(-3px); }

/* ---------- Footer ---------- */
.foot { padding: 40px 0 60px; color: var(--muted); font-size: 13px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; }
.foot-links { display: flex; gap: 28px; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: var(--violet-500); }

/* ---------- Stage keyframes (How it works) ---------- */
@keyframes samplePulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(1.4); opacity: 0.5; } }
@keyframes frameDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hashFlip { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes dialIn { from { stroke-dasharray: 0 200; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hero-grid, .compare-grid, .how-inner, .preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage { position: relative; top: 0; }
  .nav-links a:not(.btn) { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cta-card { padding: 48px 24px; }
  .foot-inner { flex-direction: column; gap: 16px; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
