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

:root {
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.1);
  --green-border: rgba(34,197,94,0.2);
  --green-glow: rgba(34,197,94,0.35);
  --bg: #000;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --text: #fff;
  --text-dim: rgba(255,255,255,0.5);
  --text-faint: rgba(255,255,255,0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND ── */
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.site-bg-radial {
  position: absolute;
  top: -30vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34,197,94,0.06) 0%, transparent 70%);
}
.site-bg-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  opacity: 0.03;
}
.site-bg-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #22c55e;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 17px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--green);
  color: #000 !important;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.02); background: var(--green) !important; }

/* ── MAIN WRAPPER ── */
main {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}

/* ── SHARED SECTION ── */
.section {
  padding: 96px 24px;
  max-width: 960px;
  margin: 0 auto;
}
.section-sm {
  padding: 64px 24px;
  max-width: 680px;
  margin: 0 auto;
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2.5s infinite;
}

h1.display {
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 20px;
}
h2.display {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
h1.display em, h2.display em {
  font-style: italic;
  color: var(--green);
}
.lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.65;
  max-width: 480px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-green {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 32px -8px var(--green-glow);
}
.btn-green:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-hover); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card-green {
  background: var(--green-dim);
  border-color: var(--green-border);
}

/* ── CHIPS (app-consistent) ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}
.chip-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.chip.here {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.28);
  color: #fff;
  box-shadow: 0 0 16px -6px rgba(34,197,94,0.45);
}
.chip.here .chip-avatar { background: var(--green); color: #000; }
.chip.away {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.3);
}
.chip.away .chip-avatar { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.35); }

/* ── DIVIDER ── */
hr { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  padding: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--green);
  text-decoration: none;
}
.footer-nav { display: flex; gap: 20px; }
.footer-nav a {
  font-size: 12px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-dim); }
.footer-copy {
  font-size: 11px;
  color: var(--text-faint);
  font-family: 'DM Mono', monospace;
}

/* ── ANIMATIONS ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; animation: fadeUp 0.7s forwards; }
.anim-1 { animation-delay: 0.1s; }
.anim-2 { animation-delay: 0.25s; }
.anim-3 { animation-delay: 0.4s; }
.anim-4 { animation-delay: 0.55s; }
.anim-5 { animation-delay: 0.7s; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.on { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  footer { padding: 24px 20px; }
  .section { padding: 72px 20px; }
}
