/* shared by the site and every demo (demos inherit these through shadow DOM) */
/* tokens from DESIGN.md (brand colors, radii, Inter); dark by default with a warm-tinted canvas */
:root {
  --canvas: #14120e;
  --surface-soft: #1a1813;
  --surface-card: #221f18;
  --surface-strong: #2c2820;
  --ink: #fffaf0;
  --body: #d6d0c2;
  --muted: #a39d8f;
  --hairline: #34302a;
  --primary: #fffaf0;
  --primary-active: #ebe6d6;
  --on-primary: #0a0a0a;
  --pink: #ff4d8b;
  --teal: #2b5c5c; /* DESIGN.md #1a3a3a vanishes on the dark canvas */
  --lavender: #b8a4ed;
  --peach: #ffb084;
  --ochre: #e8b94a;
  --r-xs: 6px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 9999px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --font: "Inter", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-pop: 0 24px 64px rgb(0 0 0 / .45);
  color-scheme: dark;
}
/* light option from the header switch: DESIGN.md's original cream canvas */
:root[data-theme="light"] {
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --hairline: #e5e5e5;
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --on-primary: #ffffff;
  --teal: #1a3a3a;
  --shadow-pop: 0 24px 64px rgb(58 48 30 / .14);
  color-scheme: light;
}
