/* Shortyard design tokens. Dark is the default ("night desk"); data-theme="light" forces light, "auto" follows
   the system. Glass surfaces over near-black, one mint-to-lime accent, red for what falls. */

:root {
  color-scheme: dark;
  --bg: #06080a;
  --bg-2: #0a0d0f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-solid: #0e1214;
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.1);
  --ink: #f4f6f2;
  --ink-2: #a7ada6;
  --ink-3: #6b726b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --mint: #00e88f;
  --lime: #c8ff2e;
  --mark: #c8ff2e;
  --teal: #00b3a4;
  --accent: #00e88f;
  --accent-ink: #00e88f;
  --accent-soft: rgba(0, 232, 143, 0.12);
  --grad: linear-gradient(120deg, #00e88f 0%, #c6ff3d 100%);
  --up: #00e88f;
  --down: #ff4d6d;
  --down-soft: rgba(255, 77, 109, 0.12);
  --btn: #f4f6f2;
  --btn-ink: #06080a;
  --on-accent: #06080a;
  --focus: #00e88f;
  --glow: 0 0 0 1px rgba(0, 232, 143, 0.25), 0 12px 48px -12px rgba(0, 232, 143, 0.45);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  --blur: saturate(140%) blur(18px);

  --body: "Geist", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Geist", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;

  --t-xs: 12px;
  --t-sm: 14px;
  --t-md: 16px;
  --t-lg: 18px;
  --t-xl: clamp(20px, 2vw, 24px);
  --t-2xl: clamp(32px, 4.2vw, 52px);
  --t-3xl: clamp(40px, 6vw, 76px);
  --t-hero: clamp(46px, 7.4vw, 104px);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fafaf7;
  --bg-2: #f2f2ee;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-2: rgba(12, 12, 10, 0.035);
  --surface-3: rgba(12, 12, 10, 0.07);
  --ink: #0a0a0a;
  --ink-2: #52534d;
  --ink-3: #8b8c85;
  --line: rgba(12, 12, 10, 0.08);
  --line-2: rgba(12, 12, 10, 0.14);
  --accent: #0a8f4a;
  --accent-ink: #087a3f;
  --accent-soft: rgba(200, 255, 46, 0.32);
  --grad: linear-gradient(120deg, #c8ff2e 0%, #b6f21c 100%);
  --mark: #0a0a0a;
  --up: #0a8f4a;
  --down: #d92d3a;
  --down-soft: rgba(217, 45, 58, 0.08);
  --btn: #0a0a0a;
  --btn-ink: #ffffff;
  --on-accent: #0a0a0a;
  --focus: #0a8f4a;
  --glow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -14px rgba(120, 170, 0, 0.45);
  --shadow: 0 1px 2px rgba(12, 12, 10, 0.04), 0 14px 36px -22px rgba(12, 12, 10, 0.18);
  --shadow-lg: 0 2px 6px rgba(12, 12, 10, 0.04), 0 34px 70px -34px rgba(12, 12, 10, 0.28);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
  color-scheme: light;
  --bg: #fafaf7;
  --bg-2: #f2f2ee;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-2: rgba(12, 12, 10, 0.035);
  --surface-3: rgba(12, 12, 10, 0.07);
  --ink: #0a0a0a;
  --ink-2: #52534d;
  --ink-3: #8b8c85;
  --line: rgba(12, 12, 10, 0.08);
  --line-2: rgba(12, 12, 10, 0.14);
  --accent: #0a8f4a;
  --accent-ink: #087a3f;
  --accent-soft: rgba(200, 255, 46, 0.32);
  --grad: linear-gradient(120deg, #c8ff2e 0%, #b6f21c 100%);
  --mark: #0a0a0a;
  --up: #0a8f4a;
  --down: #d92d3a;
  --down-soft: rgba(217, 45, 58, 0.08);
  --btn: #0a0a0a;
  --btn-ink: #ffffff;
  --on-accent: #0a0a0a;
  --focus: #0a8f4a;
  --glow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -14px rgba(120, 170, 0, 0.45);
  --shadow: 0 1px 2px rgba(12, 12, 10, 0.04), 0 14px 36px -22px rgba(12, 12, 10, 0.18);
  --shadow-lg: 0 2px 6px rgba(12, 12, 10, 0.04), 0 34px 70px -34px rgba(12, 12, 10, 0.28);
}
}
