/* Péntekhat web tokens. Source of truth for apps/web; mirrors apps/mobile/src/theme.ts. */
:root {
  --color-paper: #ECEFE8;
  --color-paper-2: #F7F8F4;
  --color-paper-3: #E3E7DF;
  --color-ink: #1D221F;
  --color-ink-2: #484F42;
  --color-muted: #62695F; /* app: #6B7268, darkened for 4.5:1 on paper and paper-3 */
  --color-rule: #DDE1D8;
  --color-accent: #E5F69B;
  --color-accent-strong: #C7DB63;
  --color-accent-ink: #4F5A2E;
  --color-sage: #B8C0B3;
  --color-focus: #1D221F;

  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-card: 28px;
  --radius-chip: 22px;
  --radius-pill: 999px;
  --rule-hair: 1px;
  --shadow-card: none;

  --container: 1240px;
}

/* Text on the ink fill: the app's white (theme.ts colors.white), tinted to paper-2 for the web. */
:root {
  --color-on-ink: #F7F8F4;
}

/* Shared scale (Hallmark), not brand: spacing, type steps, motion, layers. */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;

  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-body-l: 1.125rem; --text-lg: 1.25rem;
  --text-display: clamp(3rem, 4.6vw + 0.75rem, 5.25rem);
  --text-section: clamp(2.25rem, 2.6vw + 1rem, 3.25rem);
  --text-band: clamp(2rem, 1.6vw + 1.1rem, 2.5rem);
  --text-title: clamp(1.25rem, 0.6vw + 0.95rem, 1.75rem);
  --text-lead: clamp(1.125rem, 0.4vw + 1rem, 1.3125rem);
  --tracking-display: -0.033em;
  --tracking-section: -0.029em;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms;

  --gutter: 24px; --gap-columns: 48px;
  --section-gap: 120px;
  --control-h: 52px; --control-h-s: 44px;

  --z-raised: 10; --z-toast: 500;
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --gap-columns: 32px; --section-gap: 72px; }
}
