/* Shipping API Index — a reference book: narrow grotesque headings, black table rules, blue links on white.
   Tokens and rules: design-review/DIRECTION.md. Six type sizes, one action colour, no decoration. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-latin-wdth.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff; --surface: #f5f4f0; --ink: #111315; --ink-2: #565c66; --line: #dcdad3;
  --action: #1740d0; --action-ink: #ffffff;
  --yes: #17703c; --no: #a32626; --warn: #8a5a00;
  --tile: #ffffff;
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-code: "IBM Plex Mono", Consolas, monospace;
  --t-xs: 13px/18px; --t-sm: 15px/22px; --t-base: 17px/26px; --t-lg: 20px/26px; --t-xl: 26px/30px; --t-2xl: 36px/40px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --radius: 4px; --rule: 2px solid var(--ink); --hair: 1px solid var(--line);
  --wrap: 1200px; --tap: 44px; --head: 56px; --gutter: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111315; --surface: #1a1d20; --ink: #ecebe7; --ink-2: #a3a8b0; --line: #2c3036;
    --action: #8fb0ff; --action-ink: #111315; --yes: #6fd39a; --no: #f29b9b; --warn: #f0c36a; --tile: #e9e7e1; }
}
@media (max-width: 720px) { :root { --t-2xl: 28px/32px; --gutter: 16px; } }

/* ---- base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + var(--s4)); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-base) var(--font-text); }
a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 650; font-stretch: 88%; letter-spacing: -0.01em; margin: 0; overflow-wrap: break-word; }
h1 { font: 650 var(--t-2xl) var(--font-head); font-stretch: 88%; }
h2 { font: 650 var(--t-xl) var(--font-head); font-stretch: 88%; margin-bottom: var(--s4); }
h3 { font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; margin-bottom: var(--s2); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.2em; }
strong, b { font-weight: 600; }
code { font: 400 var(--t-sm) var(--font-code); overflow-wrap: anywhere; }
input, select, button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: var(--s2); left: var(--s2); background: var(--bg); padding: var(--s3) var(--s4); z-index: 99; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 68ch; }
.muted { color: var(--ink-2); }
.small { font: 400 var(--t-sm) var(--font-text); }
.xs { font: 400 var(--t-xs) var(--font-text); }
.num { font-family: var(--font-head); font-stretch: 88%; font-weight: 600; font-variant-numeric: tabular-nums; }
.ext { white-space: nowrap; }

/* ---- site header: one 56px row ------------------------------------------- */
.site-head { background: var(--bg); border-bottom: var(--rule); position: sticky; top: 0; z-index: 30; }
.head-row { display: flex; align-items: center; gap: var(--s5); height: calc(var(--head) - 2px); }
.logo { font: 700 var(--t-lg) var(--font-head); font-stretch: 88%; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: var(--tap); margin: 0; }
.nav { display: flex; align-items: center; gap: var(--s1); flex: 1; min-width: 0; }
.nav a, .nav-item > a { display: inline-flex; align-items: center; height: var(--tap); padding: 0 var(--s3); color: var(--ink); text-decoration: none; font: 600 var(--t-sm) var(--font-text); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-item { position: relative; }
.drop { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; margin: 0; padding: var(--s2) 0; list-style: none; background: var(--bg); border: 1px solid var(--ink); z-index: 40; }
.nav-item:hover .drop, .nav-item:focus-within .drop { display: block; }
.drop a { display: flex; height: 40px; padding: 0 var(--s4); font-weight: 400; }
.drop a:hover { background: var(--surface); text-decoration: none; }
.head-search { margin-left: auto; display: flex; width: 280px; }
.head-search input { width: 100%; height: 36px; padding: 0 var(--s3); font: 400 var(--t-sm) var(--font-text); border: 1px solid var(--ink-2); border-radius: var(--radius); background: var(--bg); }
.head-search + .nav-cmp { margin-left: 0; }
.nav-cmp { margin-left: auto; display: inline-flex; align-items: center; height: var(--tap); color: var(--ink); text-decoration: none; font: 600 var(--t-sm) var(--font-text); white-space: nowrap; }
.nav-cmp:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cmp-count { color: var(--action); margin-left: var(--s1); font-variant-numeric: tabular-nums; }
.m-tools { display: none; margin-left: auto; align-items: center; gap: var(--s1); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); height: var(--tap); padding: 0 var(--s2); color: var(--ink); text-decoration: none; font: 600 var(--t-sm) var(--font-text); background: none; border: 0; cursor: pointer; list-style: none; }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn svg { display: block; }
.m-menu[open] > summary { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.m-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--head)); overflow-y: auto; background: var(--bg); border-bottom: var(--rule); padding: var(--s2) var(--gutter) var(--s5); }
.m-panel ul { list-style: none; margin: 0; padding: 0; }
.m-panel li { border-bottom: var(--hair); }
.m-panel a { display: flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; font: 400 var(--t-base) var(--font-text); }
.m-panel h2 { font: 600 var(--t-sm) var(--font-text); letter-spacing: 0; color: var(--ink-2); margin: var(--s4) 0 0; }
@media (max-width: 960px) {
  .nav, .head-search, .site-head .nav-cmp { display: none; }
  .m-tools { display: flex; }
  .m-tools { margin-right: calc(var(--s2) * -1); }
}

/* ---- page furniture -------------------------------------------------------- */
.crumbs { font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); padding-top: var(--s4); }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 2px; }
.page-head { padding: var(--s4) 0 var(--s5); }
.page-head h1 { margin-bottom: var(--s3); }
.lede { max-width: 68ch; margin-bottom: var(--s3); }
.meta-line { font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); margin-bottom: var(--s3); }
.meta-line a { white-space: nowrap; }
.meta { display: block; font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); margin: 0; }
.sec { padding: var(--s6) 0 var(--s4); border-top: var(--hair); }
.sec:first-child { border-top: 0; padding-top: 0; }
.sec > h2 + .meta-line { margin-top: calc(var(--s2) * -1); }
.sub { padding: var(--s4) 0; border-top: var(--hair); }
.sub:first-of-type { border-top: 0; padding-top: 0; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
.note { font: 400 var(--t-sm) var(--font-text); padding-left: var(--s4); max-width: 68ch; }
.note strong:first-child { color: var(--ink); }
.note-warn strong:first-child { color: var(--warn); }
.plain { list-style: none; padding: 0; }
.inline-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); list-style: none; padding: 0; margin: 0 0 var(--s4); }
.inline-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.inline-links .n { color: var(--ink-2); margin-left: var(--s1); font-variant-numeric: tabular-nums; }
.marks { list-style: none; padding: 0; margin: 0 0 var(--s4); font: 400 var(--t-sm) var(--font-text); }
.marks li { padding: var(--s1) 0 var(--s1) var(--s5); position: relative; }
.marks li::before { position: absolute; left: 0; font-weight: 600; }
.marks-plus li::before { content: "+"; color: var(--yes); }
.marks-minus li::before { content: "–"; color: var(--warn); }

/* ---- buttons: filled (one per screen), outlined, text ---------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s4); font: 600 var(--t-sm) var(--font-text); border: 1px solid var(--ink); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface); }
.btn-fill { background: var(--action); border-color: var(--action); color: var(--action-ink); }
.btn-fill:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-sm { min-height: 36px; padding: 0 var(--s3); position: relative; }
.btn-sm::after { content: ""; position: absolute; inset: -4px 0; }
.btn-block { width: 100%; }
.linkbtn { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--action); font: 400 var(--t-sm) var(--font-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.linkbtn:hover { text-decoration-thickness: 2px; }
.field { height: var(--tap); padding: 0 var(--s3); font: 400 var(--t-base) var(--font-text); border: 1px solid var(--ink-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); min-width: 0; }
select.field { padding-right: var(--s2); }
.f-label { display: block; font: 600 var(--t-sm) var(--font-text); margin-bottom: var(--s1); }

/* ---- status: sign and word, no background ---------------------------------- */
.st { white-space: nowrap; font-weight: 600; }
.st-yes { color: var(--yes); }
.st-no { color: var(--no); }
.st-con { color: var(--warn); }
.st-unk, .st-na { color: var(--ink-2); font-weight: 400; }
.st-unk[title] { cursor: help; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); padding: 0; margin: 0 0 var(--s3); font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); }
.legend-col { display: grid; gap: var(--s2); }

/* ---- logo tile -------------------------------------------------------------- */
.lt { flex: none; width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 700 var(--t-sm) var(--font-head); overflow: hidden; }
.lt-img { background: var(--tile); }
.lt img { display: block; max-width: 20px; max-height: 20px; width: auto; height: auto; }
.lt-lg { width: 32px; height: 32px; font: 700 var(--t-lg) var(--font-head); }
.lt-lg img { max-width: 28px; max-height: 28px; }
.with-logo { display: flex; align-items: flex-start; gap: var(--s2); }
.with-logo .lt { margin-top: -1px; }

/* ---- tables ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; margin-bottom: var(--s3); }
.matrix { border-collapse: separate; border-spacing: 0; width: 100%; font: 400 var(--t-sm) var(--font-text); font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: 11px var(--s3); text-align: left; vertical-align: top; border-bottom: var(--hair); background: var(--bg); }
.matrix thead th { font-weight: 600; background: var(--surface); border-top: var(--rule); border-bottom: 1px solid var(--ink); white-space: nowrap; vertical-align: bottom; }
.matrix tbody th { font-weight: 600; min-width: 170px; }
.matrix tbody tr:hover > * { background: var(--surface); }
.matrix th:first-child, .matrix td:first-child { padding-left: var(--s2); }
.matrix .name-link { font: 600 var(--t-base) var(--font-head); font-stretch: 88%; }
.matrix tr.grp > th { background: var(--bg); font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; padding-top: var(--s5); border-bottom: 1px solid var(--ink); }
.matrix tr.grp:hover > th { background: var(--bg); }
.matrix tr:target > *, .prow:target { background: var(--surface); }
.matrix td.r, .matrix th.r { text-align: right; }
.matrix .src-l { text-decoration: none; margin-left: var(--s1); display: inline-block; padding: 0 var(--s1); }
.col-name { position: sticky; left: 0; z-index: 1; }
.matrix thead .col-name { z-index: 3; }
.th-sort { display: inline-flex; align-items: center; gap: var(--s1); min-height: var(--tap); margin: -11px 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.th-sort:hover { text-decoration: underline; text-underline-offset: 3px; }
.th-arrow { display: inline-block; width: 10px; color: var(--ink-2); }
.th-arrow::before { content: "↕"; }
[aria-sort="ascending"] .th-arrow::before { content: "↑"; color: var(--ink); }
[aria-sort="descending"] .th-arrow::before { content: "↓"; color: var(--ink); }
.col-check { width: 1%; }
.matrix td.col-check { padding: 0; }
.check-cell { display: flex; align-items: center; justify-content: center; width: 100%; min-width: var(--tap); min-height: var(--tap); cursor: pointer; }
input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--action); flex: none; }
html:not(.js) .col-check, html:not(.js) .js-only { display: none; }
/* tables that fit the page on desktop: no scroll box, so the header can stick under the site header */
.free .matrix th, .free .matrix td { padding-left: var(--s2); padding-right: var(--s2); }
.free .matrix tbody .col-name { min-width: 200px; }
@media (min-width: 1240px) {
  .table-wrap.free { overflow: visible; }
  .free thead th { position: sticky; top: var(--head); z-index: 2; }
}
@media (max-width: 1239px) {
  .col-name { border-right: var(--hair); }
}
@media (max-width: 720px) {
  .free .matrix tbody .col-name { max-width: 190px; min-width: 150px; }
}

/* ---- product row (replaces the product card) ---------------------------------- */
.prows { list-style: none; padding: 0; margin: 0 0 var(--s3); border-top: var(--rule); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s5); padding: var(--s4) 0; border-bottom: var(--hair); }
.prow h3 { margin: 0; }
.prow-what { font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); margin: var(--s1) 0 0; max-width: 68ch; }
.prow-side { display: flex; align-items: flex-start; }
.prow-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2) var(--s5); margin: 0; font: 400 var(--t-sm) var(--font-text); }
.prow-facts dt { font: 400 var(--t-xs) var(--font-text); color: var(--ink-2); }
.prow-facts dd { margin: 0; }
.prow-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s5); font: 400 var(--t-sm) var(--font-text); margin: 0; }
.prow-foot a { display: inline-flex; align-items: center; min-height: var(--tap); }
.prow-foot .xs { color: var(--ink-2); margin-left: auto; }
.cmp-check { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); font: 600 var(--t-sm) var(--font-text); cursor: pointer; white-space: nowrap; }
@media (max-width: 720px) {
  .prow > div:first-child { display: contents; }
  .prow h3 { align-self: center; }
  .prow-what { grid-column: 1 / -1; margin: 0; }
  .prow-facts { display: block; }
  .prow-facts > div { display: inline; }
  .prow-facts > div:not(:last-child)::after { content: " · "; color: var(--ink-2); }
  .prow-facts dt, .prow-facts dd { display: inline; font: 400 var(--t-sm) var(--font-text); }
  .prow-facts dt::after { content: ": "; }
}

/* ---- list with filters (hubs, providers) --------------------------------------- */
.with-side { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: var(--s5); align-items: start; padding-bottom: var(--s7); }
html:not(.js) .with-side { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .filters { display: none; }
.filters > summary { display: none; }
.filters form { display: grid; gap: var(--s5); }
.filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.filters legend { font: 600 var(--t-sm) var(--font-text); padding: 0; margin-bottom: var(--s1); }
.filters .field { width: 100%; }
.check { display: flex; align-items: center; gap: var(--s2); min-height: 36px; font: 400 var(--t-sm) var(--font-text); cursor: pointer; }
.check .n { margin-left: auto; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.f-top, .f-apply { display: none; }
.f-clear { justify-self: start; }
.list-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-bottom: var(--s3); }
.result-count { font: 600 var(--t-sm) var(--font-text); margin: 0; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-left: auto; font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); }
.empty { padding: var(--s5) 0; font: 400 var(--t-base) var(--font-text); }
.empty .btn { margin: var(--s1) var(--s1) var(--s1) 0; }
.az { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 var(--s3); font: 600 var(--t-sm) var(--font-head); font-stretch: 88%; }
.az a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: var(--tap); text-decoration: none; }
.az a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.az a.off { color: var(--ink-2); pointer-events: none; font-weight: 400; }
@media (max-width: 899px) {
  .with-side { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .filters > summary { display: inline-flex; list-style: none; }
  .filters > summary::-webkit-details-marker { display: none; }
  .filters[open] > form { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--bg); padding: 0 var(--gutter) var(--s5); align-content: start; }
  .f-top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg); border-bottom: var(--rule); min-height: var(--head); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; z-index: 1; }
  .f-apply { display: block; position: sticky; bottom: 0; background: var(--bg); border-top: var(--hair); padding: var(--s3) 0; margin-bottom: calc(var(--s5) * -1); }
  .check { min-height: var(--tap); font: 400 var(--t-base) var(--font-text); }
  .presets { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .presets > span { display: none; }
  .az a { min-width: 36px; }
  .with-side > div > .legend { font: 400 var(--t-xs) var(--font-text); gap: 0 var(--s4); }
  .filters { display: flex; }
  .page-head .inline-links:last-child { margin-bottom: 0; }
}

/* ---- home ------------------------------------------------------------------------ */
.search { display: flex; gap: var(--s2); max-width: 720px; margin: var(--s4) 0 var(--s2); }
.search .field { flex: 1 1 auto; border-color: var(--ink); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s7); align-items: start; padding-bottom: var(--s7); }
.home-grid h2 { margin-bottom: var(--s2); }
.cats td.desc { color: var(--ink-2); }
.cats .kids { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s1); }
.cats tbody th { min-width: 200px; }
.m-only { display: none; }
.side-block { padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: var(--hair); }
.side-block:last-child { border-bottom: 0; }
.side-block h2 { font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: var(--s3) 0; border-top: var(--hair); }
.link-list li:first-child { border-top: var(--rule); }
.link-list a { font-weight: 600; }
.link-list p { font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); margin: var(--s1) 0 0; }
.link-list-lg a { font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; }
@media (max-width: 960px) { .home-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 720px) {
  .search { margin-top: var(--s3); }
  .home .page-head { padding-bottom: var(--s3); }
  .home .inline-links { gap: 0 var(--s4); margin-bottom: 0; }
  .cats thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cats, .cats tbody { display: block; }
  .cats tbody { border-top: var(--rule); }
  .cats tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; border-bottom: var(--hair); padding: var(--s2) 0; }
  .cats tbody th, .cats tbody td { border: 0; padding: 0; }
  .cats tbody th a { display: flex; align-items: center; min-height: var(--tap); }
  .cats td.desc { grid-column: 1 / -1; grid-row: 2; padding-bottom: var(--s2); }
  .cats td.co, .cats .kids { display: none; }
  .cats td.r { color: var(--ink-2); }
  .cats .num { font: 400 var(--t-sm) var(--font-text); }
  .m-only { display: inline; }
}

/* ---- provider profile --------------------------------------------------------------- */
.prov-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7); align-items: start; padding-bottom: var(--s6); }
.prov-title { display: flex; gap: var(--s3); align-items: center; margin-bottom: var(--s2); }
.prov-title h1 { margin: 0; }
.prov-title .lt { align-self: flex-start; margin-top: var(--s1); }
.quick { border-top: var(--rule); margin-top: var(--s4); }
.quick h2 { font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; margin: var(--s3) 0 var(--s1); }
.facts { margin: 0 0 var(--s4); font: 400 var(--t-sm) var(--font-text); }
.facts > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: var(--s3); padding: var(--s2) 0; border-bottom: var(--hair); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.facts .stack a { display: block; }
.quick-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s1); }
.quick-links a { display: inline-flex; align-items: center; min-height: var(--tap); font: 400 var(--t-sm) var(--font-text); }
.prof { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: var(--s7); align-items: start; padding-bottom: var(--s7); }
.toc { position: sticky; top: calc(var(--head) + var(--s4)); border-top: var(--rule); padding-top: var(--s2); }
.toc h2 { font: 600 var(--t-sm) var(--font-text); letter-spacing: 0; color: var(--ink-2); margin: var(--s1) 0; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { display: flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; font: 400 var(--t-sm) var(--font-text); }
.toc a:hover { color: var(--action); text-decoration: underline; }
.fold { border-top: var(--hair); }
.fold > summary { display: flex; align-items: center; gap: var(--s2); min-height: 64px; cursor: pointer; font: 650 var(--t-xl) var(--font-head); font-stretch: 88%; letter-spacing: -0.01em; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; margin-left: auto; font-weight: 400; color: var(--ink-2); }
.fold[open] > summary::after { content: "–"; }
.fold > summary h2 { margin: 0; }
.fold-body { padding-bottom: var(--s5); }
.steps { font: 400 var(--t-sm) var(--font-text); padding-left: 1.4em; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s5); }
.video { margin: 0; }
.video-btn { position: relative; display: block; width: 100%; padding: 0; border: var(--hair); border-radius: 0; overflow: hidden; cursor: pointer; background: #111315; aspect-ratio: 16 / 9; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; margin: auto; width: 56px; height: 40px; display: grid; place-items: center; background: #111315; color: #ffffff; border-radius: var(--radius); font: 400 var(--t-sm) var(--font-text); }
.dur { position: absolute; right: var(--s2); bottom: var(--s2); background: #111315; color: #ffffff; font: 400 var(--t-xs) var(--font-text); padding: 0 var(--s1); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video figcaption { font: 400 var(--t-sm) var(--font-text); margin-top: var(--s2); }
@media (max-width: 960px) {
  .prov-top { grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding-bottom: var(--s5); }
  .prof { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
  .toc a { min-height: var(--tap); color: var(--action); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---- compare --------------------------------------------------------------------------- */
.cmp-add { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: flex-end; margin-bottom: var(--s4); }
.cmp-add .grow { flex: 1 1 200px; max-width: 520px; min-width: 0; }
.cmp-add .field { width: 100%; }
.cmp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s5); margin-bottom: var(--s2); }
.cmp td, .cmp thead th { min-width: 200px; }
.cmp thead th { white-space: normal; vertical-align: top; }
.cmp thead .name-link { display: block; }
.cmp thead .meta { font-weight: 400; }
.free .cmp tbody .col-name { min-width: 150px; }
.cmp tr.same > td { color: var(--ink-2); }
.cmp.diff-only tr.same { display: none; }
.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.clamp.open { display: block; }
.more { min-height: 22px; font: 400 var(--t-xs) var(--font-text); }
td .more { position: relative; }
td .more::after { content: ""; position: absolute; inset: -11px 0; }
.preset-list { list-style: none; padding: 0; margin: 0 0 var(--s4); border-top: var(--rule); max-width: 720px; }
.preset-list li { border-bottom: var(--hair); }
.preset-list .linkbtn { width: 100%; padding: var(--s3) 0; font: 400 var(--t-base) var(--font-text); display: block; text-decoration: none; }
.preset-list .linkbtn strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.preset-list .linkbtn span { display: block; color: var(--ink-2); font: 400 var(--t-sm) var(--font-text); }
@media (max-width: 720px) { .cmp td, .cmp thead th { min-width: 180px; } .free .cmp tbody .col-name, .cmp .col-name { min-width: 112px; max-width: 128px; } }

/* ---- compare bar: one 48px row ------------------------------------------------------------ */
.cmp-bar { position: sticky; bottom: 0; z-index: 30; background: var(--ink); color: var(--bg); }
.cmp-bar-row { display: flex; align-items: center; gap: var(--s5); height: 48px; font: 400 var(--t-sm) var(--font-text); }
.cmp-bar-names { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-bar a, .cmp-bar button { display: inline-flex; align-items: center; height: 48px; padding: 0 var(--s1); border: 0; background: none; color: var(--bg); font: 600 var(--t-sm) var(--font-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; white-space: nowrap; }
.cmp-bar button { font-weight: 400; }
.cmp-bar :focus-visible { outline-color: var(--bg); outline-offset: -4px; }
@media (max-width: 720px) { .cmp-bar-names { visibility: hidden; } .cmp-bar-row { gap: var(--s4); } }

/* ---- prose, FAQ, footer ---------------------------------------------------------------------- */
.prose { max-width: calc(68ch + var(--gutter) * 2); margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); margin-right: auto; padding-left: 0; padding-bottom: var(--s7); }
.prose h2 { margin-top: var(--s6); margin-bottom: var(--s3); }
.prose h3 { margin-top: var(--s5); }
.prose li { margin-bottom: var(--s2); }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: var(--s4); font: 400 var(--t-sm) var(--font-text); }
.prose th, .prose td { border-bottom: var(--hair); padding: 11px var(--s3) 11px 0; text-align: left; vertical-align: top; }
.prose thead th { border-top: var(--rule); border-bottom: 1px solid var(--ink); background: var(--surface); padding-left: var(--s2); }
.prose thead th ~ th, .prose td { padding-left: var(--s2); }
.faq { border-top: var(--rule); max-width: 68ch; }
.faq details { border-bottom: var(--hair); }
.faq summary { display: flex; align-items: center; min-height: var(--tap); padding: var(--s2) 0; font-weight: 600; cursor: pointer; }
.faq p { margin: 0 0 var(--s4); }
.site-foot { border-top: var(--hair); background: var(--surface); padding: var(--s6) 0; font: 400 var(--t-sm) var(--font-text); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s6); }
.site-foot h2 { font: 600 var(--t-sm) var(--font-text); letter-spacing: 0; margin-bottom: var(--s2); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); }
.site-foot p { max-width: 44ch; color: var(--ink-2); }
.site-foot .logo { color: var(--ink); }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .site-foot li a { min-height: var(--tap); }
  .crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); }
  .crumbs { padding-top: 0; }
  .page-head { padding-top: var(--s2); }
  .home .page-head { padding-top: var(--s4); }
  .sec { padding-top: var(--s5); }
  .matrix .name-link, .matrix tbody th > a, .matrix td > a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .tap, .link-list a { display: inline-flex; align-items: center; min-height: var(--tap); }
  .link-list li { padding: var(--s1) 0 var(--s3); }
  .link-list p { margin-top: 0; }
  .facts .stack a { display: flex; align-items: center; min-height: var(--tap); }
  #search .pagefind-ui__result-link { display: inline-flex; align-items: center; min-height: var(--tap); }
  #search .pagefind-ui__search-clear { height: var(--tap); }
}

/* ---- search page: Pagefind UI on our tokens ---------------------------------------------------- */
#search { --pagefind-ui-scale: 1; --pagefind-ui-primary: var(--action); --pagefind-ui-text: var(--ink); --pagefind-ui-background: var(--bg); --pagefind-ui-border: var(--line); --pagefind-ui-tag: var(--surface); --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 4px; --pagefind-ui-image-border-radius: 4px; --pagefind-ui-font: var(--font-text); margin-bottom: var(--s5); max-width: 720px; }
#search .pagefind-ui__search-input { height: var(--tap); font: 400 var(--t-base) var(--font-text); border-color: var(--ink); }
#search .pagefind-ui__search-clear { height: var(--tap); font: 400 var(--t-sm) var(--font-text); background: none; }
#search .pagefind-ui__form::before { top: 13px; }
#search .pagefind-ui__message { font: 600 var(--t-sm) var(--font-text); height: auto; padding: var(--s4) 0 var(--s2); }
#search .pagefind-ui__results-area { margin-top: 0; }
#search .pagefind-ui__result { padding: var(--s3) 0; border-top: var(--hair); }
#search .pagefind-ui__result:first-child { border-top: var(--rule); }
#search .pagefind-ui__result-title { font: 650 var(--t-lg) var(--font-head); font-stretch: 88%; }
#search .pagefind-ui__result-link { color: var(--action); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#search .pagefind-ui__result-excerpt { font: 400 var(--t-sm) var(--font-text); color: var(--ink-2); min-width: 0; }
#search .pagefind-ui__result-tags { margin-top: var(--s1); }
#search .pagefind-ui__result-tag { font: 400 var(--t-xs) var(--font-text); background: none; padding: 0; color: var(--ink-2); border-radius: 0; }
#search mark { background: none; color: var(--ink); font-weight: 600; }
#search .pagefind-ui__button { height: var(--tap); font: 600 var(--t-sm) var(--font-text); border: 1px solid var(--ink); color: var(--ink); background: var(--bg); }

@media print { .site-head, .cmp-bar, .filters, .btn, .toc, .col-check { display: none !important; } }

/* providers list on a phone: name and type only, so nothing scrolls sideways */
@media (max-width: 720px) {
  .provs { table-layout: fixed; }
  .provs th:nth-child(n+3), .provs td:nth-child(n+3) { display: none; }
  .free .provs tbody .col-name, .provs tbody th { min-width: 0; max-width: none; }
  .provs thead .col-name { width: 56%; }
  .provs .col-name { border-right: 0; }
  .provs td { overflow-wrap: anywhere; }
}
