.walkthroughs-page {
    background: #fcfcfc;
}

.walkthroughs-hero.product-hero {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: clamp(380px, 37vw, 520px);
    padding: 80px 0;
    text-align: left;
}

.walkthroughs-hero.about-hero-dark {
    background: linear-gradient(135deg, #051023 5%, #233656 40%, #334e78 68%, #10233d 100%) !important;
}

.walkthroughs-hero .product-hero-inner {
    width: min(1200px, calc(100% - 80px));
    max-width: none;
}

.walkthroughs-hero .product-hero-label {
    margin: 0 0 26px;
    color: rgba(252, 252, 252, 0.76);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.09em;
}

.walkthroughs-hero__title {
    margin: 0;
    color: #fcfcfc;
    font-size: clamp(48px, 5.5vw, 76px) !important;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.05;
    text-align: left;
}

.walkthroughs-list {
    padding: clamp(48px, 6vw, 88px) 0 clamp(92px, 10vw, 152px);
}

.walkthroughs-list__inner {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.walkthrough {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
    padding: clamp(48px, 6vw, 86px) 0;
    border-top: 1px solid #d7d8dc;
    transition: grid-template-columns 400ms cubic-bezier(.22, 1, .36, 1);
}

.walkthrough:last-child {
    border-bottom: 1px solid #d7d8dc;
}

.walkthrough.is-expanded {
    grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
}

.walkthrough__heading {
    padding-top: 4px;
}

.walkthrough__index {
    display: block;
    margin-bottom: 23px;
    color: #74757d;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.walkthrough__heading h2 {
    max-width: 520px;
    margin: 0;
    color: #181818;
    font-size: clamp(32px, 3.8vw, 56px) !important;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-align: left;
}

.walkthrough__media {
    position: relative;
    min-width: 0;
}

.walkthrough__video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1712 / 1080;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #0b0c0e;
    color: #fcfcfc;
    cursor: zoom-in;
    text-align: left;
}

.walkthrough.is-expanded .walkthrough__video {
    cursor: zoom-out;
}

.walkthrough__video:focus-visible,
.walkthrough__restart:focus-visible {
    outline: 2px solid #6464ff;
    outline-offset: 5px;
}

.walkthrough__video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.walkthrough__video::after {
    content: '';
    position: absolute;
    inset: 55% 0 0;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(0, 0, 0, .58));
    transition: opacity 250ms ease;
}

.walkthrough.is-expanded .walkthrough__video::after {
    opacity: 0;
}

.walkthrough__video-action {
    position: absolute;
    z-index: 1;
    bottom: 18px;
    right: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.walkthrough__video-action span {
    display: inline-block;
    margin-left: 5px;
    font-size: 18px;
    line-height: 0;
}

.walkthrough.is-expanded .walkthrough__video-action {
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    border-radius: 2px;
    background: rgba(252, 252, 252, .94);
    color: #181818;
    text-shadow: none;
}

.walkthrough__restart {
    position: absolute;
    z-index: 2;
    right: 115px;
    bottom: 12px;
    display: none;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border: 0;
    border-radius: 2px;
    background: rgba(252, 252, 252, .94);
    color: #181818;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.walkthrough__restart span {
    font-size: 18px;
    line-height: 0;
}

.walkthrough.is-expanded .walkthrough__restart {
    display: flex;
}

@media (max-width: 760px) {
    .walkthroughs-hero.product-hero {
        min-height: 360px;
        padding: 68px 0;
    }

    .walkthroughs-hero .product-hero-inner,
    .walkthroughs-list__inner {
        width: calc(100% - 44px);
    }

    .walkthrough,
    .walkthrough.is-expanded {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .walkthrough__index {
        margin-bottom: 15px;
    }

    .walkthrough__heading h2 {
        max-width: 440px;
        font-size: clamp(32px, 8vw, 44px) !important;
    }

    .walkthrough__media {
        width: min(76%, 440px);
        justify-self: end;
        transition: width 400ms cubic-bezier(.22, 1, .36, 1);
    }

    .walkthrough.is-expanded .walkthrough__media {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .walkthrough,
    .walkthrough__media,
    .walkthrough__video::after {
        transition: none;
    }
}
