:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --border: #e3e8ef;
  --text: #0f172a;
  --muted: #526077;
  --primary: #1d4ed8;
  --primary-ink: #ffffff;
  --accent: #0e9f6e;
  --max: 980px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2e;
    --border: #1f2a44;
    --text: #e6ecf5;
    --muted: #9aa8bf;
    --primary: #5b8cff;
    --primary-ink: #0b1220;
    --accent: #34d399;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--primary); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

.hero { padding: 72px 0 48px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 16ch; }
.hero p.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid var(--border); color: var(--text); }
.btn.primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 600; }

section { padding: 40px 0; }
section h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 18px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; }

.fine { color: var(--muted); font-size: 14px; margin-top: 12px; }
.pricing { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card .price { font-size: 28px; font-weight: 800; margin: 4px 0; color: var(--text); }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }

.price-sub { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.tier { display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--primary); }
.tier .tag { align-self: flex-start; background: var(--primary); color: var(--primary-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tier .btn { margin-top: auto; text-align: center; }
ul.checks { list-style: none; padding: 0; margin: 12px 0 18px; color: var(--muted); font-size: 15px; }
ul.checks li { padding-left: 24px; position: relative; margin-bottom: 6px; }
ul.checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.platforms .card h3 { display: flex; align-items: center; gap: 8px; }
.platform-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.platform-grid .main { grid-column: 1 / -1; padding: 28px; }
.platform-grid .main h3 { font-size: 22px; margin-bottom: 8px; }
.platform-grid .main p { font-size: 17px; max-width: 60ch; }
.platform-grid .small { padding: 16px; }
.platform-grid .small h3 { font-size: 16px; }
.platform-grid .small p { font-size: 14px; }
@media (max-width: 560px) { .platform-grid { grid-template-columns: 1fr; } }
.status { white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--surface); font-size: 14px; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td.y { color: var(--accent); font-weight: 700; }
table.compare td.n { color: var(--muted); }
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 10px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0; }
.faq h3 { font-size: 17px; margin: 22px 0 4px; }
.faq p { margin: 0; color: var(--muted); }

article.doc { padding: 48px 0 24px; max-width: 760px; }
article.doc h1 { font-size: clamp(28px, 5vw, 38px); letter-spacing: -0.02em; margin: 0 0 6px; }
article.doc .meta { color: var(--muted); margin: 0 0 28px; }
article.doc h2 { font-size: 20px; margin: 32px 0 8px; }
article.doc li { margin-bottom: 6px; }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 10px; padding: 14px 16px; }

footer.site { border-top: 1px solid var(--border); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
