:root {
    color-scheme: dark;
    --black: #050505;
    --panel: #0d0d0f;
    --panel-soft: #141416;
    --white: #ffffff;
    --muted: #b6b6bc;
    --line: #303034;
    --red: #e31b23;
    --red-bright: #ff3540;
    --red-dark: #8f1016;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% -10%, rgba(227, 27, 35, .22), transparent 35%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

.page-shell { width: min(960px, calc(100% - 32px)); margin: auto; padding: 64px 0 36px; }
.hero { text-align: center; }
.brand-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 26px; border: 2px solid var(--red); color: var(--white); background: var(--red); font-size: 1.15rem; font-weight: 900; letter-spacing: -.06em; transform: rotate(-3deg); box-shadow: 8px 8px 0 rgba(227,27,35,.2); }
.eyebrow, .status { margin: 0; color: var(--red-bright); font-size: .72rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1 { margin: 10px 0 14px; color: var(--white); font-size: clamp(2.6rem, 8vw, 5.3rem); font-weight: 900; letter-spacing: -.065em; line-height: .95; text-transform: uppercase; }
.intro { max-width: 580px; margin: auto; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

.verify-form { max-width: 720px; margin: 38px auto 0; padding: 10px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 18px 70px rgba(0,0,0,.5); }
.verify-form > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.input-row { display: flex; gap: 10px; }
input { min-width: 0; flex: 1; padding: 18px; border: 1px solid var(--line); border-radius: 0; outline: none; color: var(--white); background: #080809; font: 700 1rem Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
input::placeholder { color: #67676c; }
input:focus { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
button { padding: 0 27px; border: 1px solid var(--red); border-radius: 0; color: var(--white); background: var(--red); font-size: .92rem; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
button:hover { color: var(--red-bright); background: transparent; }

.disclaimer { max-width: 780px; margin: 28px auto 0; padding: 19px 22px; border: 1px solid var(--red-dark); border-left: 5px solid var(--red); color: var(--muted); background: rgba(143,16,22,.12); text-align: left; }
.disclaimer strong { display: block; margin-bottom: 6px; color: var(--red-bright); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.disclaimer p { margin: 0; font-size: .87rem; line-height: 1.6; }

.result { display: grid; grid-template-columns: auto 1fr; gap: 20px; max-width: 780px; margin: 24px auto 0; padding: 28px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 70px rgba(0,0,0,.55); text-align: left; }
.status-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--red); color: var(--white); background: var(--red); font-size: 1.4rem; font-weight: 900; }
.result--error .status-icon { color: var(--red-bright); background: transparent; }
.result h2 { margin: 5px 0 6px; color: var(--white); font-size: 1.65rem; }
.result p { margin: 0; color: var(--muted); line-height: 1.55; }
.details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); margin: 6px 0 0; border: 1px solid var(--line); }
.details div { padding: 17px 19px; border-bottom: 1px solid var(--line); }
.details div:nth-child(odd) { border-right: 1px solid var(--line); }
.details div:nth-last-child(-n+2) { border-bottom: 0; }
dt { margin-bottom: 6px; color: var(--red-bright); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
dd { margin: 0; color: var(--white); font-weight: 700; }
.valid-pill { display: inline-block; padding: 4px 9px; border: 1px solid var(--red); color: var(--white); background: var(--red-dark); font-size: .76rem; text-transform: uppercase; }
.result-notice { grid-column: 1 / -1; padding: 15px 17px; border-left: 3px solid var(--red); color: var(--muted); background: rgba(227,27,35,.08); font-size: .79rem; line-height: 1.55; }
.result-notice strong { color: var(--red-bright); }
footer { display: flex; justify-content: center; gap: 28px; margin-top: 48px; color: #77777d; font-size: .75rem; }
footer span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 1px 0; background: var(--red); }

@media (max-width: 600px) {
    .page-shell { padding-top: 42px; }
    .input-row { display: grid; }
    button { padding: 17px; }
    .result { padding: 21px; }
    .details { grid-template-columns: 1fr; }
    .details div, .details div:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--line); }
    .details div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    footer { align-items: center; flex-direction: column; gap: 8px; }
}
