/* ==========================================================================
   Octilora design tokens
   Mirrors brand/tokens.json and config/branding.php (tests keep them in sync).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  /* Brand colors */
  --c-midnight: #070a1a;
  --c-obsidian: #0c1028;
  --c-violet: #8b5cf6;
  --c-cyan: #22d3ee;
  --c-teal: #2dd4bf;
  --c-aurora-pink: #f472b6;
  --c-text: #eef1ff;
  --c-muted: #a9b0d6;

  /* Derived surfaces */
  --c-violet-soft: #c4b5fd;
  --c-cyan-soft: #a5f3fc;
  --c-bg: var(--c-midnight);
  --c-bg-raised: var(--c-obsidian);
  --c-surface: rgb(255 255 255 / 0.035);
  --c-surface-2: rgb(255 255 255 / 0.06);
  --c-border: rgb(255 255 255 / 0.09);
  --c-border-strong: rgb(255 255 255 / 0.18);
  --c-success: #34d399;
  --c-warning: #fbbf24;
  --c-error: #fb7185;

  --gradient-brand: linear-gradient(100deg, var(--c-cyan) 0%, #a78bfa 52%, var(--c-aurora-pink) 100%);
  --gradient-button: linear-gradient(120deg, #7c3aed 0%, #8b5cf6 40%, #22d3ee 100%);

  /* Typography */
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display-1: clamp(2.45rem, 1.5rem + 4.1vw, 4.6rem);
  --fs-display-2: clamp(2.05rem, 1.45rem + 2.6vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  --fs-lead-lg: clamp(1.1rem, 1rem + 0.5vw, 1.32rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing & shape */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --space-gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1200px;
  --container-narrow: 820px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --shadow-card: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 20px 50px -24px rgb(0 0 0 / 0.7);
  --shadow-glow: 0 0 0 1px rgb(139 92 246 / 0.35), 0 18px 60px -18px rgb(139 92 246 / 0.55);
}
