/* DealerDash design tokens — landing subset, dark-only */
:root {
  /* Color — dark resolution from DESIGN.md */
  --bg: #0A0A0F;           /* spec §11 — near-black, warmer than pure black */
  --bg-elev: #161B22;
  --bg-sunken: #07080C;
  --bg-hover: #1C2333;
  --border: #30363D;
  --border-strong: #484F58;
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --text-dim: #6B7280;

  --accent: #F59E0B;        /* amber, dark */
  --accent-ink: #D97706;    /* deeper amber for contrast on light */
  --accent-bg: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.35);

  --success: #3FB950;
  --warning: #D29922;
  --danger:  #F85149;
  --info:    #58A6FF;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;

  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-4xl: 44px;
  --fs-5xl: 64px;

  --lh-tight: 1.1;
  --lh-base: 1.5;

  /* Space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-full: 999px;

  /* Motion */
  --motion-fast: 120ms ease-out;
  --motion-base: 250ms ease;
  --motion-slow: 400ms ease-out;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Atmosphere — per spec §5, applied to .hero-stage */
.atmosphere::before,
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.atmosphere::before {
  /* subtle noise */
  background-image:
    repeating-linear-gradient(0deg,   rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg,  rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  opacity: 0.8;
}
.atmosphere::after {
  /* vignette */
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

/* Wordmark */
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.wordmark em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  margin: 0 -0.04em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: var(--fs-md);
  font-weight: 500;
  transition: background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast);
  white-space: nowrap;
}
.btn:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1000;
  font-weight: 600;
}
.btn.primary:hover {
  background: #FDB429;
  border-color: #FDB429;
  transform: translateY(-1px);
}
.btn.lg { padding: 14px 20px; font-size: var(--fs-md); }

/* Meta label */
.label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 500;
}

.tabular { font-variant-numeric: tabular-nums; }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
