/* GCarlab design tokens: the one place the website and the editor take their colours, type, spacing, corners and
   motion from. Change a value here and both follow. Loaded by app/layout.tsx (website) and public/index.html
   (editor), before each one's own styles. See DESIGN.md for what each token is for. */
:root {
  color-scheme: dark;
  /* surfaces, darkest to lightest */
  --bg:#030b16; --bg-1:#0b1623; --bg-2:#111f2e; --bg-3:#1a2c3d;
  --line:#233241; --line-2:#354657;
  /* text */
  --fg:#e9f0f5; --mute:#afbfcd; --faint:#91a5b8;
  /* accent: actions, focus, the selected thing */
  --accent:#8bc7e5; --accent-hover:#afd9ee; --accent-text:#a7d7ef; --accent-2:#a7d7ef; --accent-ink:#081722;
  --accent-soft:#8bc7e514; --accent-line:#50788e;
  /* status: text colour, and a dark fill to put it on */
  --ok:#7fcf96; --ok-fill:#1f3b2b; --ok-solid:#4fbf7f;
  --warn:#e9cf55; --warn-fill:#3b331a;
  --err:#ff6b5e; --err-fill:#3b1f1f;
  /* type */
  --ff:"Archivo","Segoe UI",system-ui,sans-serif;
  --ff-mono:"Geist Mono",ui-monospace,"Cascadia Mono",Consolas,monospace;
  --fs-xs:11px; --fs-sm:12.5px; --fs-md:14px; --fs-lg:17px; --fs-xl:22px; --fs-2xl:28px;
  /* spacing: 4 px steps */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-8:32px; --s-10:40px;
  /* corners */
  --r-sm:4px; --r:6px; --r-lg:12px; --r-pill:999px;
  /* motion */
  --ease:cubic-bezier(.16,1,.3,1); --t-fast:120ms; --t:160ms; --t-slow:320ms;
  /* focus ring */
  --focus:0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}
@media (prefers-reduced-motion: reduce) { :root { --t-fast:0ms; --t:0ms; --t-slow:0ms; } }
