/* Altina design system: three layers (primitive -> semantic -> component). Direction: "Midnight signal" — dark, cinematic, premium audio. */
/* Type: Manrope for headlines (swap --font-display below to change it), Inter for text. Self-hosted latin woff2; paths resolve from the page at the project root. */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Primitive */
  --graphite-950: #0a0a0b;
  --graphite-900: #141416;
  --graphite-800: #1f1f23;
  --graphite-700: #34343b;
  --graphite-300: #a3a3ad;
  --cream-50: #f4f1ea;
  --lime-400: #c8f34a;
  --lime-300: #d9f97e;
  --red-400: #ff7a7a;
  --gold-700: #765d2a;   /* accent on the cream hero (5:1 on cream-50) */

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 8px; --radius-md: 14px; --radius-pill: 999px;

  /* Semantic */
  --bg: var(--graphite-950);
  --surface: var(--graphite-900);
  --surface-inverse: var(--graphite-800);
  --text: var(--cream-50);
  --text-muted: var(--graphite-300);
  --text-inverse: var(--cream-50);
  --border: var(--graphite-700);
  --primary: var(--lime-400);
  --primary-hover: var(--lime-300);
  --on-primary: var(--graphite-950);
  --signal: var(--lime-400);
  --danger: var(--red-400);
  --focus-ring: 0 0 0 3px rgba(200, 243, 74, 0.45);

  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-base: 1.0625rem;  /* 17px */
  --leading-body: 1.55;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 200ms;

  /* Component */
  --button-height: 48px;   /* >= 44px touch target */
  --button-bg: var(--primary);
  --button-fg: var(--on-primary);
  --input-height: 48px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--text-base)/var(--leading-body) var(--font-body);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
h1 em, h2 em { font-style: normal; color: var(--primary); } /* accent by colour only */

@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } }
