/* Wall Street, Sourced: site styles. Brand: navy #0B1F3D, gold #D4AC54, cream. System fonts only (no third-party requests). */
:root {
  --navy: #0B1F3D; --navy-deep: #060D19; --gold: #D4AC54; --gold-ink: #8A6A1F;
  --bg: #FAF7F0; --surface: #FFFFFF; --ink: #14202E; --muted: #5A6472; --line: #E4DED0;
  --fact: #1E6B47; --fact-bg: #E3F2EA; --cons: #1F4E8C; --cons-bg: #E4ECF8;
  --deb: #8A5A00; --deb-bg: #FBF0D6; --calc: #5B4A8A; --calc-bg: #ECE8F6; --pay: #6B6B6B; --pay-bg: #EEEEEE;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A111C; --surface: #111B2A; --ink: #E8E4DA; --muted: #9AA5B4; --line: #223047; --gold-ink: #D4AC54;
    --fact: #7FD1A6; --fact-bg: #12301F; --cons: #9CC0F2; --cons-bg: #15253D;
    --deb: #EBC46A; --deb-bg: #33280F; --calc: #C3B5F0; --calc-bg: #241D3A; --pay: #BBBBBB; --pay-bg: #262626;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--cons); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
[id] { scroll-margin-top: 112px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }

/* header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; border-bottom: 3px solid var(--gold); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 72px; height: 72px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: #D8DEE8; text-decoration: none; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; border-bottom-color: var(--gold); }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #13305A); color: #fff; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(44px, 8vw, 84px); margin: 8px 0 16px; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700; margin: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 720px; }
.hero .lede { color: #C9D2DF; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 2px; background: var(--navy); color: #fff; text-decoration: none;
  font: 600 15px var(--sans); border: 1px solid var(--navy); cursor: pointer; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,0.4); }

/* sections */
.sec { font-size: 30px; margin: 56px 0 20px; }
.page-title { font-size: clamp(34px, 6vw, 48px); margin: 48px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,31,61,0.12); }
.card-body { padding: 16px 18px 20px; }
.card h3 { font-size: 24px; margin: 8px 0 6px; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.more { color: var(--gold-ink); font-weight: 700; font-size: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--muted); }
.level { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; color: #fff; }
.lvl-found { background: #2E8B57; } .lvl-inter { background: #2F6FC0; } .lvl-adv { background: #7B4BB7; } .lvl-exp { background: #222; }

.pillars { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; padding: 40px 0; }
.pillars .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.pillars h3 { font-size: 22px; margin: 0 0 8px; border-top: 3px solid var(--gold); padding-top: 14px; }
.pillars p { margin: 0; color: var(--muted); font-size: 15px; }
.host { margin-bottom: 64px; }

/* video page */
.video-hero { padding: 32px 0 8px; }
.video-hero h1 { font-size: clamp(34px, 6vw, 52px); margin: 4px 0 10px; }
.crumb { font-size: 14px; margin: 0; } .crumb a { color: var(--muted); }
.player { position: relative; aspect-ratio: 16/9; background: #000; margin: 20px 0; cursor: pointer; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player button { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: var(--gold); color: var(--navy-deep); font-size: 30px; cursor: pointer; padding-left: 6px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .consent { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 8px 12px; font-size: 12px; color: #fff; background: rgba(6,13,25,0.75); }
.player.soon { cursor: default; } .player.soon .consent { font-size: 15px; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 16px 0 8px; }
.chapters { padding-left: 0; list-style: none; margin: 0; font-size: 15px; }
.chapters li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.chapters a, .chapters span { font-variant-numeric: tabular-nums; font-weight: 700; margin-right: 8px; color: var(--gold-ink); }
.sheet-box { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 4px 20px 20px; }
.sheet-box h2, .two h2 { font-size: 24px; }

/* source sheet */
.sheet { max-width: 1120px; margin-bottom: 64px; }
.sheet h2 { font-size: 30px; margin-top: 48px; }
.sheet h3 { font-size: 22px; margin-top: 32px; }
.sheet hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
blockquote { margin: 24px 0; padding: 12px 20px; background: var(--surface); border-left: 4px solid var(--gold); color: var(--muted); }
blockquote p { margin: 6px 0; }
.tbl { margin: 16px 0; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14.5px; }
th { text-align: left; font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  border-bottom: 2px solid var(--navy); padding: 10px 10px; }
td { vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
tr:target { background: var(--deb-bg); }
.claims td:first-child, .sources td:first-child { white-space: nowrap; }
.ts { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold-ink); }
.sref { font-weight: 700; text-decoration: none; }
.badge { display: inline-block; font: 700 11px var(--sans); padding: 2px 7px; border-radius: 3px; white-space: nowrap; letter-spacing: 0.02em; }
.b-fact { color: var(--fact); background: var(--fact-bg); } .b-cons { color: var(--cons); background: var(--cons-bg); }
.b-deb { color: var(--deb); background: var(--deb-bg); } .b-calc { color: var(--calc); background: var(--calc-bg); }
.b-pay { color: var(--pay); background: var(--pay-bg); }
code { font-size: 0.9em; }

.prose { margin-bottom: 64px; } .prose h2 { font-size: 26px; margin-top: 36px; } .prose li { margin: 6px 0; }
.draft { background: var(--deb-bg); color: var(--deb); padding: 12px 16px; font-weight: 600; }

footer { background: var(--navy-deep); color: #A9B4C4; padding: 32px 0 40px; }
footer .fine { font-size: 13.5px; max-width: 860px; } footer strong { color: #fff; }
footer a { color: #D8DEE8; }

/* phones: tables become stacked cards */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { position: static; } [id] { scroll-margin-top: 12px; }
  .hero { padding: 48px 0 56px; }
  .two { grid-template-columns: 1fr; }
  .top nav { gap: 14px; } .top nav a { font-size: 14px; }
  .brand img { width: 60px; height: 60px; } .brand span { font-size: 17px; }
  table, thead, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { border: 1px solid var(--line); border-top: 3px solid var(--navy); margin-bottom: 12px; padding: 6px 0; background: var(--surface); }
  td { border: 0; padding: 4px 12px; }
  td::before { content: attr(data-label); display: block; font: 700 10.5px var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  table { background: transparent; }
}

@media print {
  .top, footer, .player, .btns, .video-hero .lede { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; } td, th { padding: 4px 6px; } tr { break-inside: avoid; }
  .sheet { max-width: none; }
}
