/* Type (Nithik's call, 2026-11-04): one font for everything, Sofia Sans Semi Condensed, the practice
   card's font. It started as the free stand-in for Deepgram's paid Perfektta (closest of 32 fonts tested
   against their "Dashboard", tools in HERO's projects/podium/tools/font-match/).
   Regular weight by default, including the prompts; bold only for page titles and scores.
   Only the Home / Practice / Progress tabs keep Noto Sans (--font-nav).
   Sizes from his Deepgram screenshot: title 42, big number 55, card title 24, button 18.
   The fonts themselves are set in theme.css. This file is loaded last on each page and only overrides;
   delete its <link> to go back. */

/* A condensed face reads small at 16px, so running text goes up a step. */
body { font-size: 17px; }
.nav-pills a { font-family: var(--font-nav); }

/* Page titles: bold and tight, like "Dashboard". */
h1, h2, .final-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
}
.page-head h1, .progress-title, .topic-title, .home-prompt-text, .review-title { font-size: 42px; line-height: 1.08; }

/* Prompts are in the regular weight (his call): the practice prompt, the home card and the review title. */
.topic-title, .home-prompt-text, .review-title { font-weight: 400; letter-spacing: -0.02em; }

/* Card and panel titles, like "Manage API keys": medium, 24px. */
.panel-title, h3, h4, .display, .sheet-section, .ribbons-title, .report-block h4, .ruled b {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.panel-title, .sheet-section, .ribbons-title, .report-block h4, .home-progress-head .display { font-size: 24px; }

/* Scores, counts and the clock, like "$199.87": bold and tight. The headline scores are 55px. */
.num:not(.player-time), .home-score, .review-score, .ring-number, .kpi-value, .overall-number,
.history-score, .breakdown-list li.total span:last-child, .rp-score, .timer-chip, .metric-value, .cam-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
}
/* They don't tick, so they use the font's natural digit widths, like Deepgram's; the clock keeps fixed widths. */
.home-score, .review-score, .overall-number, .rp-score { font-size: 55px; line-height: 1; font-variant-numeric: proportional-nums lining-nums; }
.metric-value small { font-weight: 500; letter-spacing: 0; }

/* What you said and what the coach suggests: regular weight, normal spacing. */
.segment p, .rewrite-better p, .drill-prompt, .demo-line, .demo-bubble p, .pip-text {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

/* Buttons: semibold, 18px. */
.btn-primary, .btn-outline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0;
}

/* Small labels under a title, like "Project ID": regular, 16px. */
.eyebrow, .report-kicker {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
}

/* Phones: titles and headline scores step down so they fit a 390px screen. */
@media (max-width: 640px) {
  .page-head h1, .progress-title, .topic-title, .home-prompt-text, .review-title { font-size: 34px; }
  .home-score, .review-score, .overall-number, .rp-score { font-size: 48px; }
  .btn-primary, .btn-outline { font-size: 16px; }
}

/* ---------- One style for the small labels above things (2026-11-08) ----------
   The prompt's category, "Coach tip", "Coach report" and Home's "Today" were three styles
   in two colours. Now one: small, semibold capitals in the information blue (orange is
   kept for what you act on, as the design system says). */
.home-category, .category-chip, .tile-label, .report-kicker,
body[data-screen] .coach-tile .tile-label {
  color: var(--main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
