/* Spes Robotics Design System v3.4 tokens (spes.ai/design, tokens.css), vendored unchanged for webots.academy except: the
   @font-face rules are left out (their files aren't vendored); Geist and Geist Mono load from Google Fonts in each page's head. */
/* Spes Robotics — generated from tokens.json */
:root, [data-theme="dark"] {
  --on-dark: inline; --on-light: none; /* .only-dark / .only-light follow the nearest data-theme, so a light band inside a dark page shows the right logo */
  --blue-50: #f2f7ff;
  --blue-100: #e2eeff;
  --blue-200: #c9defe;
  --blue-300: #a1c6fe;
  --blue-400: #70a8fd;
  --blue-500: #408cfc;
  --blue-600: #0c71f0;
  --blue-700: #0b5dc7;
  --blue-800: #08489d;
  --blue-900: #093572;
  --blue-950: #05224c;
  --yellow-50: #fffaeb;
  --yellow-100: #fff3d0;
  --yellow-200: #fee79e;
  --yellow-300: #ffd95e;
  --yellow-400: #facc08;
  --yellow-500: #e3b916;
  --yellow-600: #be9a0b;
  --yellow-700: #937704;
  --yellow-800: #6e5805;
  --yellow-900: #514000;
  --yellow-950: #362a01;
  --neutral-50: #fafafa;
  --neutral-100: #f2f2f2;
  --neutral-200: #e3e3e3;
  --neutral-300: #c8c8c8;
  --neutral-400: #999999;
  --neutral-500: #6e6e6e;
  --neutral-600: #565656;
  --neutral-700: #3d3d3d;
  --neutral-800: #2a2a2a;
  --neutral-900: #1a1a1a;
  --neutral-950: #0a0a0a;
  --neutral-975: #000000;
  --green-50: #eafcf0;
  --green-300: #7ce0a2;
  --green-600: #068b4f;
  --green-700: #00703e;
  --amber-50: #fff9f2;
  --amber-300: #fec57d;
  --amber-600: #b67700;
  --amber-700: #8f5d09;
  --red-50: #fff4f3;
  --red-300: #fea69e;
  --red-600: #d42f34;
  --red-700: #b32228;
  --white: #ffffff;
  --blue-a10: rgba(12,113,240,0.10);
  --blue-a20: rgba(12,113,240,0.20);
  --blue-a40: rgba(12,113,240,0.40);
  --yellow-a15: rgba(250,204,8,0.15);
  --white-a04: rgba(255,255,255,0.04);
  --white-a08: rgba(255,255,255,0.08);
  --white-a72: rgba(255,255,255,0.72);
  --black-a60: rgba(0,0,0,0.60);
  --bg: var(--neutral-975);
  --bg-subtle: var(--neutral-950);
  --bg-raised: var(--white-a04);
  --bg-muted: var(--white-a08);
  --bg-brand: var(--blue-600);
  --bg-brand-subtle: var(--white-a08);
  --bg-ribbon: var(--white-a04);
  --fg: var(--neutral-50);
  --fg-muted: var(--neutral-300);
  --fg-subtle: var(--neutral-400);
  --fg-accent: var(--blue-400);
  --fg-on-brand: var(--white);
  --border: var(--white-a08);
  --border-strong: var(--neutral-500);
  --focus: var(--blue-400);
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --primary-active: var(--blue-800);
  --secondary: var(--yellow-400);
  --fg-on-secondary: var(--neutral-975);
  --success: var(--green-300);
  --success-bg: rgba(124,224,162,0.12);
  --warning: var(--amber-300);
  --warning-bg: rgba(254,197,125,0.12);
  --danger: var(--red-300);
  --danger-bg: rgba(254,166,158,0.12);
  --bg-glass: var(--black-a60);
  --fg-highlight: var(--yellow-400);
  --border-brand: var(--blue-a40);
  --secondary-hover: var(--yellow-300);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 24px -6px rgba(0,0,0,0.6);
  --shadow-lg: 0 24px 64px -12px rgba(0,0,0,0.7);
  --glow-blue: 0 0 0 1px rgba(12,113,240,0.45), 0 10px 40px -8px rgba(12,113,240,0.55);
  --glow-yellow: 0 0 0 1px rgba(250,204,8,0.45), 0 10px 40px -10px rgba(250,204,8,0.45);
}
[data-theme="light"] {
  --on-dark: none; --on-light: inline;
  --bg: var(--white);
  --bg-subtle: var(--neutral-50);
  --bg-raised: var(--white-a72);
  --bg-muted: var(--neutral-100);
  --bg-brand: var(--blue-600);
  --bg-brand-subtle: var(--neutral-100);
  --bg-ribbon: var(--neutral-100);
  --fg: var(--neutral-900);
  --fg-muted: var(--neutral-600);
  --fg-subtle: var(--neutral-500);
  --fg-accent: var(--blue-700);
  --fg-on-brand: var(--white);
  --border: var(--neutral-200);
  --border-strong: var(--neutral-500);
  --focus: var(--blue-600);
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --primary-active: var(--blue-800);
  --secondary: var(--yellow-400);
  --fg-on-secondary: var(--neutral-975);
  --success: var(--green-700);
  --success-bg: var(--green-50);
  --warning: var(--amber-700);
  --warning-bg: var(--amber-50);
  --danger: var(--red-700);
  --danger-bg: var(--red-50);
  --bg-glass: var(--white-a72);
  --fg-highlight: var(--yellow-800);
  --border-brand: var(--blue-300);
  --secondary-hover: var(--yellow-500);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 40px -8px rgba(0,0,0,0.16), 0 4px 8px rgba(0,0,0,0.04);
  --glow-blue: 0 0 0 1px rgba(12,113,240,0.30), 0 10px 32px -10px rgba(12,113,240,0.40);
  --glow-yellow: 0 0 0 1px rgba(190,154,11,0.35), 0 10px 28px -10px rgba(190,154,11,0.35);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 999px;
  --font-display: "Geist", system-ui, sans-serif;
  --font-text: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --font-display-weight: 600; /* Geist, headlines and big figures */
}
.display-xl { font-family: var(--font-display); font-size: 88px; line-height: 0.92; font-weight: var(--font-display-weight); letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-size: 64px; line-height: 0.95; font-weight: var(--font-display-weight); letter-spacing: -0.005em; }
.h1 { font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: var(--font-display-weight); }
.h2 { font-family: var(--font-display); font-size: 36px; line-height: 1.05; font-weight: var(--font-display-weight); }
.h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: var(--font-display-weight); }
.stat { font-family: var(--font-display); font-size: 56px; line-height: 1; font-weight: var(--font-display-weight); }
.h4 { font-family: var(--font-text); font-size: 20px; line-height: 1.3; font-weight: 600; }
.lead { font-family: var(--font-text); font-size: 20px; line-height: 1.55; font-weight: 400; }
.body-lg { font-family: var(--font-text); font-size: 18px; line-height: 1.6; font-weight: 400; }
.body { font-family: var(--font-text); font-size: 16px; line-height: 1.6; font-weight: 400; }
.body-sm { font-family: var(--font-text); font-size: 14px; line-height: 1.5; font-weight: 400; }
.button { font-family: var(--font-text); font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: 0.01em; }
.caption { font-family: var(--font-text); font-size: 12px; line-height: 1.4; font-weight: 500; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.spec { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; font-weight: 400; }
.code { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; font-weight: 400; }
