:root {
    --black: #0b0b0b;
    --panel: #151515;
    --line: #2b2b2b;
    --yellow: #f2c230;
    --text: #f5f5f2;
    --muted: #aaa9a3;
    --danger: #ffb4ac;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--black);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input { font: inherit; }

.auth-page {
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-shell { width: min(100%, 430px); }

.auth-card, .hero-card, .status-card {
    border: 1px solid var(--line);
    background: var(--panel);
}

.auth-card { padding: clamp(28px, 6vw, 48px); }

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 28px;
    background: var(--yellow);
    color: var(--black);
    font-size: 24px;
    font-weight: 900;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 42px); line-height: 1.05; }
h2 { margin: 12px 0 8px; font-size: 18px; }
.muted, p { color: var(--muted); line-height: 1.55; }

label { display: block; margin: 22px 0 8px; font-size: 14px; font-weight: 700; }
input {
    width: 100%;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 13px 14px;
    background: #090909;
    color: var(--text);
}
input:focus { outline: 2px solid var(--yellow); outline-offset: 2px; }

button {
    width: 100%;
    margin-top: 24px;
    border: 0;
    border-radius: 4px;
    padding: 13px 18px;
    background: var(--yellow);
    color: var(--black);
    cursor: pointer;
    font-weight: 850;
}

.alert {
    margin-top: 20px;
    border-left: 3px solid #e35d52;
    padding: 12px 14px;
    background: #291513;
    color: var(--danger);
    font-size: 14px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    padding: 18px clamp(20px, 5vw, 70px);
}

.account { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.account form { margin: 0; }
button.secondary { width: auto; margin: 0; border: 1px solid var(--line); background: transparent; color: var(--text); }

.page-shell { width: min(1180px, calc(100% - 40px)); margin: 48px auto; }
.hero-card { padding: clamp(28px, 6vw, 64px); }
.hero-card p:last-child { max-width: 720px; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.status-card { padding: 22px; }
.status-card > span { color: var(--yellow); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.status-card.pending > span { color: var(--muted); }

@media (max-width: 850px) {
    .status-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar { align-items: flex-start; }
    .account { align-items: flex-end; flex-direction: column; }
}

@media (max-width: 520px) {
    .status-grid { grid-template-columns: 1fr; }
    .topbar { display: block; }
    .account { align-items: stretch; margin-top: 16px; }
}

