/* Medverguide stylesheet. Ported from designs/medverguide/styleguide.html in
   claude-design-system-builder; that page is the visual reference. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plusjakartasans-700.5b629bd8abb4.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/publicsans-variable.e4c9b081863a.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/publicsans-italic-400.3cbca8221b55.woff2") format("woff2"); }

:root {
    --bg: #FFFFFF;
    --ink: #0B2A3C;
    --muted: #4A5B66;
    --border: #D8E3E8;
    --surface-cool: #F3F8FA;
    --surface-teal: #E8F6F3;
    --accent: #007A6B;
    --accent-hover: #00695C;
    --blue: #06668E;
    --blue-tint: #EEF6F9;
    --logo-teal: #00AA96;
    --warning: #B45309;
    --warning-tint: #FDF4E7;
    --error: #B42318;

    --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: "Public Sans", system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --page: 1152px;
  }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }
section.band { padding: 64px 0; border-top: 1px solid var(--border); }
section.band.cool { background: var(--surface-cool); }
.eyebrow { font: 600 14px/1.4 var(--font-body); color: var(--muted); margin-bottom: 8px; }
.section-head { margin-bottom: 32px; max-width: 68ch; }
.section-head p { color: var(--muted); margin-top: 8px; }
/* Header and footer: the only place the white wordmark lives */
.site-header { background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.site-header img { height: 28px; width: auto; display: block; }
.site-header nav { display: flex; gap: 24px; flex: 1; }
.site-header nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.site-header nav a:hover { color: var(--logo-teal); }
/* Hero */
.hero { background: var(--ink); color: #fff; padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { max-width: 16ch; }
.compare-panel { background: #12364B; border: 1px solid #1E4A62; border-radius: var(--radius-lg); padding: 28px; }
.compare-panel .label { font-size: 14px; font-weight: 600; color: #9FB4C0; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.compare-panel ul { list-style: none; margin: 0; padding: 0; }
.compare-panel li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #1E4A62; font-weight: 600; }
.compare-panel li:first-child { border-top: 0; }
.compare-panel li svg { width: 20px; height: 20px; color: var(--logo-teal); flex: none; margin-top: 3px; }
.compare-panel li span { display: block; font-weight: 400; font-size: 15px; color: #B9CAD3; }
@media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 .t { color: var(--logo-teal); }
.hero p.lede { margin-top: 16px; max-width: 56ch; font-size: 19px; color: #D3DEE4; }
.search { margin-top: 32px; display: flex; max-width: 640px; background: #fff; border-radius: var(--radius-md); padding: 6px; gap: 6px; }
.search input { flex: 1; min-width: 0; border: 0; font: inherit; color: var(--ink); padding: 0 12px; min-height: 48px; background: transparent; }
.search input:focus-visible { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--logo-teal); }
.hero .actions { margin-top: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .actions a { color: #fff; font-weight: 600; }
/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: var(--radius-sm); font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s cubic-bezier(.4,0,.2,1), border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--surface-cool); }
.btn[disabled] { background: var(--border); color: var(--muted); cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 14px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.field.error input { border-color: var(--error); }
.field.error .hint { color: var(--error); }
.field + .field { margin-top: 20px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.tag-pick { background: var(--surface-teal); color: var(--accent-hover); }
.tag-sponsored { background: var(--warning-tint); color: var(--warning); border: 1px solid #F3D9B5; }
.tag-info { background: var(--blue-tint); color: var(--blue); }
.tag svg { width: 14px; height: 14px; }
/* Category grid */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 16px 20px; text-align: center; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.cat:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(11,42,60,.08); color: var(--ink); }
.cat svg { width: 44px; height: 44px; color: var(--blue); }
.cat .name { display: block; font: 700 17px/1.3 var(--font-display); margin-top: 12px; }
.cat .sub { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
/* Supplier card */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.card + .card { margin-top: 24px; }
.card-top { padding: 20px 24px 0; }
.card-main { display: grid; grid-template-columns: 72px 1fr 220px; gap: 20px; padding: 16px 24px 20px; align-items: start; }
.logo-ph { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--surface-cool); border: 1px solid var(--border); display: grid; place-items: center; font: 700 22px var(--font-display); color: var(--muted); }
.card-main h3 { font-size: 22px; }
.card-main .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.card-cta { text-align: center; }
.card-cta .btn { width: 100%; }
.card-cta small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.fact { padding: 14px 24px; border-right: 1px solid var(--border); }
.fact:last-child { border-right: 0; }
.fact dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.fact dd { margin: 4px 0 0; font-weight: 700; font-size: 16px; }
.fact dd.np { font-weight: 400; color: var(--muted); font-style: italic; }
.card details { border-top: 1px solid var(--border); }
.card summary { padding: 14px 24px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.card details[open] summary::after { transform: rotate(-135deg); }
.card details .body { padding: 0 24px 20px; color: var(--muted); max-width: 72ch; }
/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 16px 20px; font-size: 14px; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--border); }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 16px; }
thead th { background: var(--surface-cool); font: 700 16px/1.3 var(--font-display); }
thead th:first-child, tbody th { position: sticky; left: 0; z-index: 1; }
tbody th { background: #fff; box-shadow: inset -1px 0 0 var(--border); font-weight: 600; color: var(--muted); font-size: 15px; width: 220px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.np { color: var(--muted); font-style: italic; }
td.hl { background: var(--surface-teal); }
/* Review blocks */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proscons h3 { font-size: 17px; margin-bottom: 12px; }
.proscons ul { list-style: none; margin: 0; padding: 0; }
.proscons li { display: flex; gap: 10px; padding: 6px 0; }
.proscons svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.callout { border-radius: var(--radius-md); padding: 20px 24px; border-left: 4px solid; }
.callout strong { display: block; margin-bottom: 4px; }
.callout + .callout { margin-top: 16px; }
.callout.tip { background: var(--surface-teal); border-color: var(--accent); }
.callout.info { background: var(--blue-tint); border-color: var(--blue); }
.callout.warn { background: var(--warning-tint); border-color: var(--warning); }
footer.site-footer { background: var(--ink); color: #D3DEE4; padding: 48px 0; font-size: 15px; }
footer.site-footer img { height: 26px; display: block; margin-bottom: 16px; }
footer.site-footer a { color: #fff; }
@media (max-width: 900px) {
    .cats { grid-template-columns: repeat(2, 1fr); }
    .card-main { grid-template-columns: 56px 1fr; }
    .card-cta { grid-column: 1 / -1; }
    .facts { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(2) { border-right: 0; }
    .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .proscons { grid-template-columns: 1fr; }
    .site-header nav { display: none; }
    .site-header .btn { display: none; }
}
/* Equipment guide template, from NerdWallet's article page */
.guide-frame { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-cool); }
.guide-head { background: var(--ink); color: #fff; padding: 28px 40px 104px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #B9CAD3; }
.crumbs a { color: #fff; }
.crumbs .sep { color: #6F8A99; }
.guide-head .topline { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.guide-head .topline > a { color: #fff; font-size: 14px; }
.guide-head h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 20px; max-width: 22ch; }
.guide-head .dek { margin-top: 12px; font-size: 19px; color: #D3DEE4; max-width: 60ch; }
.byline { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid #1E4A62; font-size: 14px; }
.person { display: flex; gap: 10px; align-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #1E4A62; color: var(--logo-teal); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.person span { display: block; color: #9FB4C0; }
.person strong { color: #fff; font-weight: 600; }
.byline .updated { margin-left: auto; color: #D3DEE4; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding: 0 40px 40px; margin-top: -72px; align-items: start; }
.guide-body { background: #fff; border-radius: var(--radius-lg); padding: 36px 40px 40px; box-shadow: 0 2px 12px rgba(11,42,60,.06); }
.guide-body > * + * { margin-top: 16px; }
.guide-body p, .guide-body li { max-width: 68ch; }
.guide-body h2 { font-size: 26px; border-left: 4px solid var(--logo-teal); padding-left: 14px; margin-top: 40px; }
.guide-body h3 { font-size: 19px; margin-top: 28px; }
.guide-body ul { padding-left: 22px; }
.guide-body li + li { margin-top: 6px; }
.guide-body .table-wrap table { min-width: 560px; }
.guide-body .table-wrap tbody th { width: 200px; }
.guide-body .acc { border: 1px solid var(--border); border-radius: var(--radius-md); }
.guide-body .acc summary { padding: 14px 18px; font-weight: 600; cursor: pointer; }
.guide-body .acc div { padding: 0 18px 16px; color: var(--muted); }
.guide-body .acc + .acc { margin-top: 8px; }
.next-step { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface-teal); border-radius: var(--radius-md); padding: 20px 24px; }
.next-step p { font-weight: 600; }
.next-step span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.checked { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 16px; }
.bios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bio { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; font-size: 15px; color: var(--muted); }
.bio .person strong { color: var(--ink); }
.bio .person span { color: var(--muted); }
.bio .avatar { background: var(--surface-cool); color: var(--blue); }
.bio p { margin-top: 10px; }
.guide-rail { position: sticky; top: 16px; display: grid; gap: 16px; }
.rail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; }
.rail-card summary, .rail-card h3 { font: 700 15px/1.3 var(--font-body); color: var(--ink); cursor: pointer; }
.rail-card ol, .rail-card ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 15px; }
.rail-card li { padding: 6px 0 6px 12px; border-left: 2px solid var(--border); }
.rail-card li.on { border-left-color: var(--logo-teal); font-weight: 600; }
.rail-card li a { text-decoration: none; color: var(--ink); }
.rail-card li a:hover { color: var(--blue); text-decoration: underline; }
.rail-note { font-size: 14px; }
.related { padding: 0 40px 40px; }
.related h2 { font-size: 24px; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: var(--ink); }
.rel:hover { border-color: var(--accent); color: var(--ink); }
.rel .thumb { height: 96px; background: var(--surface-cool); display: grid; place-items: center; border-bottom: 1px solid var(--border); }
.rel .thumb svg { width: 40px; height: 40px; color: var(--blue); }
.rel strong { display: block; padding: 12px 14px 14px; font: 700 16px/1.35 var(--font-display); }
@media (max-width: 900px) {
    .guide-head { padding: 24px 20px 88px; }
    .byline .updated { margin-left: 0; }
    .guide-layout { grid-template-columns: minmax(0, 1fr); padding: 0 12px 24px; gap: 16px; }
    .guide-rail { position: static; order: -1; }
    .guide-rail .related-links, .guide-rail .rail-note { display: none; }
    .guide-body { padding: 24px 20px 28px; }
    .bios { grid-template-columns: 1fr; }
    .guide-body .table-wrap table { min-width: 0; }
    .guide-body .table-wrap tbody th { width: 34%; }
    .guide-body th, .guide-body td { padding: 12px 14px; font-size: 15px; }
    .related { padding: 0 12px 24px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 10; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
.site-footer h2 { font: 600 14px/1.4 var(--font-body); color: #9FB4C0; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1E4A62; font-size: 14px; color: #9FB4C0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.error-page { padding: 96px 0; }
.error-page p { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.error-page .btn { margin-top: 24px; }
@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Terms */
.term-source { font-size: 14px; }
.np { color: var(--muted); font-style: italic; }

/* Page scaffolding */
.wrap.narrow { max-width: 820px; }
.crumbs-bar { border-bottom: 1px solid var(--border); background: #fff; }
.crumbs-list { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.crumbs-list li + li::before { content: "/"; margin-right: 10px; color: var(--border); }
.page-head { padding: 40px 0 32px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; }
.page-head .dek { margin-top: 12px; font-size: 19px; color: var(--muted); max-width: 64ch; }
.page-section { padding: 48px 0; }
.page-head .split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.label-line { font-size: 14px; font-weight: 600; color: var(--muted); margin: 20px 0 8px; display: block; }
.group-head { font-size: 22px; margin: 32px 0 16px; }
.group-head:first-child { margin-top: 0; }
.muted { color: var(--muted); font-weight: 400; }
.sr-gap { position: absolute; left: -9999px; }

/* Chips and grids */
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.chip-list a:hover { border-color: var(--accent); color: var(--ink); }
.chip-list .num { color: var(--muted); font-weight: 400; font-size: 13px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pgrid.small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(11,42,60,.08); color: var(--ink); }
.pcard-img { height: 140px; display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--border); padding: 12px; }
.pcard-img img { max-height: 116px; max-width: 100%; object-fit: contain; }
.pcard-img svg { width: 44px; height: 44px; color: var(--blue); }
.pcard-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.pcard-body strong { font: 700 15px/1.35 var(--font-display); }
.pcard-body .price { font-size: 14px; color: var(--accent-hover); font-weight: 600; }
.cat.compact { padding: 16px; }

/* Supplier pages */
.logo-ph img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 6px; }
.facts-panel { background: var(--surface-cool); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.facts-panel dl { margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.facts-panel dt { color: var(--muted); font-weight: 600; }
.facts-panel dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts-panel .btn { width: 100%; }
.supplier-logo { max-height: 64px; max-width: 220px; display: block; margin-bottom: 20px; }
.term-detail { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 72ch; }
.term-meta { margin-top: 8px; font-size: 14px; color: var(--muted); }
.acc.policies { margin-top: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.acc.policies summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.acc.policies .prose { padding: 0 18px 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col h2 { font-size: 24px; margin-bottom: 16px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 10px; padding: 6px 0; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }

/* Product pages */
.product-top { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
.product-img { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); height: 340px; display: grid; place-items: center; padding: 20px; }
.product-img img { max-height: 300px; max-width: 100%; object-fit: contain; }
.product-img svg { width: 96px; height: 96px; color: var(--blue); }
.price-range { margin: 8px 0 20px; }
.price-range .num { font: 700 28px/1.2 var(--font-display); color: var(--accent-hover); }
.facts.boxed { border: 1px solid var(--border); border-radius: var(--radius-md); margin: 0 0 24px; grid-template-columns: repeat(3, 1fr); }
.facts.boxed .fact { border-top: 0; }
.facts { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Prose from imported and editorial HTML */
.prose > * + * { margin-top: 14px; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { font-size: 24px; margin-top: 32px; }
.prose h3 { font-size: 19px; margin-top: 24px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--border); padding: 10px 12px; vertical-align: top; }
.prose blockquote { margin: 24px 0; padding: 16px 24px; border-left: 4px solid var(--logo-teal); background: var(--surface-teal); border-radius: var(--radius-sm); }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--muted); }
.article-wrap { max-width: 860px; padding-top: 32px; padding-bottom: 64px; }
.article-wrap .guide-head { border-radius: var(--radius-lg); padding: 28px 32px 32px; }
.article-wrap .guide-head .topline { align-items: center; }
.article-wrap .guide-head .topline .tag { margin-right: 8px; }
.article-wrap .guide-body { margin-top: 24px; }
.article-wrap > .quote-box { margin-top: 24px; }
.dek-text { font-size: 20px; color: var(--ink); font-weight: 600; }

/* Quote form */
.quote-box h2 { font-size: 26px; }
.quote-note { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 68ch; }
.quote-box form { margin-top: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.field-grid .field + .field { margin-top: 0; }
.field-grid .wide { grid-column: 1 / -1; }
.field textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; color: var(--ink); }
.field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-weight: 600; }
.search.light { margin-top: 20px; border: 1px solid var(--border); }

@media (max-width: 900px) {
  .page-head .split, .product-top, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .product-img { height: 240px; }
  .field-grid { grid-template-columns: 1fr; }
  .facts.boxed { grid-template-columns: 1fr; }
  .facts.boxed .fact { border-right: 0; border-bottom: 1px solid var(--border); }
  .article-wrap .guide-head { padding: 24px 20px; }
}

.card-main.single { grid-template-columns: 1fr; }
.sponsorship-card h3 a { color: var(--ink); text-decoration: none; }
.sponsorship-card h3 a:hover { color: var(--blue); text-decoration: underline; }
table.fit { min-width: 0; }
table.fit tbody th { width: 200px; }
@media (max-width: 900px) {
  table.fit tbody th { width: 34%; }
  table.fit th, table.fit td { padding: 12px 14px; font-size: 15px; }
}

/* Seller discovery: who sells each kind of equipment */
.sellers { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.seller { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 8px 20px; align-items: center; padding: 18px 24px; }
.seller + .seller { border-top: 1px solid var(--border); }
.seller .logo-ph { width: 56px; height: 56px; font-size: 18px; }
.seller h3 { font-size: 19px; line-height: 1.3; }
.seller .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 2px; color: var(--muted); font-size: 15px; }
.sells { margin-top: 4px; font-size: 15px; color: var(--muted); }
.sells-label { font-weight: 600; color: var(--ink); margin-right: 2px; }
.sells a { color: var(--blue); }
.sells a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
.card-main .sells { margin-top: 6px; }
.seller-terms { margin: 0; font-size: 14px; white-space: nowrap; }
.seller-terms a { color: var(--muted); }
.seller-terms a:hover { color: var(--blue); }
.seller-cta .btn { white-space: nowrap; }
.sold-by { margin-top: 14px; font-size: 15px; color: var(--muted); }
.seller-band { border-bottom: 1px solid var(--border); }

.finder { margin-bottom: 40px; }
.finder-label { font: 700 17px/1.3 var(--font-display); margin-bottom: 14px; }
.chip-list a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-list a[aria-current] .num { color: #C9D7DF; }
.chip-list a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.results-head h2 { font-size: 24px; }
.results-head p { font-size: 15px; }
#supplier-results:has(.finder.htmx-request) .card { opacity: .6; transition: opacity .15s cubic-bezier(.4,0,.2,1); }

@media (max-width: 900px) {
  .seller { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; gap: 10px 14px; align-items: start; }
  .seller .logo-ph { width: 48px; height: 48px; }
  .seller-terms, .seller-cta { grid-column: 2; }
  .seller-cta .btn { width: 100%; }
  .finder .chip-list { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 10px; scroll-padding-inline: 24px; scrollbar-width: thin; }
  .finder .chip-list li { flex: none; }
  .finder { margin-bottom: 28px; }
}
