/* ═══════════════════════════════════════════════════════════════
   BASE CSS — auralis (auto-generated from design-brief.md)
   Generated: 2026-03-09
   Re-generate: node .pageforge/scripts/generate-base-css.js auralis
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variable Contract ─── */
:root {
  --brand: #0ECAD4;
  --brand-rgb: 14, 202, 212;
  --brand-light: #67E8F9;
  --brand-dark: #0891B2;
  --bg: #040C10;
  --bg-alt: #0A1720;
  --surface: #122030;
  --text: #F1F5F9;
  --text-muted: #64748B;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  --shadow-xs: 0 1px 3px rgba(14,202,212,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(14,202,212,0.06), 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(14,202,212,0.08), 0 2px 6px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(14,202,212,0.12), 0 4px 12px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(14,202,212,0.15), 0 6px 16px rgba(0,0,0,0.14);
  --shadow-glow: 0 4px 20px rgba(14,202,212,0.25), 0 0 40px rgba(8,145,178,0.15);

  /* Derived tokens */
  --surface-glass: rgba(255,255,255,0.04);
  --surface-light: rgba(255,255,255,0.07);
  --text-bright: #FFFFFF;
  --border: rgba(14,202,212,0.12);
  --accent-rgb: 8, 145, 178;
  --cta-btn: var(--brand);
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --section-pad: 96px;
  --section-pad-sm: 64px;
  --content-max: 1100px;
  --content-sm: 800px;
  --hero-h1: clamp(2.75rem, 4vw + 1rem, 5.5rem);
  --section-h2: clamp(2rem, 3vw + 0.5rem, 3.5rem);
  --sub-h3: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  --overline: clamp(0.75rem, 0.5vw + 0.5rem, 0.875rem);
  --body: clamp(0.9375rem, 0.5vw + 0.5rem, 1.0625rem);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--spring), transform 0.8s var(--spring);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.8s var(--spring), transform 0.8s var(--spring); }
.reveal-right { opacity: 0; transform: translateX(24px); transition: opacity 0.8s var(--spring), transform 0.8s var(--spring); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ─── Dot Grid Texture ─── */
.dot-grid { position: relative; }
.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--brand-rgb), 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
