:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --text: #1c1f23;
  --muted: #5b6370;
  --line: #e4e6ea;
  --accent: #1f6feb;
  --accent-ink: #ffffff;
  --ok: #1a7f37;
  --bad: #cf222e;
  --risky: #9a6700;
  --radius: 12px;
  --max: 1040px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #161a20;
    --text: #e6e9ee;
    --muted: #9aa3af;
    --line: #262c35;
    --accent: #4c8dff;
    --accent-ink: #0b1220;
    --ok: #3fb950;
    --bad: #ff7b72;
    --risky: #d29922;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header / nav */
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { display: block; }
nav.main { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); }

/* hero */
.hero { padding-top: 64px; padding-bottom: 40px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--risky); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; margin-bottom: 18px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 18em; }
.lede { font-size: 19px; color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* sections */
section { padding: 44px 0; border-top: 1px solid var(--line); }
h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 44em; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }

/* results table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: 0; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: color-mix(in srgb, var(--line) 55%, transparent); padding: 1px 6px; border-radius: 6px; }
.t-ok { color: var(--ok); font-weight: 600; }
.t-bad { color: var(--bad); font-weight: 600; }
.t-risky { color: var(--risky); font-weight: 600; }
.pill { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }

/* pricing */
.price { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.price .card.main { border-color: var(--accent); }
.amount { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; }
.amount small { font-size: 16px; font-weight: 500; color: var(--muted); }
ul.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
ul.ticks li { padding-left: 24px; position: relative; margin: 6px 0; font-size: 15px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.example { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* legal pages */
.legal { padding: 44px 0 56px; max-width: 760px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: var(--text); }
.legal .meta { color: var(--muted); margin-top: -6px; }

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