:root {
  --bg-deep: #09090b;
  --bg: #0a0a0c;
  --bg-elevated: #131316;
  --border: #3f3f46;
  --border-subtle: rgba(63, 63, 70, 0.45);
  --text: #d4d4d8;
  --text-muted: #71717a;
  --text-faint: #52525b;
  --accent: #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.12);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 680px;
  --pad: clamp(24px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-elevated) 48%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 10%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.accent-bar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  z-index: 10;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 12vh, 120px) var(--pad) 80px;
}

/* ── Header ── */
.site-header {
  margin-bottom: clamp(48px, 8vh, 72px);
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.55;
  max-width: 36ch;
}

.handle {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

.handle:hover { color: #60a5fa; }

/* ── Body copy ── */
.section {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.prose {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
}

.prose p + p { margin-top: 14px; }

/* ── Links / social ── */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.link-btn:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.link-btn.primary {
  color: var(--accent);
  border-color: rgba(59, 130, 246, 0.35);
  background: var(--accent-dim);
}

.link-btn.primary:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.18);
}

.link-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

/* ── Hyperliquid referral ── */
.hl-section { margin-top: 40px; }

.hl-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  margin-top: 8px;
  padding: 16px 18px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hl-card:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hl-card .hl-btn {
  pointer-events: none;
}

.hl-logo {
  width: 28px;
  height: 28px;
  opacity: 0.9;
  filter: grayscale(0.15);
}

.hl-note {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  line-height: 1.45;
  max-width: 28ch;
}

/* ── Future slot (boards etc.) ── */
.future-slot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.future-slot .prose {
  font-size: 13px;
  color: var(--text-faint);
}

/* ── Footer ── */
.site-footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.disclaimer {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  line-height: 1.6;
  max-width: 52ch;
}

.disclaimer strong {
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .accent-bar { width: 2px; }
  .links { flex-direction: column; }
  .link-btn { justify-content: center; }
}