/* Spec: design.md — mirror token table only */

:root {
  --bg-deep: #f6f8fc;
  --bg-elevated: #f6f8fc;
  --bg-wash-violet: #f6f8fc;
  --text-primary: #1e293b;
  --text-muted: #475569;
  --text-on-accent: #ffffff;
  /* Single brand accent — borders, subheadings, links, embeds */
  --accent: #0891b2;
  --accent-cyan: var(--accent);
  --text-period: #7c3aed;
  --glass-bg: #f6f8fc;
  --glass-border: rgba(30, 41, 59, 0.1);
  --surface-muted: rgba(30, 41, 59, 0.06);
  --gradient-mesh: radial-gradient(
    ellipse 80% 50% at 20% 15%,
    rgba(8, 145, 178, 0.1),
    transparent 55%
  );
  --shadow-glow-cyan: 0 4px 20px rgba(8, 145, 178, 0.2);
  --shadow-card: 0 4px 24px rgba(30, 41, 59, 0.08);

  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: clamp(2.25rem, 5vw, 3.25rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;

  --section-padding-block: 1.5rem;
  --section-intro-extra: 1rem;
  --section-title-gap: 0.875rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --nav-height: 4rem;
  --content-max: 72rem;
  --scroll-offset: calc(
    var(--nav-height) + env(safe-area-inset-top, 0px) + 0.5rem
  );
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.5s var(--ease-smooth);
}
