/* Homepage only (linked from build.py). The descriptive H1 sits above the display slogan,
   which stays the visual headline but is no longer the semantic heading. Pain-card titles
   are H3s styled exactly like the previous bold labels. */
.hero-title{
 margin:0 auto 18px;max-width:min(760px,92%);
 font-family:var(--font-sans);font-size:clamp(17px,1.75vw,22px);font-weight:600;
 line-height:1.3;letter-spacing:.01em;color:#fff;text-wrap:balance;
}
[data-theme=light] .hero-viewport .hero-title{color:#202026}
@media(max-width:720px){.hero-title{font-size:18px;margin-bottom:14px}}

.problem-steps li h3{
 display:block;margin:0;font-family:'Prata',Georgia,serif;font-size:clamp(19px,1.6vw,22px);
 font-weight:400;line-height:1.35;letter-spacing:normal;text-transform:none;color:var(--ink);
}

/* Rotating slogan: the longest pair ("Decisions Made with Data.") is ~16.3 em wide and
   overran the viewport between ~1025 and ~1540 px at the fixed 89.76 px size. These mirror the
   site's own desktop rules with a 16.4 em width cap instead of 14.6 em; wider screens keep the
   full size. Every pair keeps the same
   height, so swapping pairs never moves the CTAs. */
@media(min-width:1025px){#home-headline{font-size:min(clamp(31.42px,6.956vw,89.76px),calc((100vw - 64px)/16.4))}}
@media(min-width:1600px) and (min-height:960px){#home-headline{font-size:min(98.74px,calc((100vw - 64px)/16.4))}}
@media(min-width:1025px) and (max-height:700px){#home-headline{font-size:min(clamp(31.42px,6.392vw,72.93px),calc((100vw - 64px)/16.4))}}
