@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/eb-garamond-400.ttf) format('truetype');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/eb-garamond-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/inter-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/inter-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/inter-600.ttf) format('truetype');
}

/* Editorial accents; functional text stays in Inter. */
:root {
  --font-heading: 'EB Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body { font-family: var(--font-body); }
h1, h2, .serif, .review-chat-subtitle, .review-history-controls strong {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.15;
}
.page-head h1, .home-cards-title, .review-concierge-title h1,
.review-chat-heading h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.adaptive .section-head h2, .account-activity h2,
.review-new-request h2, .review-thread-history-head h2,
.review-topup h2, .review-section h2, .review-chat-subtitle,
.review-history-controls strong {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -.015em;
}
/* Small card labels need the same clarity as other UI text. */
.selected-card-heading h2, h3 { font-family: var(--font-body); }
.wordmark, .review-avatar { font-family: var(--font-heading); }
/* Override the earlier numerical reset only for display amounts. */
.balance, .balance.serif, .account-balance, .master-amount,
.master-amount > span, .card-balance-line > strong, .review-detail-amount {
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
  font-variant-numeric: lining-nums tabular-nums !important;
  font-feature-settings: 'lnum' 1, 'tnum' 1 !important;
  letter-spacing: -.02em !important;
}
.tx-amount, .card-tile-balance, .family-balance,
.stats .stat strong, .amount-box, .amount-row, .amount-input,
.transaction [class*='amount'], .card-balance-line {
  font-family: var(--font-body) !important;
}
@media (max-width: 720px) {
  .page-head h1, .home-cards-title, .review-concierge-title h1,
  .review-chat-heading h1 { font-size: 32px; }
  .adaptive .section-head h2, .account-activity h2,
  .review-new-request h2, .review-thread-history-head h2,
  .review-topup h2, .review-section h2, .review-chat-subtitle,
  .review-history-controls strong { font-size: 25px; }
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/eb-garamond-italic-400.ttf) format('truetype');
}
