/*
  Capywatta's palette, on top of assets/pages.css.

  Values are lifted from the app's own token table in DESIGN.md rather than picked by eye, so the
  policy pages read as the same product as the app that links to them. Light mode uses the tokens
  verbatim; dark is derived — DESIGN.md specifies light and leaves dark to be reasoned from it.

  Comfortaa is the app's typeface. It's loaded from Google Fonts with a real fallback stack, so a
  blocked or slow font request costs the page its personality and nothing else.
*/

@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap");

:root {
  --font-body: Comfortaa, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-body);

  /* DESIGN.md: surface, surface-container-low, surface-container-lowest, on-surface,
     on-surface-variant, outline-variant, primary, on-primary, primary-container tints. */
  --surface: #f9faf2;
  --surface-sunken: #f3f4ec;
  --surface-raised: #ffffff;
  --on-surface: #1a1c18;
  --on-surface-muted: #404943;
  --outline: #bfc9c1;
  --accent: #003925;
  --on-accent: #ffffff;
  --accent-quiet: #e8e9e1;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Derived: the app's inverse-surface family darkened to a page-sized ground, with
       inverse-primary (#95d4b2) as the accent so links stay legible on it. */
    --surface: #14170f;
    --surface-sunken: #1c1f19;
    --surface-raised: #21241d;
    --on-surface: #e2e3db;
    --on-surface-muted: #bfc9c1;
    --outline: #3c4139;
    --accent: #95d4b2;
    --on-accent: #002113;
    --accent-quiet: #262a22;
  }
}
