.typed-scene {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 56px auto;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: var(--body-black);
    box-shadow: 0 20px 48px rgba(0,0,0,.16);
}
.typed-scene::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--typed-bg, none) center / cover no-repeat;
    pointer-events: none;
}
.typed-scene::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--black-rgb),.92), rgba(var(--black-rgb),.83) 55%, rgba(var(--black-rgb),.48));
    pointer-events: none;
}
.typed-scene .typed-text {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.typed-scene .typed-text > .wrapper {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
}
.typed-text__copy { flex: 1 1 auto; min-width: 0; }
.typed-text__title { margin: 0 0 14px; color: var(--white); font-size: 24px; line-height: 1.3; }
.typed-text__line { min-height: 90px; }
.typed-text__lead { max-width: 70ch; margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); }
.typed-scene .typed-text__button { border: 0; text-decoration: none; }
@media (max-width: 767px) {
    .typed-scene { padding: 24px; margin: 32px auto; border-radius: 18px; }
    .typed-scene::after { background: rgba(var(--black-rgb),.8); }
    .typed-scene .typed-text > .wrapper { flex-direction: column; align-items: stretch; gap: 24px; }
    .typed-scene .typed-text .element { font-size: 27px; line-height: 1.3; }
    .typed-text__line { min-height: 106px; }
    .typed-text__lead { font-size: 16px; }
    .typed-scene .typed-text__button { align-self: flex-start; padding: 14px 18px; font-size: 15px; }
}
