/* Eagle Harbor — Design tokens
   Palette inspired by enterprise payment platforms (monochrome + single accent) */

:root {
  /* ── Color: base ── */
  --bg-base: #070708;
  --bg-raised: #0c0c0e;
  --bg-surface: #111114;
  --bg-elevated: #17171b;
  --bg-overlay: #1d1d22;

  /* ── Color: text ── */
  --text: #f5f5f7;
  --text-2: #9898a4;
  --text-3: #63636e;
  --text-4: #45454f;

  /* ── Color: accent (single — no gold) ── */
  --accent: #1ef4c0;
  --accent-dim: #12c49a;
  --accent-muted: rgba(30, 244, 192, 0.1);
  --accent-border: rgba(30, 244, 192, 0.22);
  --accent-on: #041510;

  /* Legacy aliases (styles.css) */
  --black: var(--bg-base);
  --surface: var(--bg-raised);
  --surface-2: var(--bg-surface);
  --surface-3: var(--bg-elevated);
  --elevated: var(--bg-overlay);
  --mint: var(--accent);
  --mint-dim: var(--accent-muted);
  --mint-glow: rgba(30, 244, 192, 0.18);
  --gold: var(--accent-dim);
  --gold-dim: var(--accent-muted);
  --blue: #4d8dff;

  /* ── Borders ── */
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* ── Typography ── */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --display: var(--font);

  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: clamp(2rem, 4vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-hero: clamp(3rem, 6.5vw, 5.25rem);

  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  --tracking-tight: -0.035em;
  --tracking-normal: -0.011em;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.12em;

  /* ── Layout ── */
  --wrap: 1200px;
  --header-h: 72px;
  --section-y: clamp(96px, 11vw, 144px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  /* ── Motion ── */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Shadows (restrained) ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 0 0 1px var(--border), var(--shadow-md);

  --glass: rgba(255, 255, 255, 0.025);
  --glass-border: var(--border-light);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ease: linear;
    --ease-out: linear;
  }
}
