:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --fg: #17181a;
  --muted: #5d6066;
  --line: #e5e2db;
  --accent: #0f766e;
  --accent-soft: #e6f3f1;
  --danger: #b4231b;
  --radius: 12px;
  --max: 1040px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111314; --surface: #181b1d; --fg: #ecebe7; --muted: #a2a5aa;
    --line: #2a2e31; --accent: #3cc4b4; --accent-soft: #17302d; --danger: #f07167;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111314; --surface: #181b1d; --fg: #ecebe7; --muted: #a2a5aa;
  --line: #2a2e31; --accent: #3cc4b4; --accent-soft: #17302d; --danger: #f07167;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 700; letter-spacing: -.01em; color: var(--fg); text-decoration: none; }
.brand span { color: var(--muted); font-weight: 500; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--fg); }
@media (max-width: 720px) { nav a:not(.cta) { display: none; } }
.btn, nav a.cta {
  display: inline-block; background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; border: 0;
}
:root[data-theme="dark"] .btn, :root[data-theme="dark"] nav a.cta { color: #08201d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn, :root:not([data-theme="light"]) nav a.cta { color: #08201d; } }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.hero { padding: 88px 0 72px; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.025em; margin: 14px 0 20px; max-width: 18ch; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lede { font-size: 20px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .price { font-weight: 700; font-size: 20px; margin: 12px 0 4px; }
.card ul { padding-left: 18px; margin: 12px 0 0; }
.card li { margin: 4px 0; }
.stat { font-size: 34px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat.bad { color: var(--danger); }
.tag { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin: 0 6px 6px 0; font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding: 16px 0 16px 52px; position: relative; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
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: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; }
.table-wrap { overflow-x: auto; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.5; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 48px; }
.callout { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 24px 0; }
@media print {
  header.site, footer, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  section { padding: 12px 0; border: 0; }
}
