:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --ink: #111316;
  --muted: #5d636b;
  --line: #e6e6e1;
  --green: #17a463;
  --green-ink: #0d7a49;
  --green-soft: #e4f6ec;
  --radius: 20px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0e;
    --surface: #15171a;
    --ink: #f1f2f3;
    --muted: #9aa0a8;
    --line: #26292e;
    --green: #33db8f;
    --green-ink: #33db8f;
    --green-soft: #12291e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-ink); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(16px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav .links { display: flex; gap: 24px; align-items: center; }
nav .links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav .links a:hover { color: var(--ink); }
@media (max-width: 640px) { nav .links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg) !important; }
.btn-ghost { border-color: var(--line); color: var(--ink) !important; background: var(--surface); }
.btn small { font-weight: 500; opacity: .7; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-weight: 600; font-size: 14px; margin-bottom: 24px; }
h1 { font-size: clamp(44px, 8vw, 84px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 800; }
h1 .accent { color: var(--green); }
.lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Demo card: messy speech → clean text */
.demo { margin: 64px auto 0; max-width: 820px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; text-align: left; }
.demo .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.demo .label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.demo .said { color: var(--muted); font-style: italic; }
.demo .arrow { display: grid; place-items: center; color: var(--green); font-size: 28px; }
.demo ul { margin: 6px 0 0; padding-left: 20px; }
@media (max-width: 720px) { .demo { grid-template-columns: 1fr; } .demo .arrow { transform: rotate(90deg); } }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 0 48px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
section.alt .tile { background: var(--bg); }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.tile h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { counter-reset: step; }
.steps .tile h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; margin-right: 10px; vertical-align: 2px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 760px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan.featured { border: 2px solid var(--green); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 760px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Footer */
footer { padding: 48px 0 64px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-right: 20px; }
footer a:hover { color: var(--ink); }

/* Legal pages */
.doc { max-width: 720px; padding: 64px 24px 96px; margin: 0 auto; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); }
.doc h2 { font-size: 24px; margin-top: 40px; letter-spacing: -0.01em; }
.doc .updated { color: var(--muted); margin-bottom: 32px; }
.doc li { margin: 6px 0; }
