/* Roomwise: design tokens */
:root {
  --ink: #15271f;
  --ink-2: #3d5047;
  --muted: #6a7a72;
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --card: #fffdf9;
  --line: #e3dfd3;
  --line-strong: #cfc9b8;
  --forest: #173a31;
  --forest-2: #0f2b24;
  --forest-ink: #e9f1ec;
  --forest-muted: #a9bdb3;
  --accent: #c4683c;
  --accent-ink: #9c4d27;
  --accent-soft: #f6e2d4;
  --ok: #2f7a52;
  --ok-soft: #dcefe3;
  --amber: #b5791b;
  --amber-soft: #f8ebd0;
  --grey: #9aa49f;
  --danger: #a8432a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(21, 39, 31, .05), 0 6px 20px -8px rgba(21, 39, 31, .12);
  --shadow-lg: 0 2px 4px rgba(21, 39, 31, .06), 0 24px 48px -20px rgba(21, 39, 31, .28);
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.015em; }
h1, h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.028em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 50; padding: 10px 14px; background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
svg { width: 1em; height: 1em; flex: none; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, border-color .15s; }
.button:hover { background: var(--forest-2); }
.button:active { transform: translateY(1px); }
.button svg { width: 18px; height: 18px; }
.button-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.button-ghost { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.button-ghost:hover { background: var(--card); border-color: var(--forest); }
.button-accent { background: var(--accent); border-color: var(--accent); }
.button-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.eyebrow { margin-bottom: 14px; color: var(--accent-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.lede { color: var(--ink-2); font-size: 18px; line-height: 1.6; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 244, 238, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; fill: var(--forest); }
.brand .logo-accent { fill: var(--accent); }
.brand-light { color: #fff; }
.brand-light svg { fill: var(--forest-ink); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: 4px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span[aria-hidden], .menu-toggle span[aria-hidden]::before { position: absolute; left: 12px; width: 16px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .2s; content: ""; }
.menu-toggle span[aria-hidden] { top: 17px; }
.menu-toggle span[aria-hidden]::before { left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] span[aria-hidden] { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(-6px) rotate(-90deg); }

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; max-width: 14ch; }
.hero .lede { max-width: 52ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { color: var(--muted); font-size: 13px; }
.hero-stats dd { margin: 0; font-family: var(--display); font-weight: 650; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }

.fit-card { position: relative; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
.fit-card::before { content: ""; position: absolute; inset: -40px -60px auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); z-index: -1; }
.fit-card-kicker { color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fit-card-product { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; margin: 14px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.fit-card-image { display: grid; place-items: center; width: 88px; height: 88px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.fit-card-image img { max-height: 100%; object-fit: contain; }
.fit-card-product > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.fit-card-product small { color: var(--muted); font-size: 13px; }
.fit-card-product b { font-size: 16px; line-height: 1.3; }
.fit-card-product:hover b { text-decoration: underline; }
.fit-card-protocols { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.fit-card-protocols span, .card-protocols span { padding: 3px 9px; background: var(--paper-2); border-radius: 999px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }

/* Compatibility levels */
.pill-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; border: 2px solid currentColor; }
.lvl-3 { --lvl: var(--ok); --lvl-bg: var(--ok-soft); }
.lvl-3 .pill-dot { background: var(--lvl); border-color: var(--lvl); }
.lvl-2 { --lvl: var(--ok); --lvl-bg: var(--ok-soft); }
.lvl-2 .pill-dot { background: linear-gradient(90deg, var(--lvl) 50%, transparent 50%); border-color: var(--lvl); }
.lvl-1 { --lvl: var(--amber); --lvl-bg: var(--amber-soft); }
.lvl-1 .pill-dot { border-color: var(--lvl); border-style: dashed; }
.lvl-0 { --lvl: var(--grey); --lvl-bg: var(--paper-2); }
.lvl-0 .pill-dot { border-color: var(--lvl); background: transparent; transform: scale(.7); }
.compat-rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.compat-rows li { display: grid; grid-template-columns: 14px 120px 1fr; gap: 10px; align-items: baseline; font-size: 14px; }
.compat-rows li .pill-dot { color: var(--lvl); transform: translateY(1px); }
.compat-rows li.lvl-0 .pill-dot { transform: translateY(1px) scale(.7); }
.compat-rows b { font-weight: 600; }
.compat-rows li > span:last-child { color: var(--ink-2); }
.compat-rows li.lvl-0 > span:last-child { color: var(--muted); }
.compat-pills { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border-radius: 999px; background: var(--lvl-bg); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.pill .pill-dot { width: 9px; height: 9px; color: var(--lvl); }
.pill.lvl-0 { color: var(--muted); font-weight: 500; }

/* Ecosystem strip */
.eco-strip { padding: 0 0 72px; }
.strip-title { margin-bottom: 16px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.eco-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eco-links a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.eco-links a:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow); }
.eco-links b { font-size: 17px; }
.eco-links span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-tight { padding-top: 8px; padding-bottom: 88px; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-light h2 { color: #fff; }
.section-head-light .eyebrow { color: #f0b48f; }
.section-head-light p:not(.eyebrow) { color: var(--forest-muted); }

/* Matcher */
.matcher-section { padding: 88px 0; background: var(--forest); color: var(--forest-ink); background-image: radial-gradient(circle at 85% 0%, rgba(196, 104, 60, .22), transparent 40%), radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .06), transparent 45%); }
.matcher { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 16px; }
.matcher-step { margin: 0; padding: 22px; min-width: 0; background: var(--card); color: var(--ink); border: 0; border-radius: var(--radius); }
.matcher-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0; font-weight: 700; font-size: 16px; }
.matcher-step legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; }
.choice-row { display: flex; flex-direction: column; gap: 8px; }
.choice, .goal { position: relative; display: block; cursor: pointer; }
.choice input, .goal input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span, .goal > span { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; transition: border-color .15s, background .15s; }
.goal > span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; height: 100%; }
.goal small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.goal b { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.choice:hover span, .goal:hover > span { border-color: var(--forest); }
.choice input:checked + span, .goal input:checked + span { border-color: var(--forest); background: #eef4f0; box-shadow: inset 0 0 0 1px var(--forest); }
.choice input:focus-visible + span, .goal input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.goal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-grid { display: grid; gap: 14px; margin-bottom: 18px; }
.matcher-step-last { display: flex; flex-direction: column; }
.matcher-step-last .button { margin-top: auto; width: 100%; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span:first-child { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.field input, .field select { width: 100%; height: 44px; padding: 0 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 15px; }
.field select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%233d5047' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.field input:hover, .field select:hover { border-color: var(--forest); }
.input-prefix { position: relative; display: block; }
.input-prefix > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-prefix input { padding-left: 28px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--forest); flex: none; }

/* Matcher result */
.matcher-result { margin-top: 20px; padding: 28px; background: var(--card); color: var(--ink); border-radius: var(--radius); }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.result-head h3 { font-family: var(--display); font-weight: 650; font-size: 24px; }
.result-head p { color: var(--muted); font-size: 14px; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pick { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pick-top { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.pick-top img, .pick-top .card-noimage { width: 64px; height: 64px; object-fit: contain; }
.pick-top small { color: var(--muted); font-size: 12.5px; }
.pick-top a { display: block; font-weight: 600; line-height: 1.3; text-decoration: none; }
.pick-top a:hover { text-decoration: underline; }
.pick-rank { display: inline-block; margin-bottom: 12px; color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.reasons { display: grid; gap: 6px; margin: 14px 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.reasons li { display: flex; gap: 8px; }
.reasons li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--ok); }
.reasons li.reason-warn::before { background: var(--amber); }
.pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.needs { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: var(--amber-soft); border-radius: var(--radius-sm); font-size: 14px; }
.needs svg { width: 20px; height: 20px; color: var(--amber); margin-top: 1px; }
.needs a { font-weight: 600; }
.empty { padding: 24px; text-align: center; color: var(--ink-2); }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 170px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.category-tile:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow); }
.category-tile b { font-family: var(--sans); font-weight: 650; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; padding-right: 40px; }
.category-tile > span:last-child { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.category-count { position: absolute; top: 18px; right: 18px; min-width: 30px; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 13px; font-weight: 600; text-align: center; }

/* Catalogue */
.legend { position: relative; font-size: 14px; flex: none; }
.legend summary { cursor: pointer; color: var(--forest); font-weight: 600; list-style: none; }
.legend summary::-webkit-details-marker { display: none; }
.legend summary::after { content: " +"; }
.legend[open] summary::after { content: " −"; }
.legend ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; gap: 8px; width: 300px; margin: 0; padding: 16px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.legend li, .legend-list li { display: flex; gap: 8px; align-items: baseline; color: var(--ink-2); }
.legend li .pill-dot, .legend-list .pill-dot { color: var(--lvl); }
.filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.field-search input { padding-left: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='9' cy='9' r='5.5' fill='none' stroke='%236a7a72' stroke-width='1.8'/%3E%3Cpath d='m13.2 13.2 3.3 3.3' stroke='%236a7a72' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 12px center / 18px; }
.check-inline { align-self: center; height: 44px; align-items: center; padding: 0 4px; white-space: nowrap; }
.check-inline input { margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip span { color: var(--muted); font-size: 12.5px; }
.chip:hover { border-color: var(--forest); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--forest-muted); }
.result-count { margin: 22px 0 14px; color: var(--muted); font-size: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.card-media img { max-height: 100%; width: auto; object-fit: contain; }
.card-noimage { display: grid; place-items: center; width: 100%; height: 100%; color: var(--grey); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.card-warn { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--amber-soft); color: #7a4f0c; font-size: 12px; font-weight: 600; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12.5px; }
.card-meta span:first-child { font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.card-title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-title a:hover { text-decoration: underline; }
.card-protocols { display: flex; flex-wrap: wrap; gap: 5px; }
.card-accessory { color: var(--muted); font-size: 13px; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.price { font-size: 17px; font-weight: 700; }
.stock { color: var(--muted); font-size: 13px; }
.stock-in { color: var(--ok); }
.stock-out { color: var(--danger); }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.no-results { grid-column: 1 / -1; padding: 48px 24px; text-align: center; background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-2); }
.no-results button { margin-top: 14px; }

/* Method */
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.method-steps li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-top: 2px solid var(--forest); counter-increment: step; }
.method-steps li::before { content: "0" counter(step); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 20px; }
.method-steps b { font-size: 17px; }
.method-steps span { color: var(--ink-2); font-size: 15px; }
.method-note { margin-top: 28px; color: var(--muted); font-size: 14px; }
.method-note a { color: var(--forest); font-weight: 600; }

/* Inner pages */
.page-hero { padding: 48px 0 32px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: 20ch; }
.page-hero .lede { max-width: 62ch; margin-top: 16px; }
.page-hero .button { margin-top: 28px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; color: var(--muted); font-size: 14px; }
.page-hero .breadcrumbs { margin-top: 0; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.other-categories { margin-top: 56px; }
.other-categories h2 { font-size: 24px; }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-media { position: sticky; top: 92px; display: grid; place-items: center; aspect-ratio: 1; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.product-media img { max-height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(30px, 3.4vw, 42px); }
.product-info .lede { margin-top: 14px; font-size: 17px; }
.model { margin-top: 8px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.buy-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.buy-box > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.buy-box small { width: 100%; color: var(--muted); font-size: 13px; }
.price-large { font-size: 28px; }
.callout { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; }
.callout svg { width: 20px; height: 20px; margin-top: 1px; }
.callout-warn { background: var(--amber-soft); color: #5e3d09; }
.small-heading { margin: 28px 0 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compat-rows-large li { grid-template-columns: 14px 140px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compat-rows-large { gap: 0; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-size: 13.5px; }
.tag-strong { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 600; }
.product-details { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.product-details h2 { margin-bottom: 18px; font-size: 28px; }
.product-details p { color: var(--ink-2); max-width: 70ch; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.highlights li { padding: 6px 12px; background: var(--ok-soft); border-radius: var(--radius-sm); color: #1f5139; font-size: 14px; font-weight: 600; }
.fine { margin-top: 16px; color: var(--muted) !important; font-size: 13.5px; }
.checklist { align-self: start; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.checklist h2 { font-size: 22px; }
.checklist ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.checklist li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border: 1.8px solid var(--forest); border-radius: 4px; }
.similar { margin: 72px 0 88px; }
.similar h2 { font-size: 28px; }

.prose { max-width: 760px; padding-bottom: 96px; }
.prose h2 { margin: 40px 0 12px; font-size: 26px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; }
.prose .legend-list { padding: 0; list-style: none; }
.prose .legend-list li { gap: 10px; }
.prose a { color: var(--forest); font-weight: 600; }

/* Multi-page pieces */
.button.is-current { background: var(--accent); border-color: var(--accent); }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 14px; }
.result-bar .result-count { margin: 0; }
.filters-compact { grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(0, 1fr)) auto; }
.cta-band { padding: 72px 0; background: var(--forest); color: var(--forest-ink); background-image: radial-gradient(circle at 90% 10%, rgba(196, 104, 60, .25), transparent 45%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); max-width: 22ch; }
.cta-inner .eyebrow { color: #f0b48f; }
.cta-inner p:not(.eyebrow) { max-width: 56ch; margin-top: 12px; color: var(--forest-muted); }
.cta-inner .button { flex: none; }
.eco-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.eco-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.eco-card:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow); }
.eco-card b { font-family: var(--sans); font-weight: 650; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.eco-card p { color: var(--ink-2); }
.eco-card-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.eco-card-stats > span { display: inline-flex; align-items: center; gap: 7px; }
.eco-card-stats .pill-dot { color: var(--lvl); }
.eco-card .text-link { margin-top: auto; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.guide-grid article { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-grid h2 { margin-bottom: 8px; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.guide-grid p { color: var(--ink-2); font-size: 15px; }
.page-hero .hero-stats { margin-top: 28px; }
.matcher-page { padding-top: 32px; min-height: 70vh; }
.matcher-page h1 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.breadcrumbs-light, .breadcrumbs-light a { color: var(--forest-muted); }
.breadcrumbs-light [aria-current] { color: var(--forest-ink); }
.chip-row-wrap { flex-wrap: wrap !important; overflow: visible !important; margin-inline: 0 !important; padding: 0 !important; }

/* Editorial */
.editorial { margin-top: 56px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.editorial-head h2 { font-size: clamp(22px, 2.4vw, 28px); max-width: 40ch; }
.best-for { margin-top: 12px; color: var(--ink-2); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 8px; }
.pros-cons h3 { margin-bottom: 10px; font-size: 15px; }
.pros-cons ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pros-cons li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.pros li::before, .cons li::before { flex: none; width: 18px; font-weight: 700; }
.pros li::before { content: "+"; color: var(--ok); }
.cons li::before { content: "–"; color: var(--amber); }
.editorial .fine a { color: var(--forest); }
.partner-note { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.partner-note a { color: var(--forest); }
.checked { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ok-soft); color: #1f5139; font-size: 11.5px; font-style: normal; font-weight: 600; }
@media (max-width: 640px) { .editorial { padding: 20px; } .pros-cons { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--forest-2); color: var(--forest-muted); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 34ch; margin-top: 14px; font-size: 15px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { margin-bottom: 6px; color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.site-footer nav a { color: var(--forest-muted); font-size: 15px; text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* Responsive */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-search { grid-column: 1 / -1; }
  .matcher { grid-template-columns: 1fr; }
  .choice-row { flex-direction: row; flex-wrap: wrap; }
  .choice { flex: 1 1 140px; }
  .goal-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr 1fr; align-items: end; }
  .detail-grid .check { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; }
  .site-header .button-small { margin-left: auto; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 16ch; }
  .eco-links { grid-template-columns: repeat(2, 1fr); }
  .picks { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .product-media { position: static; aspect-ratio: 4 / 3; padding: 24px; }
  .product-details { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; padding-top: 36px; }
  .method-steps { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .eco-index { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .filters-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .legend ul { left: 0; right: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 10px; height: 62px; }
  .main-nav { top: 62px; }
  .site-header .button-small { padding: 0 12px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 16.5px; }
  .hero-stats { gap: 12px 24px; }
  .hero-stats dd { font-size: 21px; }
  .fit-card { padding: 18px; }
  .compat-rows li { grid-template-columns: 14px 1fr; }
  .compat-rows li > span:last-child { grid-column: 2; font-size: 13.5px; }
  .section, .matcher-section { padding: 64px 0; }
  .goal-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .matcher-result { padding: 20px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-tile { min-height: 0; padding: 16px; }
  .category-tile b { font-size: 16px; }
  .category-tile > span:last-child { display: none; }
  .filters { grid-template-columns: 1fr 1fr; gap: 10px; }
  .check-inline { grid-column: 1 / -1; height: auto; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-media { padding: 12px; }
  .card-body { padding: 12px; gap: 8px; }
  .card-meta span:last-child { display: none; }
  .card-title { font-size: 14px; }
  .price { font-size: 15.5px; }
  .card-foot { flex-direction: column; gap: 2px; }
  .compat-pills .pill { padding: 2px 6px 2px 5px; font-size: 11px; }
  .buy-box .button { width: 100%; }
  .footer-grid { gap: 32px; grid-template-columns: 1fr 1fr; }
  .filters-compact { grid-template-columns: 1fr 1fr; }
  .result-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-band { padding: 56px 0; }
  .breadcrumbs [aria-current] { max-width: 22ch; }
}
@media (max-width: 350px) {
  .eco-links, .goal-grid { grid-template-columns: 1fr; }
}
