@font-face {
    font-family: "Space Grotesk Variable";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/static/fonts/space-grotesk-latin.woff2") format("woff2-variations");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/static/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

.auth-document {
    margin: 0;
}

.auth-page {
    --auth-bg: #f6f7f9;
    --auth-surface: #ffffff;
    --auth-text: #111827;
    --auth-muted: #64748b;
    --auth-line: #e2e8f0;
    --auth-chrome: #07090a;
    --auth-chrome-text: #f2f4f1;
    --auth-chrome-muted: #94a0a5;
    --auth-accent: #176b87;
    --auth-accent-strong: #0f4f64;
    align-items: stretch;
    background: var(--auth-bg);
    color: var(--auth-text);
    display: flex;
    flex-direction: column;
    font-family: "Space Grotesk Variable", "Helvetica Neue", Arial, sans-serif;
    justify-content: flex-start;
    min-height: 100vh;
    width: 100%;
}

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

.auth-topbar,
.auth-footer {
    align-items: center;
    background: var(--auth-chrome);
    color: var(--auth-chrome-muted);
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 32px;
}

.auth-topbar {
    border-bottom: 1px solid rgb(216 226 231 / 14%);
}

.auth-footer {
    border-top: 1px solid rgb(216 226 231 / 14%);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    justify-content: flex-end;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-brand {
    align-items: center;
    color: var(--auth-chrome-text);
    display: inline-flex;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 400;
    gap: 13px;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}

.auth-brand img {
    filter: invert(1);
    height: 40px;
    object-fit: contain;
    width: 42px;
}

.auth-main {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    padding: clamp(32px, 8vh, 88px) 24px;
}

.auth-panel {
    background: var(--auth-surface);
    border: 1px solid var(--auth-line);
    max-width: 560px;
    padding: clamp(32px, 5vw, 56px);
    width: 100%;
}

.auth-kicker {
    color: var(--auth-accent-strong);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    letter-spacing: .14em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.auth-title {
    color: var(--auth-text);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 520;
    letter-spacing: -.02em;
    line-height: 1.05;
    margin: 0;
}

.auth-copy {
    color: var(--auth-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 18px 0 0;
}

.auth-action {
    align-items: center;
    background: var(--auth-accent);
    border: 1px solid var(--auth-accent);
    color: #ffffff;
    display: inline-flex;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 500;
    justify-content: center;
    letter-spacing: .08em;
    margin-top: 32px;
    min-height: 44px;
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.auth-action:hover {
    background: var(--auth-accent-strong);
    border-color: var(--auth-accent-strong);
}

.auth-action:focus-visible {
    box-shadow: 0 0 0 3px rgb(23 107 135 / 24%);
    outline: none;
}

@media (max-width: 640px) {
    .auth-topbar,
    .auth-footer {
        padding: 0 16px;
    }

    .auth-panel {
        padding: 32px 24px;
    }
}
