.phone-page {
    padding-block: clamp(18px, 4vw, 36px);
}

.phone-page-intro {
    max-width: 820px;
    margin-bottom: 18px;
    text-align: center;
}

.phone-page-intro h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.phone-page-intro p { margin-block: 6px; }
.phone-page-intro a { color: var(--accent); text-underline-offset: 3px; }

.phone-page-embed {
    max-width: 1222px;
    container-type: inline-size;
}

.phone-page-frame {
    display: block;
    width: 100%;
    height: 1912px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--page);
}

@media (max-width: 700px), (hover: none) and (pointer: coarse) {
    .phone-page-embed { display: none; }

    .phone-page-intro > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        margin-top: 8px;
        padding: 10px 16px;
        border-radius: 6px;
        background: var(--accent);
        color: var(--page);
        font-weight: 750;
        text-decoration: none;
    }
}

/* The provider uses fewer columns in narrower frames. */
@container (max-width: 1202px) {
    .phone-page-frame { height: 2390px; }
}

@container (max-width: 1025px) {
    .phone-page-frame { height: 2290px; }
}

@container (max-width: 702px) {
    .phone-page-frame { height: 3110px; }
}
