:root {
    --bg: #080b12;
    --panel: #111827;
    --panel-2: #172033;
    --text: #f8fafc;
    --muted: #a7b0c2;
    --line: #2b3448;
    --red: #ef4444;
    --orange: #f97316;
    --yellow: #f59e0b;
    --green: #22c55e;
    --blue: #38bdf8;
    --purple: #a78bfa;
    --shadow: 0 24px 70px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(239,68,68,.18), transparent 35%),
        radial-gradient(circle at top right, rgba(56,189,248,.12), transparent 34%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 76px 0 54px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(2.4rem, 7vw, 5.3rem); line-height: .95; margin: 10px 0 22px; max-width: 950px; }
.lede { max-width: 850px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: white; text-decoration: none; font-weight: 800; padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(239,68,68,.22); }
.button.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.updated { color: var(--muted); font-size: .95rem; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.summary-grid article { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.summary-grid strong { display: block; font-size: 2rem; line-height: 1; }
.summary-grid span { color: var(--muted); font-size: .92rem; }
.intro-card, .sources-card { background: rgba(17,24,39,.86); border: 1px solid var(--line); border-radius: 26px; padding: 28px; margin: 26px 0 34px; box-shadow: var(--shadow); }
.warning-card { border-color: rgba(245,158,11,.55); background: linear-gradient(180deg, rgba(245,158,11,.12), rgba(17,24,39,.86)); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 18px; }
.timeline { margin: 32px 0 48px; }
.event { display: grid; grid-template-columns: 190px 1fr; gap: 22px; position: relative; padding: 0 0 28px; }
.event::before { content: ""; position: absolute; left: 190px; top: 5px; bottom: -2px; width: 2px; background: var(--line); transform: translateX(10px); }
.event::after { content: ""; position: absolute; left: 190px; top: 5px; width: 22px; height: 22px; border-radius: 999px; background: var(--red); border: 4px solid var(--bg); }
.date { color: var(--text); font-weight: 900; padding-top: 2px; }
.content { background: rgba(17,24,39,.92); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.type, .tag { font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 6px 10px; }
.type { background: rgba(255,255,255,.08); color: var(--muted); }
.tag { background: rgba(239,68,68,.18); color: #fecaca; }
.event.market::after { background: var(--yellow); }
.event.market .tag { background: rgba(245,158,11,.18); color: #fde68a; }
.event.taco::after, .event.nacho::after { background: var(--orange); }
.event.epic-fury::after { background: var(--purple); }
.event.deadline::after, .event.red-line::after { background: var(--red); }
.event.claim::after { background: var(--blue); }
.event.ceasefire::after { background: var(--green); }
h3 { font-size: 1.25rem; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.source-link { display: inline-flex; margin-top: 8px; color: #bfdbfe; text-decoration: none; font-weight: 800; font-size: .92rem; border-bottom: 1px solid rgba(191,219,254,.35); }
.source-link:hover, .sources-list a:hover { color: white; }
.sources-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sources-list article { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.sources-list h3 { font-size: 1rem; margin-bottom: 8px; }
.sources-list a { color: #bfdbfe; text-decoration: none; }
.sources-list p { color: var(--muted); font-size: .94rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); padding: 30px 0; }
@media (max-width: 760px) {
    .summary-grid { grid-template-columns: repeat(2, 1fr); }
    .event { grid-template-columns: 1fr; gap: 10px; padding-left: 26px; }
    .event::before { left: 0; transform: none; }
    .event::after { left: -10px; }
    .date { padding-left: 4px; }
    .sources-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .summary-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 46px; }
    .intro-card, .sources-card, .content { padding: 20px; }
}


.year-divider {
    margin: 34px 0 18px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-left: 6px solid var(--blue);
    border-radius: 18px;
    background: rgba(56,189,248,.08);
    color: var(--text);
    font-size: 1.15rem;
}

.timeline .year-divider:first-of-type {
    margin-top: 8px;
}

.footer strong {
    color: var(--text);
}
