/* Only the home hero and its comparison dialog use these classes. */
.sp-hero__layout {
    display: grid;
    gap: 2rem;
    padding-block: 2.5rem 2rem;
}
.sp-hero__copy, .sp-hero__visual { min-width: 0; }
.sp-hero__title {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(2rem, 5.7vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.sp-hero__description {
    max-width: 42ch;
    margin-top: 1.25rem;
    color: rgb(255 255 255 / .7);
    font-size: 1rem;
    line-height: 1.65;
}
.sp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.sp-hero__primary { min-height: 44px; align-items: center; }
.sp-hero__secondary { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; color: rgb(255 255 255 / .8); font-size: .875rem; font-weight: 600; }
.sp-hero__secondary:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sp-hero__visual { width: 100%; max-width: 688px; justify-self: center; }
.sp-hero-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sp-hero-pair__frame { margin: 0; min-width: 0; }
.sp-hero-pair__label { margin-bottom: .625rem; color: rgb(255 255 255 / .85); font-size: .875rem; font-weight: 600; line-height: 1.5; }
.sp-hero-pair__label--result { color: #42beff; }
.sp-hero-pair img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: .75rem; background: #121826; }
.sp-hero__caption { margin: .875rem 0 0; color: rgb(255 255 255 / .6); font-size: .8125rem; line-height: 1.6; text-align: center; }
.sp-hero__enlarge { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; margin: .25rem auto 0; padding: .5rem .75rem; border-radius: .5rem; color: #b8dfff; font-size: .8125rem; font-weight: 500; cursor: pointer; }
.sp-hero__enlarge[hidden] { display: none; }
.sp-hero__enlarge:hover { color: #fff; background: rgb(255 255 255 / .05); }
.sp-hero a:focus-visible, .sp-hero button:focus-visible { outline: 2px solid #93c5fd; outline-offset: 4px; }
.sp-hero-dialog {
    width: min(1120px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 1rem;
    background: #0b1020;
    color: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 24px 80px rgb(0 0 0 / .5);
}
.sp-hero-dialog::backdrop { background: rgb(3 6 14 / .88); }
.sp-hero-dialog__header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid rgb(255 255 255 / .1); background: #0b1020; }
.sp-hero-dialog__header h2 { font-size: 1rem; font-weight: 600; }
.sp-hero-dialog__close { display: inline-flex; align-items: center; gap: .625rem; min-height: 44px; padding: .5rem .875rem; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; font-size: .875rem; cursor: pointer; }
.sp-hero-dialog__close:hover { background: rgb(255 255 255 / .08); }
.sp-hero-dialog__close span { font-size: 1.375rem; line-height: 1; }
.sp-hero-dialog__content { padding: 1rem; }
.sp-hero-dialog .sp-hero-pair { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.sp-hero-dialog .sp-hero-pair__label { font-size: 1rem; }
@media (min-width: 640px) {
    .sp-hero__layout { gap: 2.5rem; padding-block: 3rem 2.5rem; }
    .sp-hero__copy { max-width: 42rem; }
    .sp-hero-dialog__header { padding-inline: 1.5rem; }
    .sp-hero-dialog__content { padding: 1.25rem 1.5rem; }
    .sp-hero-dialog .sp-hero-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: max(32rem, calc((100dvh - 208px) * 4 / 3 + 20px)); margin-inline: auto; }
}
@media (min-width: 960px) {
    .sp-hero__layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 3rem; padding-block: 3.5rem 2.5rem; }
    .sp-hero__title { font-size: clamp(2.5rem, 4vw, 3rem); }
    .sp-hero__description { font-size: 1.0625rem; }
}
@media (max-width: 359px) {
    .sp-hero__layout { padding-top: 2rem; gap: 1.5rem; }
    .sp-hero__actions { gap: .25rem .75rem; }
    .sp-hero-pair { gap: .75rem; }
    .sp-hero-pair__label { font-size: .8125rem; }
    .sp-hero-dialog__header h2 { font-size: .875rem; }
}
