/* Countertop Coffee — site styles. Original design system; no external fonts or frameworks. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f3ece3;
  --text: #1e1915;
  --muted: #5f544b;
  --border: #e2d7cb;
  --primary: #2c6652;
  --primary-hover: #214f3f;
  --primary-ink: #ffffff;
  --primary-soft: #e3efe9;
  --accent: #92561a;
  --accent-soft: #f6e7d4;
  --focus: #1b5fbf;
  --banner: #fff1b8;
  --banner-ink: #3a2f00;
  --shadow: 0 1px 2px rgba(40, 28, 16, .06), 0 4px 16px rgba(40, 28, 16, .06);
  --radius: 10px;
  --wrap: 74rem;
  --measure: 43rem;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Charter, "Bitstream Charter", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17130f; --surface: #201b16; --surface-2: #29221c; --text: #f1e9df; --muted: #bcae9f;
    --border: #3d342b; --primary: #86c9ad; --primary-hover: #a3d9c2; --primary-ink: #0f231b; --primary-soft: #1e3129;
    --accent: #e0ad66; --accent-soft: #3a2c1c; --focus: #8ab4ff; --banner: #4a3f10; --banner-ink: #fff4c2;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17130f; --surface: #201b16; --surface-2: #29221c; --text: #f1e9df; --muted: #bcae9f;
  --border: #3d342b; --primary: #86c9ad; --primary-hover: #a3d9c2; --primary-ink: #0f231b; --primary-soft: #1e3129;
  --accent: #e0ad66; --accent-soft: #3a2c1c; --focus: #8ab4ff; --banner: #4a3f10; --banner-ink: #fff4c2;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; letter-spacing: -.01em; margin: 1.6em 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem); margin-top: .3em; }
h2 { font-size: clamp(1.45rem, 1.25rem + .9vw, 1.85rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p, ul, ol { margin: 0 0 1em; }
li + li { margin-top: .3em; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .3em; border-radius: 4px; }
.muted { color: var(--muted); }
.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; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 40rem) { .wrap { padding: 0 24px; } }
.narrow { max-width: var(--measure); }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--primary); color: var(--primary-ink); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 8px; color: var(--primary-ink); }
.preview-banner { background: var(--banner); color: var(--banner-ink); text-align: center; font-size: .9rem; padding: .45rem 16px; border-bottom: 1px solid var(--border); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.lm-counter { fill: var(--accent); }
.lm-cup { fill: none; stroke: var(--text); stroke-width: 2.4; }
.lm-handle { fill: none; stroke: var(--text); stroke-width: 2.4; }
.lm-steam { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-name span { color: var(--primary); }
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop li + li { margin-top: 0; }
.nav-desktop a, .nav-mobile a { display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav-desktop a:hover, .nav-mobile a:hover { background: var(--surface-2); color: var(--text); }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 50%; cursor: pointer; }
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.theme-toggle:hover { border-color: var(--primary); }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .9rem; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); font-weight: 600; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: ""; width: .5em; height: .5em; margin-left: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-mobile[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(18rem, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile li + li { margin-top: 0; }
@media (min-width: 62rem) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  .header-tools { margin-left: .5rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .55rem 1.05rem; border-radius: 8px; font-weight: 650; font-size: .98rem; text-decoration: none; line-height: 1.2; border: 1.5px solid transparent; text-align: center; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); color: var(--primary); }
.btn-small { font-size: .92rem; padding: .45rem .8rem; }
.btn-amazon::after { content: ""; width: .7em; height: .7em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: .1rem; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1rem 0 1.25rem; }
.buy-note { font-size: .88rem; color: var(--muted); }

/* Disclosures & notes */
.disclosure { font-size: .88rem; color: var(--muted); margin: .6rem 0 0; }
.picks-note .disclosure { display: inline; margin: 0; font-size: inherit; }
.research-note { font-size: .95rem; margin: .4rem 0 0; color: var(--text); }
.byline { font-size: .95rem; color: var(--muted); margin: .9rem 0 0; }
.byline .author { color: var(--text); font-weight: 600; }

/* Article structure */
.article-head { padding: 1.2rem 0 1.4rem; max-width: 52rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 1rem 0 0; }
.dek { font-size: 1.15rem; color: var(--muted); margin: .2rem 0 0; max-width: var(--measure); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: .9rem 0 0; font-size: .9rem; }
.breadcrumbs li + li { margin-top: 0; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); margin-right: .5rem; }
.breadcrumbs a { color: var(--muted); }
.article-grid { display: block; padding-bottom: 3rem; }
.article-body { max-width: var(--measure); }
.article-body > h2 { padding-top: .6rem; border-top: 1px solid var(--border); }
.article-aside { display: none; }
.toc-inline { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: .2rem 1rem; margin: 0 0 1.5rem; }
.toc-inline summary { cursor: pointer; font-weight: 700; padding: .6rem 0; min-height: 44px; display: flex; align-items: center; }
.toc ol { margin: 0 0 .8rem; padding-left: 1.2rem; font-size: .95rem; }
.toc-side .toc-h { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5rem; }
.toc-side ol { padding-left: 1.1rem; }
.toc-side a { color: var(--text); text-decoration: none; }
.toc-side a:hover { color: var(--primary); text-decoration: underline; }
@media (min-width: 64rem) {
  .article-grid { display: grid; grid-template-columns: 14.5rem minmax(0, var(--measure)); gap: 3rem; }
  .article-grid.single { grid-template-columns: minmax(0, var(--measure)); }
  .article-aside { display: block; }
  .toc-side { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; padding-right: .5rem; }
  .toc-inline { display: none; }
}

/* Verdict, summary card, score */
.verdict { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: var(--radius); padding: 1rem 1.2rem .3rem; margin: 0 0 1.5rem; box-shadow: var(--shadow); }
.verdict h2 { margin: .1rem 0 .6rem; font-size: 1.35rem; border: 0; padding: 0; }
.summary-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.2rem; margin: 0 0 1.75rem; }
.keyfacts { display: grid; grid-template-columns: 1fr; gap: .6rem 1.2rem; margin: 1rem 0 0; }
.keyfacts div { border-top: 1px solid var(--border); padding-top: .45rem; }
.keyfacts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.keyfacts dd { margin: .1rem 0 0; }
@media (min-width: 36rem) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts .wide { grid-column: 1 / -1; } }
.score { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "bar value"; gap: .2rem .9rem; align-items: center; }
.score-label { grid-area: label; font-size: .85rem; font-weight: 650; color: var(--muted); }
.score-label a { color: var(--muted); }
.score-bar { grid-area: bar; height: 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.score-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.score-value { grid-area: value; font-family: var(--font-serif); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.score-max { font-size: .95rem; color: var(--muted); margin-left: .1rem; }
.score-compact .score-value { font-size: 1.35rem; }
.score-block { margin: 1rem 0 1.5rem; }
.score-detail { margin-top: .6rem; }
.score-detail summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--primary); }
.w-0{width:0}.w-5{width:5%}.w-10{width:10%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-35{width:35%}.w-40{width:40%}.w-45{width:45%}.w-50{width:50%}.w-55{width:55%}.w-60{width:60%}.w-65{width:65%}.w-70{width:70%}.w-75{width:75%}.w-80{width:80%}.w-85{width:85%}.w-90{width:90%}.w-95{width:95%}.w-100{width:100%}

/* Boxes */
.box { border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1.1rem .2rem; margin: 1.2rem 0; background: var(--surface); }
.box-title { font-weight: 700; margin: 0 0 .4rem; font-family: var(--font-serif); font-size: 1.08rem; }
.box ul { padding-left: 0; list-style: none; }
.box li { position: relative; padding-left: 1.5rem; }
.box-pros li::before, .box-buyif li::before { content: "+"; position: absolute; left: .2rem; top: 0; font-weight: 800; color: var(--primary); }
.box-cons li::before, .box-skipif li::before { content: "\2212"; position: absolute; left: .2rem; top: 0; font-weight: 800; color: var(--accent); }
.box-pros, .box-buyif { border-left: 4px solid var(--primary); }
.box-cons, .box-skipif { border-left: 4px solid var(--accent); }
.box-note, .box-method { background: var(--surface-2); }
.box-fit, .box-calc, .box-setup { border-style: dashed; }
.box-calc .box-foot { font-size: .88rem; color: var(--muted); }
.box-setup ul li::before { content: "\2610"; position: absolute; left: 0; color: var(--muted); }
.pair { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .pair { grid-template-columns: 1fr 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding: .75rem .9rem .35rem; font-family: var(--font-serif); font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .9rem; border-top: 1px solid var(--border); }
thead th { background: var(--surface-2); font-size: .85rem; letter-spacing: .02em; }
tbody th { font-weight: 650; }
td.src { font-size: .85rem; color: var(--muted); min-width: 9rem; }
table.compare th, table.compare td { min-width: 9.5rem; }
table.compare th:first-child { min-width: 8rem; }
.table-note { font-size: .88rem; color: var(--muted); }

/* Picks */
.pick { display: grid; gap: .8rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.1rem; margin: 1rem 0; }
@media (min-width: 44rem) { .pick { grid-template-columns: minmax(0, 1fr) 15rem; } }
.pick-label { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--accent); }
.pick-name { margin: .15rem 0 .35rem; font-size: 1.25rem; }
.pick-name a { color: var(--text); }
.pick-why { margin: 0 0 .5rem; }
.pick-specs { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.pick-specs li + li { margin-top: 0; }
.chip-k { font-weight: 700; color: var(--text); }
.pick-side { display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.pick-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Cards */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.1rem; display: flex; flex-direction: column; }
.card-type { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); font-weight: 700; }
.card-title { margin: .25rem 0 .4rem; font-size: 1.12rem; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--primary); text-decoration: underline; }
.card-text { font-size: .95rem; color: var(--muted); flex: 1; }
.card-meta { margin: 0; font-weight: 700; font-family: var(--font-serif); }
.card-date { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.related { padding-bottom: 3rem; }

/* Home */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; gap: 1.5rem; padding-top: 1.8rem; padding-bottom: 1.8rem; align-items: center; }
.hero h1 { margin: .2rem 0 .6rem; }
.hero p { max-width: 38rem; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-art { display: none; }
@media (min-width: 52rem) { .hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .hero-art { display: block; } }
.hero-svg { width: 100%; max-width: 380px; display: block; margin-left: auto; }
.ha-counter { fill: var(--surface-2); stroke: var(--border); stroke-width: 1.5; }
.ha-wall { stroke: var(--text); stroke-width: 3; }
.ha-block { fill: var(--primary-soft); stroke: var(--primary); stroke-width: 1.5; }
.ha-block.b { fill: var(--accent-soft); stroke: var(--accent); }
.ha-cup { fill: var(--surface); stroke: var(--text); stroke-width: 1.5; }
.ha-dim { stroke: var(--muted); stroke-width: 1.2; fill: none; }
.ha-txt { fill: var(--muted); font: 600 11px var(--font-sans); }
.home-section { padding-top: 1rem; padding-bottom: 1rem; }
.home-section > h2 { margin-top: 1.4em; }
.cat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.cat-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.1rem 1.2rem .6rem; }
.cat-card h3 { margin: .5rem 0 .3rem; }
.cat-card h3 a { color: var(--text); text-decoration: none; }
.cat-card h3 a:hover { color: var(--primary); text-decoration: underline; }
.cat-card p { color: var(--muted); font-size: .95rem; }
.cat-card ul { list-style: none; padding: 0; font-size: .95rem; }
.cat-card li { border-top: 1px solid var(--border); padding-top: .4rem; }
.cat-card li .muted { display: block; font-size: .85rem; }
.cat-more { font-weight: 650; }
.cat-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.guide-list { list-style: none; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.guide-list li { border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1.1rem; background: var(--surface); margin: 0; }
.guide-list a { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; }
.guide-list p { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.method-strip { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: .4rem 1.3rem .6rem; margin-top: 2rem; margin-bottom: 3rem; max-width: calc(var(--wrap) - 32px); }
.method-strip h2 { margin-top: .8rem; font-size: 1.3rem; }
.more-link { font-weight: 650; margin-top: 1rem; }

/* Directory */
.dir-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.dir-filter label { font-weight: 650; }
.dir-filter input { flex: 1 1 14rem; min-height: 44px; font: inherit; padding: .4rem .7rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
.dir-count { margin: 0; font-size: .9rem; color: var(--muted); }
.dir-section h2 { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.small-link { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; }
.dir-list { padding-left: 1.1rem; }
.dir-list .muted { font-size: .92rem; }
.directory { padding-bottom: 3rem; }

/* Diagrams */
.diagram { margin: 1.4rem 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: .8rem; }
.diagram figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.fp-svg { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.fp-counter { fill: var(--surface-2); stroke: var(--border); }
.fp-wall { stroke: var(--text); stroke-width: 3; }
.fp-item { fill: var(--primary-soft); stroke: var(--primary); stroke-width: 1.5; }
.ht-ref { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; }
.fp-note { fill: var(--muted); font: 600 11px var(--font-sans); }
.fp-name { fill: var(--text); font: 700 12px var(--font-sans); }
.fp-dim { fill: var(--muted); font: 500 11px var(--font-sans); }

/* Sources */
.sources { margin-top: 2.5rem; }
.sources ol { padding-left: 1.3rem; font-size: .93rem; }
.sources li { overflow-wrap: anywhere; }
blockquote { margin: 1.2rem 0; padding: .2rem 1rem; border-left: 3px solid var(--border); color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 1rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-h { font-weight: 700; margin: 0 0 .4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: .3rem 0; }
.footer-disclosure { color: var(--muted); font-size: .9rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1rem; padding-bottom: 1.5rem; color: var(--muted); font-size: .88rem; }
.notfound { padding: 3rem 16px 4rem; }

@media (prefers-reduced-motion: no-preference) {
  a, .btn, .theme-toggle, .card, .nav-desktop a { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
@media print {
  .site-header, .site-footer, .article-aside, .toc, .buy-row, .pick-actions { display: none !important; }
}
.spec-src { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.spec-src a { color: var(--muted); }
table.specs th[scope="row"] { width: 32%; }

.fp-num { fill: var(--primary); font: 800 15px var(--font-sans); }
.fp-legend { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .92rem; }
.fp-legend li { padding-left: 0; }
.fp-key { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); font-weight: 800; font-size: .85em; margin-right: .2rem; }
.box-fit li::before, .box-note li::before, .box-method li::before { content: "\2022"; position: absolute; left: .35rem; color: var(--muted); }
.box-fit, .box-setup { padding-top: .9rem; }
@media (max-width: 26rem) {
  .header-inner { gap: .5rem; }
  .brand { gap: .4rem; }
  .logo-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 1.02rem; }
  .nav-mobile summary { padding: 0 .7rem; }
  .header-tools { gap: .3rem; }
}
.table-wrap, .btn, .pick { position: relative; }

/* ---- Purchase path (v1.1) ---- */
.hero-inner { display: block; padding-top: 1.1rem; padding-bottom: 1.2rem; }
.hero h1 { font-size: clamp(1.55rem, 1.3rem + 1.2vw, 2.15rem); margin: 0 0 .35rem; }
.hero .hero-sub { font-size: 1.02rem; color: var(--muted); margin: 0 0 .8rem; max-width: 40rem; }
.hero-actions { margin: 0; }
.top-picks { padding-top: .6rem; }
.top-picks > h2 { margin-top: .8em; }
.top-picks:focus { outline: none; }
.picks-note { color: var(--muted); font-size: .92rem; margin: -.2rem 0 1rem; }
.picks-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .picks-grid { grid-template-columns: 1fr 1fr; } }
.picks-grid .pick { margin: 0; }

.pick { display: flex; flex-direction: column; gap: 0; padding: 1rem 1.1rem 1.05rem; }
@media (min-width: 44rem) { .pick { display: flex; } }
.pick-name { margin: .15rem 0 .6rem; font-size: 1.28rem; }
.pick-why { margin: .7rem 0 .5rem; }
.pick-facts { display: grid; gap: .45rem; margin: 0 0 .6rem; font-size: .95rem; }
.pick-facts div { border-top: 1px solid var(--border); padding-top: .4rem; }
.pick-facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.pick-facts dd { margin: .05rem 0 0; }
.pick-specs { margin-bottom: .7rem; }
.pick-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-top: .6rem; border-top: 1px solid var(--border); }
.pick-foot .score { flex: 1 1 12rem; }
.pick-read { font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }

.buy-block { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; margin: .2rem 0 .3rem; max-width: 26rem; }
.disclosure-inline { margin: 0; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.btn-buy, .btn-maker { min-height: 48px; font-size: 1.02rem; font-weight: 700; padding: .65rem 1.15rem; width: 100%; }
.btn-buy { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.btn-buy:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--primary-ink); }
.btn-buy::after { content: ""; width: .55em; height: .55em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: .25rem; flex: none; }
.btn-maker { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-maker:hover { background: var(--primary-soft); color: var(--primary); }
.btn-buy.btn-small { min-height: 44px; font-size: .92rem; padding: .45rem .8rem; width: auto; white-space: nowrap; }
.buy-variant { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.buy-variant-k { font-weight: 700; color: var(--text); }
table.compare + .table-note, .disclosure-inline + .table-wrap { margin-top: .4rem; }

.buy-panel { display: grid; gap: .8rem 1.5rem; align-items: center; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); background: var(--surface); padding: .9rem 1.1rem; margin: 0 0 1.6rem; max-width: 52rem; box-shadow: var(--shadow); }
@media (min-width: 44rem) { .buy-panel { grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem); } }
.buy-panel-k { margin: 0; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); font-weight: 700; }
.buy-panel-name { margin: .1rem 0 .2rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.buy-panel-short { margin: 0 0 .5rem; font-size: .95rem; }
.buy-panel .buy-block { margin: 0; max-width: none; }
.article-head { padding-bottom: 1rem; }
.pick-read .arrow { margin-left: .35rem; }
.cell-variant { display: block; margin-top: .3rem; font-size: .8rem; }
