/* Garage — design tokens (DESIGN.md section 1). Values are copied from mockup v3; do not change. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/PlayfairDisplay-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("../assets/fonts/NotoNaskhArabic-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: block;
}

:root {
  --bg: #F7F5F2;
  --bg-2: #EFEBE6;
  --text: #111827;
  --muted: #626977; /* was #6B7280 (4.07 on --bg-2); 4.65 on --bg-2, 5.1 on --bg */
  --accent: #7C5E4A;
  --accent-soft: #E8DDD7;
  --beige: #D4C4BD;
  --card: #FFFcf9;
  --stroke: rgba(17, 24, 39, 0.08);
  --shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 10px 28px rgba(17, 24, 39, 0.08);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --good: #22C55E;
  --watch: #F59E0B;
  --plan: #F97316;
  --due: #EF4444;
  --overdue: #B91C1C;
  --info: #3B82F6;
  --neutral: #6B7280;
  --glass: rgba(255, 252, 249, 0.64);
  --maroon: #8A1538;

  /* Text-only inks: the same hues as the tokens above, darkened to reach 4.5:1 for small text.
     Backgrounds, dots, bars and borders keep the original tokens. */
  --accent-ink: #755842;  /* on --accent-soft 4.88, on card 6.36 */
  --due-ink: #C81E1E;     /* on card 5.61, on #FEE2E2 4.70 */
  --plan-ink: #C2410C;    /* on card 5.07 (same as .pill.plan) */
  --good-ink: #15803D;    /* on card 4.91 (same as .pill.good) */
  --info-ink: #1D4ED8;    /* on #DBEAFE 5.49 */

  /* The real Android status bar replaces the mockup's fake one (DESIGN.md 1.9). */
  --top-gap: calc(env(safe-area-inset-top, 0px) + 8px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: 92px;
  --radius: 16px;
  --space: 8px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Playfair Display", "Times New Roman", serif;
}
