/* Linecheck design tokens — from the Linecheck design system (tokens.json).
   Light and dark follow the phone's own setting. Every text colour clears 4.5:1 in both themes. */

:root {
  --brand-slate: #1e2d2f;
  --brand-forest: #153509;
  --brand-amber: #ffb200;
  --brand-ember: #ee4a36;
  --brand-cream: #f4eedc;
  --surface: #f4eedc;
  --surface-raised: #ffffff;
  --band: #153509;
  --on-band: #f4eedc;
  --on-band-muted: #d9d0b8;
  --ink: #1e2d2f;
  --ink-muted: #5c6a66;
  --border: #d9d0b8;
  --border-strong: #857d6a;
  --action: #ffb200;
  --action-pressed: #e6a000;
  --on-action: #1e2d2f;
  --focus: #1e2d2f;
  --success: #153509;
  --danger: #a82b1a;
  --danger-mark: #ee4a36;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --tap-min: 48px;
  --tap-counter: 64px;
  --counter-button-width: 76px;
  --font-sans: "Inclusive Sans", system-ui, -apple-system, sans-serif;
  --font-icons: "Material Symbols Rounded";
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-slate: #1e2d2f;
    --brand-forest: #153509;
    --brand-amber: #ffb200;
    --brand-ember: #ee4a36;
    --brand-cream: #f4eedc;
    --surface: #1e2d2f;
    --surface-raised: #2a3c3e;
    --band: #1e2d2f;
    --on-band: #f4eedc;
    --on-band-muted: #a9b8b4;
    --ink: #f4eedc;
    --ink-muted: #a9b8b4;
    --border: #3e5356;
    --border-strong: #76898c;
    --action: #ffb200;
    --action-pressed: #e6a000;
    --on-action: #1e2d2f;
    --focus: #ffb200;
    --success: #8cc97a;
    --danger: #ff8a75;
    --danger-mark: #ee4a36;
  }
}

/* Type styles */
.t-count { font-family: var(--font-sans); font-size: 52px; line-height: 56px; font-weight: 400; }
.t-title { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 400; }
.t-heading { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 400; }
.t-button { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 400; }
.t-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.t-small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.t-caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }

/* Fonts: self-host both files so Linecheck works with no signal.
   Put the woff2 files in app/assets/fonts and point these URLs at them (Propshaft rewrites url() paths). */
@font-face { font-family: "Inclusive Sans"; src: url("/assets/InclusiveSans-Regular-79e9564f.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Material Symbols Rounded"; src: url("/assets/MaterialSymbolsRounded-subset-53ea7ecc.woff2") format("woff2"); font-weight: 400; font-display: block; }

html { background: var(--surface); color: var(--ink); font-family: var(--font-sans); }
