@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }

:root {
  color-scheme: light;
  /* The plate is the same in both themes. */
  --plate: #0B3147;
  --plate-line: #2A5469;
  --plate-grid: #1C4459;
  --plate-ink: #F2F7FA;
  --plate-ink-2: #BCCFDA;
  --plate-ink-3: #95B0C0;
  --with: #EE9F1A;
  --without: #5CB3F0;
  --cold: #F2F7FA;
  --lost: #FF8A70;
  --focus-plate: #FFFFFF;

  --page: #EEF2F4;
  --ink: #0B2A3D;
  --ink-2: #3F5666;
  --rule: #CBD6DD;
  --track: #DAE3E8;
  --focus: #0B3147;
  --s-read: #1F76C2;
  --s-write: #D9820F;
  --s-uncached: #16A085;
  --s-output: #7D5BD0;
  --s-storage: #D4508F;
  --bar: #1F76C2;
  --bar-quiet: #A9BAC5;
  --field: #E2E9ED;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --page: #081F2D;
    --ink: #E6EEF2;
    --ink-2: #A9BDC9;
    --rule: #1F3F52;
    --track: #173547;
    --focus: #FFFFFF;
    --s-write: #C27A10;
    --bar: #4A97DC;
    --bar-quiet: #4A6577;
    --field: #122E40;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.5 Barlow, system-ui, sans-serif;
}
p { margin: 0 0 0.9em; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 36px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 30;
  padding: 8px 14px; background: #fff; color: #0B2A3D; border-radius: 4px;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- Plate ---- */
.plate {
  background: var(--plate);
  color: var(--plate-ink);
  color-scheme: dark;
  padding-bottom: 28px;
}
.plate :focus-visible { outline-color: var(--focus-plate); }

.top {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 0 14px;
}
.mark { display: inline-flex; align-items: center; gap: 8px; font: 600 21px/1 'Barlow Condensed', Barlow, sans-serif; text-decoration: none; letter-spacing: 0.005em; }
.top h1 { margin: 0; font: 400 16px/1.2 Barlow, sans-serif; color: var(--plate-ink-2); }
.top-right { margin: 0 0 0 auto; display: flex; align-items: center; gap: 18px; font-size: 15px; color: var(--plate-ink-2); }

.btn {
  appearance: none; background: transparent; border: 1px solid var(--rule);
  border-radius: 3px; padding: 5px 13px; font-size: 15px; font-weight: 500; line-height: 1.3;
  cursor: pointer; white-space: nowrap; min-height: 32px;
}
.btn:hover { background: var(--field); }
.btn-plate { border-color: var(--plate-line); color: var(--plate-ink); }
.btn-plate:hover { background: var(--plate-grid); }

.answer {
  font: 500 clamp(30px, 3.5vw, 52px)/1.1 'Barlow Condensed', Barlow, sans-serif;
  margin: 10px 0 24px;
  letter-spacing: 0.002em;
  max-width: 1240px;
}
.figure { font-weight: 600; white-space: nowrap; border-bottom: 3px solid; padding-bottom: 1px; }
.figure-with { border-color: var(--with); }
.figure-no { border-color: var(--without); }

.deck {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ---- Controls ---- */
.rail { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.chip {
  appearance: none; background: transparent; border: 1px solid var(--plate-line);
  color: var(--plate-ink-2); border-radius: 3px; padding: 3px 9px; font-size: 14px; cursor: pointer; min-height: 28px;
}
.chip:hover { color: var(--plate-ink); border-color: var(--plate-ink-3); }
.chip[aria-pressed='true'] { background: var(--plate-ink); color: var(--plate); border-color: var(--plate-ink); font-weight: 500; }

.pick { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 8px; }
.pick label { color: var(--plate-ink-2); }
.pick select {
  appearance: none;
  width: 100%;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23BCCFDA'/%3E%3C/svg%3E") no-repeat right 2px center;
  border: 0; border-bottom: 1px solid var(--plate-line);
  padding: 4px 16px 4px 0; font-weight: 500; font-size: 15px; min-height: 30px;
  text-overflow: ellipsis;
  cursor: pointer;
}
.pick select:disabled { opacity: 1; background-image: none; cursor: default; color: var(--plate-ink-2); }
.pick select option, .pick select optgroup { background: var(--plate); color: var(--plate-ink); }
.mode-note { font-size: 13.5px; line-height: 1.38; color: var(--plate-ink-3); margin: 2px 0 6px; }
.model-link { font-size: 13.5px; margin: -6px 0 6px; color: var(--plate-ink-2); }

.slider { display: block; }
.slider[hidden] { display: none; }
.slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.slider-head label { color: var(--plate-ink-2); }
.value { display: inline-flex; align-items: baseline; gap: 5px; }
.unit { color: var(--plate-ink-3); font-size: 13px; min-width: 46px; }
.num {
  appearance: textfield;
  width: 74px;
  background: transparent; border: 0; border-bottom: 1px solid transparent;
  text-align: right; padding: 0 1px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.num::-webkit-outer-spin-button, .num::-webkit-inner-spin-button { appearance: none; margin: 0; }
.num:hover, .num:focus { border-bottom-color: var(--plate-ink-3); }

/* The slider thumb is a meter needle. */
input[type='range'] {
  --fill: 50%;
  appearance: none; display: block; width: 100%; height: 24px; margin: 0;
  background: transparent; cursor: ew-resize; touch-action: pan-y;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--plate-ink-2) var(--fill), var(--plate-line) var(--fill));
}
input[type='range']::-moz-range-track { height: 2px; background: var(--plate-line); }
input[type='range']::-moz-range-progress { height: 2px; background: var(--plate-ink-2); }
input[type='range']::-webkit-slider-thumb {
  appearance: none; width: 7px; height: 20px; margin-top: -9px;
  background: var(--with); border-radius: 2px; border: 0;
  box-shadow: 0 0 0 2px var(--plate);
}
input[type='range']::-moz-range-thumb {
  width: 7px; height: 20px; background: var(--with); border-radius: 2px; border: 0;
  box-shadow: 0 0 0 2px var(--plate);
}
input[type='range']:focus-visible { outline-offset: 0; }

/* ---- Chart ---- */
.stage { min-width: 0; position: relative; }
.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; color: var(--plate-ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.key { display: inline-block; width: 16px; height: 2px; border-radius: 1px; }
.key-with { background: var(--with); }
.key-no { background: var(--without); }
.key-cold { width: 8px; height: 8px; border-radius: 50%; background: var(--cold); }

.view { display: inline-flex; border: 1px solid var(--plate-line); border-radius: 3px; }
.seg { appearance: none; border: 0; background: transparent; padding: 3px 11px; font-size: 14.5px; color: var(--plate-ink-2); cursor: pointer; min-height: 28px; }
.seg + .seg { border-left: 1px solid var(--plate-line); }
.seg[aria-pressed='true'] { background: var(--plate-ink); color: var(--plate); font-weight: 500; }

.chart { position: relative; touch-action: pan-y; cursor: crosshair; }
.chart:focus-visible { outline-offset: 4px; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: Barlow, sans-serif; user-select: none; -webkit-user-select: none; }

.grid { stroke: var(--plate-grid); stroke-width: 1; }
.axis { stroke: var(--plate-line); stroke-width: 1; }
.tick { fill: var(--plate-ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line-with { stroke: var(--with); }
.line-no { stroke: var(--without); }
.wash-saved { fill: var(--with); opacity: 0.15; }
.wash-label { fill: var(--plate-ink-2); font-size: 14px; }
.wash-lost { fill: var(--lost); opacity: 0.32; }
.cold-line { stroke: var(--plate-ink-3); stroke-width: 1; opacity: 0.55; }
.marker-line { stroke: var(--plate-ink-3); stroke-width: 1; }
.cold-dot { fill: var(--cold); stroke: var(--plate); stroke-width: 2; }
.even-dot { fill: var(--with); stroke: var(--plate); stroke-width: 2; }
.dot-with { fill: var(--with); stroke: var(--plate); stroke-width: 2; }
.dot-no { fill: var(--without); stroke: var(--plate); stroke-width: 2; }
.note { fill: var(--plate-ink); font-size: 14px; }
.end-value { fill: var(--plate-ink); font-size: 17px; font-weight: 600; }
.end-name { fill: var(--plate-ink-2); font-size: 13.5px; }
.cross { stroke: var(--plate-ink-2); stroke-width: 1; }
.bar-warm { fill: var(--plate-ink-3); opacity: 0.6; }
.bar-cold { fill: var(--cold); }
.chart-svg rect { rx: 1px; }
.life-line { stroke: var(--plate-ink-2); stroke-width: 1; }

.tip {
  position: absolute; left: 0; top: 0; z-index: 5; width: 216px;
  background: var(--plate-ink); color: #0B2A3D;
  padding: 9px 12px; border-radius: 4px; font-size: 14px; line-height: 1.32;
  pointer-events: none;
}
.tip[hidden] { display: none; }
.tip p { margin: 0; }
.tip-head { font-weight: 500; margin-bottom: 4px !important; color: #3F5666; }
.tip-row { display: flex; align-items: center; gap: 7px; }
.tip-row strong { font-weight: 600; font-size: 16px; }
.tip-key { display: inline-block; width: 12px; height: 2px; }
.tip-key.key-with { background: #C77F0A; }
.tip-key.key-no { background: #1F76C2; }
.tip-detail { color: #3F5666; font-size: 13px; margin-top: 4px !important; }

.strip-hint { font-size: 14px; color: var(--plate-ink-3); margin: 6px 0 0; padding-left: 46px; }

/* ---- Page ---- */
.page { padding: 46px 0 34px; }
.ad-slot { margin-bottom: 30px; }
h2 { font: 600 30px/1.1 'Barlow Condensed', Barlow, sans-serif; margin: 0 0 8px; letter-spacing: 0.002em; }
h3 { font: 600 19px/1.2 Barlow, sans-serif; margin: 0 0 10px; }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
.block { margin-top: 52px; }
.lead { color: var(--ink-2); margin-bottom: 14px; }
.heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.saves { list-style: none; margin: 0; padding: 0; }
.save {
  display: grid; grid-template-columns: minmax(0, 1fr) 138px 66px; gap: 14px;
  align-items: start; padding: 13px 0; border-top: 1px solid var(--rule);
}
.save-text strong { font-weight: 600; }
.save-text p { margin: 1px 0 8px; font-size: 15px; line-height: 1.38; color: var(--ink-2); }
.save-track { display: block; height: 6px; background: var(--track); border-radius: 3px; }
.save-bar { display: block; height: 100%; background: var(--bar); border-radius: 3px; }
.save-num { text-align: right; }
.save-num strong { display: block; font-weight: 600; }
.save-num span { font-size: 14px; color: var(--ink-2); }
.save-empty { padding: 13px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }

.segbar { display: flex; gap: 2px; height: 28px; margin-bottom: 12px; }
.seg-block { display: flex; align-items: center; min-width: 3px; padding-left: 7px; border-radius: 4px; font-size: 14px; font-weight: 500; color: #fff; overflow: visible; white-space: nowrap; }
.seg-write, .seg-uncached { color: #06212F; }
.seg-read { background: var(--s-read); }
.seg-write { background: var(--s-write); }
.seg-uncached { background: var(--s-uncached); }
.seg-output { background: var(--s-output); }
.seg-storage { background: var(--s-storage); }
.seg-legend { list-style: none; margin: 0 0 16px; padding: 0; font-size: 15px; }
.seg-legend li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.seg-legend strong { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.seg-swatch { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.runs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; border-top: 1px solid var(--rule); padding-top: 12px; margin: 0; }
.runs input { width: 88px; padding: 2px 6px; background: var(--field); border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 2px 2px 0 0; font-weight: 500; }
.runs span { flex-basis: 100%; color: var(--ink-2); }

.compare { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.cmp {
  appearance: none; background: transparent; border: 0; width: 100%; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 6px 0; min-height: 36px;
}
.cmp:hover .cmp-name { text-decoration: underline; text-underline-offset: 3px; }
.cmp-name { font-size: 15.5px; }
.cmp-track { display: flex; align-items: center; gap: 8px; }
.cmp-bar { display: block; height: 14px; background: var(--bar-quiet); border-radius: 0 4px 4px 0; flex: none; max-width: calc(100% - 66px); }
.cmp-value { font-weight: 500; font-size: 15px; white-space: nowrap; }
.cmp-current .cmp-bar { background: var(--bar); }
.cmp-current .cmp-name { font-weight: 600; }

details > summary { cursor: pointer; display: flex; align-items: center; gap: 10px; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: ''; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
details[open] > summary::before { transform: rotate(90deg); }
details > summary h2 { margin: 0; }
.table-scroll { overflow: auto; max-height: 460px; margin-top: 14px; }
.turns { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.turns th { position: sticky; top: 0; background: var(--page); text-align: right; font-weight: 500; color: var(--ink-2); padding: 6px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.turns td { text-align: right; padding: 3px 10px; border-bottom: 1px solid var(--track); white-space: nowrap; }
.turns th:first-child, .turns td:first-child { text-align: left; padding-left: 0; }
.row-cold td { font-weight: 600; }

.method { font-size: 16.5px; }
.method .two { margin-top: 10px; }
.plain { margin: 0 0 14px; padding-left: 18px; }
.plain li { margin-bottom: 7px; }

.foot { border-top: 1px solid var(--rule); padding: 20px 0 28px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: flex; justify-content: space-between; gap: 10px 28px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot-grid p:last-child { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---- Prices and privacy pages ---- */
.doc-head { background: var(--plate); color: var(--plate-ink); padding-bottom: 26px; color-scheme: dark; }
.doc-head h1 { font: 500 clamp(32px, 4vw, 50px)/1.08 'Barlow Condensed', Barlow, sans-serif; margin: 12px 0 8px; color: var(--plate-ink); }
.doc-head > .wrap > p { color: var(--plate-ink-2); margin: 0; }
.doc { padding: 36px 0 44px; }
.doc-column { width: min(760px, 100%); }
.doc h2 { margin-top: 30px; }
.doc h2:first-child { margin-top: 0; }
#tables section { margin-top: 36px; }
.doc .lead { margin-top: 10px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.price-table th { text-align: right; font-weight: 500; color: var(--ink-2); padding: 6px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.price-table td { text-align: right; padding: 4px 10px; border-bottom: 1px solid var(--track); white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; padding-left: 0; }
.price-scroll { overflow-x: auto; margin-bottom: 8px; position: relative; }

/* ---- Model pages ---- */
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.model-head { padding-bottom: 30px; }
.crumbs ol { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 14.5px; color: var(--plate-ink-3); }
.crumbs li + li::before { content: '/'; margin: 0 9px; color: var(--plate-ink-3); opacity: 0.6; }
.crumbs a { color: var(--plate-ink-2); }
.crumbs [aria-current] { color: var(--plate-ink); }
.model-head h1 { margin: 14px 0 10px; }
.doc-head > .wrap > p.model-answer { font: 500 clamp(23px, 2.3vw, 31px)/1.3 'Barlow Condensed', Barlow, sans-serif; color: var(--plate-ink); margin: 0 0 24px; }
.model-answer .figure { border-bottom-width: 2px; }
.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 12px; margin: 0 0 16px; }
.rate { border-left: 2px solid var(--plate-line); padding: 2px 14px 4px; }
.rate-cache { border-left-color: var(--with); }
.rate dt { font-size: 14px; color: var(--plate-ink-3); }
.rate dd { margin: 2px 0 0; font: 600 clamp(28px, 2.6vw, 38px)/1.08 'Barlow Condensed', Barlow, sans-serif; font-variant-numeric: tabular-nums; color: var(--plate-ink); }
.rate dd.rate-none { font-weight: 500; color: var(--plate-ink-2); }
.doc-head > .wrap > p.rates-foot { font-size: 15px; color: var(--plate-ink-3); }
.rates-foot a { color: var(--plate-ink-2); }
.model-head .top-right a:first-child { white-space: nowrap; }

.model-page h2 { margin-bottom: 6px; }
.examples { list-style: none; margin: 4px 0 0; padding: 0; }
.example {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  grid-template-areas: 'text bars nums' 'text facts nums';
  gap: 8px 40px; padding: 20px 0; border-top: 1px solid var(--rule); align-items: start;
}
.example-text { grid-area: text; }
.example-text h3 { margin: 0 0 4px; }
.example-text p { margin: 0 0 6px; font-size: 15.5px; line-height: 1.42; color: var(--ink-2); }
.example-text a { font-size: 15px; }
.example-bars { grid-area: bars; display: grid; gap: 9px; padding-top: 3px; }
.bar-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.bar-track { display: block; height: 10px; background: var(--track); border-radius: 0 3px 3px 0; }
.bar { display: block; height: 100%; border-radius: 0 3px 3px 0; }
.bar-with { background: var(--with); }
.bar-no { background: var(--without); }
.example-facts { grid-area: facts; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 14.5px; color: var(--ink-2); }
.example-facts li::before { content: ''; display: inline-block; vertical-align: middle; width: 5px; height: 5px; margin: -2px 8px 0 0; border-radius: 50%; background: var(--bar-quiet); }
.example-nums { grid-area: nums; margin: 0; }
.example-nums div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--track); }
.example-nums div:last-child { border-bottom: 0; }
.example-nums dt { font-size: 15px; color: var(--ink-2); }
.example-nums dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.example-nums small { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.num-saved dd { font-size: 19px; }
.num-lost dd { font-size: 19px; color: var(--lost); }

.price-table tbody th { text-align: left; font-weight: 500; color: var(--ink); padding: 4px 10px 4px 0; border-bottom: 1px solid var(--track); white-space: nowrap; }
.price-table .row-self th, .price-table .row-self td { font-weight: 600; }
.hub-table tbody tr:hover, .sort-table tbody tr:hover, .alt-table tbody tr:hover { background: var(--field); }
.muted { color: var(--ink-2); }
.table-note { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
.table-hint { display: none; font-size: 14px; color: var(--ink-2); margin: 0 0 6px; }

.rule-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: 6px; }
.rule-card { background: var(--field); border-top: 3px solid var(--with); border-radius: 0 0 4px 4px; padding: 14px 18px 14px; display: flex; flex-direction: column; }
.rule-card h3 { font-size: 17px; margin-bottom: 6px; }
.rule-cost { font-size: 15px; line-height: 1.42; color: var(--ink-2); }
.rule-line { font: 600 22px/1.2 'Barlow Condensed', Barlow, sans-serif; margin-bottom: 10px; }
.rule-note { font-size: 14px; line-height: 1.4; color: var(--ink-2); margin: auto 0 0; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 0 6px; border: 1px solid var(--bar-quiet); border-radius: 3px; margin-right: 3px; color: var(--ink); }

.rules li { margin-bottom: 9px; }
.sources { font-size: 15px; color: var(--ink-2); }
.more-links a { display: inline-block; margin-right: 18px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 64px; margin-top: 6px; }
.faq-item { border-top: 1px solid var(--rule); padding-top: 14px; }
.faq-item h3 { font-size: 18px; margin-bottom: 6px; }
.faq-item p { color: var(--ink-2); }
.disclaimer { font-size: 14.5px; color: var(--ink-2); margin-top: 14px; }

.hubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-link { display: block; text-decoration: none; padding: 14px 18px; border: 1px solid var(--rule); border-left: 3px solid var(--with); border-radius: 0 4px 4px 0; }
.hub-link:hover { background: var(--field); }
.hub-link strong { display: block; font: 600 24px/1.15 'Barlow Condensed', Barlow, sans-serif; }
.hub-link span { font-size: 15px; color: var(--ink-2); }
.sort-table th:nth-child(2), .sort-table td:nth-child(2) { text-align: left; }
.sort { appearance: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.sort:hover { color: var(--ink); }
.sort::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.35; }
th[aria-sort='descending'] .sort { color: var(--ink); }
th[aria-sort='descending'] .sort::after { opacity: 1; }
th[aria-sort='ascending'] .sort { color: var(--ink); }
th[aria-sort='ascending'] .sort::after { opacity: 1; border-top: 0; border-bottom: 5px solid currentColor; }

/* ---- Narrow ---- */
@media (max-width: 1080px) {
  .two { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .top { flex-wrap: wrap; gap: 4px 12px; padding-top: 12px; padding-bottom: 8px; }
  .top h1 { font-size: 14.5px; }
  .top-right { width: 100%; margin: 0; justify-content: space-between; font-size: 14px; }
  .answer { font-size: 30px; line-height: 1.12; margin: 6px 0 14px; }
  .deck { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stage { order: -1; padding: 8px 0 6px; background: var(--plate); }
  .rail { gap: 12px; }
  .pick { grid-template-columns: 124px minmax(0, 1fr); }
  input[type='range'] { height: 32px; }
  .strip-hint { padding-left: 0; font-size: 13.5px; }
  .tip { width: 196px; }
  .save { grid-template-columns: minmax(0, 1fr) 100px; }
  .save .btn { grid-column: 2; justify-self: end; }
  .save-text { grid-row: span 2; }
  .cmp { grid-template-columns: 136px minmax(0, 1fr); }
  .cmp-name { font-size: 14.5px; }
  .chip, .seg, .btn { min-height: 34px; }
  .pick select { min-height: 36px; }
  h2 { font-size: 27px; }
  .example { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'text' 'bars' 'nums' 'facts'; gap: 12px; }
  .faq-grid, .hubs { grid-template-columns: minmax(0, 1fr); }
  .rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-table tbody th { position: sticky; left: 0; background: var(--page); z-index: 1; }
  .sort-table th:nth-child(2), .sort-table td:nth-child(2) { display: none; }
  .table-hint { display: block; }
}
@media (max-width: 899px) and (min-height: 640px) {
  /* Keep the chart on screen while the controls scroll beneath it. */
  .stage { position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--plate-line); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (forced-colors: active) {
  .line-with { stroke: Highlight; }
  .line-no { stroke: CanvasText; }
  .seg-block { border: 1px solid CanvasText; }
  .save-bar, .cmp-bar { background: CanvasText; }
}
