:root {
  --matrix-font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --matrix-font-heading: "Manrope", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --matrix-font-ui: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --matrix-type-xs: 0.75rem;
  --matrix-type-sm: 0.875rem;
  --matrix-type-base: 1rem;
  --matrix-type-lg: 1.125rem;
  --matrix-type-h6: 1.125rem;
  --matrix-type-h5: 1.25rem;
  --matrix-type-h4: 1.5rem;
  --matrix-type-h3: clamp(1.75rem, 1.45rem + 1vw, 2rem);
  --matrix-type-h2: clamp(2rem, 1.55rem + 1.6vw, 2.5rem);
  --matrix-type-h1: clamp(2.5rem, 1.75rem + 3vw, 3.5rem);
  --matrix-leading-tight: 1.08;
  --matrix-leading-heading: 1.16;
  --matrix-leading-body: 1.65;
  --matrix-leading-loose: 1.75;
}

html.matrix-public-typography {
  font-family: var(--matrix-font-body);
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html.matrix-public-typography body {
  font-family: var(--matrix-font-body);
  font-size: var(--matrix-type-base);
  line-height: var(--matrix-leading-body);
  letter-spacing: 0;
  font-optical-sizing: auto;
}

html.matrix-public-typography h1,
html.matrix-public-typography h2,
html.matrix-public-typography h3,
html.matrix-public-typography h4,
html.matrix-public-typography h5,
html.matrix-public-typography h6,
html.matrix-public-typography .section-header h2,
html.matrix-public-typography .page-header-banner h1,
html.matrix-public-typography .about-page-legacy-hero h1,
html.matrix-public-typography .conference-event-hero h1,
html.matrix-public-typography .conf-info-hero-content h1,
html.matrix-public-typography .conf-abstract-hero-content h1 {
  font-family: var(--matrix-font-heading) !important;
  font-weight: 700 !important;
  line-height: var(--matrix-leading-heading);
  letter-spacing: 0 !important;
  text-wrap: balance;
}

html.matrix-public-typography h1,
html.matrix-public-typography .hero-title,
html.matrix-public-typography .conference-event-hero h1 {
  font-size: var(--matrix-type-h1);
  line-height: var(--matrix-leading-tight);
}

html.matrix-public-typography h2,
html.matrix-public-typography .section-header h2 {
  font-size: var(--matrix-type-h2);
}

html.matrix-public-typography h3 {
  font-size: var(--matrix-type-h3);
  font-weight: 600 !important;
}

html.matrix-public-typography h4 {
  font-size: var(--matrix-type-h4);
}

html.matrix-public-typography h5 {
  font-size: var(--matrix-type-h5);
}

html.matrix-public-typography h6 {
  font-size: var(--matrix-type-h6);
}

html.matrix-public-typography p,
html.matrix-public-typography li,
html.matrix-public-typography .rich-text,
html.matrix-public-typography .faq-answer-inner,
html.matrix-public-typography .conf-info-card p,
html.matrix-public-typography .conference-event-footer__desc {
  font-family: var(--matrix-font-body) !important;
  line-height: var(--matrix-leading-body) !important;
  letter-spacing: 0 !important;
}

html.matrix-public-typography .section-header p,
html.matrix-public-typography .hero-subtitle,
html.matrix-public-typography .about-preview p,
html.matrix-public-typography .about-tab-content p,
html.matrix-public-typography .conference-event-hero p,
html.matrix-public-typography .conf-info-hero-content p {
  font-size: var(--matrix-type-lg);
  line-height: var(--matrix-leading-loose);
}

html.matrix-public-typography a,
html.matrix-public-typography button,
html.matrix-public-typography input,
html.matrix-public-typography select,
html.matrix-public-typography textarea,
html.matrix-public-typography .btn,
html.matrix-public-typography .nav-link,
html.matrix-public-typography .conference-event-nav__link,
html.matrix-public-typography .section-badge,
html.matrix-public-typography .conference-event-hero__meta-label,
html.matrix-public-typography .conference-event-hero__meta-value {
  font-family: var(--matrix-font-ui) !important;
  letter-spacing: 0 !important;
}

html.matrix-public-typography .nav-link,
html.matrix-public-typography .conference-event-nav__link {
  font-size: var(--matrix-type-sm);
  font-weight: 700;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

html.matrix-public-typography .btn,
html.matrix-public-typography button,
html.matrix-public-typography input,
html.matrix-public-typography select,
html.matrix-public-typography textarea {
  font-size: var(--matrix-type-base);
  font-weight: 500;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

html.matrix-public-typography .section-badge,
html.matrix-public-typography .conference-event-hero__eyebrow,
html.matrix-public-typography .conf-info-hero-eyebrow,
html.matrix-public-typography .conf-abstract-hero-eyebrow {
  font-family: var(--matrix-font-ui);
  font-size: var(--matrix-type-xs);
  font-weight: 800;
  letter-spacing: 0 !important;
}

html.matrix-public-typography .hero-stat-value,
html.matrix-public-typography .conference-event-countdown__number {
  font-family: var(--matrix-font-ui);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  html.matrix-public-typography {
    font-size: 15.5px;
  }

  html.matrix-public-typography h1,
  html.matrix-public-typography .hero-title,
  html.matrix-public-typography .conference-event-hero h1 {
    font-size: clamp(2.125rem, 1.75rem + 2vw, 2.75rem);
  }

  html.matrix-public-typography h2,
  html.matrix-public-typography .section-header h2 {
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.125rem);
  }

  html.matrix-public-typography .section-header p,
  html.matrix-public-typography .hero-subtitle,
  html.matrix-public-typography .about-preview p,
  html.matrix-public-typography .about-tab-content p,
  html.matrix-public-typography .conference-event-hero p,
  html.matrix-public-typography .conf-info-hero-content p {
    font-size: var(--matrix-type-base);
    line-height: var(--matrix-leading-body);
  }
}
