/* ============================================================
   CLEAR LAKE PLUGIN COMPANY — Brand Foundations
   Shared tokens for the website style system.
   Base: studio black. Family: four plugin accent colors.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* --- Base / studio black --- */
  --void:      #08090b;   /* deepest page background */
  --black:     #0b0c0f;   /* primary surface */
  --panel:     #121419;   /* elevated panel */
  --panel-2:   #181b21;   /* card on panel */
  --panel-3:   #1f232a;   /* control / inset */

  --line:        rgba(255,255,255,0.085);
  --line-strong: rgba(255,255,255,0.16);
  --line-faint:  rgba(255,255,255,0.045);

  --text:   #f2f4f7;
  --muted:  #98a0ac;
  --faint:  #5c626d;

  /* --- Product family accents --- */
  --cyan:   #34d2ee;   /* Mix Sensei   — AI mastering */
  --teal:   #2ee6c4;   /* Studio A     — convolution reverb */
  --amber:  #ecaa3d;   /* TrackZero    — zero-point utility */
  --coral:  #f15c3e;   /* Pro Tools Notes — notes / capture */

  --cyan-dim:  rgba(52,210,238,0.14);
  --teal-dim:  rgba(46,230,196,0.14);
  --amber-dim: rgba(236,170,61,0.14);
  --coral-dim: rgba(241,92,62,0.14);

  /* Brand spectrum — all four, for company-level moments */
  --spectrum: linear-gradient(90deg, var(--cyan) 0%, var(--teal) 33%, var(--amber) 66%, var(--coral) 100%);
  --spectrum-soft: linear-gradient(120deg, rgba(52,210,238,0.9), rgba(46,230,196,0.9) 34%, rgba(236,170,61,0.9) 67%, rgba(241,92,62,0.9));

  /* --- Type --- */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --serif:   'Instrument Serif', Georgia, serif;

  /* --- Radius / depth --- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow: 0 24px 60px -28px rgba(0,0,0,0.8);
  --glow-cyan:  0 0 0 1px rgba(52,210,238,0.4), 0 0 40px -6px rgba(52,210,238,0.5);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Shared atoms ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.mono { font-family: var(--mono); }

/* Spectrum text clip */
.spectrum-text {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Grain / noise overlay helper */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
