/* Flagship Window tokens. Source of truth: DESIGN.md */
:root {
  --page: #FFFFFF; --window: #FFFFFF; --text: #121316; --muted: #5C6069; --surface: #F2F2F0; --line: #DCDDE1;
  --band: #121316; --on-band: #FFFFFF; --on-band-muted: #B8BBC2;
  --accent: #FF5A1F; --on-accent: #121316; --accent-hover: #EB531D; --accent-tint: #FFE6DC; --price: #121316;
  --success: #1F7A45; --success-tint: #E3F1E8; --warning: #9A5B00; --warning-tint: #FBEFD9;
  --error: #B3302A; --error-tint: #F9E3E1; --info: #2F4B7C; --info-tint: #E4EAF4;
  --display: 'Archivo', 'Readex Pro', sans-serif; --display-stretch: 125%; --display-track: -0.015em;
  --display-ar: 'Kufam', 'Readex Pro', sans-serif;
  --body: 'Readex Pro', sans-serif;
  --s-xs: 4px; --s-sm: 8px; --s-md: 16px; --s-lg: 24px; --s-xl: 32px; --s-2xl: 48px; --s-3xl: 72px;
  --gutter: 20px; --max: 1240px;
}

/* Night (optional, follows the phone): night tokens from DESIGN.md. Product windows stay white, like lit shop windows
   on a dark street. Status colours are lightened on dark tints (each pair at least 7:1). */
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0E0F11; --surface: #1A1B1F; --line: #2A2C31; --text: #F2F2F0; --muted: #A3A7AF; --price: #F2F2F0;
    --band: #1A1B1F; --on-band: #F2F2F0; --on-band-muted: #A3A7AF; --window: #FFFFFF;
    --accent-tint: #3A1F14;
    --success: #5FD08E; --success-tint: #12291C; --warning: #F0B95A; --warning-tint: #2E2410;
    --error: #FF8A80; --error-tint: #321615; --info: #9DB7EA; --info-tint: #16213A;
  }
}
