.access-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top left,
            rgba(105,82,180,.13),
            transparent 36rem
        ),
        #111018;
    color: #eeeaf8;
}

.access-page *,
.access-page *::before,
.access-page *::after {
    box-sizing: border-box;
}

.access-topbar,
.access-shell,
.access-footer {
    width: min(
        900px,
        calc(100% - 40px)
    );
    margin-left: auto;
    margin-right: auto;
}

.access-topbar {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.access-brand {
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.access-topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.access-topbar nav a,
.access-footer a {
    color: #aaa4b8;
    text-decoration: none;
}

.access-topbar nav a.active,
.access-topbar nav a:hover,
.access-footer a:hover {
    color: #fff;
}

.access-shell {
    margin-bottom: 70px;
}

.access-hero {
    padding: 34px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
}

.access-eyebrow {
    color: #a89ae4;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.access-hero h1,
.access-submitted h1 {
    margin: 8px 0 12px;
    font-size: clamp(
        2.5rem,
        7vw,
        4.4rem
    );
    line-height: 1;
    letter-spacing: -.045em;
}

.access-hero p,
.access-context p,
.access-submitted p {
    color: #9992a2;
    line-height: 1.6;
}

.access-endpoint {
    margin-top: 20px;
    color: #817a89;
    font-size: .8rem;
}

.access-endpoint code {
    display: block;
    width: fit-content;
    margin-top: 7px;
    padding: 9px 11px;
    border-radius: 7px;
    background: #17151f;
    color: #cabdff;
}

.access-context,
.access-errors,
.access-form-panel,
.access-tools,
.access-submitted {
    margin-top: 15px;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.028);
}

.access-context a,
.access-actions a {
    color: #b7a9ec;
    text-decoration: none;
}

.access-errors {
    border-color: rgba(220,130,130,.25);
}

.access-errors li {
    margin: 5px 0;
}

.access-form {
    display: grid;
    gap: 18px;
}

.access-field label,
.access-scopes legend {
    display: block;
    margin-bottom: 7px;
    color: #c4bdcc;
    font-size: .82rem;
    font-weight: 700;
}

.access-field label span {
    color: #736d79;
    font-weight: 400;
}

.access-field input,
.access-field textarea,
.access-field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    outline: none;
    background: #181620;
    color: #eeeaf8;
    font: inherit;
}

.access-field textarea {
    resize: vertical;
}

.access-field input:focus,
.access-field textarea:focus,
.access-field select:focus {
    border-color: rgba(168,154,228,.55);
}

.access-field small {
    display: block;
    margin-top: 5px;
    color: #706a77;
}

.access-scopes {
    margin: 0;
    padding: 0;
    border: 0;
}

.access-scopes > label {
    display: flex;
    gap: 11px;
    margin: 7px 0;
    padding: 13px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.02);
    color: #8d8696;
    font-size: .8rem;
    line-height: 1.45;
}

.access-scopes input {
    margin-top: 3px;
}

.access-scopes strong {
    display: block;
    margin-bottom: 2px;
    color: #c9c1d2;
}

.access-terms {
    color: #736d79;
    font-size: .75rem;
    line-height: 1.55;
}

.access-form button {
    width: fit-content;
    padding: 12px 19px;
    border: 0;
    border-radius: 9px;
    background: #eeeaf8;
    color: #17151f;
    cursor: pointer;
    font-weight: 850;
}

.access-form button:hover {
    opacity: .9;
}

.access-honeypot {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.access-tool-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 8px;
    margin-top: 12px;
}

.access-tool-grid code {
    padding: 11px;
    border-radius: 7px;
    background: #17151f;
    color: #c4b6f4;
}

.access-submitted-shell {
    max-width: 720px;
    padding-top: 8vh;
}

.access-request-id {
    margin-top: 25px;
    color: #7f7887;
}

.access-request-id code {
    display: block;
    width: fit-content;
    margin-top: 6px;
    padding: 9px 11px;
    border-radius: 7px;
    background: #17151f;
    color: #c7b9f7;
}

.access-next {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.access-next pre {
    overflow-x: auto;
    padding: 11px;
    border-radius: 7px;
    background: #17151f;
    color: #c7b9f7;
}

.access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 26px;
}

.access-footer {
    padding: 20px 0 38px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    color: #716a79;
    font-size: .8rem;
}

@media (max-width: 650px) {

    .access-topbar,
    .access-shell,
    .access-footer {
        width: min(
            100% - 24px,
            900px
        );
    }

    .access-topbar {
        flex-direction: column;
    }

    .access-hero,
    .access-context,
    .access-form-panel,
    .access-tools,
    .access-submitted {
        padding: 20px;
    }

    .access-tool-grid {
        grid-template-columns: 1fr;
    }

}
