/* ============================================================
   OBJ ROCK — Design Tokens
   Premium energy technology brand system
   ============================================================ */

:root {
  /* Brand colors — premium palette anchored on actual OBJ ROCK logo */
  --black: #090909;
  --purple: #7024D8;
  --purple-hi: #8C52EF;
  --purple-deep: #5E0C7E;
  --purple-soft: #F3EDFF;
  --purple-tint: #EFE6FF;
  --bg: #F5F5F7;
  --white: #FFFFFF;
  --ink: #222222;
  --ink-soft: #3A3A3A;
  --muted: #7A7A7A;
  --border: #E5E5E8;
  --border-strong: #D2D2D7;
  --success: #1E8E5A;
  --warn: #C77700;
  --danger: #D43A2F;

  /* Eco accent (legacy logo colors — kept prominent to honour brand) */
  --eco-green: #2E7D32;       /* logo dark green */
  --eco-green-bright: #4CAF50;/* logo bright green */
  --eco-green-deep: #0E3D14;  /* logo base */
  --sun-gold: #FFD54F;        /* sun accent */
  --energy-red: #D32F2F;      /* "OBJ ROCK ENERGY" headline red */
  --energy-red-hi: #E53935;

  /* Gradients built from brand colors */
  --grad-energy: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
  --grad-purple: linear-gradient(135deg, #7024D8 0%, #8C52EF 100%);
  --grad-sun: linear-gradient(135deg, #FFD54F 0%, #FFA000 100%);
  --grad-heat: linear-gradient(135deg, #D32F2F 0%, #E53935 100%);

  /* Type */
  --font-body: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid scale */
  --fs-display: clamp(2.4rem, 6vw, 4.6rem);
  --fs-h1: clamp(2rem, 4.4vw, 3.4rem);
  --fs-h2: clamp(1.55rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing scale (8pt base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Layout */
  --container: 1240px;
  --container-wide: 1440px;
  --container-narrow: 880px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.12);
  --shadow-purple: 0 18px 60px -18px rgba(112,36,216,.5);

  /* Motion */
  --motion-fast: 160ms;
  --motion-normal: 280ms;
  --motion-slow: 650ms;
  --motion-slower: 900ms;
  --ease-standard: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in: cubic-bezier(.7,0,.84,0);

  /* Z-index */
  --z-bg: -1;
  --z-base: 1;
  --z-sticky: 50;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;

  /* Gradients */
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(140,82,239,.18), transparent 60%),
               radial-gradient(ellipse 60% 50% at 20% 100%, rgba(112,36,216,.08), transparent 60%),
               linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
  --grad-dark: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(140,82,239,.25), transparent 65%),
               linear-gradient(180deg, #0B0B0D 0%, #15151A 100%);
  --grad-purple: linear-gradient(135deg, #7024D8 0%, #8C52EF 100%);
  --grad-purple-soft: linear-gradient(135deg, rgba(112,36,216,.08), rgba(140,82,239,.04));

  color-scheme: light;
}
