/* Tivitti theme for the Lovetere frame 2.0.0: tokens only (family/FRAME.md lists them).
 *
 * Colour comes from the app's own tokens, `expo/src/constants/colors.ts` (mirrored by
 * `ios/design/tokens.json` and `Tivitti/Design/Theme.swift`): the card table (#0a312c, #11463d,
 * rail #061f1b), the card face (#f8f3ec), the gold accent (#f6c667) and the Tivitti red
 * (#af3b34 / #d96c62). Dark is the card table the site has always had. Light is the same table
 * turned over: the card face as the page, the rail as the ink, the table's green as a pale
 * felt glow in the hero, and the gold deepened where it has to read on cream.
 *
 * Type is a system stack rather than the app's Nunito: no TTF is committed in any Tivitti repo,
 * and a webfont from a third party would put a request to someone else's server on a privacy page.
 */

:root {
  color-scheme: light dark;
  --c-bg: #F8F3EC;
  --c-surface: #FFFDF9;
  --c-surface-2: #E9F0EC;
  --c-ink: #061F1B;
  --c-muted: #3F5651;
  --c-line: #DDD6CA;
  --c-brand: #F6C667;
  --c-on-brand: #061F1B;
  --c-brand-ink: #8A5D0C;
  --c-link: #0A312C;
  --c-link-line: #C9962F;
  --c-focus: #11463D;
  --c-hero: radial-gradient(130% 110% at 50% -10%, #D3E6DE 0%, #E6EEE8 45%, #F8F3EC 100%);
  --c-band: #E9F0EC;
  --c-header: #F8F3EC;
  --c-footer: #F8F3EC;
  --c-alert: #AF3B34;
  --f-display: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fw-display: 800;
  --fw-strong: 700;
  --ls-display: 0.01em;
  --tt-label: none;
  --ls-label: 0;
  --r-card: 18px;
  --r-button: 12px;
  --r-media: 18px;
  --r-icon: 22%;
  --shadow-card: 0 10px 28px rgba(6, 31, 27, 0.08);
  --border-card: 1px solid #DDD6CA;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #061F1B;
    --c-surface: #0C312B;
    --c-surface-2: #11463D;
    --c-ink: #F8F3EC;
    --c-muted: #C4BDB2;
    --c-line: #1D3B36;
    --c-brand: #F6C667;
    --c-on-brand: #061F1B;
    --c-brand-ink: #F6C667;
    --c-link: #F6C667;
    --c-link-line: #F6C667;
    --c-focus: #F6C667;
    --c-hero: radial-gradient(130% 110% at 50% -10%, #11463D 0%, #0A312C 45%, #061F1B 100%);
    --c-band: #0C312B;
    --c-header: #0A312C;
    --c-footer: #061F1B;
    --c-alert: #D96C62;
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.34);
    --border-card: 1px solid #1D3B36;
  }
}
