:root {
  --bg: #0d1117;
  --surface: #151b23;
  --line: #262f3a;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #5eead4;
  --accent-ink: #062a26;
  --max: 920px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 88px 0 56px; }
.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 20px; max-width: 16ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--line); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Sections */
section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-size: 24px; letter-spacing: -0.015em; margin: 0 0 8px; }
.section-intro { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin-bottom: 12px; }
.tag.live { color: var(--accent); border-color: rgba(94, 234, 212, 0.35); }

.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; margin: 14px 0 6px; }
.stat b { display: block; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }

.offer { background: linear-gradient(180deg, rgba(94,234,212,0.08), transparent); }
.offer ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.offer li { margin: 4px 0; }

/* Legal pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); max-width: none; }
.doc h2 { font-size: 20px; margin-top: 36px; }
.doc p, .doc li { color: #c9d4de; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  .nav { gap: 14px; font-size: 14px; }
  .hero { padding: 56px 0 40px; }
}
