:root {
  --bg: #14171c;
  --bg-raised: #1c2128;
  --bg-card: #1a1f26;
  --stone: #2a3038;
  --stone-line: #343b45;
  --ink: #e8e6e0;
  --ink-dim: #9aa3ad;
  --ink-faint: #5d6772;
  --glow: #f5a623;
  --glow-soft: #f5a62333;
  --verified: #5fb89c;
  --verified-soft: #5fb89c33;
  --online: #6fcf6f;
  --offline: #5d6772;
  --error: #e06c75;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0%, #2a2118 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, #1d2530 0%, transparent 50%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAV ---------- */

nav.site-nav {
  border-bottom: 1px solid var(--stone-line);
  padding: 22px 0;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-wordmark .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 4px var(--glow-soft), 0 0 14px 2px var(--glow-soft);
  animation: flicker 3.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes flicker {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px var(--glow-soft), 0 0 14px 2px var(--glow-soft); }
  50% { opacity: 0.85; box-shadow: 0 0 0 3px var(--glow-soft), 0 0 10px 1px var(--glow-soft); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-wordmark .dot { animation: none; }
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-cta,
.nav-links a.nav-cta:hover {
  background: var(--glow);
  color: #1a1208 !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.nav-cta:hover {
  filter: brightness(1.1);
}

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stone-line);
}

/* ---------- FOOTER ---------- */

footer.site-footer {
  border-top: 1px solid var(--stone-line);
  padding: 32px 0 48px;
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- BUTTONS ---------- */

.btn {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--glow);
  color: #1a1208;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-primary:disabled {
  background: var(--stone);
  color: var(--ink-faint);
  cursor: not-allowed;
}

/* ---------- FOCUS ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}
