/* Every phrase occupies the same grid cell; the longest reserves the space. */
.problem-prompt{position:relative}
.problem-prompt.has-phrase-control{padding-right:38px}
[data-problem-phrase]{display:block;color:var(--red)}
.problem-phrase-stage{display:grid;overflow:hidden;line-height:1.3;padding-block:.06em}
.problem-phrase-word{grid-area:1 / 1;align-self:start;visibility:hidden;opacity:0;overflow-wrap:normal}
.problem-phrase-word.is-current{visibility:visible;opacity:1}
.problem-phrase-word.is-leaving{visibility:visible;animation:problem-phrase-out .42s cubic-bezier(.55,0,.8,.4) both}
.problem-phrase-word.is-entering{visibility:visible;animation:problem-phrase-in .46s cubic-bezier(.16,1,.3,1) both}
@keyframes problem-phrase-out{from{transform:translateY(0);opacity:1}to{transform:translateY(110%);opacity:0}}
@keyframes problem-phrase-in{from{transform:translateY(-110%);opacity:0}to{transform:translateY(0);opacity:1}}
.problem-phrase-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.problem-phrase-toggle{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--muted);opacity:.65;cursor:pointer}
.problem-phrase-toggle[hidden]{display:none}
.problem-phrase-toggle:hover,.problem-phrase-toggle:focus-visible{opacity:1;border-color:var(--line);background:var(--surface)}
.problem-phrase-toggle:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.phrase-play-icon,.problem-phrase-toggle.is-paused .phrase-pause-icon{display:none}
.problem-phrase-toggle.is-paused .phrase-play-icon{display:block}
.hero-copy{align-self:start}
.hero-problem{margin:0 0 24px}
.hero-problem.has-phrase-control{padding-right:0}
.hero .hero-problem h1{margin:0;font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.1;letter-spacing:-.055em}
.hero-problem [data-problem-phrase]{padding-right:36px}
.hero-problem .problem-phrase-stage{line-height:1.1}
.hero-problem .problem-phrase-word{text-wrap:balance}
.hero-description>strong{font-weight:650;color:var(--ink)}
.contact-dialog-content .problem-prompt h2{margin:0}
@media(min-width:601px) and (max-width:850px){.hero .hero-problem h1{font-size:clamp(3.3rem,8.5vw,4rem)}}
@media(max-width:600px){.hero .hero-problem h1{font-size:clamp(2.5rem,11.5vw,3.5rem)}.problem-phrase-stage{line-height:1.35}}
@media(prefers-reduced-motion:reduce){.problem-phrase-word{animation:none!important}.problem-phrase-toggle{display:none}}
