/* Zilica — Typography tokens
   ============================================================================
   Sohne (substitute: Inter) at WEIGHT 300 with negative tracking is the brand's
   editorial-density signature. Three rules govern everything:
     1. Thin weight is the brand. Display always renders at 300; 400+ kills the air.
     2. Negative tracking on display: -1.4px @ 56px scaling to -0.2px @ 20px.
     3. Tabular figures (tnum) on any money / numeric cell.
   ss01 is applied globally (see base.css); tnum is applied per-element.
   ============================================================================ */

:root {
  /* role-level size tokens (handy for programmatic use) */
  --fs-display-xxl: 56px;  --fs-display-xl: 48px;  --fs-display-lg: 32px;
  --fs-display-md:  26px;  --fs-heading-lg: 22px;  --fs-heading-md: 20px;
  --fs-heading-sm:  18px;  --fs-body-lg:    16px;  --fs-body-md:    15px;
  --fs-body-tabular:14px;  --fs-button-md:  16px;  --fs-button-sm:  14px;
  --fs-caption:     13px;  --fs-micro:      11px;  --fs-micro-cap:  10px;

  --fw-thin: 300;              /* @kind font */
  --fw-regular: 400;           /* @kind font */
  --fw-medium: 500;            /* @kind font */

  --feat-ss01: "ss01";         /* @kind other */
  --feat-tnum: "ss01", "tnum"; /* @kind other */
}

/* ============================================================================
   TYPE ROLE UTILITY CLASSES
   Each maps 1:1 to a token in the spec. Use them directly in markup, or copy
   the declarations into component styles.
   ============================================================================ */

.t-display-xxl { font-family: var(--font-sans); font-size: 56px; font-weight: 300; line-height: 1.03; letter-spacing: -1.4px;  font-feature-settings: "ss01"; }
.t-display-xl  { font-family: var(--font-sans); font-size: 48px; font-weight: 300; line-height: 1.15; letter-spacing: -0.96px; font-feature-settings: "ss01"; }
.t-display-lg  { font-family: var(--font-sans); font-size: 32px; font-weight: 300; line-height: 1.1;  letter-spacing: -0.64px; font-feature-settings: "ss01"; }
.t-display-md  { font-family: var(--font-sans); font-size: 26px; font-weight: 300; line-height: 1.12; letter-spacing: -0.26px; font-feature-settings: "ss01"; }

.t-heading-lg  { font-family: var(--font-sans); font-size: 22px; font-weight: 300; line-height: 1.1;  letter-spacing: -0.22px; font-feature-settings: "ss01"; }
.t-heading-md  { font-family: var(--font-sans); font-size: 20px; font-weight: 300; line-height: 1.4;  letter-spacing: -0.2px;  font-feature-settings: "ss01"; }
.t-heading-sm  { font-family: var(--font-sans); font-size: 18px; font-weight: 300; line-height: 1.4;  letter-spacing: 0;       font-feature-settings: "ss01"; }

.t-body-lg     { font-family: var(--font-sans); font-size: 16px; font-weight: 300; line-height: 1.4;  letter-spacing: 0;       font-feature-settings: "ss01"; }
.t-body-md     { font-family: var(--font-sans); font-size: 15px; font-weight: 300; line-height: 1.4;  letter-spacing: 0;       font-feature-settings: "ss01"; }

/* Money / numeric cells — tabular figures + tightening track */
.t-body-tabular{ font-family: var(--font-numeric); font-size: 14px; font-weight: 300; line-height: 1.4; letter-spacing: -0.42px; font-feature-settings: "ss01", "tnum"; font-variant-numeric: tabular-nums; }

.t-button-md   { font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 1.0;  letter-spacing: 0;       font-feature-settings: "ss01"; }
.t-button-sm   { font-family: var(--font-sans); font-size: 14px; font-weight: 400; line-height: 1.0;  letter-spacing: 0;       font-feature-settings: "ss01"; }

.t-caption     { font-family: var(--font-sans); font-size: 13px; font-weight: 400; line-height: 1.4;  letter-spacing: -0.39px; font-feature-settings: "ss01", "tnum"; font-variant-numeric: tabular-nums; }
.t-micro       { font-family: var(--font-sans); font-size: 11px; font-weight: 300; line-height: 1.4;  letter-spacing: 0;       font-feature-settings: "ss01"; }

/* All-caps eyebrow */
.t-micro-cap   { font-family: var(--font-sans); font-size: 10px; font-weight: 400; line-height: 1.15; letter-spacing: 0.1px;   text-transform: uppercase; font-feature-settings: "ss01"; }

/* Tabular-figure helper — drop onto any element that renders money. */
.tnum { font-feature-settings: "ss01", "tnum"; font-variant-numeric: tabular-nums; letter-spacing: -0.42px; }
