/* Shared styles for the generated pages (docs, help, compare, features, pricing, legal). Tokens match index.html. */
:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --text: #111113;
  --muted: #5d5d66;
  --line: #e6e6e1;
  --accent: #2f6fed;
  --accent-soft: #e7eefd;
  --key: #b45309;
  --key-bg: #fef3c7;
  --ink: #0b0b0c;
  --ink-text: #ffffff;
  --good: #15803d;
  --bad: #b42318;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 40px -12px rgb(0 0 0 / 0.18);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #151517;
    --surface-2: #1d1d20;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --line: #26262a;
    --accent: #5b8cff;
    --accent-soft: #17223d;
    --key: #fbbf24;
    --key-bg: rgba(251, 191, 36, 0.14);
    --ink: #f4f4f5;
    --ink-text: #0b0b0c;
    --good: #4ade80;
    --bad: #f87171;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 40px -12px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; }
h1 em, h2 em { font-style: normal; background: linear-gradient(90deg, #2f6fed, #8b5cf6, #ec4899, #8b5cf6, #2f6fed) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
p { margin: 0; }
main > section, header > nav, footer > div, .wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.cta, .ghost { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.08s, opacity 0.15s, background 0.15s; }
.cta { background: var(--ink); color: var(--ink-text); }
.cta:hover { opacity: 0.86; }
.ghost { border: 1px solid var(--line); background: var(--surface); }
.ghost:hover { background: var(--surface-2); }
.cta:active, .ghost:active { transform: scale(0.97); }

/* Header */
body > header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
header > nav { display: flex; align-items: center; gap: 28px; height: 64px; }
header > nav > a:first-child { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.mark::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
header ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
header ul a { text-decoration: none; }
header ul a:hover, header ul a[aria-current] { color: var(--text); }
header nav > div { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
header nav > div > a:first-child { text-decoration: none; color: var(--muted); }
header .cta { height: 38px; padding: 0 16px; font-size: 14px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Page head */
.head { padding: 56px 0 40px; }
.head h1 { font-size: clamp(38px, 5.4vw, 62px); max-width: 860px; }
.head > p { max-width: 680px; margin-top: 18px; font-size: 19px; color: var(--muted); }
.head menu { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; padding: 0; }
.eyebrow { display: inline-flex; margin-bottom: 18px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 80px; padding: 0; list-style: none; }
.cards li { display: flex; }
.cards a { flex: 1; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.cards a:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-2px); }
.cards h3 { font-size: 18px; margin-bottom: 6px; }
.cards p { color: var(--muted); font-size: 15px; }
.group-title { margin: 8px 0 16px; font-size: 13px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Docs / help layout */
.doc { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 48px; padding: 48px 0 96px; }
.doc > nav { position: sticky; top: 88px; align-self: start; font-size: 15px; }
.doc > nav.long { position: static; }
.doc > nav h2 { margin: 22px 0 6px; padding: 0 12px; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.doc > nav h2:first-child { margin-top: 0; }
.doc > nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.doc > nav a { display: block; padding: 6px 12px; border-radius: 8px; line-height: 1.35; text-decoration: none; color: var(--muted); }
.doc > nav a:hover { color: var(--text); background: var(--surface-2); }
.doc > nav a[aria-current] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

/* Prose */
.prose { max-width: 760px; }
.prose > h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 16px; }
.prose > .lead { font-size: 19px; color: var(--muted); margin-bottom: 8px; }
.prose h2 { margin: 48px 0 14px; font-size: 27px; }
.prose h3 { margin: 32px 0 10px; font-size: 20px; }
.prose h2 code, .prose h3 code { font-size: 0.9em; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre, .prose .note { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose code { font: 0.86em var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; color: inherit; }
pre { margin: 0; padding: 20px 22px; border-radius: 16px; background: #0f0f12; color: #d4d4d8; font: 13.5px/1.7 var(--mono); overflow-x: auto; border: 1px solid #222228; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: 13px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.prose td:first-child { white-space: nowrap; }
.note { padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); font-size: 15.5px; }
.note.warn { background: color-mix(in srgb, #f59e0b 16%, var(--surface)); }
.next { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.next a { text-decoration: none; color: var(--accent); font-weight: 600; }

/* Feature landing */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.points li { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.points h3 { font-size: 19px; margin-bottom: 8px; }
.points p { color: var(--muted); font-size: 15.5px; }
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band > h2 { font-size: clamp(30px, 4vw, 44px); max-width: 760px; }
.band > p { max-width: 680px; margin-top: 14px; color: var(--muted); font-size: 18px; }
.steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: step; padding: 24px; border-radius: 20px; background: var(--surface-2); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 14px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 36px; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6fed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--muted); max-width: 680px; }
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }

/* Comparison tables */
.scroll { overflow-x: auto; }
.vs-card { margin-top: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs th, .vs td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.vs tbody tr:last-child > * { border-bottom: 0; }
.vs thead th { padding-top: 16px; padding-bottom: 14px; font-size: 12px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; vertical-align: middle; }
.vs tbody th { font-weight: 500; }
.vs tbody th a { text-decoration: none; font-weight: 600; }
.vs tbody th a:hover { color: var(--accent); }
.vs tbody tr:not(.grp):hover > * { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.vs small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.vs .grp th { padding-top: 22px; padding-bottom: 8px; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: none; }
.vs .mark { display: inline-grid; width: 18px; height: 18px; border-radius: 6px; margin-right: 8px; vertical-align: middle; }
.vs .mark::after { width: 7px; height: 7px; }
.prod { display: inline-flex; align-items: center; font-weight: 650; }
.prod .mark { vertical-align: 0; }

/* Two-column page table: Pong highlighted */
.vs-2 th:first-child { width: 34%; }
.vs-2 td, .vs-2 thead th:not(:first-child) { width: 33%; }
.vs-2 .us { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.vs-2 thead th.us { color: var(--text); border-radius: 0; }
.vs-2 thead th { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text); }
.vs-2 thead th:first-child { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Overview table: centred icon columns, sticky product column */
.vs-n th, .vs-n td { text-align: center; }
.vs-n th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--surface); }
.vs-n thead th:first-child { border-top-left-radius: 20px; }
.vs-n tr.us > * { background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.vs-n .val { justify-content: center; }
.vs-n .lbl { display: none; }
.vs-n small { display: none; }
.vs-n tbody th { white-space: nowrap; }
.vs-n td { padding-left: 10px; padding-right: 10px; }

/* Value: icon in a tinted disc + optional short label */
.val { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.ic { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; }
.ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-y { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.ic-n { background: color-mix(in srgb, var(--bad) 11%, transparent); color: var(--bad); }
.ic-p { background: color-mix(in srgb, #d97706 16%, transparent); color: #b45309; }
.ic-l { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.ic-u { border: 1.5px dashed color-mix(in srgb, var(--muted) 60%, transparent); color: var(--muted); }
.ic-u svg { stroke-width: 2.2; }
.lbl { color: var(--muted); font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .ic-p { color: #fbbf24; } }

.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend .ic { width: 22px; height: 22px; }
.legend .ic svg { width: 12px; height: 12px; }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.stage { display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.stage > header { position: static; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.stage h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.stage h2::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 18%, transparent); }
.stage > header p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.stage > header b { color: var(--text); font-weight: 600; }
.stage ul { display: grid; gap: 10px; margin: 0; padding: 16px; list-style: none; }
.stage li { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); }
.stage h3 { font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
.stage li p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.stage-now { --dot: #22c55e; }
.stage-next { --dot: var(--accent); }
.stage-later { --dot: #a855f7; }
.stage-now li { background: color-mix(in srgb, #22c55e 7%, var(--surface-2)); }
.shipped { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.shipped li { position: relative; padding-left: 30px; }
.shipped li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--good) 15%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.shipped h3 { font-size: 16px; margin-bottom: 2px; }
.shipped p { color: var(--muted); font-size: 14.5px; }
.head p a { color: var(--accent); }

/* Pricing */
.pricing { padding-bottom: 72px; }
.period-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 36px; }
.period-row > p { color: var(--muted); font-size: 15px; }
.period { display: inline-flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.period label { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.period input { position: absolute; opacity: 0; pointer-events: none; }
.period label:has(:checked) { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.period label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.period b { color: var(--good); font-weight: 650; }
.per-y { display: none; }
.pricing:has([value="year"]:checked) .per-m { display: none; }
.pricing:has([value="year"]:checked) .per-y { display: inline; }
.pi { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Two cards whose rows line up: header, pitch, billing line, estimate, button, small print, features. */
.plans { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin: 0; padding: 0; list-style: none; }
.plans > li { position: relative; display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 16px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plans > li.pro { border: 2px solid var(--accent); padding: 31px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 60px -24px color-mix(in srgb, var(--accent) 45%, transparent); }
.plans header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.plans h2 { font-size: 26px; }
.plans .ribbon { position: absolute; top: -14px; left: 30px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 650; }
.plans .ribbon .pi { width: 15px; height: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.price b { font-size: 48px; line-height: 1; font-weight: 650; letter-spacing: -0.03em; color: var(--text); }
.plans .pitch { color: var(--muted); font-size: 15.5px; }
.plans .billed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; }
.plans .billed mark { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); font-weight: 650; font-size: 13.5px; }
.estimate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 58px; padding: 10px 14px; border-radius: 16px; background: var(--surface-2); }
.free .estimate { visibility: hidden; }
.estimate label { color: var(--muted); font-size: 14.5px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--text); font: 600 18px var(--sans); cursor: pointer; }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 44px; border: 0; background: none; color: var(--text); font: 650 16px var(--sans); text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.estimate output { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; line-height: 1.2; }
.estimate output b { font-size: 18px; }
.estimate output small { color: var(--muted); font-size: 12.5px; }
.plans .wide { justify-content: center; width: 100%; height: 50px; font-size: 16px; }
.plans .accent { background: var(--accent); color: #fff; }
.plans .small { margin-top: -6px; color: var(--muted); font-size: 13.5px; text-align: center; }
.plans .incl { padding-top: 20px; border-top: 1px solid var(--line); }
.plans .incl h3 { margin-bottom: 14px; color: var(--muted); font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; }
.plans .ticks { font-size: 15.5px; }
.groups { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.groups li { display: flex; gap: 12px; align-items: flex-start; }
.groups .pi { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.groups b { display: block; font-size: 15.5px; }
.groups span { color: var(--muted); font-size: 14.5px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); color: var(--muted); font-size: 14px; line-height: 1.35; }
.trust .pi { color: var(--text); }
.pricing > .fine { margin-top: 18px; }
.rivals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 16px; padding: 0; list-style: none; }
.rivals li { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rivals li.us { border: 2px solid var(--accent); padding: 19px; }
.rivals h3 { font-size: 17px; color: var(--text); }
.rivals h3 a { text-decoration: none; }
.rivals .rp { color: var(--text); font-weight: 600; font-size: 15px; }
.vs-plans tbody th a { font-weight: 500; }
@media (max-width: 900px) {
  .trust, .rivals { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; row-gap: 32px; }
  .plans > li { padding: 24px; }
  .plans > li.pro { padding: 23px; }
  .free .estimate, .free .small { display: none; }
  .price b { font-size: 40px; }
}
@media (max-width: 520px) {
  .trust, .rivals { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal { padding: 48px 0 96px; }

/* Final call to action */
.final { margin: 24px auto 72px; padding: 72px 32px; border-radius: 28px; background: var(--ink); color: var(--ink-text); text-align: center; }
.final h2 { font-size: clamp(32px, 4.6vw, 54px); }
.final p { margin: 16px auto 0; max-width: 520px; opacity: 0.72; font-size: 18px; }
.final .cta { margin-top: 28px; background: var(--ink-text); color: var(--ink); }

/* Footer */
body > footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer > div { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 24px; padding: 40px 0; }
footer h2 { margin-bottom: 10px; font-size: 13px; color: var(--text); letter-spacing: 0; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  header ul { display: none; }
  .cards, .points, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .doc > nav { position: static; padding: 12px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
  .split, .faq { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .shipped { grid-template-columns: 1fr 1fr; }
  footer > div { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  header nav > div > a:first-child { display: none; }
  .cards, .points, .steps { grid-template-columns: 1fr; }
  .shipped { grid-template-columns: 1fr; }
  .final { padding: 56px 20px; border-radius: 22px; }
  pre { padding: 16px; font-size: 12.5px; }
  .vs { font-size: 14px; }
  .vs th, .vs td { padding: 10px 10px; }
  .vs-2 .lbl { display: none; }
  .vs-card { margin-inline: -4px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Widget weight cells */
.vs .kb { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs .req { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.vs .na { color: var(--muted); }

/* The workspace's public key: placeholder in code and mentions in text (lib.mjs key()) */
.key { padding: 0 3px; border-radius: 4px; color: var(--key); background: var(--key-bg); font-weight: 600; }
code .key { padding: 0; background: none; }
pre .key { padding: 1px 3px; color: #fbbf24; background: rgba(251, 191, 36, 0.16); }

/* Free tools (/tools/, site/src/tools.mjs). */
.tool-demo { margin-bottom: 72px; }
.tool-demo .fine { margin: 0 0 12px; }
.tool-demo iframe { display: block; }
.tool-code { margin: 28px 0 16px; }
.band button.cta, .head button.cta { border: 0; font-family: inherit; cursor: pointer; }
.tool-join { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.tool-join input { height: 44px; width: 190px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 15px var(--mono); }
.tool-join input[name='code'] { text-transform: uppercase; letter-spacing: 0.04em; }
.tool-join input[name='code']::placeholder { letter-spacing: 0.04em; }
.tool-join button { font-family: inherit; color: var(--text); cursor: pointer; }
/* What is my IP: the address large over a dotted map that fades out towards the top. */
.ip-hero { position: relative; padding: 56px 0 0; text-align: center; }
.ip-hero .crumbs { justify-content: center; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2'); }
.ip-hero h1 { font: 700 clamp(38px, 8.6vw, 100px)/1.05 'JetBrains Mono', var(--mono); letter-spacing: -0.03em; overflow-wrap: anywhere; color: var(--text); }
.ip-hero h1[data-long] { font-size: clamp(22px, 4.4vw, 52px); }
.ip-hero > p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.ip-hero menu { list-style: none; display: flex; justify-content: center; margin: 22px 0 0; padding: 0; min-height: 44px; }
.ip-hero button.cta { border: 0; font-family: inherit; cursor: pointer; }
.ip-hero [hidden] { display: none; }
.ip-hero figure { position: relative; margin: -16px 0 0; overflow: hidden; }
.ip-hero canvas { display: block; width: 100%; aspect-ratio: 2 / 1; -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 98%); mask-image: linear-gradient(to top, #000 45%, transparent 98%); }
.ip-hero output { position: absolute; height: 0; display: flex; align-items: center; font-size: 15px; font-weight: 600; white-space: nowrap; }
.ip-hero output[data-left] { transform: translateX(-100%); }
.ip-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 0; min-height: 120px; }
.ip-facts div { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.ip-facts dt { font-size: 13px; color: var(--muted); }
.ip-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ip-facts + .fine { margin-bottom: 72px; }
@media (max-width: 760px) { .ip-facts { grid-template-columns: 1fr 1fr; } .ip-hero figure { margin-top: 0; } }
/* Is it down: the address field, the verdict, the regions on the map and in the table. */
.tool-check input { flex: 1; max-width: 420px; font-family: inherit; }
.tool-check button.cta { color: var(--ink-text); }
.tool-check button:disabled { opacity: 0.55; cursor: progress; }
.tool-check[aria-busy] input { opacity: 0.7; }
.check-result td { font-variant-numeric: tabular-nums; }
.check-result td:last-child { font-family: 'JetBrains Mono', var(--mono); font-size: 14px; }
.check-verdict { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; animation: check-in 0.28s ease-out both; }
.check-verdict[hidden] { display: none; }
.check-verdict::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.check-verdict[data-state='up'] { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.check-verdict[data-state='down'] { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.check-verdict[data-state='partial'] { background: color-mix(in srgb, var(--key) 18%, transparent); color: var(--key); }
.check-result { margin-bottom: 72px; }
.check-result figure { position: relative; margin: 0 0 24px; overflow: hidden; }
.check-result canvas { display: block; width: 100%; aspect-ratio: 240 / 95; }
.check-result output { position: absolute; padding: 3px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font: 600 11.5px/1.3 'JetBrains Mono', var(--mono); white-space: nowrap; }
.check-result output[data-state='up'] { color: var(--good); }
.check-result output[data-state='down'] { color: var(--bad); }
.check-result output[data-new], .check-result tbody tr { animation: check-in 0.28s ease-out both; }
@keyframes check-in { from { opacity: 0; transform: translateY(5px) scale(0.96); } }
.check-result table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.check-result table[hidden] { display: none; }
.check-result th, .check-result td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.check-result th { font-size: 13px; font-weight: 600; color: var(--muted); }
.check-result td:last-child, .check-result th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.check-result td[data-state='up'] { color: var(--good); font-weight: 600; }
.check-result td[data-state='down'] { color: var(--bad); font-weight: 600; }
@media (max-width: 560px) { .check-result output { display: none; } }
@media (prefers-reduced-motion: reduce) { .check-result output[data-new], .check-result tbody tr { animation: none; } }
