/* Cubescape's look, the same as the app: src/DriveCoder.Server/wwwroot/styles.css and android/.../ui/Theme.kt.
   Warm paper and navy by day, deep navy at night, amber for Cubescape and teal for you. Keep the three in step.
   The dark bands use the explainer video's palette (tools/ExplainerVideo/page/explainer.css). */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  /* App, light */
  --bg: #fcfaf5;
  --card: #ffffff;
  --sunk: #f6f3ec;
  --text: #1b2333;
  --muted: #5b6578;
  --line: #e7e2d7;
  --amber: #f6a928;
  --amber-hi: #ffc055;
  --amber-ink: #a35e00;   /* amber for text and line art on light backgrounds */
  --amber-bg: #fdf1dc;
  --on-amber: #1b2333;
  --teal: #0b7894;
  --teal-bg: #e3f2f6;
  --idle: #9aa3b5;
  --error: #c8402f;
  --ok: #0f8655;
  --shadow: 0 1px 2px rgba(27, 35, 51, .05), 0 6px 20px rgba(27, 35, 51, .05);
  --shadow-lg: 0 2px 6px rgba(27, 35, 51, .06), 0 24px 60px rgba(27, 35, 51, .12);

  /* Video, the dark bands */
  --navy: #1b2333;
  --deep: #11161f;
  --navy-hi: #243049;
  --cream: #fcfaf5;
  --teal-l: #4fc3df;
  --dark-muted: #9aa3b5;
  --dark-line: rgba(252, 250, 245, .14);
  --dark-card: rgba(252, 250, 245, .06);

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;

  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1421;
    --card: #182033;
    --sunk: #121a2a;
    --text: #f3f1ea;
    --muted: #97a0b3;
    --line: #283149;
    --amber-ink: #f6a928;
    --amber-bg: #3a2c12;
    --teal: #4fc3df;
    --teal-bg: #15303a;
    --idle: #5d667a;
    --error: #f06a5b;
    --ok: #3fc98a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .4);
    --deep: #0a0e16;
    color-scheme: dark;
  }
}
