/* Colors, type, and spacing for the whole site. Components use only these variables. */
:root {
  color-scheme: light dark;

  --ground: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #5f5f64;
  --line: rgba(0, 0, 0, 0.12);
  --accent: #1f6bc4;
  --accent-ink: #ffffff;
  --accent-tint: color-mix(in srgb, var(--accent) 10%, transparent);
  --download: #2a78d6;
  --upload: #eb6834;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --space: 8px;
  --width: 1040px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 24px 48px -32px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000000;
    --surface: #1c1c1e;
    --ink: #f5f5f7;
    --ink-soft: #a1a1a6;
    --line: rgba(255, 255, 255, 0.16);
    --accent: #3987e5;
    --accent-ink: #000000;
    --download: #3987e5;
    --upload: #d95926;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}
