/* ═══ Design Tokens — ElevenLabs Style ═══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ── Colors (ElevenLabs palette) ── */
  --bg:              #FDFCFC;
  --surface:         #FFFFFF;
  --elevated:        #F2F2F2;
  --border:          rgb(0 0 0 / 0.06);
  --border-hover:    #BDBDBD;
  --border-accent:   rgba(93,121,223,0.3);

  --accent:          #5D79DF;
  --accent-hover:    #4A63B8;
  --accent-light:    #F2F5FC;

  --text:            #3D3D3D;
  --text-2:          #767676;
  --text-muted:      #949494;
  --text-inverse:    #FFFFFF;

  --success:         #10B978;
  --warning:         #F36F1C;
  --error:           #EB524B;

  --black:           #1C1C1C;

  /* ── Typography ── */
  --font:            'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:       'JetBrains Mono', ui-monospace, monospace;

  /* ── Spacing ── */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;  --sp-12: 48px;
  --sp-16: 64px; --sp-24: 96px;

  /* ── Radius ── */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --r-full: 999px;

  /* ── Shadows (subtle, ElevenLabs style) ── */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:  0 4px 16px rgba(0,0,0,0.08);

  /* ── Player ── */
  --player-h: 72px;

  /* ── Transitions ── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-normal: 0.2s;
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg:              #0F0F11;
  --surface:         #1A1A1E;
  --elevated:        #252528;
  --border:          rgb(255 255 255 / 0.06);
  --border-hover:    #4A4A4E;
  --text:            #EDEDEF;
  --text-2:          #9E9EA6;
  --text-muted:      #6B6B73;
  --accent-light:    rgba(93,121,223,0.12);
  --shadow-sm:       0 1px 2px rgba(0,0,0,0.2);
  --shadow-md:       0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg:       0 4px 16px rgba(0,0,0,0.4);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }
