/* Grokito — black / white / gold */
:root {
  --bg: #070708;
  --bg-elev: #101012;
  --bg-alt: #0c0c0e;
  --fg: #f5f5f4;
  --muted: #a1a1aa;
  --gold: #d4af37;
  --gold-bright: #f0d878;
  --gold-dim: rgba(212, 175, 55, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 80% 10%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(255, 255, 255, 0.03), transparent 50%);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(7, 7, 8, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--fg); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #111 !important;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.28);
}
.btn-gold:hover { box-shadow: 0 10px 32px rgba(212, 175, 55, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--fg) !important;
  border-color: var(--border);
}
.btn-ghost:hover { border-color: rgba(212, 175, 55, 0.45); background: var(--gold-dim); }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.85rem; }

/* Sections */
.section {
  padding: 5rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-left: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
}
.section-head { margin-bottom: 2.25rem; max-width: 36rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--muted); margin: 0; }
.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold { color: var(--gold-bright); }
.gold-text { color: var(--gold-bright); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center-note {
  text-align: center;
  color: var(--muted);
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4.5rem;
}
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}
.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-ring {
  position: absolute;
  width: min(92%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 65%);
  filter: blur(8px);
}
.hero-img {
  position: relative;
  width: min(100%, 400px);
  border-radius: 28px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(212, 175, 55, 0.12);
  object-fit: cover;
}

/* Cards */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.card.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(212,175,55,0.04));
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.big {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Lore */
.lore-block {
  max-width: 40rem;
  font-size: 1.08rem;
  color: #d4d4d8;
}
.lore-block p { margin: 0 0 1.1rem; }
.lore-block .punch {
  margin-top: 1.75rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-bright);
}

/* Community */
.community-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--bg-elev);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.06);
}
.community-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.community-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.35rem;
}
.community-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Roadmap */
.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.roadmap li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.roadmap .step {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  min-width: 2rem;
}
.roadmap h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
}
.roadmap p {
  margin: 0;
  color: var(--muted);
}

/* Transparency list */
.check-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #d4d4d8;
}
.check-list li { margin-bottom: 0.65rem; }
.check-list li:last-child { margin-bottom: 0; }

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}
.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.25rem 1.1rem 0.25rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  font-family: var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

/* Legal */
.legal p { margin: 0 0 0.9rem; color: #d4d4d8; }
.legal p:last-child { margin-bottom: 0; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.footer-brand strong {
  display: block;
  font-family: var(--display);
}
.footer-brand span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-art { order: -1; }
  .hero-img { width: min(100%, 280px); }
  .card-grid { grid-template-columns: 1fr; }
  .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .lore-block { margin: 0 auto; text-align: center; }
  .community-card { justify-content: center; text-align: center; }
  .community-card > div { width: 100%; }
  .faq { margin: 0 auto; }
  .faq summary { text-align: left; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(7, 7, 8, 0.97);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .btn { margin-top: 0.75rem; border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 2.15rem; }
  .roadmap li { grid-template-columns: 1fr; gap: 0.5rem; }
}

.community-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
