:root {
    --ink: #0A0C10;
    --panel: #12151C;
    --line: #2A3140;
    --red: #FF4655;
    --red-dim: #9E2430;
    --cream: #ECE8D9;
    --muted: #8B93A7;
    --ok: #1FAD64;
    --warn: #E8A838;
    --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--ink);
    color: var(--cream);
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    min-height: 100vh;
}

a { color: var(--cream); }
a:hover { color: var(--red); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 16px;
    border-bottom: 1px solid var(--line);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 15px;
}
.brand .mark {
    width: 18px;
    height: 28px;
    background: var(--red);
    clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
}
nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
nav a.active, nav a:hover { color: var(--cream); }

.hero {
    padding: 56px 0 36px;
    position: relative;
}
.hero h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(42px, 8vw, 84px);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 16px;
    max-width: 14ch;
}
.slash {
    position: absolute;
    left: -40px;
    top: 40px;
    width: 12px;
    height: 180px;
    background: var(--red);
    transform: skewX(-18deg);
}
.lede { color: var(--muted); max-width: 48ch; margin: 0 0 28px; }
.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.cta:hover { background: var(--red-dim); color: #fff; }
.ghost {
    display: inline-flex;
    margin-left: 12px;
    padding: 11px 18px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--cream);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    padding: 8px 0 48px;
}
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 18px 18px 16px;
    min-height: 140px;
}
.card h2 {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 20px;
    margin: 0 0 8px;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 16px;
}
.chip {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 8px 12px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
}
.chip.on { border-color: var(--red); color: var(--cream); }

.board {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 8px 0;
    margin-bottom: 40px;
}
.row {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid #1b2029;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
}
.row:last-child { border-bottom: 0; }
.rank { color: var(--muted); font-family: "Barlow Condensed", sans-serif; font-size: 18px; }
.name { font-weight: 600; }
.meta { color: var(--muted); font-size: 13px; }
.list { columns: 2; gap: 32px; padding: 8px 0 40px; }
.list div { padding: 6px 0; border-bottom: 1px solid #1b2029; break-inside: avoid; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--red); }
.note { color: var(--muted); font-size: 14px; }
.legal {
    color: var(--muted);
    font-size: 13px;
    max-width: 72ch;
    padding: 24px 0 80px;
}
.legal h1 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; }
footer {
    border-top: 1px solid var(--line);
    padding: 22px 0 40px;
    color: var(--muted);
    font-size: 12px;
}
.pager { display: flex; gap: 8px; padding: 12px 18px; }
button.cta, button.ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--cream);
    cursor: pointer;
    padding: 8px 14px;
    font-family: inherit;
}
button.cta { background: var(--red); border-color: var(--red); color: #fff; }
.search {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 10px 12px;
    width: min(320px, 100%);
    font-family: inherit;
}

@media (max-width: 720px) {
    .list { columns: 1; }
    .row { grid-template-columns: 48px 1fr; }
    .meta { grid-column: 2; }
    .slash { display: none; }
    .ghost { margin-left: 0; margin-top: 10px; display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
