:root {
  --bg: #0b1220;
  --bg-2: #0e1626;
  --card: #121a2b;
  --card-2: #172033;
  --ink: #f4f7fb;
  --muted: #9aa6b8;
  --line: #2a3548;
  --gold: #d4a017;
  --gold-2: #f0c14b;
  --teal: #2ec4b6;
  --good: #3dd68c;
  --warn: #c9a227;
  --blue: #3b82f6;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --radius: 16px;
  --max: 1120px;
  --nav-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* NAV */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(11,18,32,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: baseline; gap: 7px; font-weight: 600; letter-spacing: .01em; color: var(--ink); text-decoration: none; }
.brand b { color: var(--teal); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent;
  font: 600 14px/1 "IBM Plex Sans", sans-serif;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #1a1404; }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { filter: brightness(1.08); }
.btn-lg { height: 48px; padding: 0 20px; width: 100%; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); height: 44px; width: 44px; border-radius: 8px; }

/* HERO */
.hero { padding: 56px 0 28px; }
.kicker {
  color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  margin: 0 0 12px;
}
h1, h2, h3 { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; max-width: 28ch; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
h3 { font-size: 20px; }
.lede { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 14px 0 0; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* CARDS */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; color: var(--muted); }
.gold { color: var(--gold-2); }
.price { font-family: "IBM Plex Serif", serif; font-size: 42px; color: var(--gold-2); line-height: 1; }
.price span { font-size: 16px; color: var(--muted); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.section { padding: 42px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* LISTS */
.checks { list-style: none; margin: 10px 0 0; padding: 0; }
.checks li { position: relative; padding: 7px 0 7px 22px; color: var(--ink); }
.checks li:before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* CHARTS */
.bars { display: grid; gap: 14px; margin-top: 16px; }
.bar-row label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.track { height: 12px; background: #1c273a; border-radius: 99px; overflow: hidden; }
.keep-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.keep-pair .card { min-height: 240px; }
.keep-n {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(52px, 7vw, 80px);
  line-height: 1;
  margin: 8px 0 6px;
  color: var(--gold-2);
}
.keep-n.good { color: var(--good); }
.keep-pair .track { height: 28px; margin-top: 22px; }
.vendor.wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
  margin-top: 8px;
}
.vendor.wide div { flex-direction: column; align-items: flex-start; gap: 4px; }
.fill { height: 100%; width: 0; border-radius: 99px; background: var(--gold); transition: width 1.1s ease; }
.fill.good { background: var(--good); }
.gauge { position: relative; height: 18px; background: #1c273a; border-radius: 99px; margin: 18px 0 8px; }
.gauge .mark {
  position: absolute; top: -6px; width: 2px; height: 30px; background: var(--ink);
}
.gauge .amt {
  position: absolute; top: 0; left: 0; height: 100%; width: 96.67%;
  background: linear-gradient(90deg, #8a6a10, var(--gold));
  border-radius: 99px;
}
.hex {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.hex .cell {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  min-height: 92px;
}
.hex .cell strong { display: block; font-size: 14px; margin-bottom: 4px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.step em { display: block; color: var(--gold); font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }

/* PACK PICKER */
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.pack {
  background: var(--card-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 10px 8px; cursor: pointer; text-align: center; font-size: 13px;
}
.pack.active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.metric { background: #0e1624; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.metric b { display: block; font-size: 22px; }
.metric span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.field { margin-top: 10px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.field input {
  width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--line);
  background: #0e1624; color: var(--ink); padding: 0 12px; font: 15px "IBM Plex Sans", sans-serif;
}

.callout {
  border-left: 3px solid var(--gold);
  background: #16120a;
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  color: #e8d9a8;
  font-size: 14px;
}

.vendor {
  display: grid; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.vendor div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.vendor span { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--muted); }

.faq details {
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }

.reveal { opacity: 0; transform: translateY(10px); animation: up .5s ease forwards; }
.reveal:nth-child(2) { animation-delay: .06s; }
.reveal:nth-child(3) { animation-delay: .12s; }
@keyframes up { to { opacity: 1; transform: none; } }

.route { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.route.three { grid-template-columns: 1fr 1fr 1fr; }
.route a.card { color: inherit; display: block; }
.route a.card:hover { border-color: var(--gold); text-decoration: none; }

.toc { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.toc li { margin: 0; }
.toc a {
  display: flex; gap: 14px; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: inherit; text-decoration: none; line-height: 1.4;
}
.toc a:hover { border-color: var(--gold); text-decoration: none; }
.toc a strong { flex: 0 0 2.2rem; color: var(--gold); font-weight: 700; letter-spacing: 0.04em; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.pill-yes { background: rgba(61,214,140,.15); color: var(--good); }
.pill-no { background: rgba(201,40,40,.18); color: #f0a0a0; }
.pill-part { background: rgba(201,162,39,.16); color: var(--gold-2); }
.anchor { scroll-margin-top: 88px; }
.notice-bar {
  border: 1px solid rgba(212,160,23,.45); background: rgba(212,160,23,.08);
  border-radius: 14px; padding: 16px 18px; margin: 8px 0 0;
}
@media print {
  .topbar, .nav-cta, .menu-btn, footer, .no-print { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .toc a { box-shadow: none; border-color: #ccc; background: #fff; }
  a { color: #111; }
  .section { padding: 18px 0; }
}

@media (max-width: 900px) {
  .split, .grid-2, .grid-3, .grid-4, .steps, .picker, .metrics, .route, .foot-grid, .hex, .keep-pair, .vendor.wide { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  h1 { max-width: none; }
  .nav-cta .btn-outline { display: none; }
}
