.landing-trial {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f3f5f8;
    overflow: hidden;
}

.landing-trial[open] {
    display: grid;
    grid-template-rows: max(48px, calc(44px + env(safe-area-inset-top))) minmax(0, 1fr);
}

.landing-trial::backdrop {
    background: rgba(15, 23, 42, 0.58);
}

.landing-trial__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: env(safe-area-inset-top) 14px 4px;
    border-bottom: 1px solid #e3e7ed;
    background: rgba(255, 255, 255, 0.96);
    color: #182235;
}

.landing-trial__close {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    min-height: 44px;
    padding: 0 8px 0 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    cursor: pointer;
    transition: background-color 140ms ease-out, scale 140ms ease-out;
}

.landing-trial__close svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.landing-trial__close:hover {
    background: #f0f3f7;
}

.landing-trial__close:active {
    scale: 0.97;
}

.landing-trial__close:focus-visible {
    outline: 3px solid rgba(49, 94, 232, 0.32);
    outline-offset: 1px;
}

.landing-trial__label {
    min-width: 0;
    padding: 0 2px 13px 0;
    color: #758095;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.landing-trial iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    background: #f3f5f8;
}

@media (max-width: 600px) {
    .landing-trial__bar {
        padding-inline: 10px 12px;
    }

    .landing-trial__label {
        padding-bottom: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-trial,
    .landing-trial * {
        scroll-behavior: auto !important;
    }
}
