:root {
    color-scheme: light;
    --green: #1e4620;
    --green-dark: #153216;
    --blue: #1a365d;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #dbe4dd;
    --paper: #ffffff;
    --wash: #f3f8f3;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 15%, #dff1e2 0, transparent 30%),
        radial-gradient(circle at 85% 85%, #e2eaf5 0, transparent 32%),
        #f8fafc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.error-card {
    width: min(100%, 680px);
    padding: clamp(30px, 7vw, 64px);
    text-align: center;
    background: var(--paper);
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand svg { width: 42px; height: 42px; }

.code {
    margin: 36px 0 8px;
    color: var(--green);
    font-size: clamp(72px, 18vw, 132px);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.85;
}

h1 {
    margin: 22px 0 12px;
    font-size: clamp(26px, 5vw, 40px);
    letter-spacing: -0.035em;
}

p {
    max-width: 510px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    color: white;
    background: var(--green);
    border: 2px solid var(--green);
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.button:hover { background: var(--green-dark); transform: translateY(-2px); }
.button.secondary { color: var(--green); background: transparent; }
.button.secondary:hover { color: white; background: var(--green); }
.button:focus-visible { outline: 3px solid #86b78a; outline-offset: 3px; }

.note {
    margin-top: 28px;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 480px) {
    .actions { flex-direction: column; }
    .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .button { transition: none; }
}
