:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --text: #16181a;
  --muted: #5d636b;
  --line: #e2e4e1;
  --accent: #0e7c66;
  --accent-soft: #e3f3ee;
  --warn-bg: #fff6e0;
  --warn-line: #e8c46a;
  --ours: #f3f8ff;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1113;
    --surface: #16191c;
    --text: #e8eaec;
    --muted: #9aa1a9;
    --line: #2a2f34;
    --accent: #3fc8a5;
    --accent-soft: #123a31;
    --warn-bg: #2a2310;
    --warn-line: #7a6421;
    --ours: #161f2b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
}
a { color: var(--accent); text-underline-offset: 2px; }
code, pre { font-family: var(--mono); font-size: 0.9em; }
pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  line-height: 1.5;
}
:not(pre) > code { background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }

header.site, main, footer.site { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 20px; padding-top: 16px; padding-bottom: 16px;
}
.brand { font: 600 18px var(--mono); color: var(--text); text-decoration: none; }
.mark { color: var(--accent); margin-right: 4px; }
nav { display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

main { padding-bottom: 48px; }
h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.02em; margin: 32px 0 12px; }
h2 { font-size: 24px; margin: 48px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 28px 0 8px; }
.lede { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 24px; }
.eyebrow { font: 600 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin: 32px 0 0; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.button {
  display: inline-block; padding: 10px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-weight: 600; text-decoration: none;
}
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .button.primary { color: #06231c; } }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.figure { border-left: 3px solid var(--accent); padding: 4px 12px; }
.figure b { display: block; font: 600 22px var(--mono); }
.figure span { font-size: 14px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }

.banner { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: var(--surface); }
.banner.warn { background: var(--warn-bg); border-color: var(--warn-line); }

/* Benchmark tables: cards on phones, a table from 860px up. */
.table-wrap { width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead { display: none; }
tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
tr.ours { background: var(--ours); }
th[scope="row"] { display: block; text-align: left; font-weight: 600; padding-bottom: 6px; }
td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-top: 1px dashed var(--line); text-align: right; }
td::before { content: attr(data-label); color: var(--muted); text-align: left; font-size: 14px; }
td, .pending { font-variant-numeric: tabular-nums; }
th small, td small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
td small { display: block; }
.pending { color: var(--muted); font-style: italic; }
.badge {
  display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 99px;
  font: 500 12px/20px var(--sans); border: 1px solid var(--line); color: var(--muted); vertical-align: 1px;
}
.badge.us { border-color: var(--accent); color: var(--accent); }

@media (min-width: 860px) {
  thead { display: table-header-group; }
  tr { display: table-row; border: 0; border-radius: 0; padding: 0; margin: 0; background: none; }
  tr.ours { background: var(--ours); }
  th, td { display: table-cell; padding: 10px 10px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
  thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-top: 0; border-bottom: 1px solid var(--line); }
  td::before { content: none; }
  td:nth-child(2), td:nth-child(4), td:nth-child(5), td:nth-child(6), td:nth-child(7) { text-align: right; }
  thead th:nth-child(2), thead th:nth-child(4), thead th:nth-child(5), thead th:nth-child(6), thead th:nth-child(7) { text-align: right; }
  table { table-layout: fixed; }
  thead th:nth-child(1) { width: 22%; }
  thead th:nth-child(2) { width: 11%; }
  thead th:nth-child(3) { width: 23%; }
  td:nth-child(3) { color: var(--muted); font-size: 14px; }
  .pending { white-space: normal; }
  .badge { margin: 2px 0 0 6px; }
}

form.waitlist { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 12px 0; }
form.waitlist input[type="email"] {
  flex: 1 1 260px; min-width: 0; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}
form.waitlist button { font: inherit; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { flex-basis: 100%; }

footer.site { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
ol.steps { padding-left: 20px; }
ol.steps li { margin-bottom: 10px; }
