.access-dialog {
    width: min(460px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid #e6e6e1;
    border-radius: 20px;
    background: #fff;
    color: #111;
    font-family: var(--font-body), sans-serif;
    box-shadow: 0 24px 80px rgb(0 0 0 / 16%);
    overflow-y: auto;
}

.access-dialog::backdrop { background: rgb(17 17 17 / 32%); }
body.access-dialog-open { overflow: hidden; }
html[data-custom-cursor="true"] .access-dialog::backdrop { cursor: none !important; }
/* Put the existing cursor in the browser's top layer, above the dialog. */
.access-dialog .fluid-cursor[popover] {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
}
.access-dialog .fluid-cursor::backdrop { display: none; }
.access-dialog-content { position: relative; padding: 36px 32px 28px; }
.access-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    cursor: pointer;
}
.access-close:hover { background: #f6f6f4; color: #111; }
.access-eyebrow { display: block; margin-bottom: 12px; color: #717179; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.access-dialog h2 { margin-bottom: 14px; font-size: clamp(28px, 5vw, 34px); letter-spacing: -.04em; }
.access-dialog #access-description { color: #5f5f66; font-size: 15px; line-height: 1.6; }
.access-summary { margin: 24px 0; padding: 20px; border: 1px solid #e6e6e1; border-radius: 12px; background: #fafaf9; }
.access-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.access-plan-name { font-size: 18px; font-weight: 400; letter-spacing: -.02em; }
.access-status { flex-shrink: 0; padding: 3px 8px; border: 1px solid #e6e6e1; border-radius: 20px; font-size: 11px; color: #5f5f66; }
.access-summary p { margin-top: 12px; color: #5f5f66; font-size: 14px; line-height: 1.5; }
.access-price-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e6e6e1; font-size: 13px; }
.access-price-row span:first-child { color: #5f5f66; }
.access-continue { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; border-radius: 9px; background: #111; color: #fff; text-decoration: none; font-size: 15px; transition: background .15s; }
.access-continue:hover { background: #333; }
.access-footnote { margin-top: 14px; text-align: center; color: #717179; font-size: 12px; line-height: 1.5; }
.access-dialog :focus-visible { outline: 2px solid #111; outline-offset: 4px; }
@media (max-width: 480px) { .access-dialog-content { padding: 36px 24px 24px; } }
@media (prefers-reduced-motion: no-preference) {
    .access-dialog[open] { animation: access-appear .18s ease-out; }
    @keyframes access-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
