/* One stylesheet, light and dark. Body text uses system fonts; headings use one self-hosted display face.
   The yellow is a tape measure's: it marks measurements, picks and the buy button. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #f6f4ee; --panel: #ffffff; --ink: #14171c; --muted: #5b616b; --line: #dedbd2; --soft: #edeae2;
  --link: #1746c7; --tape: #ffcf1a; --tape-d: #9a7200; --tape-ink: #14171c; --tape-wash: #fff6d1;
  --screen: #171b22; --screen-edge: #000; --person: #b9b4a6; --furn: #e3dfd3; --dark: #12151b; --dark-ink: #f1f2f4;
  --yes: #14753a; --no: #a3352b;
  --radius: 12px; --prose: 720px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --panel: #171a20; --ink: #eceef2; --muted: #9aa1ad; --line: #2b2f38; --soft: #1e222a;
    --link: #a3c0ff; --tape-d: #ffcf1a; --tape-wash: #2a2510;
    --screen: #2c3342; --screen-edge: #49526a; --person: #4a505c; --furn: #232830; --dark: #171a20;
    --yes: #6fd596; --no: #ff9a8c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tape-d); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; background: var(--panel); padding: 6px 10px; z-index: 9; }
[hidden] { display: none !important; }

/* ---------- header and footer */
.top { background: var(--dark); color: var(--dark-ink); border-bottom: 3px solid var(--tape); }
.top .wrap { display: flex; align-items: center; gap: 8px 28px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 21px/1 var(--display); letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.brand-g { color: var(--tape); }
.logo { width: 30px; height: 21px; flex: none; }
.l-scr { fill: none; stroke: var(--tape); stroke-width: 2.6; } .l-dim { fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav { display: flex; gap: 4px; font-size: 15px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; max-width: 100%; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #c6cad2; text-decoration: none; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: #fff; background: #ffffff14; }
.nav a[aria-current] { color: var(--tape-ink); background: var(--tape); font-weight: 650; }
.foot { margin-top: 40px; background: var(--dark); color: #aab0ba; padding: 28px 0 34px; font-size: 14px; }
.foot .brand { color: var(--dark-ink); font-size: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 10px; }
.foot a { color: #d5d8de; }
.foot .disc { font-weight: 600; color: var(--dark-ink); margin: 12px 0 0; }
.small { font-size: 13px; margin: 0; max-width: 760px; }

/* ---------- type */
main.wrap { padding-top: 36px; padding-bottom: 48px; }
main.home { padding-top: 24px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; font-weight: 800; margin: 8px 0 14px; }
h2 { font-size: clamp(23px, 2.6vw, 28px); line-height: 1.2; margin: 2.2em 0 0.55em; scroll-margin-top: 16px; }
h3 { font-size: 20px; line-height: 1.25; margin: 1.6em 0 0.4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin: 0.25em 0; }
.muted { color: var(--muted); font-weight: 400; font-size: 0.9em; }
.crumbs { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; }
.crumbs a { color: var(--muted); }
.byline, .disclosure { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.byline a, .disclosure a { color: var(--muted); }
.body > p, .body > ul, .body > ol, .body > blockquote, .body > h2, .body > h3, .faq, .sources, .answer { max-width: var(--prose); }
blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--tape); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote p:last-child { margin-bottom: 0; }

/* ---------- article layout */
.art-head { margin-bottom: 44px; }
main.hub .body > p { font-size: 18px; }
h2 a { color: inherit; text-decoration: none; } h2 a::after { content: " →"; color: var(--tape-d); } h2 a:hover { text-decoration: underline; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 5; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--tape); color: var(--tape-ink); font: 800 22px/1 var(--display); text-decoration: none; box-shadow: 0 2px 10px #0006; }
.totop:hover { transform: translateY(-2px); }
.art-head.has-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 28px 44px; align-items: center; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; }
.art-main { min-width: 0; }
main.doc article { max-width: var(--prose); margin: 0 auto; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; margin: 0 0 20px; font-size: 15px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin: 8px 0 4px; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 10px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { border-left-color: var(--tape-d); color: var(--ink); font-weight: 650; }
@media (min-width: 1100px) {
  .art-grid:has(.side) { grid-template-columns: 230px minmax(0, 1fr); }
  .side { position: sticky; top: 18px; align-self: start; max-height: calc(100vh - 36px); overflow: auto; }
  .toc { background: none; border: 0; padding: 0; }
  .toc summary { list-style: none; cursor: default; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); pointer-events: none; }
  .toc summary::-webkit-details-marker { display: none; }
}
@media (max-width: 860px) { .art-head.has-hero { grid-template-columns: minmax(0, 1fr); } }

/* ---------- answer box */
.answer { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--tape); border-radius: var(--radius); padding: 18px 22px 8px; margin: 0 0 28px; }
.answer-k { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tape-d); margin: 0 0 6px; }
.answer > p { font-size: 18px; line-height: 1.6; }
.takeaways { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 16px; }
.takeaways h2 { font-family: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0 0 6px; }
.takeaways ul { padding-left: 20px; }
.pickchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.pickchips a { display: block; padding: 9px 12px; border-radius: 10px; background: var(--tape-wash); border: 1px solid transparent; text-decoration: none; color: var(--ink); line-height: 1.3; }
.pickchips a:hover { border-color: var(--tape-d); }
.pickchips small { display: block; font-size: 12px; color: var(--muted); }
.pickchips b { font-size: 15.5px; }

/* ---------- figures and diagrams */
.fig { margin: 1.2em 0 1.6em; max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 12px;
  background-image: linear-gradient(var(--soft) 1px, transparent 1px), linear-gradient(90deg, var(--soft) 1px, transparent 1px); background-size: 20px 20px; background-position: -1px -1px; }
.fig.hero-fig { margin: 0; max-width: none; }
.body > .fig { display: inline-block; vertical-align: top; width: min(100%, 420px); margin-right: 14px; }
.fig figcaption { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); background: var(--panel); }
.dg { display: block; width: 100%; height: auto; font-family: inherit; }
.dg text { fill: var(--ink); font-size: 12px; }
.dg .d-note { fill: var(--muted); font-size: 11.5px; }
.d-screen { fill: var(--screen); stroke: var(--screen-edge); stroke-width: 1; }
.d-sheen { fill: #fff; opacity: 0.07; }
.d-ghost { fill: var(--tape); fill-opacity: 0.16; stroke: var(--tape-d); stroke-width: 1.5; stroke-dasharray: 6 4; }
.d-dim path { stroke: var(--ink); stroke-width: 1.1; fill: none; } .dg .d-dim text { font-weight: 650; }
.d-acc path { stroke: var(--tape-d); } .dg .d-acc text, .dg .d-acc-t, .dg .d-tag { fill: var(--tape-d); }
.dg .d-tag { font-weight: 700; }
.dg .d-big { fill: #fff; font: 800 30px var(--display); }
.dg .d-onscreen { fill: #fff; fill-opacity: 0.8; font-size: 11px; } .dg .d-on-lg { font: 700 18px var(--display); fill-opacity: 1; }
.dg .d-badge { font: 800 16px var(--display); }
.dg .d-title { font-weight: 700; font-size: 13px; } .dg .d-val { font-weight: 800; font-size: 15px; }
.d-person * { fill: var(--person); }
.d-floor { stroke: var(--muted); stroke-width: 1.5; } .d-furn { fill: var(--furn); stroke: var(--muted); stroke-width: 0.8; }
.d-stand { fill: var(--muted); } .d-bar { fill: var(--ink); }
.d-diag { stroke: #fff; stroke-opacity: 0.35; stroke-dasharray: 3 5; }
.d-cone { fill: var(--muted); fill-opacity: 0.12; stroke: var(--muted); stroke-width: 0.8; }
.d-cone-acc { fill: var(--tape); fill-opacity: 0.35; stroke: var(--tape-d); }
.d-head { fill: var(--muted); } .d-head-acc { fill: var(--tape-d); }
.d-lead { stroke: var(--muted); stroke-dasharray: 2 3; }
.d-port { fill: var(--soft); stroke: var(--muted); stroke-width: 1.2; } .d-port-fast { fill: var(--tape); stroke: var(--tape-d); }
.d-sq { fill: none; stroke: var(--muted); stroke-width: 1.5; } .d-sq-yes { fill: var(--tape); stroke: var(--tape-d); } .d-sq-unk { stroke-dasharray: 3 3; }
.d-wall { fill: var(--soft); stroke: var(--line); } .d-stud { fill: var(--muted); fill-opacity: 0.28; }
.d-plate { fill: var(--panel); stroke: var(--ink); stroke-width: 1.5; } .d-bolt { fill: var(--tape-d); }

/* ---------- tables. They scroll sideways inside their own box; on phones catalogue tables become cards. */
.tblwrap { margin: 0 0 1.6em; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.body > .tbl { margin: 0 0 1.6em; max-width: var(--prose); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
caption { caption-side: top; text-align: left; padding: 10px 14px 8px; font-size: 13.5px; color: var(--muted); }
th, td { padding: 9px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { border-top: 0; background: var(--soft); font-size: 12.5px; font-weight: 650; line-height: 1.3; vertical-align: bottom; }
tbody tr:hover td { background: var(--soft); }
td strong { font-weight: 650; }
.tblwrap.wide td:first-child { min-width: 170px; }
.tblwrap td:first-child .muted { display: block; font-size: 12.5px; }
th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
th[data-sort]::after { content: " ↕"; color: var(--muted); font-weight: 400; }
th[aria-sort="ascending"]::after { content: " ↑"; color: var(--ink); } th[aria-sort="descending"]::after { content: " ↓"; color: var(--ink); }
th[data-sort]:hover { color: var(--link); }
.yes { color: var(--yes); font-weight: 650; white-space: nowrap; } .no { color: var(--no); white-space: nowrap; }
tr.is-pick td { background: var(--tape-wash); }
tr.is-pick td:first-child { box-shadow: inset 4px 0 0 var(--tape); }
tr.is-pick td:first-child strong::after { content: "Our pick"; margin-left: 8px; padding: 1px 7px; border-radius: 99px; background: var(--tape); color: var(--tape-ink); font-size: 11px; font-weight: 700; white-space: nowrap; }
.buy { white-space: nowrap; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; }
.chips-l { font-size: 13px; color: var(--muted); margin-right: 4px; }
.chip { font: inherit; font-size: 13.5px; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (min-width: 641px) {
  .tblwrap td:first-child, .tblwrap th:first-child { position: sticky; left: 0; z-index: 1; }
  .tblwrap td:first-child { background: var(--panel); } tbody tr:hover td:first-child { background: var(--soft); }
  tr.is-pick td:first-child { background: var(--tape-wash); }
  .tblwrap.rowcards td:last-child, .tblwrap.rowcards th:last-child { position: sticky; right: 0; }
  .tblwrap.rowcards td:last-child { background: var(--panel); box-shadow: -1px 0 0 var(--line); }
  .tblwrap.rowcards tr.is-pick td:last-child { background: var(--tape-wash); }
}
@media (max-width: 640px) {
  /* Tables that stay tables: tighter cells so three to five columns fit a phone without scrolling. */
  table { font-size: 13.5px; } th, td { padding: 8px 8px; } thead th { font-size: 11.5px; }
  th:first-child, td:first-child { padding-left: 12px; } td:first-child strong { white-space: nowrap; }
  @media (max-width: 400px) { table { font-size: 13px; } th, td { padding: 8px 5px; } th:first-child, td:first-child { padding-left: 10px; } }
  .tblwrap.rowcards .tbl { border: 0; background: none; overflow: visible; }
  .tblwrap.rowcards thead { display: none; }
  .tblwrap.rowcards table, .tblwrap.rowcards tbody, .tblwrap.rowcards caption { display: block; }
  .tblwrap.rowcards caption { padding: 0 0 8px; }
  .tblwrap.rowcards tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
  .tblwrap.rowcards tr.is-pick { border-color: var(--tape-d); }
  .tblwrap.rowcards td { display: block; padding: 0; border: 0; background: none !important; box-shadow: none !important; }
  .tblwrap.rowcards td::before { content: attr(data-label); display: block; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
  .tblwrap.rowcards td:first-child, .tblwrap.rowcards td:last-child { grid-column: 1 / -1; }
  .tblwrap.rowcards td:first-child { font-size: 17px; } .tblwrap.rowcards td:first-child::before, .tblwrap.rowcards td:last-child::before { content: none; }
  .tblwrap.rowcards td:last-child { border-top: 1px solid var(--line); padding-top: 8px; }
  /* A Markdown table as cards: the last cell is data like the rest, not a buy link. */
  .tblwrap.stack td { font-size: 14.5px; } .tblwrap.stack td:last-child { border-top: 0; padding-top: 0; }
  .tblwrap.stack td:last-child::before { content: attr(data-label); }
}

/* ---------- picks and buttons */
.pick { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 20px; margin: 1.4em 0 1em; max-width: 800px; scroll-margin-top: 16px; }
.pick:target { border-color: var(--tape-d); box-shadow: 0 0 0 3px var(--tape-wash); }
.pick-img { align-self: center; }
.pick-cap { font-size: 11.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.pick .role { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--tape); color: var(--tape-ink); padding: 2px 9px; border-radius: 99px; margin: 0; }
.pick-name { margin: 8px 0 0; font-size: 25px; }
.pick-sub { font-size: 14px; color: var(--muted); margin: 2px 0 10px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; }
.badges li { margin: 0; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 7px; background: var(--soft); }
.pick-ports { display: flex; align-items: center; gap: 12px; font-size: 14px; margin: 0 0 12px; }
.dg-ports { width: auto; height: 26px; flex: none; }
.models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; margin: 0 0 16px; }
.models span { color: var(--muted); margin-right: 2px; }
.models a { padding: 2px 9px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; color: var(--ink); }
.models a:hover { border-color: var(--tape-d); }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15.5px; }
.btn.amz { background: var(--tape); color: var(--tape-ink); box-shadow: 0 2px 0 var(--tape-d); }
.btn.amz:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta { margin: 0.4em 0 1.4em; }
@media (max-width: 640px) {
  .pick { grid-template-columns: minmax(0, 1fr); } .pick-img { max-width: 240px; margin: 0 auto; }
  .pick .btn { display: block; text-align: center; }
}

/* ---------- calculator */
.calc { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 18px 20px; margin: 1em 0 1.6em; max-width: 560px; color: var(--ink); }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.calc label { font-weight: 650; }
.inp input { width: 5.2em; font: inherit; font-weight: 700; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.calc-range { width: 100%; margin: 14px 0 12px; accent-color: var(--tape-d); }
.calc-out { display: block; }
.calc-big { display: block; font: 800 44px/1 var(--display); letter-spacing: -0.03em; }
.calc-txt { display: block; font-size: 14.5px; color: var(--muted); margin: 6px 0 10px; }
.calc-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-sizes a, .calc-sizes span { padding: 3px 12px; border-radius: 99px; font-weight: 700; font-size: 14.5px; background: var(--soft); color: var(--ink); text-decoration: none; }
.calc-sizes a { background: var(--tape); color: var(--tape-ink); }
.calc-alt { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.calc-out2 { font-size: 14.5px; color: var(--muted); margin-top: 8px; } .calc-out2 strong { color: var(--ink); }

/* ---------- FAQ, sources, cards */
.faq .qa { border-top: 1px solid var(--line); }
.faq .qa:last-child { border-bottom: 1px solid var(--line); }
.faq summary, .sources summary { cursor: pointer; padding: 12px 0; list-style-position: outside; margin-left: 20px; }
.faq summary h3, .sources summary h2 { display: inline; font-size: 18px; margin: 0; }
.faq .qa > p { margin: 0 0 14px 20px; }
.sources { margin-top: 2em; }
.sources ol { font-size: 14.5px; color: var(--muted); padding-left: 42px; }
.sources a { word-break: break-word; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 0.6em 0 1.4em; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: transform 0.12s, border-color 0.12s; }
.card:hover { border-color: var(--tape-d); transform: translateY(-2px); }
.card-t { font: 700 18px/1.25 var(--display); letter-spacing: -0.01em; margin-bottom: 5px; }
.card-d { font-size: 14px; color: var(--muted); line-height: 1.45; }
.card-art { display: flex; align-items: center; height: 190px; margin: -4px -4px 14px; padding: 10px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.card-art .dg { max-height: 100%; }
.cards.feature { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards.list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.cards.list.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.list .card { flex-direction: row; align-items: flex-start; gap: 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 16px 0; }
.card-ic { flex: none; width: 68px; padding: 7px 6px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.card-b { display: flex; flex-direction: column; min-width: 0; }
.tiles + .cards.list { margin-top: 26px; }
@media (max-width: 980px) { .cards.list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards.list, .cards.list.c2 { grid-template-columns: minmax(0, 1fr); } }
/* List icons (diagrams.icon): yellow is the accessory or the measurement */
.ic { display: block; width: 100%; height: auto; overflow: visible; }
.ic-scr { fill: var(--screen); stroke: var(--screen-edge); stroke-width: 1; }
.ic-txt { fill: #fff; font-family: var(--display); font-weight: 800; }
.ic-line { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.ic-acc { fill: none; stroke: var(--tape-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-accf { fill: var(--tape-d); } .ic-fill { fill: var(--muted); }
.ic-wifi { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; } .ic-dash { stroke-dasharray: 2.5 2.5; }
.cards.list .card:hover { transform: none; } .cards.list .card:hover .card-t { color: var(--link); text-decoration: underline; }
.cards.list .card-t { font-size: 16.5px; }
.cards.list .card-d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- home */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px 48px; align-items: center; background: var(--dark); color: var(--dark-ink); border-radius: 20px; padding: clamp(22px, 4vw, 48px); margin-bottom: 12px;
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 24px 24px; }
.hero h1 { font-size: clamp(32px, 4.8vw, 54px); margin: 0 0 16px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tape); margin: 0 0 10px; }
.lead { font-size: 18px; color: #c9cdd5; margin: 0; max-width: 34em; }
.hero-calc .calc { margin: 0; max-width: none; box-shadow: 0 0 0 4px #ffffff12; }
.calc-k { font: 800 15px var(--display); color: var(--tape); margin: 0 0 8px; }
.calc-more { font-size: 13.5px; margin: 10px 0 0; } .calc-more a { color: #c9cdd5; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0.6em 0 0.8em; }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 16px; text-decoration: none; color: var(--ink); transition: transform 0.12s, border-color 0.12s; }
.tile:hover { border-color: var(--tape-d); transform: translateY(-2px); }
.dg-tile { max-width: 190px; margin-bottom: 10px; } .dg-tile .d-onscreen { font: 700 13px var(--display); fill-opacity: 1; }
.tile-t { font: 800 22px/1.1 var(--display); } .tile-d { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
main.home .body > p { max-width: var(--prose); }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .top, .foot, .side, .btn, .chips, .totop { display: none; } }
/* Cookie consent (only when GA_ID is set) */
.foot nav button { font: inherit; color: #d5d8de; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; padding: 14px 16px; font-size: 14px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--tape); border-radius: var(--radius); box-shadow: 0 6px 28px #0005; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 10px; }
.consent .actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent button { padding: 8px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.consent #consent-yes { background: var(--tape); border-color: var(--tape); color: var(--tape-ink); }
.ic-dark { fill: var(--ink); }
.dg .d-onlight { fill: #14171c; font-weight: 700; }
/* ---------- will-it-fit finder */
.fit { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 16px 18px 6px; margin: 1em 0 1.4em; }
.fit-g { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.fit-g legend { font: 800 15px var(--display); padding: 0; margin-bottom: 8px; }
.fit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 16px; }
.fit-f { display: flex; flex-direction: column; gap: 4px; }
.fit-l { font-weight: 650; font-size: 14.5px; }
.fit-f small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.fit-mode, .fit-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-mode label, .fit-tech label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--soft); font-weight: 650; font-size: 14px; cursor: pointer; }
.fit-mode input, .fit-tech input { accent-color: var(--tape-d); margin: 0; }
.fit-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 10px; }
.fit-share .btn { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.fit-sum { font-size: 16px; } .fit-sum strong { font: 800 22px var(--display); }
.fit-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.fit-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; }
.fit-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fit-m { font: 800 17px var(--display); }
.fit-size { font: 800 15px var(--display); background: var(--tape); color: var(--tape-ink); border-radius: 6px; padding: 1px 8px; }
.fit-sub, .fit-dims { margin: 2px 0; font-size: 13.5px; color: var(--muted); }
.fit-checks { list-style: none; padding: 0; margin: 8px 0 10px; font-size: 14px; line-height: 1.4; flex: 1; }
.fit-checks li { display: flex; gap: 8px; margin: 4px 0; }
.fit-checks b { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; margin-top: 1px; background: var(--soft); color: var(--muted); }
.fit-checks .fc-ok b { background: var(--tape); color: var(--tape-ink); }
.fit-checks .fc-warn b { background: transparent; border: 1.5px solid var(--tape-d); color: var(--tape-d); }
.fit-act { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; font-size: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 640px) { .fit { padding: 14px 14px 4px; } .fit-grid { grid-template-columns: 1fr 1fr; } .fit-list { grid-template-columns: 1fr; } }
.fit-share .btn { background: var(--soft); color: var(--ink); border: 1px solid var(--line); padding: 8px 14px; }
