@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-variable.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --white: #fcfaf5;
  --ink: #101820;
  --muted: #48535a;
  --line: #d0d6d1;
  --control-line: #6a7d73;
  --cloud: #dde3e0;
  --orange: #ff5a1f;
  --orange-text: #b6350d;
  --blue: #1f6f8b;
  --green: #2e7d4f;
  --yellow: #ffd23f;
  --red: #b3261e;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 10px;
  --caption-size: .875rem;
  --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 20px); scroll-behavior: smooth; }
html:has(:focus-visible) { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); overflow-wrap: anywhere; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: .99; letter-spacing: -.014em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); }
h3 { font-size: 1.7rem; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; max-inline-size: 100%; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
main:focus { outline: none; }
::selection { color: var(--ink); background: #ffc1a8; }
.icon { flex: 0 0 auto; width: 1.3em; height: 1.3em; vertical-align: middle; }
.shell { width: min(1280px, calc(100% - clamp(40px, 10vw, 144px))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; right: auto; max-inline-size: calc(100% - 16px); padding: 10px 18px; background: var(--ink); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #d6d7d0; background: var(--paper); }
.header-inner { min-height: calc(var(--header-height) - 1px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; gap: 9px; font: 800 2.25rem/.85 var(--heading); letter-spacing: -.017em; }
.brand-mark { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center; background: var(--orange); color: var(--ink); }
.wordmark-dot { color: var(--orange-text); }
.nav { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2.8vw, 42px); align-items: center; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; }
.nav a:hover, .nav a[aria-current], .nav a[data-current-section] { color: var(--orange-text); }
.nav a[aria-current]::after, .nav a[data-current-section]::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 100%; height: 2px; background: var(--orange-text); }
.header-tools { grid-column: 3; grid-row: 1; display: flex; gap: 8px; justify-self: end; }
.search-trigger, .menu-toggle, .icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--control-line); border-radius: 6px; background: transparent; font-weight: 600;
  transition: background .2s, border-color .2s;
}
.search-trigger:hover, .menu-toggle:hover, .icon-button:hover { background: #e7e6de; border-color: #889991; }
.menu-toggle, .icon-button { width: 44px; padding: 0; }
.menu-toggle { display: none; }

.button, .text-link { display: inline-flex; gap: .65em; align-items: center; justify-content: center; font-weight: 600; }
.button { min-height: 49px; max-inline-size: 100%; padding: 6px 17px; border: 1px solid transparent; border-radius: 6px; line-height: 1.35; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--ink); }
.button-primary:hover:not(:disabled) { background: #ff7b47; }
.button-outline { background: transparent; border-color: var(--control-line); }
.button-outline:hover { background: var(--cloud); }
.text-link { color: #1c6077; min-height: 44px; justify-content: flex-start; }
.text-link .icon { transition: transform .2s; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover .icon { transform: translateX(3px); }
.eyebrow { font: 500 var(--caption-size)/1.3 var(--mono); letter-spacing: .085em; text-transform: uppercase; }
.eyebrow-signal { display: flex; align-items: center; gap: 9px; color: var(--blue); }
.eyebrow-signal > span { flex: 0 0 10px; height: 10px; background: var(--orange); box-shadow: 0 0 0 3px #ff5a1f25; border-radius: 2px; }

.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "copy console" "actions console"; gap: 15px clamp(28px, 4.3vw, 65px); padding-block: clamp(30px, 3.5vw, 53px) clamp(34px, 3.6vw, 52px); }
.hero-copy { grid-area: copy; align-self: end; container-type: inline-size; }
.hero h1 { font-size: clamp(3.2rem, 22cqi, 7.25rem); letter-spacing: -.04em; line-height: .87; font-weight: 800; margin-block: 17px 23px; }
.hero-stop { color: var(--orange-text); }
.hero-deck { max-width: 33ch; color: var(--muted); font-size: clamp(1.05rem, 1.48vw, 1.27rem); line-height: 1.47; }
.hero-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(14px, 2vw, 30px); }
.hero-price-link { color: var(--ink); }
.category-section { padding-block: 20px 60px; border-top: 1px solid #cbd0ca; }
.section-heading { display: flex; gap: 10px 20px; justify-content: space-between; align-items: baseline; margin-bottom: 19px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.category-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--white); border: 1px solid #cbd0ca; border-radius: var(--radius); overflow: hidden; transition: border-color .25s, translate .25s, box-shadow .25s; }
.category-card:hover { translate: 0 -4px; border-color: #81918a; box-shadow: 0 9px 20px #162a2410; }
.category-art, .family-art, .product-art {
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; position: relative; isolation: isolate; color: #385868;
  background-color: var(--tint, #e2e7e0);
  background-image: linear-gradient(90deg, #1018200f 1px, transparent 1px), linear-gradient(#1018200f 1px, transparent 1px);
  background-size: 22px 22px;
}
.tint-drone { --tint: #dce7e7; }
.tint-rc { --tint: #eee0c8; }
.tint-camera { --tint: #dce3d9; }
.tint-sd, .tint-tripod, .tint-helicopter { --tint: #e1e7df; }
.tint-mount, .tint-plane { --tint: #ecdfcd; }
.category-art { height: clamp(125px, 12.4vw, 192px); border-bottom: 1px solid #cbd0ca; }
.category-art::before, .product-art::before, .family-art::before {
  content: ""; position: absolute; width: 125px; aspect-ratio: 1; z-index: -1; border: 1px solid #52665b38; border-radius: 50%; box-shadow: 0 0 0 13px #ffffff24, 0 0 0 14px #52665b20;
}
.category-art img, .product-art img, .family-art img { width: min(74%, 265px); height: auto; filter: drop-shadow(0 11px 8px #10182031); transition: transform .35s cubic-bezier(.15,.7,.2,1); }
.category-art.tint-camera img { width: min(65%, 225px); }
.category-card:hover img { transform: scale(1.08) rotate(-2deg); }
.art-cross { width: 18px; height: 18px; position: absolute; top: 12px; left: 12px; color: #203d4780; }
.art-cross::before, .art-cross::after { content: ""; background: currentColor; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.art-cross::before { width: 14px; height: 1px; }
.art-cross::after { height: 14px; width: 1px; }
.category-copy { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding: 15px 16px 16px; }
.category-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.category-copy p { color: var(--muted); line-height: 1.4; margin-top: 5px; }
.round-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #bfc8c0; border-radius: 50%; flex: 0 0 auto; transition: background .2s, border-color .2s; }
.category-card:hover .round-arrow { background: var(--orange); border-color: var(--orange); }

.budget-band { background: #e4ebe7; border-block: 1px solid #cbd7d2; padding-block: clamp(38px, 5vw, 70px); }
.budget-controls { background: var(--white); padding: 22px clamp(14px, 3vw, 30px) 19px; border: 1px solid #b9c7bf; border-radius: var(--radius); }
.budget-upper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.budget-upper label.eyebrow { color: #325b68; display: block; }
.budget-upper output { display: block; font: 500 clamp(1.4rem, 2.6vw, 2.1rem)/1.25 var(--mono); margin-top: 5px; color: var(--orange-text); }
.budget-families { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.budget-families label { cursor: pointer; }
.budget-families input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.budget-families span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--control-line); border-radius: 6px; padding: 4px 12px; font-weight: 600; transition: background .2s, color .2s; }
.budget-families label:hover span { border-color: #6b8178; }
.budget-families input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.budget-families input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.budget-ruler { margin-top: 12px; }
.budget-ruler input {
  appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 44px; margin: 0; cursor: pointer; background: transparent;
}
.budget-ruler input::-webkit-slider-runnable-track { height: 6px; border-radius: 5px; background: linear-gradient(to right, var(--orange-text) 0 var(--progress, 100%), var(--control-line) var(--progress, 100%) 100%); }
.budget-ruler input::-moz-range-track { height: 6px; border-radius: 5px; background: linear-gradient(to right, var(--orange-text) 0 var(--progress, 100%), var(--control-line) var(--progress, 100%) 100%); }
.budget-ruler input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 3px solid var(--ink); background: var(--orange); border-radius: 50%; }
.budget-ruler input::-moz-range-thumb { width: 17px; height: 17px; border: 3px solid var(--ink); background: var(--orange); border-radius: 50%; }
.budget-marks { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font: 500 var(--caption-size)/1.35 var(--mono); }
.budget-results-bar { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; justify-content: space-between; min-height: 48px; }
.budget-results-bar > p { font-weight: 600; color: #374a46; }
.sort-control { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--muted); }
.sort-control select { min-height: 44px; color: var(--ink); border: 1px solid var(--control-line); border-radius: 5px; background: var(--white); padding: 4px 7px; }
.budget-empty { min-height: 225px; border: 1px dashed #a6b9af; border-radius: var(--radius); display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; }
.budget-empty > .icon { color: var(--blue); width: 29px; height: 29px; }
.budget-empty p { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(15em, 30%)), 1fr)); align-items: start; gap: clamp(12px, 1.6vw, 24px); }
.product-card { background: var(--white); border: 1px solid #c8d3cc; border-radius: var(--radius); min-width: 0; overflow: hidden; }
.product-card:target { outline: 3px solid var(--blue); outline-offset: 3px; }
.product-art { height: clamp(138px, 13vw, 185px); border-bottom: 1px solid #c8d3cc; }
.product-art img { width: min(64%, 235px); }
.product-art .art-icon, .family-art .art-icon { width: 72px; height: 72px; stroke-width: 1.1; }
.product-art.product-photo { background: #fff; }
.product-photo::before { display: none; }
.product-art.product-photo img { width: 100%; height: 100%; object-fit: contain; filter: none; }
.image-label { position: absolute; inset: auto 9px 8px auto; max-inline-size: calc(100% - 18px); background: var(--white); border-radius: 3px; padding: 3px 6px; font: 500 var(--caption-size)/1.3 var(--mono); color: #3b5058; }
.product-body { padding: 13px 16px 15px; }
.product-source { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; color: #485760; font: 500 var(--caption-size)/1.4 var(--mono); }
.official { color: #2a6241; border: 1px solid #c1d8c7; background: #edf4ec; border-radius: 3px; padding: 1px 5px; }
.product-body h3 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
.product-short { color: var(--muted); line-height: 1.45; margin-top: 6px; }
.product-price { color: var(--orange-text); font: 500 clamp(1.3rem, 2.3vw, 1.87rem)/1.2 var(--mono); margin-top: 11px; }
.product-stats { color: #465258; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font: 500 var(--caption-size)/1.3 var(--mono); margin-top: 9px; }
.product-rating { display: inline-flex; gap: 3px; align-items: center; padding: 3px 6px; border-radius: 4px; color: #235f3e; background: #e5f0e7; }
.product-rating .icon { width: 14px; height: 14px; }
.read-date { margin-top: 10px; font-size: var(--caption-size); color: #543f06; background: #fff1b5; display: table; padding: 3px 6px; border-radius: 4px; }
.store-link { width: 100%; margin-top: 12px; }
.product-details { margin-top: 10px; border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.product-details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: #18586e; font-weight: 600; }
.product-details[open] .summary-icon .icon { transform: rotate(180deg); }
.product-details > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.summary-icon .icon { transition: transform .2s; }
.detail-source { font-size: var(--caption-size); color: var(--muted); margin-top: 10px; }
.compare-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 1px solid var(--control-line); border-radius: 5px; padding: 4px 10px; font-weight: 600; }
.compare-toggle:hover { border-color: #657a70; background: #e9eeea; }
.compare-toggle[aria-pressed=true] { background: #e4eee6; border-color: #5b8b6e; color: #255e3d; }
.data-note { display: flex; gap: 8px; align-items: flex-start; color: #4a565c; font-size: var(--caption-size); line-height: 1.5; margin-bottom: 12px; }
.data-note .icon { color: var(--blue); }
.data-note a, .editorial-meta a { color: #18586e; text-decoration: underline; text-underline-offset: .18em; }
.box-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.box-fact { padding: 13px 15px; flex: 1 1 150px; border: 1px solid #c7d6cc; background: #e8f1e9; border-radius: 5px; }
.box-fact strong { font-size: .93rem; display: flex; gap: 6px; align-items: center; line-height: 1.25; }
.box-fact ul { padding-left: 18px; margin-top: 5px; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.box-fact li + li { margin-top: 3px; }
.box-out { background: #f6e6df; border-color: #e2c3b8; }
.box-check { background: #e9ece5; border-color: #ccd4ca; }
.box-in .icon { color: var(--green); }
.box-out .icon { color: var(--red); }
.box-check .icon { color: var(--blue); }
.box-facts-compact { flex-direction: column; gap: 0; margin-top: 0; }
.box-facts-compact .box-fact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); align-items: start; gap: 8px; flex: auto; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid #d6ded7; border-radius: 0; }
.box-facts-compact .box-fact strong { font-size: var(--caption-size); }
.box-facts-compact .box-fact ul { margin: 0; font-size: var(--caption-size); }

.home-faq { max-width: 840px; padding-bottom: 66px; }
.faq { margin-top: clamp(38px, 6vw, 74px); }
.faq h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 13px; }
.faq-rows { border-top: 1px solid #bfcac1; }
.faq-row { border-bottom: 1px solid #bfcac1; }
.faq-row summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; padding: 10px 3px; font-weight: 600; }
.faq-row summary:hover { color: #1c6077; }
.faq-row .summary-icon { color: var(--blue); }
.faq-row[open] .summary-icon .icon { transform: rotate(45deg); }
.faq-row p { color: var(--muted); padding: 0 30px 16px 3px; max-width: 72ch; }

.page-shell { padding-bottom: clamp(44px, 6vw, 86px); min-height: 57vh; }
.breadcrumbs { color: #56635f; font-size: var(--caption-size); margin-block: 22px 20px; }
.breadcrumbs ol { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #77837e; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs span { color: var(--ink); }
.page-intro h1 { font-size: clamp(3.25rem, 6.8vw, 6rem); letter-spacing: -.027em; }
.direct-answer { color: var(--muted); margin-top: 12px; max-width: 69ch; font-size: clamp(1.07rem, 1.65vw, 1.25rem); line-height: 1.46; }
.editorial-meta { margin-top: 9px; color: var(--muted); font-size: var(--caption-size); }
.family-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 25px; }
.family-intro .text-link { margin-top: 13px; }
.family-art { min-height: 220px; border: 1px solid #c7d1c9; border-radius: var(--radius); }
.family-art img { width: min(79%, 315px); }
.guide-links { margin-top: 38px; }
.guide-links h2, .price-ruler h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.6vw, 3rem); }
.guide-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guide-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; min-height: 58px; border: 1px solid #c2ccc2; border-radius: 5px; background: var(--white); font-weight: 600; transition: border-color .2s, background .2s; }
.guide-link:hover { background: #f7e6da; border-color: #ae8070; }
.guide-link .icon { color: var(--blue); }
.guide-products { margin-top: 18px; }
.product-grid-guide { max-width: 1200px; }
.price-ticks { display: grid; grid-template-columns: repeat(var(--marks), minmax(0, 1fr)); list-style: none; border: 1px solid #c8d2c9; border-radius: var(--radius); padding: 15px 9px 13px; background: var(--white); }
.price-ticks li { position: relative; text-align: center; padding: 16px 4px 0; border-top: 1px solid #a8b9ae; }
.price-ticks li::before { content: ""; position: absolute; width: 9px; height: 9px; left: calc(50% - 4px); top: -5px; background: var(--orange); border: 1px solid var(--ink); border-radius: 50%; }
.price-ticks a { display: grid; gap: 4px; justify-items: center; min-height: 44px; }
.price-ticks a:hover { color: var(--blue); text-decoration: underline; }
.price-ticks strong { color: var(--orange-text); font: 500 clamp(.875rem, 2vw, 1.22rem)/1.2 var(--mono); }
.price-ticks span { font-size: var(--caption-size); line-height: 1.35; }
.price-page .budget-module { margin-top: 22px; }
.prose { max-width: 77ch; }
.prose h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-top: 29px; margin-bottom: 8px; }
.prose p + p, .prose .button { margin-top: 12px; }
.not-found { padding-top: 40px; }
.not-found h1 { font-size: clamp(3rem, 6vw, 5rem); }
.not-found p { margin-block: 14px 19px; }

.site-footer { border-top: 1px solid #cbd1c8; background: #e8ebe3; }
.footer-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .85fr); gap: 20px; padding-block: 31px 25px; }
.footer-layout > div > p { max-width: 32ch; color: var(--muted); font-size: .94rem; margin-top: 12px; }
.footer-nav h2 { font: 500 var(--caption-size)/1.25 var(--mono); text-transform: uppercase; color: #365963; margin-bottom: 8px; letter-spacing: .055em; }
.footer-nav a { display: flex; align-items: center; width: fit-content; min-height: 44px; }
.footer-nav a:hover, .footer-base a:hover { color: var(--blue); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; border-top: 1px solid #c6cfc4; min-height: 49px; padding: 6px 0; color: #4b5a55; font-size: var(--caption-size); }
.footer-base a { min-height: 44px; display: flex; align-items: center; gap: 6px; }
.footer-base a .icon { transform: rotate(-90deg); }

body:has(dialog[open]) { overflow: hidden; }
.dialog { width: min(540px, calc(100% - 28px)); padding: 0; color: var(--ink); background: var(--white); border: 1px solid #97a8a0; border-radius: var(--radius); box-shadow: 0 16px 65px #10182040; max-height: min(80dvh, 690px); scroll-padding-top: 6rem; }
.dialog::backdrop { background: #10182099; backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in .18s ease-out both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dialog-header { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 15px; border-bottom: 1px solid var(--line); background: var(--white); }
.dialog-header h2 { font-size: clamp(1.9rem, 5.5vw, 2.5rem); }
.search-field { display: flex; align-items: center; gap: 9px; padding: 0 11px; margin: 13px 15px 0; border: 1px solid var(--control-line); border-radius: 5px; background: #fff; color: var(--blue); }
.search-field:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.search-field input { color: var(--ink); border: 0; outline: none; width: 100%; min-width: 0; min-height: 44px; background: transparent; }
.search-status { margin: 9px 15px 5px; color: var(--muted); font-size: var(--caption-size); }
.search-results { list-style: none; margin: 0 15px 15px; padding: 0; }
.search-results a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 8px; border-radius: 4px; font-weight: 600; }
.search-results a:hover, .search-results a:focus-visible { background: #e5eeea; }
.search-results small { font-size: var(--caption-size); color: var(--muted); font-weight: 400; text-align: right; }
.compare-bar { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-block: 8px 12px; padding: 9px 10px; border-radius: 6px; background: var(--ink); color: var(--white); }
.compare-bar :focus-visible { outline-color: var(--yellow); }
.compare-bar p { flex-basis: 100%; font-size: var(--caption-size); line-height: 1.4; }
.compare-clear { border: 0; min-height: 44px; padding: 0 3px; background: transparent; text-decoration: underline; text-underline-offset: .18em; }
.compare-bar .button { min-height: 44px; padding-inline: 8px; }
.compare-bar .button:disabled { background: #e0e3df; color: #53625d; }
.compare-dialog { width: min(870px, calc(100% - 28px)); }
.compare-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 15px 0; color: #355452; font-weight: 600; }
.compare-mode select { min-width: 0; min-height: 44px; border: 1px solid var(--control-line); border-radius: 5px; padding: 4px 8px; background: var(--white); color: var(--ink); }
.compare-scroll { max-height: 51dvh; overflow: auto; margin: 9px 15px 15px; border: 1px solid var(--control-line); border-radius: 5px; }
.compare-scroll:focus-visible { outline-offset: -4px; }
.compare-table { width: 100%; min-width: 500px; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: left; }
.compare-table th, .compare-table td { border-bottom: 1px solid #d5dfd6; padding: 9px; vertical-align: top; }
.compare-table th[scope=col] { position: sticky; top: 0; z-index: 2; background: #e8ede6; }
.compare-table th[scope=row] { background: #f0f2eb; font-weight: 600; }
.compare-table th[scope=row], .compare-table th[scope=col]:first-child { position: sticky; left: 0; z-index: 1; width: 26%; }
.compare-table th[scope=col]:first-child { z-index: 3; }
.compare-single .compare-table { min-width: 0; }
.compare-single .compare-table th:is([scope=row], [scope=col]:first-child) { width: min(49%, max(42%, 4em)); }

@media (max-width: 1060px) {
  .header-inner { gap: 15px; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hero-actions { gap: 7px 14px; }
}
@media (max-width: 820px) {
  :root { --header-height: 64px; }
  html { scroll-padding-top: 12px; }
  .shell { width: calc(100% - 40px); }
  .site-header { position: relative; }
  .header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-block: 6px; }
  .wordmark { font-size: 2rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-tools { margin-inline-start: auto; }
  .nav { order: 1; flex-basis: 100%; padding-bottom: 8px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: grid; justify-items: start; gap: 0; border-top: 1px solid #d6d7d0; }
  .nav a[aria-current]::after, .nav a[data-current-section]::after { width: 28px; }
  .nav a { min-height: 45px; }
  .js .menu-toggle { display: inline-flex; }
  .hero { gap: 20px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .hero-deck { font-size: 1.02rem; }
  .product-body { padding-inline: 12px; }
  .category-copy { padding-inline: 12px; }
  .round-arrow { width: 32px; height: 32px; }
  .guide-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 26px 30px; gap: 15px; }
  .hero h1 { font-size: clamp(3.7rem, 21cqi, 5.85rem); margin-block: 15px; }
  .hero-deck { max-width: 36ch; }
  .hero-copy, .hero-actions { align-self: stretch; }
  .search-trigger { padding: 0; min-width: 44px; }
  .search-trigger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .section-heading { align-items: start; margin-bottom: 13px; }
  .section-heading { flex-wrap: wrap; }
  .category-section { padding-block: 17px 36px; }
  .category-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .category-card { grid-template-columns: 100px minmax(0, 1fr); grid-template-rows: 1fr; }
  .category-art { height: 100%; min-height: 98px; border-bottom: 0; border-right: 1px solid #cbd0ca; }
  .category-art::before { width: 58px; }
  .category-art img, .category-art.tint-camera img { width: 90%; }
  .art-cross { width: 10px; height: 10px; top: 5px; left: 5px; }
  .art-cross::before { width: 8px; }
  .art-cross::after { height: 8px; }
  .category-copy { padding: 10px; }
  .budget-upper { flex-direction: column; align-items: start; gap: 9px; }
  .budget-families span { padding-inline: 9px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-body { padding-inline: 15px; }
  .product-art { height: 162px; }
  .product-art img { width: min(65%, 225px); }
  .family-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .family-art { min-height: 150px; max-height: 180px; }
  .family-art img { width: min(72%, 235px); }
  .breadcrumbs { margin-block: 14px 14px; }
  .page-intro h1 { font-size: clamp(2.9rem, 12vw, 4.1rem); }
  .direct-answer { margin-top: 8px; }
  .guide-products { margin-top: 13px; }
  .guide-link-grid { grid-template-columns: minmax(0, 1fr); }
  .compare-single .compare-table :is(th, td) { padding-inline: 7px; }
  .footer-layout { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(8em, 42%)), 1fr)); }
  .footer-layout > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 355px) {
  .shell { width: calc(100% - 28px); }
  .section-heading { flex-wrap: wrap; }
  .hero-actions .button { min-height: 44px; }
  .hero h1 { font-size: 3.72rem; }
  .category-card { grid-template-columns: 83px minmax(0, 1fr); }
  .search-results a { flex-wrap: wrap; }
  .search-results small { text-align: start; }
}
@media (max-height: 460px) {
  html { scroll-padding-top: 12px; }
  .site-header { position: relative; }
  .dialog { scroll-padding-top: 0; }
  .dialog-header { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
