/* Spread public site. Layout: one reading column with dense data tables; gold marks "what's inside the box",
   blue/orange mark spreads below/above. */
:root {
  --paper: #E8ECF0; --panel: #FBFCFD; --panel-2: #F0F3F6; --ink: #121C26; --ink-2: #3D4A57; --muted: #5F6B78;
  --rule: #D0D7DE; --gold: #8F6100; --gold-soft: #F4E8C8; --under: #2E64C2; --over: #B5500C;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { :root {
  --paper: #0C1218; --panel: #131B25; --panel-2: #192330; --ink: #E5EBF1; --ink-2: #B3BEC9; --muted: #8C99A6;
  --rule: #263240; --gold: #D4A646; --gold-soft: #3A3017; --under: #6E9BEA; --over: #E08A45; color-scheme: dark } }
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px }
a:hover { color: var(--gold) }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px }
.num, td.n, th.n, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px }

header.site { border-bottom: 1px solid var(--rule); background: var(--panel) }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-block: 12px }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 800 24px/1 var(--display); letter-spacing: .08em }
.logo i { width: 18px; height: 24px; border-radius: 3px; border: 1px solid var(--rule); display: inline-block;
  background: conic-gradient(from 200deg, #c9a24a, #f2e3a6, #8fc7c4, #c9a24a, #f0d9a0, #c9a24a) }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px }
nav.main a { text-decoration: none; color: var(--ink-2) }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); text-decoration: underline }

main { padding-block: 34px 56px; display: flex; flex-direction: column; gap: 34px }
.crumbs { font-size: 13px; color: var(--muted) }
.crumbs a { color: var(--muted) }
.eyebrow { font: 600 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold) }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: .01em }
h1 { font-size: clamp(34px, 5.6vw, 60px); max-width: 20ch }
h2 { font-size: clamp(24px, 3vw, 32px) }
h3 { font-size: 21px }
.lede { font-size: 18px; color: var(--ink-2); max-width: 66ch; margin: 0 }
.lede strong, p strong { color: var(--ink) }
p { margin: 0; max-width: 70ch }
.head { display: flex; flex-direction: column; gap: 12px }
.asof { font: 13px var(--mono); color: var(--muted) }
section { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.note { font-size: 13.5px; color: var(--muted) }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--panel) }
.fact { padding: 16px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 -1px -1px 0; display: flex; flex-direction: column; gap: 4px }
.fact b { font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.fact span { font: 600 32px/1.05 var(--display); font-variant-numeric: tabular-nums }
.fact small { color: var(--muted); font-size: 13px; line-height: 1.4 }
.fact.key { background: var(--gold-soft) }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px }
.tile { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; text-decoration: none }
.tile b { font-weight: 600 }
.tile small { color: var(--muted); font-size: 13px }
.tile:hover { border-color: var(--ink-2); color: var(--ink) }

.tbl { overflow-x: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--panel) }
table { border-collapse: collapse; width: 100%; font-size: 14px }
th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); background: var(--panel-2); white-space: nowrap }
td { padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: top }
tr:last-child td { border-bottom: 0 }
td.n, th.n { text-align: right; white-space: nowrap }
td small { display: block; color: var(--muted); font-size: 12px }
.up { color: var(--over) } .down { color: var(--under) }
.flag { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px dashed var(--muted); border-radius: 4px; padding: 1px 6px; color: var(--ink-2); white-space: nowrap }
.bar { display: inline-block; height: 10px; vertical-align: middle; border-radius: 0 3px 3px 0; background: var(--gold) }
.spark { width: 110px; height: 28px; display: block }
.chart { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 12px }
.chart svg { width: 100%; height: auto; display: block }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 26px }
.two > * { min-width: 0 }
ul.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; max-width: 72ch }
.callout { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px }
.btn { display: inline-block; align-self: flex-start; background: var(--ink); color: var(--panel); border-radius: 6px; padding: 9px 16px; font-weight: 600; text-decoration: none }
.btn:hover { color: var(--panel); opacity: .9 }

.thumb { width: 36px; height: 50px; object-fit: cover; border-radius: 3px; border: 1px solid var(--rule); background: var(--panel-2); flex: none }
.with-thumb { display: flex; gap: 10px; align-items: flex-start }
.with-thumb > span { min-width: 0 }
.card-hero { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start }
.card-img { margin: 0; display: flex; flex-direction: column; gap: 6px }
.card-img img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); background: var(--panel-2); aspect-ratio: 5 / 7; object-fit: contain }
.card-img figcaption { font-size: 11.5px; color: var(--muted) }
@media (max-width: 640px) { .card-hero { grid-template-columns: 1fr } .card-img { max-width: 170px } }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px }
.plan { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 12px }
.plan.key { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink) }
.plan .price { font: 600 44px/1 var(--display) }
.plan .price small { font: 400 14px var(--body); color: var(--muted) }
.plan .btn + .btn { margin-top: -4px }

footer.site { border-top: 1px solid var(--rule); background: var(--panel); font-size: 13px; color: var(--muted) }
footer.site .wrap { padding-block: 22px; display: flex; flex-direction: column; gap: 8px }
footer.site a { color: var(--ink-2) }
@media (max-width: 640px) { body { font-size: 15.5px } .fact span { font-size: 28px } td, th { padding: 8px 9px } }
