/* DigiTransact AI Education Centre — two-font typography system.
   Heading face: Fraunces. Body/UI face: Manrope.
   Fixed scale: 12/14/16/20/24/32/40/48/56/64px. */
:root {
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 48px;
  --text-5xl: 56px;
  --text-6xl: 64px;
}
html, body, body * {
  font-family: var(--font-body) !important;
}
h1, h2, h3, h4, h5, h6,
.pm-hero h1, .hv-title, .display-heading, .hero-title {
  font-family: var(--font-heading) !important;
}

/* Fixed hierarchy applied consistently across components. */
h1 { font-size: var(--text-4xl) !important; }
h2 { font-size: var(--text-2xl) !important; }
h3 { font-size: var(--text-lg) !important; }
h4 { font-size: var(--text-base) !important; }
h5, h6 { font-size: var(--text-sm) !important; }
p { font-size: var(--text-base) !important; }
small { font-size: var(--text-sm) !important; }
.pm-hero h1 { font-size: var(--text-6xl) !important; }
.hero-title, .display-heading, .hv-title { font-size: var(--text-4xl) !important; }
.pm-hero-sub, .pm-lede, .af-lede, .page-head .lede, .path-hero .lede { font-size: var(--text-lg) !important; }
.af-meta, .af-planned, .meta, .pm-eyebrow, .a11y-help { font-size: var(--text-xs) !important; }


.pm-demo-title { font-size: var(--text-lg) !important; }
.pm-demo-prompt { font-size: var(--text-sm) !important; }
.af-hero .lede { font-size: var(--text-lg) !important; }
.pt-btn, .a11y-btn, .a11y-open-btn, .a11y-readbar button { font-size: var(--text-sm) !important; }

body { font-size: var(--text-base); }
small { font-size: var(--text-sm); }
code, pre, kbd, samp {
  font-family: var(--font-body) !important;
}

@media (max-width: 640px) {
  .pm-hero h1 { font-size: var(--text-4xl) !important; }
  h2 { font-size: var(--text-xl) !important; }
}
