:root {
  --indigo: #4f46e5;
  --coral: #ff7a59;
  --coral-deep: #ff6b45;
  --bg: #0e0e1a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef0ff;
  --text-dim: #a9acd1;
  --text-faint: #7c7fa6;
  --max: 720px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.86em; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; }
kbd { font-family: var(--font); font-weight: 500; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 22px; font-size: 15px; color: var(--text-dim); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--coral); color: #2a1208; }
.btn-primary:hover { background: var(--coral-deep); }
.btn-primary[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* Landing */
.page { padding: 72px 0 96px; display: grid; gap: 72px; }
@media (max-width: 600px) { .page { padding-top: 48px; gap: 56px; } }
.hero { display: grid; gap: 20px; justify-items: start; }
.hero-logo { width: 72px; height: 72px; border-radius: 17px; }
.hero h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 600; max-width: 18ch; }
.lede { font-size: 19px; color: var(--text-dim); max-width: 52ch; }
.actions { margin-top: 8px; }
.meta { font-size: 14px; color: var(--text-faint); }
.meta a { color: var(--text-dim); }

.facts dl { margin: 0; display: grid; gap: 22px; border-top: 1px solid var(--line); padding-top: 32px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
@media (max-width: 600px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }
.facts dt { font-weight: 600; font-size: 15px; }
.facts dd { margin: 0; color: var(--text-dim); font-size: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--text-faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Long-form pages (terms) */
.prose { max-width: 72ch; padding: 56px 0 72px; }
.prose h1 { font-size: clamp(30px, 4.5vw, 40px); margin-bottom: 8px; }
.prose .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 36px; }
.prose h2 { font-size: 21px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text-dim); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); }

.center { text-align: center; padding: 120px 0; display: grid; gap: 16px; justify-items: center; }
.center h1 { font-size: 56px; }
.center .sub { color: var(--text-dim); }
