/* ==========================================================================
   AVRA — design tokens
   Dark is the primary direction (consistent with the AVRA mobile interface);
   a light theme is provided for bright rooms, projectors and printed demos.
   ========================================================================== */

:root {
  /* Brand ---------------------------------------------------------------- */
  --teal-300: #5ff0dd;
  --teal-400: #2fd6c3;
  --teal-500: #14b8a6;
  --teal-600: #0e9488;
  --teal-700: #0b7a70;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --pink-400: #f472b6;
  --amber-400: #fbbf24;

  /* Neutrals (dark) ------------------------------------------------------ */
  --navy-950: #060a15;
  --navy-900: #0a1020;
  --navy-850: #0d1528;
  --navy-800: #111b33;
  --navy-700: #1a2742;

  /* Semantic ------------------------------------------------------------- */
  --bg: var(--navy-950);
  --bg-alt: var(--navy-900);
  --bg-elevated: rgba(255, 255, 255, 0.035);
  --bg-elevated-strong: rgba(255, 255, 255, 0.06);
  --surface-glass: rgba(10, 16, 32, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f5fa;
  --text-muted: #a3b0c8;
  --text-subtle: #7c8aa5;
  --accent: var(--teal-400);
  --accent-ink: #04211f;
  --accent-soft: rgba(47, 214, 195, 0.12);
  --focus: var(--teal-300);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -24px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  --glow-teal: 0 0 80px -20px rgba(47, 214, 195, 0.45);

  /* Status colours ------------------------------------------------------- */
  --status-available: #34d399;
  --status-available-bg: rgba(52, 211, 153, 0.12);
  --status-dev: #fbbf24;
  --status-dev-bg: rgba(251, 191, 36, 0.12);
  --status-planned: #a78bfa;
  --status-planned-bg: rgba(167, 139, 250, 0.13);
  --status-testing: #38bdf8;
  --status-testing-bg: rgba(56, 189, 248, 0.13);

  /* Type ----------------------------------------------------------------- */
  --font-sans: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.32rem, 1.2rem + 0.6vw, 1.7rem);
  --step-3: clamp(1.6rem, 1.38rem + 1.05vw, 2.3rem);
  --step-4: clamp(1.95rem, 1.55rem + 1.95vw, 3.2rem);
  --step-5: clamp(2.3rem, 1.6rem + 3.2vw, 4.3rem);

  /* Space & shape -------------------------------------------------------- */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --ring: 0 0 0 3px rgba(47, 214, 195, 0.35);
}

/* Light theme ------------------------------------------------------------ */
:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-alt: #ffffff;
  --bg-elevated: #ffffff;
  --bg-elevated-strong: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --border: rgba(11, 22, 46, 0.1);
  --border-strong: rgba(11, 22, 46, 0.2);
  --text: #0b1630;
  --text-muted: #46567a;
  --text-subtle: #57678d;
  --accent: var(--teal-700);
  --accent-ink: #ffffff;
  --accent-soft: rgba(11, 122, 112, 0.1);
  --focus: var(--teal-700);
  --shadow-md: 0 18px 38px -26px rgba(11, 22, 46, 0.5);
  --shadow-lg: 0 34px 70px -40px rgba(11, 22, 46, 0.45);
  --glow-teal: 0 0 70px -24px rgba(14, 148, 136, 0.35);
  --status-available: #047857;
  --status-available-bg: rgba(4, 120, 87, 0.1);
  --status-dev: #a16207;
  --status-dev-bg: rgba(161, 98, 7, 0.1);
  --status-planned: #6d28d9;
  --status-planned-bg: rgba(109, 40, 217, 0.1);
  --status-testing: #0369a1;
  --status-testing-bg: rgba(3, 105, 161, 0.1);
}
