.demo-access-page {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .045) 25%, transparent 25%) 0 0 / 32px 32px,
        linear-gradient(315deg, rgba(255, 255, 255, .045) 25%, transparent 25%) 0 0 / 32px 32px,
        var(--blue);
    color: var(--ink);
}

.demo-access-page .access-main {
    min-height: 100vh;
    min-height: 100svh;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 32px 20px;
}

.demo-access-page .demo-login {
    width: min(100%, 520px);
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--line-dark);
    border-top: 5px solid var(--yellow);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(16, 23, 43, .14);
    text-align: center;
}

.demo-access-page .access-login {
    min-width: 0;
    min-height: 0;
    border: 0;
    padding: 30px 36px 24px;
}

.demo-access-page .brand--access {
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px;
    text-align: center;
}

.demo-access-page .brand--access > span:last-child {
    min-width: 0;
}

.demo-access-page .brand--access strong {
    color: var(--ink-deep);
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: .1em;
}

.demo-access-page .brand--access small {
    display: block;
    max-width: none;
    overflow: visible;
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: .8rem;
    font-weight: 400;
    white-space: normal;
}

.demo-access-page .brand--access .brand-mark {
    --logo-image-width: 118px;
    --logo-image-top: -49px;
    --logo-image-left: -20px;
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    background: transparent;
}

.demo-login__intro {
    margin-bottom: 22px;
}

.demo-access-page .demo-login__label {
    margin: 0 0 9px;
    color: var(--blue);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.demo-access-page .access-login h1 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.demo-access-page .access-lead {
    max-width: 42ch;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: .93rem;
    line-height: 1.65;
}

.demo-login__progress {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.demo-login__progress-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 6px 12px;
}

.demo-access-page .demo-login__progress h2 {
    margin: 0;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
}

.demo-login__progress-heading strong {
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.demo-login__progress progress {
    display: block;
    width: 100%;
    height: 9px;
    appearance: none;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: var(--line);
    accent-color: var(--blue);
}

.demo-login__progress progress::-webkit-progress-bar {
    border-radius: 4px;
    background: var(--line);
}

.demo-login__progress progress::-webkit-progress-value {
    border-radius: 4px;
    background: var(--blue);
}

.demo-login__progress progress::-moz-progress-bar {
    border-radius: 4px;
    background: var(--blue);
}

.demo-access-page .demo-login__progress p {
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.5;
}

.demo-access-page .access-error {
    margin: 0 0 20px;
    padding: 12px;
    border-left: 3px solid var(--red);
    background: #fff3f3;
    font-size: .9rem;
    text-align: center;
}

.demo-access-page .access-form {
    display: grid;
    width: 100%;
    gap: 16px;
    margin: 0;
    text-align: center;
}

.demo-login__field {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.demo-access-page .demo-login__field label {
    margin: 0;
    font-size: .9rem;
    font-weight: 650;
    text-align: center;
}

.demo-access-page .demo-login__field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    text-align: center;
}

.demo-access-page .demo-login__field input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 92, 168, .12);
}

.demo-access-page .access-remember {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    justify-self: center;
    gap: 10px;
    margin: -4px 0;
    color: var(--ink-soft);
    font-size: .9rem;
    font-weight: 400;
    cursor: pointer;
}

.demo-access-page .access-remember input {
    width: 20px;
    height: 20px;
    min-height: 0;
    flex: 0 0 20px;
    margin: 0;
    padding: 0;
    accent-color: var(--blue);
}

.demo-access-page .access-form .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin: 0;
}

.demo-access-page .access-text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    margin: -6px 0;
    font-size: .85rem;
}

.demo-access-page .access-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
}

.demo-access-page .demo-login__footer {
    margin: 0;
    color: #f4f7ff;
    font-size: .8rem;
    text-align: center;
}

.demo-access-page a:focus-visible,
.demo-access-page button:focus-visible,
.demo-access-page input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

@media (max-width: 540px) {
    .demo-access-page .access-main {
        gap: 16px;
        padding: 20px 16px;
    }

    .demo-access-page .access-login {
        padding: 24px 22px 22px;
    }

    .demo-access-page .brand--access {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }

    .demo-login__progress {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}
