:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --fg: #f0ede6;
  --muted: #888888;
  --accent: #ff3c00;
  --accent-dim: #cc2f00;
  --border: #222222;

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1100px;
  --pad-x: clamp(1.5rem, 5vw, 4rem);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad-x);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8,8,8,0.9) 0%, transparent 100%);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: var(--fg);
}

/* ─── HERO ─────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem var(--pad-x) 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(255,60,0,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,60,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-ascent {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.hero-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: background 0.15s;
}
.hero-cta-btn:hover { background: var(--accent-dim); }

/* Board art panel */
.hero-board-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.board-silhouette {
  width: 90%;
  max-width: 380px;
  aspect-ratio: 2.4 / 1;
  border: 2px solid var(--border);
  border-radius: 4px;
  position: relative;
  background: var(--surface);
  transform: rotate(-2deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}

.board-art-inner {
  position: absolute;
  inset: 8px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #e94560 100%);
}

.art-texture {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.03) 8px,
    rgba(255,255,255,0.03) 9px
  );
}

/* ─── SHARED SECTION STYLES ───────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
  max-width: 18ch;
}

/* ─── HOW IT WORKS ─────────────────────── */
.how-it-works {
  padding: 7rem var(--pad-x);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── BOARD TYPES ──────────────────────── */
.board-types {
  padding: 7rem var(--pad-x);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.type-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.type-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.type-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── COMMUNITY ────────────────────────── */
.community {
  padding: 7rem var(--pad-x);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.community-inner { max-width: var(--max-w); }

.community-body {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 3rem;
}

.community-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
}

.pillar { display: flex; flex-direction: column; gap: 0.3rem; }

.pillar-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--fg);
}

.pillar-desc {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── CLOSING ──────────────────────────── */
.closing {
  padding: 8rem var(--pad-x);
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(255,60,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner { position: relative; z-index: 1; }

.closing-kicker {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.closing-sub {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ─── FOOTER ───────────────────────────── */
footer {
  padding: 3rem var(--pad-x);
  border-top: 1px solid var(--border);
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
}

.footer-tagline { color: var(--muted); font-size: 0.85rem; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.sep { color: var(--border); }

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    min-height: auto;
    gap: 3rem;
  }

  .hero-board-art { order: -1; }
  .board-silhouette { max-width: 260px; transform: rotate(0deg); }

  .steps-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }

  .community-pillars { border-left: none; border-top: 2px solid var(--accent); padding-left: 0; padding-top: 2rem; }

  .section-title { max-width: none; }
}