:root {
  --paper: #f6f1e7;
  --paper-2: #efe7d7;
  --ink: #23211d;
  --ink-2: #5a554b;
  --line: #d9cfbb;
  --contour: #c9b994;
  --amber: #8d540a;
  --amber-ink: #fff8ec;
  --ok: #2f6b3a;
  --wip: #8a5a00;
  --no: #8b2f25;
  --code: #ebe2cf;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16140f;
    --paper-2: #1d1a14;
    --ink: #ece5d6;
    --ink-2: #b1a893;
    --line: #3a342a;
    --contour: #3b3326;
    --amber: #e09a3e;
    --amber-ink: #1a1206;
    --ok: #7fc28a;
    --wip: #e3b45a;
    --no: #ec8b7f;
    --code: #24201a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .9em; }
code { background: var(--code); padding: .1em .35em; border-radius: 4px; }
pre { background: var(--code); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; font-size: .85rem; line-height: 1.5; }
pre code { background: none; padding: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 26px; height: 26px; }
.drop { fill: var(--ink); }
.shine { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; }
.nav-wide { display: flex; gap: 20px; margin-left: auto; }
nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--ink); text-decoration: underline; }
.nav-narrow { display: none; }
.nav-narrow summary { cursor: pointer; list-style: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .92rem; font-weight: 600; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow summary::after { content: " ▾"; }
.nav-narrow[open] summary::after { content: " ▴"; }
.nav-narrow nav { display: grid; gap: 2px; padding: 8px 0 12px; }
.nav-narrow nav a { padding: 8px 4px; font-size: 1rem; }
@media (max-width: 820px) {
  .nav-wide { display: none; }
  .top-cta { margin-left: auto; }
  .nav-narrow { display: block; }
  .nav-narrow[open] { flex-basis: 100%; order: 3; }
  .nav-narrow[open] summary { display: inline-block; }
}
@media (max-width: 420px) { .top .top-cta { display: none; } .nav-narrow { margin-left: auto; } .nav-narrow[open] { margin-left: 0; } }

/* Buttons */
.btn { display: inline-block; background: var(--amber); color: var(--amber-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 8px; border: 2px solid var(--amber); }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn-small { padding: 7px 14px; font-size: .92rem; }

/* Hero, with survey-map contour lines */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400' fill='none' stroke='%23c9b994' stroke-width='1.2'%3E%3Cpath d='M420 200c0-60 60-90 110-80s70 70 40 120-110 60-140 20-10-60-10-60z'/%3E%3Cpath d='M390 200c0-90 90-130 160-115s100 100 55 170-160 90-200 30-15-85-15-85z'/%3E%3Cpath d='M360 205c0-120 120-170 210-150s120 130 70 220-210 120-260 40-20-110-20-110z'/%3E%3Cpath d='M330 210c0-150 150-210 260-185'/%3E%3Cpath d='M300 220c0-180 180-250 300-225'/%3E%3Cpath d='M0 330c80-30 150-10 220 20s140 40 200 10'/%3E%3Cpath d='M0 360c90-30 160-10 230 20s150 40 220 5'/%3E%3Cpath d='M0 390c100-30 170-10 240 20'/%3E%3C/svg%3E") no-repeat right -220px top 30px / 760px auto;
  opacity: .7;
}
.hero .wrap { position: relative; }
@media (prefers-color-scheme: dark) { .hero::before { opacity: .22; } }
@media (max-width: 720px) { .hero { padding: 48px 0 40px; } .hero::before { opacity: .3; } }
@media (max-width: 720px) and (prefers-color-scheme: dark) { .hero::before { opacity: .18; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 16px 16px 16px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.facts dt, .stats dt, .spec dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.facts dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
section { padding: 64px 0; }
@media (max-width: 720px) { section { padding: 44px 0; } }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 68ch; margin-bottom: 28px; }
.head p { color: var(--ink-2); }
.note { color: var(--ink-2); font-size: .92rem; }
.muted { color: var(--ink-2); }

/* Network */
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; color: var(--wip); }
.badge.live { color: var(--ok); }
.badge.stale { color: var(--no); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 20px; }
.stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stats dd { margin: 4px 0 0; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stats small { text-transform: none; letter-spacing: 0; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.blocks td:first-child, .blocks td:last-child { font-family: var(--mono); font-size: .88rem; }
.state td { white-space: normal; }
.ok, .wip, .no { font-weight: 700; }
.ok { color: var(--ok); } .wip { color: var(--wip); } .no { color: var(--no); }
.ok::before { content: "● " / ""; } .wip::before { content: "◐ " / ""; } .no::before { content: "○ " / ""; }
#network .note { margin-top: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.card p { color: var(--ink-2); flex: 1; }
.card .btn { align-self: flex-start; }
.band .card { background: var(--paper); }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--wip); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; margin-right: 4px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two > div { min-width: 0; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

.warn { margin-top: 32px; border-left: 4px solid var(--wip); background: var(--paper-2); padding: 14px 18px; border-radius: 0 8px 8px 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Spec list */
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .spec div, #privacy .spec div { grid-template-columns: 1fr; gap: 2px; } }
.spec dd { margin: 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--contour); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 0 0 24px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--amber); }
.timeline time { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.timeline p { color: var(--ink-2); margin: 0; }
.timeline h4 { margin: 0 0 4px; font-size: 1rem; }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Footer */
.foot { padding: 36px 0 48px; color: var(--ink-2); font-size: .9rem; border-top: 1px solid var(--line); }

/* Privacy */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--amber); }
#privacy .spec { margin-bottom: 0; }
#privacy .spec div { grid-template-columns: 110px 1fr; }
.feature { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); max-width: 80ch; }
.feature .eyebrow { color: var(--wip); margin-bottom: 6px; }
.feature p:last-child { margin-bottom: 0; }
.compare th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); font-weight: 600; }
.compare td { white-space: normal; }
.compare td:last-child { color: var(--ink); }
.compare td:nth-child(2) { color: var(--ink-2); }

/* Review round 2 */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-note { margin: 18px 0 0; color: var(--ink-2); font-size: .95rem; }
.warn-inline { font-size: .92rem; }
.sub { margin-top: 40px; }
.compare th, .state th[scope="row"] { white-space: normal; }
.state th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); font-weight: 600; }
.network { margin-bottom: 28px; }
.net-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 8px; }
.net-head h3 { margin: 0; }
.net-head .status { margin: 0; color: var(--ink-2); }
#net-live { margin-top: 12px; }
.faq { display: grid; gap: 8px; max-width: 80ch; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: var(--paper); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.faq details p { color: var(--ink-2); margin: 0 0 14px; }
.blocks a { font-family: var(--mono); }
@media (max-width: 520px) { #privacy .spec div, .spec div { grid-template-columns: 1fr; gap: 2px; } }
