/* t201/t213: rotating use-case word (js/rot.js) in the calculator hero, the paywall headline and the homepage hero. Words are stacked in one grid cell;
   a soft rise + fade swaps them; reduced motion shows 'bid.'.
   t1029: once js/rot.js has measured the rendered words (.rot-m), the slot is as wide as the word showing (letters + period) and the underline as wide as
   its letters (--rw, offset --rl); both animate with the swap (.rot-a). Only the centered homepage hero (.rot-fit) resizes the slot; elsewhere the slot
   keeps the longest word's width so nothing reflows. Without JS the slot falls back to the longest word and the underline to the slot. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.rot{display:inline-grid;vertical-align:baseline;color:#4f6b3a;position:relative;text-align:start;justify-items:start} /* t213: words start at the slot edge even inside centered text (homepage hero) */
.rot>span{grid-area:1/1;opacity:0;transform:translateY(.28em);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1);white-space:nowrap}
.rot>span.on{opacity:1;transform:none}
.rot::after{content:"";position:absolute;left:0;right:.35em;bottom:.04em;height:.14em;border-radius:99px;background:#e9cf4f;opacity:.45;z-index:-1}
.rot-fit .rot.rot-m{grid-template-columns:minmax(0,1fr)}
.rot.rot-m::after{left:var(--rl,0);right:auto;width:var(--rw)}
.rot.rot-a{transition:width .45s cubic-bezier(.2,.7,.2,1)}
.rot.rot-a::after{transition:width .45s cubic-bezier(.2,.7,.2,1),left .45s cubic-bezier(.2,.7,.2,1)}
.rotline{position:relative;z-index:0}
.rotline.rot-fit{display:inline-block;max-width:100%;white-space:nowrap} /* t1029: 'before you <word>.' is one unit, so a shorter word never pulls text up a line (homepage hero, paywall) */
.rot-c .rot{justify-items:center}
@media (prefers-reduced-motion:reduce){.rot>span{transition:none;transform:none}.rot.rot-a,.rot.rot-a::after{transition:none}}
