/* itrillion.com — editorial design system.
   Warm paper, ink, one money-green accent. FT/Bloomberg-grade restraint.
   Mobile-first. No gradients, no shadows-as-decoration, no glow. */
:root {
  --paper: #F7F5F0;
  --paper-2: #FFFDF9;
  --ink: #1A1F1D;
  --ink-soft: #333936;
  --muted: #6E746F;
  --faint: #9AA09A;
  --line: #E5E0D5;
  --line-dark: #D5CFBF;
  --green: #0C5B3E;
  --green-deep: #083F2C;
  --green-tint: #E9F1EC;
  --red: #A63A2E;
  --serif: 'Newsreader', Georgia, 'Times New Roman', Times, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 740px; }
.num, table.data, .mcap, .hero-stat .num, .tl-amount, .big-number {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 1px 12px rgba(26, 31, 29, 0.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 10px 12px; cursor: pointer; color: var(--ink);
  min-height: 44px; min-width: 44px;
}
.nav-toggle svg { display: block; }
.site-nav ul { display: flex; gap: 2px; list-style: none; align-items: center; }
.site-nav a {
  color: var(--ink-soft); padding: 12px 13px; font-size: 15px; font-weight: 500;
  border-bottom: 2px solid transparent; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--line-dark); }
.site-nav a.active { color: var(--green-deep); font-weight: 600; border-bottom-color: var(--green); }

/* ---------- Hero (home) ---------- */
.hero { padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.hero .kicker { margin-bottom: 18px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 8vw, 68px); line-height: 1.04; letter-spacing: -0.02em;
  max-width: 16ch; margin-bottom: 20px; color: var(--ink);
}
.hero h1 .accent { color: var(--green-deep); font-style: italic; }
.hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 620px; margin-bottom: 30px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: var(--radius); font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; text-align: center; min-height: 48px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--green); color: #fff; }
.btn-gold:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { border-color: var(--line-dark); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-navy { background: var(--ink); color: var(--paper); }
.btn-navy:hover { background: #000; color: var(--paper); }

.hero-stats { display: flex; flex-wrap: wrap; }
.hero-stat { padding: 0 36px 0 0; margin-right: 36px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat .num { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.hero-stat .num em { font-style: normal; color: var(--green-deep); }
.hero-stat .lbl { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.1px; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  color: var(--green-deep); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.8px; font-size: 12.5px; margin-bottom: 12px;
}
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--green); margin-right: 10px; vertical-align: middle; }
h2.section-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 14px; color: var(--ink);
  max-width: 22ch;
}
h2.section-title.sub { font-size: 25px; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); max-width: 660px; margin-bottom: 32px; font-size: 18px; line-height: 1.6; }

/* ---------- Index / teaser rows (replaces card grids) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.card {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 26px 26px 26px 0; border-radius: 0;
}
.card-grid .card { border-right: 1px solid var(--line); padding-left: 26px; }
.card-grid .card:first-child { padding-left: 0; }
.card-grid .card:last-child { border-right: 0; }
.card .icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card .icon svg { width: 20px; height: 20px; }
.card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 8px; color: var(--ink); letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.card .card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--green-deep); }
.card .card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tracker table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--paper-2); }
table.data { width: 100%; border-collapse: collapse; background: transparent; min-width: 760px; font-size: 15.5px; }
table.data thead th {
  position: sticky; top: 0; z-index: 2; background: var(--paper-2);
  text-align: left; padding: 13px 16px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--muted);
  border-bottom: 2px solid var(--ink); white-space: nowrap; cursor: pointer; user-select: none;
}
table.data th .arrow { color: var(--green); margin-left: 6px; font-size: 11px; }
table.data td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:first-child td { border-top: 0; }
table.data tbody tr:hover td { background: #F1EDE3; }
.company-cell { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.ticker-badge {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: var(--green-tint); color: var(--green-deep);
  padding: 4px 8px; border-radius: 4px; white-space: nowrap; letter-spacing: .4px;
}
.mcap { font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
table.data th[data-sort="num"] { text-align: right; }
td[data-val].rank-num, .rank-num {
  font-family: var(--serif); color: var(--faint); font-weight: 500; font-size: 17px; text-align: right;
}
.sector-pill {
  display: inline-block; font-size: 13px; color: var(--ink-soft);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px 11px; white-space: nowrap;
  background: var(--paper);
}
.asof {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-tint);
  border: 1px solid #CFE0D6; border-radius: 999px; padding: 5px 14px; margin-top: 16px;
}
.method-note {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-size: 14.5px; color: var(--ink-soft); margin: 26px 0; line-height: 1.65;
}
.method-note strong { color: var(--ink); }
.disclaimer-bar {
  background: var(--green-tint); border-left: 3px solid var(--green);
  padding: 14px 18px; font-size: 14px; color: var(--green-deep);
  border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 26px;
}
.table-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 720px; margin: 6px 0 0; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark);
}
.tl-item { position: relative; padding: 0 0 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 7px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--green);
}
.tl-item.tl-major::before { background: var(--green); }
.tl-date {
  font-size: 12.5px; font-weight: 700; color: var(--green-deep);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 6px;
}
.tl-item h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.tl-item p { color: var(--ink-soft); font-size: 16px; max-width: 60ch; }
.tl-amount {
  display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--green-deep); background: var(--green-tint);
  padding: 3px 11px; border-radius: 4px; margin-top: 10px;
}

/* ---------- Tools ---------- */
.tool-box {
  background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 34px; max-width: 720px; margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); font-size: 15.5px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-size: 17px; font-family: var(--sans); background: #fff; color: var(--ink); min-height: 52px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(12, 91, 62, .12); }
.tool-result {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: 26px; margin-top: 20px; display: none;
}
.tool-result.show { display: block; }
.tool-result .big {
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 38px);
  color: #fff; margin: 10px 0; letter-spacing: -0.01em;
}
.tool-result .detail { color: #C9CFC9; font-size: 14.5px; }
.tool-result .detail strong { color: #fff; }
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.preset {
  background: var(--paper); border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; cursor: pointer; color: var(--ink-soft); min-height: 44px;
}
.preset:hover { border-color: var(--green); color: var(--green-deep); }

/* ---------- Visualization ---------- */
.viz-bar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.viz-label { width: 210px; flex-shrink: 0; font-size: 14.5px; font-weight: 600; text-align: right; color: var(--ink-soft); }
.viz-track { flex: 1; background: var(--line); border-radius: 4px; height: 30px; position: relative; overflow: hidden; }
.viz-fill { height: 100%; background: var(--green); border-radius: 4px; width: 0; transition: width 1s ease; }
.viz-val { font-size: 13.5px; color: var(--muted); width: 130px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.viz-fact { border-top: 1px solid var(--line); padding: 26px 0; }
.viz-fact:first-of-type { border-top: 0; }
.viz-fact h3 { font-family: var(--serif); color: var(--ink); font-size: 24px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.viz-fact p { color: var(--ink-soft); max-width: 64ch; }
.viz-fact .math {
  font-family: var(--mono); background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 16px; font-size: 14px; margin-top: 14px; color: var(--ink-soft);
  overflow-x: auto; white-space: nowrap;
}

/* ---------- Prose / article ---------- */
.article { color: var(--ink-soft); }
.article h2 { font-family: var(--serif); color: var(--ink); font-weight: 600; font-size: 29px; margin: 44px 0 14px; line-height: 1.2; letter-spacing: -0.015em; }
.article h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; font-size: 22px; margin: 30px 0 10px; letter-spacing: -0.01em; }
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 20px 24px; }
.article li { margin-bottom: 8px; }
.article blockquote, .pullquote {
  border-left: 3px solid var(--green); margin: 28px 0; padding: 4px 0 4px 22px;
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink);
}
.big-number { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.zeros {
  font-family: var(--mono); background: var(--ink); color: var(--paper);
  padding: 16px 20px; border-radius: var(--radius); font-size: clamp(14px, 2.4vw, 20px);
  overflow-x: auto; white-space: nowrap; margin: 22px 0;
}
.stat-callout {
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-dark);
  padding: 26px 0; margin: 34px 0;
}
.stat-callout .figure { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); font-weight: 600; color: var(--green-deep); letter-spacing: -0.02em; }
.stat-callout .caption { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 56ch; }

/* ---------- Table of contents ---------- */
.toc-wrap { padding-top: 34px; }
.toc {
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--paper-2);
  padding: 20px 24px; margin: 0 0 36px; max-width: 740px;
}
.toc .toc-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 6px; font-size: 15.5px; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--green-deep); }

/* ---------- Related pages ---------- */
.related { border-top: 2px solid var(--ink); margin-top: 52px; padding-top: 26px; }
.related h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.01em; }
.related ul { list-style: none; display: grid; gap: 0; }
.related li { border-bottom: 1px solid var(--line); }
.related li:first-child { border-top: 1px solid var(--line); }
.related a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 4px; color: var(--ink); font-weight: 600; font-size: 17px; min-height: 56px;
}
.related a:hover { text-decoration: none; color: var(--green-deep); }
.related a .rel-arrow { color: var(--green); font-weight: 400; flex-shrink: 0; }
.related a small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--paper-2); border: 1px solid var(--line-dark); border-top: 3px solid var(--green);
  border-radius: var(--radius); padding: 40px; margin: 44px 0;
}
.newsletter h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.015em; }
.newsletter p { color: var(--muted); margin-bottom: 22px; max-width: 52ch; }
.nl-form { display: flex; gap: 10px; max-width: 560px; flex-wrap: wrap; }
.nl-form input[type="email"], .nl-form input[type="text"] {
  flex: 1; min-width: 220px; padding: 13px 16px; border: 1px solid var(--line-dark);
  border-radius: var(--radius); font-size: 16px; font-family: var(--sans); background: #fff; min-height: 52px;
}
.nl-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(12, 91, 62, .12); }
.nl-consent { font-size: 13.5px; color: var(--muted); max-width: 560px; margin: 14px 0 0; }
.nl-consent input { margin-right: 8px; width: 16px; height: 16px; accent-color: var(--green); }
.nl-msg { margin-top: 12px; font-size: 14.5px; color: var(--green-deep); font-weight: 600; }

/* ---------- Affiliate blocks ---------- */
.affiliate-block { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px; background: var(--paper-2); margin: 40px 0; }
.affiliate-block .aff-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--green); padding-bottom: 6px; margin-bottom: 16px;
}
.affiliate-block h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.affiliate-block > p { color: var(--ink-soft); font-size: 15.5px; }
.affiliate-block .fine { font-size: 13px; color: var(--muted); margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.aff-disclose { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.aff-disclose a { font-weight: 600; }
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.aff-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.aff-card h4 { color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.aff-card p { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #141715; color: #B9BDB4; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; line-height: 1.6; color: #8F948B; }
.site-footer h4 { color: #F7F5F0; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #B9BDB4; font-size: 14.5px; }
.site-footer a:hover { color: #F7F5F0; }
.footer-bottom {
  border-top: 1px solid #2A2E2B; padding-top: 22px; font-size: 13px; color: #8F948B;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Breadcrumb / page head ---------- */
.page-head { padding: 52px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; color: var(--ink);
}
.page-head > .wrap > p, .page-head .lede { color: var(--muted); max-width: 660px; margin-top: 14px; font-size: 18px; line-height: 1.6; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.crumbs a { color: var(--green-deep); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.byline .read-time { border-left: 1px solid var(--line-dark); padding-left: 14px; }

/* ---------- Blog index ---------- */
.post-list { list-style: none; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 28px 4px; color: var(--ink); }
.post-list a:hover { text-decoration: none; }
.post-list a:hover .post-title { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }
.post-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--green-deep); margin-bottom: 8px; }
.post-title { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; }
.post-dek { color: var(--muted); font-size: 16.5px; max-width: 62ch; }
.post-meta { font-size: 13.5px; color: var(--faint); margin-top: 10px; }

/* ---------- 404 ---------- */
.err-wrap { padding: 90px 0; text-align: left; max-width: 640px; }
.err-code { font-family: var(--serif); font-size: clamp(70px, 10vw, 120px); font-weight: 600; color: var(--line-dark); letter-spacing: -0.03em; line-height: 1; }
.err-wrap h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin: 12px 0; letter-spacing: -0.015em; }

/* ---------- Animations (restrained) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .viz-fill { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 12px 24px rgba(26, 31, 29, .08);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; align-items: stretch; }
  .site-nav a { display: flex; padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a.active, .site-nav a:hover { border-bottom: 1px solid var(--line); }
  .hero { padding: 52px 0 44px; }
  .hero-stat { padding: 0 24px 0 0; margin: 0 24px 16px 0; }
  .section { padding: 44px 0; }
  .newsletter { padding: 30px 22px; }
  .tool-box { padding: 24px 18px; }
  .viz-label { width: 150px; font-size: 13.5px; text-align: left; }
  .viz-val { display: none; }
  /* Sticky first column for data tables */
  table.data { min-width: 640px; }
  table.data thead th:first-child, table.data tbody td:first-child {
    position: sticky; left: 0; z-index: 1; background: var(--paper-2);
    box-shadow: 1px 0 0 var(--line);
  }
  table.data thead th:first-child { z-index: 3; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero-stat .num { font-size: 30px; }
  .nl-form input[type="email"], .nl-form input[type="text"] { min-width: 100%; }
}
