/* Up or Down: an editorial research-report look. Newsreader for headlines, Instrument Sans for
 * everything else (including chart text, see stockml.viz.theme). Chrome stays black and white
 * so the data carries the colour. Light is the default; [data-theme="dark"] is opt-in.
 */
:root {
  color-scheme: light;
  --bg: #ffffff;          /* page and chart surface (theme.SURFACE) */
  --surface-2: #f5f5f4;   /* quiet fills: verdict panel, code, row hover */
  --border: #e4e4e7;      /* hairlines */
  --border-2: #8f8f97;    /* form control outlines (3.2:1) */
  --text: #111113;
  --text-2: #4a4a50;
  --text-3: #6e6e76;
  --pos: #0b7a4b;
  --neg: #c0392f;
  --warn-bg: #fdf6e7;
  --warn-border: #ecd6a3;
  --focus: #2a78d6;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234a4a50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --page-width: 1280px;
  --gutter: 32px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111113;          /* = DARK_COLOR_MAP[SURFACE] */
  --surface-2: #1b1b1e;
  --border: #2a2a2e;
  --border-2: #6b6b73;
  --text: #f1f1ef;
  --text-2: #b9b9be;
  --text-3: #8b8b92;
  --pos: #3cc38f;
  --neg: #ef7a78;
  --warn-bg: #2a2314;
  --warn-border: #5a4820;
  --focus: #5598e7;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23b9b9be' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .2s, color .2s;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  transition: text-decoration-color .15s;
}
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--focus) 22%, transparent); }
code { font-family: var(--mono); font-size: .86em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
em { font-style: italic; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---- masthead ------------------------------------------------------------------------ */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color .2s;
}
.masthead-inner {
  max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: stretch; gap: 48px; height: 60px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.brand em { font-style: italic; font-weight: 400; color: var(--text-3); }
/* The one coloured piece of chrome: the logo's up half is --pos, its down half --neg. */
.brand-mark { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.mark-up { fill: var(--pos); }
.mark-down { fill: none; stroke: var(--neg); }
.nav {
  display: flex; gap: 28px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: flex; align-items: center; white-space: nowrap;
  color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color .15s, box-shadow .15s;
}
.nav a:hover { color: var(--text); box-shadow: inset 0 -2px 0 var(--border); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }

.theme-toggle {
  align-self: center; flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; margin-right: -8px;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-2);
  cursor: pointer; transition: background-color .15s, color .15s;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; grid-area: 1 / 1; transition: opacity .2s, transform .3s; }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.theme-toggle[aria-pressed="true"] .icon-sun { opacity: 1; transform: none; }
.theme-toggle[aria-pressed="true"] .icon-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
/* "About" sits apart from the analysis pages, next to the theme toggle. */
.masthead-link {
  display: flex; align-items: center; flex: none; margin: 0 -28px 0 auto;
  color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color .15s, box-shadow .15s;
}
.masthead-link:hover { color: var(--text); box-shadow: inset 0 -2px 0 var(--border); }
.masthead-link[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }

/* ---- page head ----------------------------------------------------------------------- */
main { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter) 104px; }
.page-head { padding: 60px 0 40px; }
.page-head-text { max-width: 760px; }
.page-head .controls { margin-top: 28px; }
.page-head h1 {
  margin: 0 0 14px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 2.6vw + 16px, 52px);
  line-height: 1.04; letter-spacing: -.025em;
}
.lede { margin: 0; max-width: 64ch; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
/* Overview's pointer to the About page and its video. */
.tour-link { margin: 14px 0 0; font-size: 14.5px; font-weight: 600; }
.tour-link a { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.tour-link svg { flex: none; width: 20px; height: 20px; }
.tour-link .nowrap { white-space: nowrap; }
.tour-link circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.tour-link path { fill: currentColor; }

/* ---- controls ------------------------------------------------------------------------ */
.controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.field select,
.field input[type="date"],
.field input[type="number"] {
  font: inherit; font-size: 14px; color: var(--text); background-color: var(--bg);
  height: 38px; padding: 0 12px; min-width: 0;
  border: 1px solid var(--border-2); border-radius: 6px;
  transition: border-color .15s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: var(--chevron); background-repeat: no-repeat;
  background-position: right 12px center; background-size: 12px;
}
.field select:hover, .field input:hover { border-color: var(--text-2); }
.field input[type="range"] { width: 150px; margin: 0; accent-color: var(--text); cursor: pointer; }
.range-row { display: flex; align-items: center; gap: 12px; height: 38px; }
.range-row output { min-width: 42px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text); }
.btn {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--bg); background: var(--text);
  height: 38px; padding: 0 18px; border: 0; border-radius: 6px; cursor: pointer;
  transition: opacity .15s;
}
.btn:hover { opacity: .82; }
.errorlist { margin: 2px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--neg); }

/* ---- key figures --------------------------------------------------------------------- */
.stats {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  margin: 0 0 64px; border-top: 1px solid var(--text); border-bottom: 1px solid var(--border);
}
.stat { margin: 0; padding: 16px 24px 20px; border-left: 1px solid var(--border); min-width: 0; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat dd { margin: 8px 0 0; font-size: 29px; font-weight: 550; line-height: 1.05; letter-spacing: -.03em; }

/* ---- verdict (the page's headline finding) ------------------------------------------- */
.callout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px 56px;
  margin: 0 0 64px; padding: 26px 30px 28px;
  background: var(--surface-2); border-radius: 10px;
}
.callout-label {
  grid-column: 1 / -1; margin: 0;
  font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3);
}
.callout.warn .callout-label { color: var(--neg); }
.callout-head {
  margin: 0; font-family: var(--serif); font-size: 29px; font-weight: 500;
  line-height: 1.16; letter-spacing: -.018em; color: var(--text);
}
.callout-head strong { font-weight: 600; }
.callout-body { margin: 0; align-self: end; color: var(--text-2); }
.callout-body strong { color: var(--text); font-weight: 600; }

.alert {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 48px; padding: 16px 20px;
  background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 10px;
}
.alert svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: currentColor; }
.alert p { margin: 0; }

/* ---- sections and figures ------------------------------------------------------------ */
.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 56px; align-items: baseline;
  margin: 96px 0 32px; padding-top: 16px; border-top: 1px solid var(--text);
}
.section-head h2 {
  margin: 0; font-family: var(--serif); font-size: 31px; font-weight: 500;
  line-height: 1.12; letter-spacing: -.02em;
}
.section-head p { margin: 0; font-size: 15.5px; color: var(--text-2); }

.grid { display: grid; gap: 64px 48px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Stacked figures; figures inside a grid are spaced by its gap, so they stay top-aligned. */
main > :is(section, .grid) + :is(section, .grid) { margin-top: 64px; }

.card { min-width: 0; padding-top: 6px; border-top: 1px solid var(--border); }
.card h2 { margin: 16px 0 4px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
.card .sub { margin: 0 0 20px; max-width: 96ch; font-size: 14px; color: var(--text-2); }
.chart {
  width: 100%; min-height: 340px; border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--bg) 50%, var(--surface-2) 100%);
  background-size: 200% 100%; animation: shimmer 1.6s ease-in-out infinite;
}
.chart.is-ready { background: none; animation: none; min-height: 0; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .chart { animation: none; } }

.insight { margin: 16px 0 0; max-width: 80ch; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.insight + .insight { margin-top: 8px; }
.insight-label {
  margin-right: 4px; font-size: 11px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text);
}

/* ---- tables -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 12px; text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; padding-left: 8px; }
th:last-child, td:last-child { padding-right: 8px; }
thead th {
  padding-top: 0; padding-bottom: 10px; vertical-align: bottom; white-space: normal;
  font-size: 12.5px; font-weight: 500; color: var(--text-3);
  border-bottom: 1px solid var(--text);
}
tbody td { border-bottom: 1px solid var(--border); }
tbody tr { transition: background-color .12s; }
tbody tr:hover { background: var(--surface-2); }
tr.benchmark td { color: var(--text-2); }
tbody tr:not(.benchmark) + tr.benchmark td { border-top: 1px solid var(--text-3); }
.swatch { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 2px; }
.swatch.dashed {
  width: 14px; height: 0; margin-right: 5px; vertical-align: 3px; border-radius: 0;
  background: none !important; border-top: 2px dashed var(--text-2);
}
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.muted { color: var(--text-3); }

.empty { padding: 72px 24px 80px; text-align: center; border-top: 1px solid var(--text); }
.empty h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.empty p { margin: 0 0 22px; }
.empty pre {
  display: inline-block; max-width: 100%; overflow-x: auto; margin: 0; padding: 14px 18px;
  text-align: left; font-family: var(--mono); font-size: 13px; line-height: 1.7;
  background: var(--surface-2); border-radius: 8px;
}

/* ---- footer -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: var(--page-width); margin: 0 auto; padding: 44px var(--gutter) 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 56px;
  font-size: 13.5px; color: var(--text-2);
}
.footer-inner p { margin: 0; }
.footer-inner .brand { font-size: 20px; margin-bottom: 8px; }
.footer-inner h2 {
  margin: 4px 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text);
}
.fine-print { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); }

/* ---- about page ---------------------------------------------------------------------- */
.video-figure { margin: 0 0 64px; }
.video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
}
.footer-more { margin-top: 10px !important; }

.step-num {
  margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
  font-variant-numeric: tabular-nums; color: var(--text-3);
}
.jobs, .pipeline, .rules, .guide, .tips, .feature-list, .model-list { list-style: none; margin: 0; padding: 0; }

.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.jobs li { padding-top: 16px; border-top: 1px solid var(--border); }
.jobs h3, .pipeline h3, .guide h3 {
  margin: 8px 0 10px; font-family: var(--serif); font-size: 26px; font-weight: 500;
  line-height: 1.15; letter-spacing: -.015em;
}
.jobs p:not(.step-num) { margin: 0; color: var(--text-2); }

.pipeline > li, .guide > li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 56px;
  padding: 24px 0 28px; border-top: 1px solid var(--border);
}
.pipeline > li:first-child, .guide > li:first-child { border-top: 0; padding-top: 0; }
.pipeline h3 { margin-bottom: 0; }
.pipeline-body > p { margin: 0 0 12px; color: var(--text-2); max-width: 72ch; }
.pipeline-body > p:last-child { margin-bottom: 0; }
.pipeline + .card { margin-top: 40px; }
.where { font-size: 12.5px; color: var(--text-3) !important; }
.where code { font-size: 12px; }

.feature-list, .model-list { margin: 4px 0 16px; font-size: 14.5px; }
.feature-list li, .model-list li { padding: 8px 0; border-top: 1px solid var(--border); color: var(--text-2); }
.feature-list li:last-child, .model-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list strong { display: inline-block; min-width: 104px; font-weight: 600; color: var(--text); }
.model-list li { color: var(--text); }
.model-list .muted { font-size: 13.5px; }

.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.rules li { padding-top: 14px; border-top: 1px solid var(--border); }
.rules h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; }
.rules p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.rules-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.guide-head p { margin: 0; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--text-2); }
.guide-head h3 { margin-top: 0; }
.guide-head a { text-decoration-color: var(--border-2); }
.guide-body p { margin: 0 0 12px; color: var(--text-2); max-width: 72ch; }
.guide-body p:last-child { margin: 0; }
.try { font-size: 14px; }
.try span {
  margin-right: 6px; font-size: 11px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text);
}

.section-head-minor { margin-top: 64px; border-top-color: var(--border); }
.section-head-minor h2 { font-size: 24px; }
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; font-size: 14.5px; }
.tips li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-2); }
.tips strong { color: var(--text); font-weight: 600; }

.prose-grid { gap: 40px 48px; }
.prose-grid .card p { margin: 0; font-size: 14.5px; color: var(--text-2); }

.transcript { margin-top: 96px; padding-top: 16px; border-top: 1px solid var(--text); }
.transcript summary {
  cursor: pointer; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.015em;
}
.transcript ol { margin: 20px 0 0; padding-left: 22px; max-width: 72ch; color: var(--text-2); }
.transcript li { margin-bottom: 10px; padding-left: 4px; }
.transcript li strong { color: var(--text); font-weight: 600; }

/* Phone-only pieces added by dashboard.js; hidden on wider screens. */
.chart-head, .show-columns { display: none; }

/* ---- tablet -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding-left: 20px; }
  .stat:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--border); }
  .callout, .section-head { grid-template-columns: minmax(0, 1fr); }
  .callout-body { align-self: start; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .jobs, .pipeline > li, .guide > li { grid-template-columns: minmax(0, 1fr); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- phone --------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }

  /* Brand and theme toggle on one row; every page link visible on a 3 × 2 grid below. It
     scrolls away with the page instead of sticking, so it doesn't eat the screen. */
  .masthead { position: static; }
  .masthead-inner { height: auto; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0; padding-top: 12px; padding-bottom: 14px; }
  .nav {
    order: 3; flex: 1 1 100%; margin-top: 12px; gap: 0; overflow: hidden;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--border); border-radius: 8px;
  }
  .nav a { justify-content: center; padding: 9px 4px; font-size: 13px; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
  .nav a:nth-child(3n + 1) { border-left: 0; }
  .nav a:nth-child(-n + 3) { border-top: 0; }
  .nav a:hover { box-shadow: none; background: var(--surface-2); }
  .nav a[aria-current="page"] { box-shadow: none; background: var(--text); color: var(--bg); }

  main { padding-bottom: 72px; }
  .page-head { padding: 28px 0 28px; }
  .page-head .controls { margin-top: 22px; }
  .page-head h1 { font-size: 32px; margin-bottom: 10px; }
  .lede { font-size: 15px; }
  .controls { width: 100%; }
  .field { flex: 1 1 140px; }
  .field input[type="range"] { width: 100%; }
  .range-row { width: 100%; }
  .btn { flex: 1 1 100%; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 44px; }
  .stat, .stat:nth-child(3n + 1) { padding: 14px 0 16px 16px; border-left: 1px solid var(--border); }
  .stat:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .stat dd { font-size: 24px; }

  .callout { padding: 20px 18px 22px; margin-bottom: 48px; }
  .callout-head { font-size: 24px; }
  .section-head { margin: 64px 0 24px; }
  .section-head h2 { font-size: 26px; }
  .grid { gap: 48px; }
  main > :is(section, .grid) + :is(section, .grid) { margin-top: 48px; }
  .card .sub { font-size: 13.5px; }
  .empty { padding: 48px 8px 56px; }

  /* Chart title and subtitle as wrapping text above the plot (see phoneFigure in dashboard.js). */
  .chart-head { display: block; margin: 14px 0 8px; }
  .chart-head h3 { margin: 0 0 3px; font-size: 15px; font-weight: 600; line-height: 1.3; }
  .chart-head p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
  .chart-head .chart-events { margin-top: 4px; color: var(--text-3); }

  /* Tables: key columns only until "Show all columns"; the first column stays pinned. */
  .table-wrap[data-key-cols]:not(.show-all) .opt { display: none; }
  table { font-size: 13px; }
  th, td { padding: 9px 6px; }
  th:first-child, td:first-child { padding-left: 0; }
  th:last-child, td:last-child { padding-right: 0; }
  th, td:first-child { white-space: normal; }
  th:first-child, td:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); }
  tbody tr:hover td:first-child { background: var(--surface-2); }
  td:first-child .muted { display: none; }
  .show-columns {
    display: block; margin: 12px 0 0; padding: 4px 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text);
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2);
  }

  .footer-inner { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }

  .masthead-link { margin: 0 12px 0 auto; align-self: stretch; }
  .video-figure { margin-bottom: 44px; }
  .video { border-radius: 6px; }
  .jobs { gap: 28px; }
  .jobs h3, .pipeline h3, .guide h3 { font-size: 23px; }
  .rules, .tips { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tips { gap: 0; }
  .feature-list strong { display: block; }
  .transcript { margin-top: 64px; }
}
