:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d1b19;
  --muted: #5f5a54;
  --line: #e7e2da;
  --accent: #b4462f;
  --accent-ink: #ffffff;
  --accent-soft: #f6e7e2;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --surface: #1f1c1a;
    --text: #f2eee9;
    --muted: #b3aca4;
    --line: #34302c;
    --accent: #e0745b;
    --accent-ink: #1a0f0c;
    --accent-soft: #3a2621;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 22px; align-items: center; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.main a:hover { color: var(--text); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
nav.main .btn { color: var(--accent-ink); padding: 8px 16px; }

/* Hero */
.hero { padding-top: 84px; padding-bottom: 64px; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 13px; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; margin: 18px 0 18px; letter-spacing: -0.02em; max-width: 16ch; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.demo {
  margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; font-size: 15px; box-shadow: 0 1px 0 var(--line);
}
.demo .ask { font-weight: 600; margin-bottom: 14px; }
.demo .ask span { color: var(--muted); font-weight: 400; }
.demo table { width: 100%; border-collapse: collapse; }
.demo th, .demo td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); }
.demo th { color: var(--muted); font-weight: 500; font-size: 13px; }
.demo .old { color: var(--muted); text-decoration: line-through; }
.demo .new { font-weight: 600; }
.demo .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); flex-wrap: wrap; gap: 10px; }
.demo .scroll { overflow-x: auto; }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; letter-spacing: -0.01em; }
section .sub { color: var(--muted); margin: 0 0 36px; max-width: 62ch; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }

/* Pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan h3 { margin: 0; font-size: 18px; }
.price { font-size: 38px; font-weight: 700; margin: 10px 0 2px; letter-spacing: -0.02em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan ul { padding-left: 18px; margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.plan li { margin: 4px 0; }
.note { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Legal pages */
.legal { padding-top: 56px; padding-bottom: 72px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 6px; letter-spacing: -0.01em; }
.legal .meta { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal .box { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 720px) {
  nav.main a:not(.btn) { display: none; }
  .hero { padding-top: 56px; padding-bottom: 44px; }
}
