/* CLO-88 round 3 landing additions: the typewriter hero, the benefits row,
   linked app logos and the own API key note. */
.sivusto-page .sv-hero h1.sv-typed-title .sv-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sivusto-page .sv-hero h1.sv-typed-title .sv-sr:after,.sivusto-page .sv-hero h1.sv-typed-title>span[aria-hidden]:after,.sivusto-page .sv-hero h1.sv-typed-title .sv-caret:after{content:none}
.sivusto-page .sv-hero h1.sv-typed-title>span[aria-hidden]{display:block;color:var(--color-ink);white-space:normal}
.sivusto-page .sv-hero h1.sv-typed-title .sv-typed{color:var(--color-brick-600);white-space:nowrap;display:inline-block;min-width:1ch}
/* While the typewriter has erased the ending, a zero-width space keeps the
   line's height and baseline, and the highlight waits for the next word. */
.sivusto-page .sv-hero h1.sv-typed-title .sv-typed:empty{min-width:0}
.sivusto-page .sv-hero h1.sv-typed-title .sv-typed:empty:before{content:"\200b"}
.sivusto-page .sv-hero h1.sv-typed-title .sv-typed:empty:after{content:none}
.sivusto-page .sv-hero h1.sv-typed-title .sv-caret{position:static;display:inline-block;width:.08em;height:.9em;margin-left:.06em;vertical-align:-.08em;background:var(--color-brick-600);animation:sv-caret 1s steps(1) infinite}
@keyframes sv-caret{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.sivusto-page .sv-hero h1.sv-typed-title .sv-caret{animation:none;opacity:0}}
.sv-hero .sv-hero-offer{padding-bottom:1.5rem}
.site-container.sv-benefits-wrap{max-width:1488px;padding-inline:24px}
.sv-benefits{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;list-style:none;margin:0 auto;padding:0 0 24px}
.sv-benefits li{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:.5rem 0;font-weight:700;color:var(--color-ink);font-size:15px;line-height:1.4}
.sv-benefits li::before{content:none;display:none}
.sv-benefit-text{white-space:nowrap}
.sv-benefit-icon{position:relative;isolation:isolate;display:grid;place-items:center;flex:0 0 28px;width:28px;height:32px;color:var(--color-brick-600)}
.sv-benefit-icon::before{content:"";position:absolute;z-index:-1;inset:5px -2px;background:var(--color-sun-400);border-radius:38% 62% 54% 46% / 58% 37% 63% 42%;transform:rotate(-12deg)}
.sv-benefits li:nth-child(even) .sv-benefit-icon::before{transform:rotate(14deg);border-radius:62% 38% 42% 58% / 37% 63% 42% 58%}
.sv-benefit-icon svg{display:block;width:24px;height:24px}
.sv-brands a.sv-brand-item{display:flex}
.sv-own-key{margin-top:1.5rem;padding:1.25rem 1.5rem;background:var(--color-white);border:2px solid var(--color-ink);border-radius:14px}
.sv-own-key h3{margin:0 0 .4rem}
.sv-own-key p{margin:0}
@media (max-width:639px){.sv-benefits{flex-direction:column;align-items:flex-start;gap:.75rem;padding-bottom:24px}.sv-benefits li{width:100%;gap:8px}.sv-benefit-text{white-space:normal;overflow-wrap:break-word}}

/* The hero's three columns reserve space for decorative messages. */
.site-container.sv-hero-layout{max-width:1600px}
.sv-hero-layout .mittari-hero-copy{min-width:0;width:100%}
.sv-hero-layout .sv-hero-bubbles{display:none}
.sv-hero-layout .sv-bubble{position:static;inset:auto;margin:0;padding:.7rem .8rem;max-width:184px;min-width:0;border:2px solid var(--color-ink);font-size:.8rem;font-weight:700;line-height:1.35;color:var(--color-ink);box-shadow:4px 4px 0 var(--color-ink);animation:none;transform:none;overflow-wrap:break-word}
.sv-hero-layout .sv-bubble-user{background:var(--color-sky-100);border-radius:16px 16px 4px 16px}
.sv-hero-layout .sv-bubble-ai{display:flex;align-items:center;gap:.5rem;background:white;border-radius:16px 16px 16px 4px}
.sv-hero-layout .sv-bubble-ai span{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:var(--color-sun-400);border:2px solid var(--color-ink);font-size:.75rem}
@media(min-width:900px){
 .sv-hero-layout{display:grid;grid-template-columns:clamp(120px,11vw,184px) minmax(0,1fr) clamp(120px,11vw,184px);gap:16px}
 .sv-hero-layout .mittari-hero-copy{grid-column:2;grid-row:1}
 .sv-hero-layout .sv-hero-bubbles{display:contents}
 .sv-hero-layout .sv-bubble{width:100%;grid-row:1}
 .sv-hero-layout .sv-bubble-user{grid-column:1;align-self:center;transform:rotate(-3deg)}
 .sv-hero-layout .sv-bubble-ai{grid-column:3;align-self:start;margin-top:2.5rem;transform:rotate(2deg)}
 .sv-hero-layout .sv-bubble-late{grid-column:3;align-self:end;margin-bottom:2rem;transform:rotate(-2deg)}
}
/* Give benefits the width they actually need, including narrow desktop windows. */
.site-container.sv-benefits-wrap{padding-inline:8px}
@media(min-width:1100px){.sv-benefits{flex-wrap:nowrap;gap:clamp(8px,calc(10vw - 112px),20px)}}
@media(min-width:1100px) and (max-width:1199px){.sv-benefits li{font-size:14px}}
@media(min-width:640px) and (max-width:1099px){
 .sv-benefits{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:8px 0;align-items:center}
 .sv-benefits li{justify-self:center;font-size:14px;gap:6px}
 .sv-benefits li:nth-child(1){grid-column:span 8}
 .sv-benefits li:nth-child(2){grid-column:span 12}
 .sv-benefits li:nth-child(3){grid-column:span 7}
 .sv-benefits li:nth-child(4){grid-column:span 13}
 .sv-benefit-icon{flex-basis:24px;width:24px;height:28px}
 .sv-benefit-icon svg{width:20px;height:20px}
}
@media(max-width:639px){.site-container.sv-benefits-wrap{padding-inline:16px}}
/* Keep every typewriter ending readable even with scripts disabled. */
@media(max-width:400px){.sivusto-page .sv-hero h1{font-size:clamp(1.6rem,7.2vw,1.8rem)}}

/* A single accessible strip: enhance to a carousel only when its content overflows. */
.site-container.sv-benefits-wrap{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;padding-bottom:24px}
.sv-benefits-wrap.is-overflowing{grid-template-columns:44px minmax(0,1fr) 44px}
.sv-benefits-wrap .sv-benefits{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:16px;width:100%;min-width:0;margin:0;padding:6px 2px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px}
.sv-benefits-wrap.is-enhanced .sv-benefits{scrollbar-width:none}
.sv-benefits-wrap.is-enhanced .sv-benefits::-webkit-scrollbar{display:none}
.sv-benefits-wrap.is-enhanced:not(.is-overflowing) .sv-benefits{justify-content:center}
.sv-benefits-wrap .sv-benefits li{flex:0 0 auto;max-width:100%;scroll-snap-align:start;scroll-snap-stop:always;font-size:15px;gap:8px}
.sv-benefits-wrap .sv-benefit-text{min-width:0;white-space:normal;overflow-wrap:break-word}
.sv-benefits-wrap .sv-benefit-icon{flex-basis:28px;width:28px;height:32px}
.sv-benefits-wrap .sv-benefit-icon svg{width:24px;height:24px}
.sv-benefit-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--color-brick-600);font-size:24px;cursor:pointer}
.sv-benefit-arrow:hover:not(:disabled){background:var(--color-sun-100)}
.sv-benefit-arrow:disabled{opacity:.3;cursor:default}
.sv-benefit-arrow:focus-visible,.sv-benefits:focus-visible{outline:3px solid var(--color-brick-600);outline-offset:-3px}
