/* Manrope and Inter, SIL Open Font License. Fonts and licenses are bundled locally. */
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --sans: 'Inter', Arial, sans-serif;
  --heading-font: 'Manrope', 'Inter', Arial, sans-serif;
  --serif: var(--sans);
}

body { font-optical-sizing: auto; }

h1, h2, .hero h1, .hero-next-copy h2, .section h2,
.reading-hero h1, .reading-body h2, #contact-dialog h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-synthesis: none;
  font-kerning: normal;
}
h3, h4, .problem-grid h3, .ecosystem-line h3, .agent-scene-head h3,
.service-cards h3, .journey-grid h3, .profile-copy h3,
.plan-card h3, .reading-body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-synthesis: none;
  font-kerning: normal;
}
h1, h2 { letter-spacing: -.035em; }
h1 em, h2 em { font-family: inherit; font-style: normal; font-weight: inherit; }
.hero h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.12;
  letter-spacing: -.035em;
  max-width: min(100%, 1040px);
  text-wrap: balance;
}
.hero-next-copy h2 {
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1.16;
  letter-spacing: -.025em;
  max-width: 25ch;
  text-wrap: balance;
}
.section h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
  max-width: 26ch;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.closing-section h2 {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.16;
  letter-spacing: -.025em;
  max-width: 25ch;
  margin: 0 auto 24px;
  text-wrap: balance;
}
.hero-next-copy h2 br, .section h2 br, .closing-section h2 br,
.hero-summary br, .hero-next-copy > p br, .closing-section p br { display: none; }
.center-heading h2, .split-heading h2 { margin-inline: auto; }
.hero-summary {
  max-width: 66ch;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  margin: 24px auto 0;
  text-wrap: balance;
}
.hero-next-copy > p:not(.eyebrow) {
  max-width: 62ch;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  margin: 0 auto;
  text-wrap: balance;
}
.hero-actions { margin-top: 24px; }
.hero-next-copy h2 { margin-bottom: 24px; }
.section .split-heading > p, .section .center-heading > p:last-child,
.team-copy .section-intro, .assistant-copy > p:not(.eyebrow),
.faq-layout > div > p:not(.eyebrow) {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  text-wrap: pretty;
}
.section .split-heading > p, .section .center-heading > p:last-child {
  max-width: 66ch;
  margin: 24px auto 0;
  text-wrap: balance;
}
.theme-flow .closing-section p:not(.eyebrow) {
  max-width: 62ch;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.problem-grid h3, .ecosystem-line h3, .service-cards h3,
.journey-grid h3, .profile-copy h3, .agent-scene-head h3 {
  line-height: 1.2;
  letter-spacing: -.015em;
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(29px, 8.1vw, 36px);
    line-height: 1.16;
    max-width: 20ch;
    letter-spacing: -.025em;
  }
  .hero-next-copy h2 { font-size: clamp(26px, 7.1vw, 31px); line-height: 1.18; max-width: 23ch; margin-bottom: 20px; }
  .section h2, .platform-section .split-heading h2,
  .problem-section .split-heading h2 {
    font-size: clamp(29px, 7.8vw, 35px);
    line-height: 1.2;
    letter-spacing: -.025em;
  }
  .closing-section h2 { font-size: clamp(31px, 8.3vw, 38px); line-height: 1.2; max-width: 22ch; }
  .hero h1 br { display: none; }
  .hero-summary { max-width: 34ch; font-size: 14px; line-height: 1.7; margin-top: 20px; }
  .hero-next-copy > p:not(.eyebrow) { max-width: 35ch; font-size: 14px; line-height: 1.7; }
  .section .split-heading > p, .section .center-heading > p:last-child { margin-top: 20px; }
  .hero-actions { margin-top: 22px; }
  .theme-flow .closing-section p:not(.eyebrow) { max-width: 36ch; font-size: 14px; margin-bottom: 24px; }
  .profile-copy h3 { font-size: 29px; }
  .agent-scene-head h3 { font-size: 27px; }
}
