.home-hero {
    --hero-heading-size: 48px;
    --hero-long-heading-size: 40px;
    position: relative;
    isolation: isolate;
    min-height: 732px;
    padding: 94px 0 120px;
    overflow: hidden;
    color: #f8fafc;
    background: radial-gradient(ellipse at 100% 100%, #168e89 0, transparent 67%), linear-gradient(120deg, #1c3441, #073c49 72%);
    font-family: "Manrope", sans-serif;
}

.home-hero__background {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .22;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.home-hero__container {
    position: relative;
    width: calc(100% - 64px);
    max-width: 1400px;
    padding-right: 42px;
    margin-inline: auto;
}

.home-hero__slides { display: grid; }

.home-hero__slide {
    display: grid;
    grid-area: 1 / 1;
    grid-template-columns: minmax(0, 1fr) 588px;
    gap: 80px;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .45s ease, visibility 0s linear .45s;
}

.home-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}

.home-hero__copy { padding-top: 36px; max-width: 600px; padding-bottom: 86px; }

.home-hero__heading {
    margin: 0;
    color: #f8fafc;
    font: 800 var(--hero-heading-size)/1.08 "Manrope", sans-serif;
    letter-spacing: -.02em;
    text-transform: uppercase;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.home-hero__slide--long .home-hero__heading { font-size: var(--hero-long-heading-size); }
.home-hero__accent { color: #0fa5a5; white-space: nowrap; }
.home-hero__title { display: block; }
.home-hero__dash { white-space: nowrap; }

.home-hero__description {
    max-width: 570px;
    margin: 30px 0 0;
    color: #c3d5dc;
    font: 400 18px/1.5 "Manrope", sans-serif;
    white-space: pre-line;
}

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 14px/24px "Manrope", sans-serif;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home-hero__button--primary { min-width: 200px; color: #061d2b; background: #fff; }
.home-hero__button--secondary { min-width: 218px; color: #f8fafc; border-color: #ffffff40; background: transparent; }
.home-hero__button--primary:hover { color: #fff; background: #0fa5a5; }
.home-hero__button--secondary:hover { color: #0fa5a5; border-color: #0fa5a5; background: transparent; }

.home-hero__visual { position: relative; align-self: start; min-width: 0; padding-bottom: 45px; touch-action: pan-y; }
.home-hero__image { display: block; width: 100%; height: auto; aspect-ratio: 588 / 420; object-fit: cover; object-position: right center; border-radius: 28px; }
.home-hero__inset { position: absolute; left: -70px; bottom: 0; display: block; width: 286px; height: 179px; object-fit: cover; border-radius: 24px; }

.home-hero__controls { position: relative; display: none; align-items: center; gap: 16px; width: max-content; max-width: 100%; margin-top: -44px; }
.home-hero.is-ready .home-hero__controls { display: flex; }
.home-hero__arrow { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff40; border-radius: 50%; background: #064c58a6; color: #f8fafc; transition: background-color .2s ease, border-color .2s ease; }
.home-hero__arrow:hover { color: #fff; border-color: #0fa5a5; background: #0fa5a5; }
.home-hero__pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px; }
.home-hero__indicator { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 24px; height: 44px; padding: 0 4px; border: 0; background: transparent; }
.home-hero__indicator span { display: block; width: 16px; height: 6px; border-radius: 3px; background: #75959e; transition: width .25s ease, background-color .25s ease; }
.home-hero__indicator.is-active span { width: 32px; background: #0fa5a5; }
.home-hero__indicator:hover span { background: #0fa5a5; }
.home-hero__button:focus-visible, .home-hero__arrow:focus-visible, .home-hero__indicator:focus-visible { outline: 2px solid #f8fafc; outline-offset: 4px; }

@media (max-width: 1599.98px) {
    .home-hero__container { max-width: 1280px; padding-right: 0; }
    .home-hero__slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 100px; }
    .home-hero { --hero-heading-size: 42px; --hero-long-heading-size: 38px; }
    .home-hero__inset { width: 49%; height: auto; aspect-ratio: 286 / 179; left: -9%; }
}

@media (max-width: 1199.98px) {
    .home-hero { min-height: 0; padding: 64px 0 80px; }
    .home-hero__slide { gap: 48px; }
    .home-hero__copy { padding-top: 0; }
    .home-hero { --hero-heading-size: 36px; --hero-long-heading-size: 32px; }
    .home-hero__description { font-size: 16px; margin-top: 24px; }
    .home-hero__actions { margin-top: 24px; }
    .home-hero__button { min-width: 200px; }
    .home-hero__visual { align-self: center; }
    .home-hero__image { border-radius: 24px; }
    .home-hero__inset { border-radius: 20px; }
}

@media (max-width: 767.98px) {
    .home-hero { --hero-long-heading-size: 36px; padding: 60px 0 48px; }
    .home-hero__container { width: calc(100% - 32px); max-width: 540px; }
    .home-hero__slide { grid-template-columns: minmax(0, 1fr); gap: 70px; }
    .home-hero__copy { max-width: none; padding: 0; }
    .home-hero__heading { font-size: 36px; line-height: 1.08; text-transform: none; }
    .home-hero__description { max-width: none; margin-top: 16px; font-size: 18px; line-height: 1.4; }
    .home-hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
    .home-hero__button { width: 216px; min-width: 0; }
    .home-hero__visual { padding-bottom: 62px; }
    .home-hero__image { aspect-ratio: 354 / 262; border-radius: 24px; }
    .home-hero__inset { left: -8px; width: 214px; height: 139px; aspect-ratio: auto; border-radius: 20px; }
    .home-hero__controls { margin: 32px auto 0; }
    .home-hero__arrow { flex-basis: 42px; width: 42px; height: 42px; }
}

@media (max-width: 359.98px) {
    .home-hero { --hero-heading-size: 32px; --hero-long-heading-size: 32px; }
    .home-hero__heading { font-size: 32px; }
    .home-hero__description { font-size: 16px; }
    .home-hero__inset { width: 60%; height: auto; aspect-ratio: 214 / 139; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero *, .home-hero *::before, .home-hero *::after { transition: none; transform: none; }
}
