:root {
    color-scheme: light dark;
    --bg: #f6f8fb;
    --text: #0e2240;
    --muted: #4a5568;
    --accent: #c2470a;
    --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1424;
        --text: #f5f5ef;
        --muted: #b7bccb;
        --accent: #f06a1f;
        --accent-text: #0b1424;
    }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 3rem 1rem;
    text-align: center;
}

img {
    width: min(480px, 90vw);
    height: auto;
}

h1 {
    max-width: 34rem;
    margin: 1.5rem 0 0;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    line-height: 1.25;
}

p {
    max-width: 32rem;
    margin: 0;
    color: var(--muted);
}

.button {
    margin-top: 0.75rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 600;
    text-decoration: none;
}

.button:hover { opacity: 0.9; }

.button:focus-visible {
    outline: 3px solid var(--text);
    outline-offset: 3px;
}

footer {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
