/* Primal Court — marketing + legal site
   Dark brand theme: #0B0B12 surface, Volt Green #BFFF00 accent. */

:root {
  --bg: #0B0B12;
  --surface: #15151F;
  --surface-2: #1C1C28;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F4F4F9;
  --text-muted: #9A9AB0;
  --accent: #BFFF00;
  --accent-dark: #99CC00;
  --radius: 16px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -0.3px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0B0B12; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ── */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 480px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(191,255,0,0.14), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.4px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 800; max-width: 820px; margin: 0 auto; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { color: var(--text-muted); font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; margin: 22px auto 36px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
section.block { padding: 72px 0; border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.8px; font-weight: 800; }
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 17px; }

/* ── Feature grid ── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: rgba(191,255,0,0.4); transform: translateY(-2px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(191,255,0,0.12); font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ── Partner band ── */
.band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border); border-radius: 24px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.band h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.6px; }
.band p { color: var(--text-muted); margin-top: 10px; max-width: 460px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 48px 0; margin-top: 24px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer .links a { color: var(--text-muted); font-size: 15px; font-weight: 600; }
.footer .links a:hover { color: var(--text); text-decoration: none; }
.footer .copy { color: var(--text-muted); font-size: 14px; }

/* ── Legal / content pages ── */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 34px; letter-spacing: -0.6px; font-weight: 800; }
.legal .updated { color: var(--text-muted); font-size: 14px; margin: 8px 0 36px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.legal p { color: #D7D7E2; margin-bottom: 14px; }
.legal a { font-weight: 600; }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .band { padding: 32px; }
}
