/* Electric: near-black, acid lime, tight techy grotesk */
:root {
  --bg: #0c0d0b;
  --surface: #151713;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f1f3ec;
  --muted: #9a9f92;
  --accent: #c6ff3d;
  --on-accent: #0c0d0b;
  --logo-bg: #c6ff3d;
  --logo-fg: #0c0d0b;
  --glow: rgba(198, 255, 61, 0.16);
  --display: "Space Grotesk", system-ui, sans-serif;
  --display-weight: 700;
  --display-track: -0.05em;
  --display-leading: 0.92;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

/* ---------- Layout ---------- */

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

main { flex: 1; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 40px);
}

.glow {
  position: fixed;
  z-index: -1;
  width: 640px;
  height: 640px;
  top: -260px;
  right: -200px;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(80px);
  pointer-events: none;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.logo { display: block; width: 40px; height: 40px; }
.logo .tile { fill: var(--logo-bg); }
.logo .mark { fill: var(--logo-fg); }
.brand-name {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.brand-name span { color: var(--muted); font-weight: 500; margin-left: 0.25em; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* Hero */
.hero { padding-block: clamp(56px, 11vw, 130px) clamp(40px, 8vw, 80px); }
.eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--accent);
}
h1 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(3rem, 9.5vw, 7rem);
  line-height: var(--display-leading);
  letter-spacing: var(--display-track);
}
h1 .accent {
  display: block;
  color: var(--accent);
}
.lede {
  max-width: 34rem;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: clamp(56px, 10vw, 110px);
}
.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
}
.icon svg { width: 26px; height: 26px; }
.card h2 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.card p { color: var(--muted); }

/* Marquee */
.marquee {
  overflow: hidden;
  padding-block: 20px;
  border-block: 1px solid var(--border);
}
.track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll 30s linear infinite;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.track i { font-style: normal; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); }
.footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .pill { display: none; }
  .card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .track, .dot { animation: none; }
  .card, body { transition: none; }
}
