/* Design tokens, from the reference design system tokens.
   Changes: Inter replaces the commercial display face (the system's own named substitute),
   and a truncated surface value is corrected to #40372e. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../vendor/inter-5.3.0/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colors */
  --color-warm-cream: #ffedd7;
  --color-walnut-shadow: #100904;
  --color-bark-brown: #382416;
  --color-cork-border: #40372e;
  --color-driftwood: #6c5f51;
  --color-ember-accent: #dc5000;
  --color-pure-black: #000000; /* SVG fills only */
  --color-slate-apron: #2f3a40; /* hero only, never a UI token */

  /* Families */
  --font-display: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arial: Arial, ui-sans-serif, system-ui, sans-serif;

  /* Scale */
  --text-legal: 8px;
  --text-chip: 12px;
  --text-nav: 12px;
  --text-subheading: 18px;
  --leading-subheading: 1;
  --text-heading-sm: 24px;
  --leading-heading-sm: 1.09;
  --text-body: 29px;
  --leading-body: 1.26;
  --text-heading: 41px;
  --leading-heading: 0.9;
  --text-display: 51px;
  --leading-display: 0.9;

  --font-weight-regular: 400;
  --font-weight-medium: 500;

  /* Spacing */
  --spacing-6: 6px;
  --spacing-8: 8px;
  --spacing-9: 9px;
  --spacing-10: 10px;
  --spacing-12: 12px;
  --spacing-14: 14px;
  --spacing-18: 18px;
  --spacing-24: 24px;
  --spacing-31: 31px;
  --spacing-41: 41px;
  --spacing-45: 45px;
  --spacing-68: 68px;
  --spacing-204: 204px;

  --card-padding: 24px;
  --element-gap: 18px;
  --gutter: 18px;

  /* Radius vocabulary: 36 / 22.5 / 12 / 0 */
  --radius-buttons-pill: 36px;
  --radius-buttons-outlined: 22.5px;
  --radius-cards: 12px;
  --radius-inputs: 0px;

  /* Motion (art direction) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-ui: 200ms;
  --dur-enter: 500ms;

  --tap: 44px;
}

/* Phone first: body copy steps down to 18 / 400 at 390 (art direction). */
@media (max-width: 767px) {
  :root {
    --text-body: 18px;
    --leading-body: 1.3;
    --text-heading: 34px;
    --text-display: 44px;
  }
}
