/* System-aware design tokens. Brand artwork is kept in its supplied palette. */
:root {
  color-scheme: light;
  --canvas: #F7F9F9;
  --surface: #FFFFFF;
  --surface-soft: #F0F4F3;
  --surface-strong: #E6EDEC;
  --ink: #14242A;
  --muted: #5E6E74;
  --subtle: #627177;
  --border: #D8E2DF;
  --border-strong: #BCCFC9;
  --accent: #087C6D;
  --accent-text: #087565;
  --accent-soft: #E0F1EC;
  --on-accent: #FFFFFF;
  --brand-teal: #16B8A6;
  --damage: #B3483E;
  --damage-soft: #F8EAE6;
  --caution: #8A5A16;
  --caution-soft: #F7EFDD;
  --review: #735598;
  --review-soft: #EFEAF5;
  --header-bg: rgba(247,249,249,.92);
  --ambient: rgba(159,207,194,.23);
  --shadow: 0 12px 48px -28px rgba(21,60,50,.24);
  --radius: 14px;
  --radius-small: 7px;
  --headline: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --headline-weight: 580;
  --hero-tracking: -.058em;
  --content-width: 1232px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141C20; --surface: #1B262B; --surface-soft: #202E33; --surface-strong: #293B40;
  --ink: #E9F1EF; --muted: #B2C2C3; --subtle: #A1B3B6; --border: #34474B; --border-strong: #536C6C;
  --accent: #66C7B1; --accent-text: #78D2BF; --accent-soft: #223F38; --on-accent: #122D25;
  --damage: #F7A294; --damage-soft: #442F2C; --caution: #E5BE72; --caution-soft: #423925; --review: #C8B3EC; --review-soft: #352E43;
  --header-bg: rgba(20,28,32,.92); --ambient: rgba(61,112,100,.2); --shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --canvas: #141C20; --surface: #1B262B; --surface-soft: #202E33; --surface-strong: #293B40;
    --ink: #E9F1EF; --muted: #B2C2C3; --subtle: #A1B3B6; --border: #34474B; --border-strong: #536C6C;
    --accent: #66C7B1; --accent-text: #78D2BF; --accent-soft: #223F38; --on-accent: #122D25;
    --damage: #F7A294; --damage-soft: #442F2C; --caution: #E5BE72; --caution-soft: #423925; --review: #C8B3EC; --review-soft: #352E43;
    --header-bg: rgba(20,28,32,.92); --ambient: rgba(61,112,100,.2); --shadow: none;
  }
}
:root[data-theme="claude"] {
  color-scheme: light;
  --canvas: #FAF9F5; --surface: #FDFCF9; --surface-soft: #F0EFE9; --surface-strong: #EBEAE4;
  --ink: #191919; --muted: #65635B; --subtle: #67655C; --border: rgba(140,138,128,.34); --border-strong: #ABA79A;
  --accent: #D97756; --accent-text: #A64D31; --accent-soft: #F3E7DF; --on-accent: #211711;
  --header-bg: rgba(250,249,245,.94); --ambient: rgba(217,119,86,.075); --shadow: none;
  --radius: 8px; --radius-small: 4px; --headline: Georgia, "Times New Roman", serif;
  --headline-weight: 400; --hero-tracking: -.05em;
}
