:root {
    color-scheme: light dark;
    --bg: #f4f5f7;
    --card: #ffffff;
    --text: #1f2328;
    --muted: #59636e;
    --accent: #0b5cad;
    --error: #b42318;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1115;
        --card: #1a1d23;
        --text: #e6e8eb;
        --muted: #9aa3ad;
        --accent: #5aa2f0;
        --error: #f97066;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 16px;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.captcha {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 12px;
    background: var(--card);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}

h1 {
    margin: 0 0 12px;
    font-size: 1.375rem;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

.error {
    color: var(--error);
    font-weight: 600;
}

.dev-notice {
    padding: 8px 12px;
    border-left: 3px solid var(--accent);
}

button {
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.pow-progress {
    display: block;
    width: 100%;
    height: 8px;
    margin: 0 0 16px;
    accent-color: var(--accent);
}

button:disabled {
    opacity: 0.6;
    cursor: progress;
}
.cf-turnstile {
    min-height: 65px;
    margin: 0 0 16px;
}
.notice {
    color: var(--text);
    font-weight: 600;
}

.alternative {
    margin: 16px 0 0;
    text-align: center;
}

.alternative a {
    color: var(--accent);
}
.h-captcha {
    min-height: 78px;
    margin: 0 0 16px;
}