/* ============================================================
   XY — TYPOGRAPHY TOKENS
   Two families, one voice:
   • Display  — heavy geometric ITALIC, ALL-CAPS, tight leading.
                Used for every hero headline ("MATCH DAY IS HERE").
   • UI/Body  — friendly geometric-humanist sans, sentence case.
   Numerals (scores, timers, countdowns) use the display family
   but UPRIGHT (not italic) at heavy weight.
   ============================================================ */
:root {
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-ui:      'Mulish', system-ui, sans-serif;

  /* weights */
  --w-regular: 400; /* @kind font */
  --w-medium:  500; /* @kind font */
  --w-semibold:600; /* @kind font */
  --w-bold:    700; /* @kind font */
  --w-extra:   800; /* @kind font */
  --w-black:   900; /* @kind font */

  /* ---- Display scale (italic, uppercase, tight) ---- */
  --display-2xl: 56px;   /* hero takeover ("MATCH DAY IS HERE") */
  --display-xl:  40px;   /* screen titles ("FIND YOUR SQUAD")   */
  --display-lg:  30px;   /* card titles ("MAKE TOP 2...")       */
  --display-md:  22px;   /* squad name in lists                 */
  --lh-display:  0.96; /* @kind font */
  --tracking-display: -0.01em; /* @kind font */

  /* ---- Numeric scale (display family, UPRIGHT) ---- */
  --numeric-xl:  64px;   /* countdown / live clock  @kind font */
  --numeric-lg:  40px;   /* score lines             @kind font */

  /* ---- UI / body scale (Mulish) ---- */
  --title:     22px;     /* section question prompts            */
  --heading:   18px;     /* section headers ("Recent Activity") */
  --body-lg:   17px;
  --body:      15px;
  --label:     14px;     /* buttons, chips                      */
  --caption:   13px;     /* meta, counts                        */
  --micro:     11px;     /* flags, tier labels                  */
  --lh-body:   1.45; /* @kind font */
  --lh-tight:  1.2; /* @kind font */
}

/* ---- Reusable type roles ---- */
.xy-display {
  font-family: var(--font-display);
  font-weight: var(--w-black);
  font-style: italic;
  text-transform: uppercase;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  color: var(--ink);
}
.xy-numeric {
  font-family: var(--font-display);
  font-weight: var(--w-extra);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.xy-title  { font-family: var(--font-ui); font-weight: var(--w-bold);     font-size: var(--title);   line-height: var(--lh-tight); color: var(--ink); }
.xy-heading{ font-family: var(--font-ui); font-weight: var(--w-bold);     font-size: var(--heading); line-height: var(--lh-tight); color: var(--ink); }
.xy-body   { font-family: var(--font-ui); font-weight: var(--w-medium);   font-size: var(--body);    line-height: var(--lh-body);  color: var(--text-body); }
.xy-label  { font-family: var(--font-ui); font-weight: var(--w-bold);     font-size: var(--label);   line-height: 1; }
.xy-caption{ font-family: var(--font-ui); font-weight: var(--w-medium);   font-size: var(--caption); line-height: 1.3; color: var(--text-muted); }
