.ohm-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 50;
    width: min(550px, calc(100% - 40px));
    max-width: 550px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    padding: clamp(28px, 4vw, 44px);
    color: #111;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 4px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    backdrop-filter: blur(12px) saturate(115%);
    font-family: inherit;
    text-align: center;
}

.ohm-hero-overlay,
.ohm-hero-overlay * {
    box-sizing: border-box;
}

.ohm-hero-overlay__inner {
    font-family: inherit;
}

.ohm-hero-overlay__title {
    margin: 0 0 14px;
    padding: 0;
    color: inherit;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
}

.ohm-hero-overlay__description {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.65;
}

.ohm-hero-overlay__description p {
    margin: 0 0 12px;
    color: inherit;
}

.ohm-hero-overlay__description p:last-child {
    margin-bottom: 0;
}

.ohm-hero-overlay__description a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ohm-hero-overlay__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 12px 24px;
    border: 1px solid #111;
    border-radius: 0;
    color: #fff;
    background: #111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ohm-hero-overlay__cta:hover,
.ohm-hero-overlay__cta:focus-visible {
    color: #111;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.ohm-hero-overlay__cta:focus-visible,
.ohm-hero-overlay__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.ohm-hero-overlay__close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #111;
    background: transparent;
    font: inherit;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 160ms ease, transform 160ms ease;
    appearance: none;
}

.ohm-hero-overlay__close:hover,
.ohm-hero-overlay__close:focus-visible {
    opacity: 1;
}

@media (max-width: 767px) {
    .ohm-hero-overlay {
        width: calc(100% - 28px);
        padding: 30px 24px 26px;
    }

    .ohm-hero-overlay__title {
        font-size: clamp(24px, 8vw, 34px);
    }

    .ohm-hero-overlay__description {
        font-size: 15px;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ohm-hero-overlay__cta,
    .ohm-hero-overlay__close {
        transition: none;
    }
}
