:root {
  --bg:            #0f1117;
  --bg-alt:        #161a23;
  --bg-support:    #11161f;
  --surface:       #1c2230;
  --surface-2:     #232b3b;
  --text:          #e8ebf2;
  --text-dim:      #a6adbd;
  --accent:        #e23b3b;
  --accent-hover:  #f25555;
  --accent-soft:   #2a1416;
  --gold:          #f2c14e;
  --line:          #2a3242;
  --radius:        14px;
  --maxw:          1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 22px;
}
.nav__brand { font-weight: 800; letter-spacing: .5px; color: var(--accent); }
.nav__toggle {
  display: none; background: none; border: 0; color: var(--text);
  font-size: 1.5rem; cursor: pointer;
}
.nav__links { list-style: none; display: flex; gap: 26px; }
.nav__links a { color: var(--text-dim); font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--text); text-decoration: none; }

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(226,59,59,.18), transparent 60%),
    linear-gradient(180deg, #12151d, var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 70px 22px 86px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: .8rem;
  color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.1rem, 6vw, 4rem); line-height: 1.05;
  font-weight: 800; letter-spacing: -1px; margin-bottom: 22px;
}
.hero__lede { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--text-dim); max-width: 760px; }
.hero__lede strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 18px; }
.hero__note { color: var(--text-dim); font-size: .95rem; font-style: italic; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; transition: transform .12s ease, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { background: var(--surface); }

/* ---------- SECTIONS ---------- */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section--support { background: var(--bg-support); }
.section__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; }
.section__intro { color: var(--text-dim); max-width: 720px; margin-bottom: 38px; font-size: 1.05rem; }
.section__src { margin-top: 22px; font-size: .85rem; color: var(--text-dim); }
.section__src a { color: var(--text-dim); text-decoration: underline; }

/* ---------- TIMELINE ---------- */
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline__item { position: relative; padding: 0 0 34px 30px; }
.timeline__item::before {
  content: ""; position: absolute; left: -9px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--line);
}
.timeline__item--key::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline__item--key h3 { color: #fff; }
.timeline__item--muted { opacity: .82; }
.timeline__date { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 6px; }
.timeline__item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline__item p { color: var(--text-dim); }
.timeline__item p strong { color: var(--text); }
.timeline__src { margin-top: 8px; font-size: .82rem; }
.timeline__src a { color: var(--text-dim); text-decoration: underline; }

/* ---------- CALLOUT ---------- */
.callout {
  margin-top: 40px; padding: 24px 26px; background: var(--accent-soft);
  border: 1px solid #50242a; border-left: 4px solid var(--accent); border-radius: var(--radius);
}
.callout p { color: var(--text); }

/* ---------- HISTORY ---------- */
.history { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.history__item {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 28px;
}
.history__item h3 { font-size: 1.25rem; margin: 8px 0 12px; line-height: 1.25; }
.history__item p { color: var(--text-dim); margin-bottom: 12px; }
.history__item p strong { color: var(--text); }
.history__item em { color: var(--text); font-style: italic; }
@media (max-width: 760px) { .history { grid-template-columns: 1fr; } }

/* ---------- CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: block; color: var(--text);
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: .96rem; }
.card small { color: #7e8699; }
.card__icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.card__list { list-style: none; margin-top: 6px; }
.card__list li { color: var(--text-dim); font-size: .96rem; padding: 3px 0; }
.card--action { transition: transform .12s ease, border-color .2s, background .2s; }
.card--action:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--surface-2); text-decoration: none; }
.card--support { border-top: 3px solid var(--gold); }

/* ---------- SUPPORT SAFETY ---------- */
.support__safety { margin-top: 30px; text-align: center; font-size: 1.05rem; color: var(--text); }

/* ---------- FOOTER ---------- */
.footer { padding: 44px 0 60px; background: #0b0d12; }
.footer__disclaimer { color: #79808f; font-size: .82rem; max-width: 880px; margin-bottom: 18px; }
.footer__disclaimer strong { color: #aeb5c4; }
.footer__meta { color: #5d6472; font-size: .85rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 60px; right: 14px; left: 14px;
    flex-direction: column; gap: 4px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 8px 0; }
}
