:root {
  --hot-dim: rgba(250, 250, 250, 0.12);
  --hot: #FAFAFA;
  --accent: #F97316;
  --accent-fg: #f8fafc;
  --accent-dim: rgba(249, 115, 22, 0.14);
  --accent-glow: rgba(249, 115, 22, 0.35);
  --accent-ring: rgba(249, 115, 22, 0.25);
  --accent-shadow: rgba(249, 115, 22, 0.55);
  --bg: #FAFAFA;
  --bg-deep: #EEEEF0;
  --surface: #FDFDFD;
  --border: #D2D2D2;
  --fg: #1D1D1D;
  --muted: #9D9D9D;
  --faint: #C1C1C1;
  --card-bg: rgba(15, 18, 16, 0.04);
  --slot-stripe: rgba(15, 18, 16, 0.03);
  --max: 75rem;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --radius: 0.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  letter-spacing: -0.01em;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at top, var(--accent-dim), transparent 60%),
    var(--bg-deep);
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/* ── Shared section wrapper ─────────────────────────────── */
.hero,
.manifesto,
.drops,
.token,
.site-header,
.build-bar,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}

.mono-accent {
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ── 1. Live build bar ──────────────────────────────────── */
.build-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 0.5rem clamp(1.25rem, 5vw, 2.25rem);
  background: rgba(8, 18, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--accent-ring);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.build-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.build-meta {
  color: var(--muted);
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  70% {
    box-shadow: 0 0 0 0.4rem rgba(93, 255, 170, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(93, 255, 170, 0);
  }
}

/* ── 2. Header / nav ────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 2.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fg);
}

.brand-mark-wrap {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand-mark--img {
  display: none;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.brand.has-logo-mark .brand-mark--img {
  display: block;
}

.brand-mark--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand.has-letter-mark .brand-mark--fallback {
  display: flex;
}

.brand.has-logo-mark .brand-mark--fallback {
  display: none;
}

.brand-wordmark {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-wordmark .brand-dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--fg);
}

.nav-ticker {
  color: var(--accent);
  font-family: var(--font-mono);
}

.nav-cta {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg) !important;
  font-weight: 600;
}

main {
  flex: 1;
}

/* ── 3. Hero ────────────────────────────────────────────── */
.hero {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 2.25rem) 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.125rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-ring);
  font-family: var(--font-mono);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lede {
  margin: 1.375rem 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  color: var(--accent-fg);
  background: var(--accent);
  box-shadow: 0 8px 32px -12px var(--accent-shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--accent);
  border: 1px solid var(--accent-ring);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--accent-dim);
}

/* ── 4. Manifesto ───────────────────────────────────────── */
.manifesto {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2.25rem;
  padding: 2.5rem clamp(1.25rem, 5vw, 2.25rem);
  border-top: 1px solid var(--border);
}

.manifesto-body {
  margin: 0;
  max-width: 45rem;
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}

/* ── 5. Products ────────────────────────────────────────── */
.drops {
  padding: 2.5rem clamp(1.25rem, 5vw, 2.25rem);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0.4rem 0 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-link {
  font-size: 0.78rem;
  color: var(--faint);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}

.product-card {
  padding: 0.875rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.product-slot {
  height: 13.75rem;
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    135deg,
    var(--accent-dim) 0 10px,
    var(--slot-stripe) 10px 20px
  );
  border: 1px dashed var(--accent-ring);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--fg);
}

.product-name {
  font-weight: 600;
}

.product-sub {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--faint);
}

.product-meta .price {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ── 6. Token block ─────────────────────────────────────── */
.token {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  padding: 2.5rem clamp(1.25rem, 5vw, 2.25rem);
  border-top: 1px solid var(--border);
}

.token h2 {
  margin: 0.4rem 0 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.token-body {
  margin: 0.6rem 0 0;
  max-width: 30rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat-card {
  padding: 0.875rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.stat-label {
  color: var(--faint);
}

.stat-value {
  margin-top: 0.4rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--font-mono);
}

/* Legacy hidden sections kept for AI/site-quality tooling */
.features {
  display: none;
}

.cta-band {
  display: none;
}

/* ── 7. Footer ──────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 2.25rem);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--faint);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 820px) {
  .manifesto,
  .token {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta):not(.nav-ticker) {
    display: none;
  }
}
