:root {
  --ink: #0F172A;
  --paper: #FFFFFF;
  --wash: #F8FAFC;
  --line: #E2E8F0;
  --mid: #55637A;
  --gold: #F59E0B;
  --gold-ink: #92400E;
  --green: #047857;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1060px; margin: 0 auto; padding: 20px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font: 700 20px/1 var(--display); text-decoration: none; letter-spacing: -0.02em;
}
.mark { width: 28px; height: 28px; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; font-size: 14px; color: var(--mid); }
.top nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  max-width: 1060px; margin: 0 auto; padding: 48px 24px 72px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  font: 500 13px/1 var(--display); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-ink); background: #FEF3C7; display: inline-block;
  padding: 6px 12px; border-radius: 99px; margin-bottom: 20px;
}
h1 {
  font: 700 clamp(34px, 5vw, 54px)/1.08 var(--display);
  letter-spacing: -0.03em; margin-bottom: 18px;
}
.lede { font-size: 18px; color: var(--mid); max-width: 44ch; }
.status { margin-top: 26px; font-size: 14px; color: var(--mid); }
.nowrap { white-space: nowrap; }

/* the signature: a ranked offer stack */
.demo {
  background: var(--ink); border-radius: 16px; padding: 18px;
  box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.45);
}
.demo-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 2px 6px 12px;
}
.demo-q { font: 500 14px/1.3 var(--display); color: #E2E8F0; }
.demo-n { font-size: 12px; color: #94A3B8; white-space: nowrap; }
.stack { list-style: none; padding: 0; display: grid; gap: 8px; }
.card {
  background: var(--paper); border-radius: 10px; padding: 12px 14px;
  border: 1px solid transparent;
}
.card.pick { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.row1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.flag {
  font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold-ink); background: #FEF3C7; padding: 4px 9px; border-radius: 99px;
  white-space: nowrap;
}
.price {
  font: 700 19px/1.4 var(--display); font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.price .meta { font: 400 13px/1.4 var(--body); color: var(--mid); margin-left: 6px; }
.cash { color: var(--green); font-weight: 600; }
.why { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 2px; }
.demo-note { padding: 10px 6px 0; font-size: 12px; color: #94A3B8; }

/* ---------- how ---------- */
.how { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how, .principles { padding: 64px 24px; }
.how h2, .principles h2 {
  font: 700 clamp(24px, 3vw, 32px)/1.2 var(--display); letter-spacing: -0.02em;
  max-width: 1012px; margin: 0 auto 32px;
}
.steps {
  max-width: 1012px; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  counter-reset: step; list-style: none;
}
.steps li { counter-increment: step; }
.steps h3 { font: 700 18px/1.3 var(--display); margin-bottom: 8px; }
.steps h3::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; margin-right: 10px; border-radius: 8px;
  background: var(--ink); color: var(--gold);
  font: 700 14px/1 var(--display);
}
.steps p { font-size: 15px; color: var(--mid); }

/* ---------- principles ---------- */
.principles > .rules {
  max-width: 1012px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.rules dt {
  font: 700 17px/1.35 var(--display); margin-bottom: 8px;
  padding-top: 14px; border-top: 3px solid var(--gold);
}
.rules dd { margin: 0; font-size: 15px; color: var(--mid); }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  max-width: 1060px; margin: 0 auto; padding: 28px 24px 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--mid);
}
.foot a { color: var(--ink); }
.foot-fine { font-size: 13px; max-width: 46ch; }

/* ---------- privacy page ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 32px 24px 72px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc .updated { color: var(--mid); font-size: 14px; margin: 6px 0 32px; }
.doc h2 { font: 700 22px/1.3 var(--display); letter-spacing: -0.01em; margin: 36px 0 10px; }
.doc p, .doc li { color: #33415C; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .stack .card { animation: settle 0.5s backwards; }
  .stack .card:nth-child(2) { animation-delay: 0.08s; }
  .stack .card:nth-child(3) { animation-delay: 0.16s; }
  .stack .card:nth-child(4) { animation-delay: 0.24s; }
  @keyframes settle {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 40px; }
  .steps, .principles > .rules { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
