:root {
  color-scheme: light;
  --cream: #fffdf7;
  --cream-soft: #faf6ec;
  --green: #1f3b2e;
  --green-ink: #14281f;
  --orange: #f28e5e;
  --orange-hover: #fc7d54;
  --border: #ded9cd;
  --muted: #5e675f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--green-ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--cream); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: var(--green); }
:focus-visible { outline: 3px solid #a34822; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--cream); border: 2px solid var(--green); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 72px; padding: 0 clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.wordmark { text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--green); }
.wordmark span { margin-left: 9px; font-weight: 500; letter-spacing: .09em; }
.prototype-label { color: var(--green); font-size: 12px; font-weight: 700; border: 1px solid #b7c4bb; border-radius: 99px; padding: 7px 12px; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.intro { padding: clamp(52px, 8vw, 90px) 0 34px; max-width: 760px; }
.eyebrow { margin: 0 0 10px; color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 750; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 18px; font-size: clamp(38px, 6vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 670; color: var(--green); }
.intro-copy { max-width: 620px; margin-bottom: 0; color: #3b4c41; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.snapshot { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 19px 22px; border: 1px solid #c6d0c8; border-radius: 8px; background: #f1f5f1; }
.snapshot-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 15px; font-weight: 700; }
.snapshot h2 { margin: 0 0 4px; color: var(--green); font-size: 16px; }
.snapshot-copy { margin: 0 0 4px; line-height: 1.5; }
.snapshot-note, .site-footer { color: var(--muted); font-size: 13px; line-height: 1.5; }
.snapshot-note { margin: 0; }
.explorer { margin-top: 62px; padding: 30px; background: var(--cream-soft); border: 1px solid #ece5d8; border-radius: 10px; }
.section-heading, .results-header, .comparison-heading, .details-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading h2, .results-header h2, .comparison-heading h2, .details-heading h2 { margin-bottom: 0; color: var(--green); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.025em; }
.quick-picks { display: flex; flex-wrap: wrap; gap: 9px; margin: 23px 0 25px; }
.quick-pick { padding: 9px 14px; color: var(--green); background: transparent; border: 1px solid #96a499; border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 600; }
.quick-pick:hover { background: #e8eee9; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
.field { min-width: 0; }
.field-wide { grid-column: span 2; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--green-ink); }
.field input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--green-ink); background: #fff; border: 1px solid #aeb8af; border-radius: 5px; }
.field input::placeholder { color: #657168; opacity: 1; }
.field small { display: block; margin-top: 5px; color: #57645a; font-size: 12px; line-height: 1.4; }
.input-prefix { display: flex; align-items: center; height: 44px; padding-left: 12px; background: #fff; border: 1px solid #aeb8af; border-radius: 5px; }
.input-prefix span { color: #526055; }
.input-prefix input { min-height: 40px; padding-left: 7px; border: 0; outline: 0; }
.input-prefix:focus-within { outline: 3px solid #a34822; outline-offset: 2px; }
.filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 3px; }
.check-field { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.check-field input, .compare-choice input { width: 18px; height: 18px; accent-color: var(--green); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 700; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button-primary { color: var(--green); background: var(--orange); }
.button-primary:hover:not(:disabled) { background: var(--orange-hover); }
.button-secondary { color: var(--green); background: var(--cream); border-color: #9eaaa1; }
.button-secondary:hover { background: #eff2ed; }
.results-section { padding: 60px 0 24px; scroll-margin-top: 20px; }
.results-header { margin-bottom: 18px; }
.result-count { margin: 0; color: #4c5c51; font-size: 14px; font-weight: 650; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 24px; }
.product-image, .image-placeholder { width: 100%; height: 220px; object-fit: contain; background: #f7f4ed; }
.image-placeholder { display: grid; place-items: center; color: #58645b; font-size: 13px; }
.product-body { flex: 1; padding: 18px; }
.product-maker { margin-bottom: 6px; color: #59665c; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-title { min-height: 2.45em; margin-bottom: 8px; color: var(--green); font-size: 19px; line-height: 1.25; }
.product-price { margin-bottom: 4px; color: var(--green-ink); font-weight: 700; }
.availability { margin-bottom: 15px; color: #59665c; font-size: 12px; }
.product-facts, .detail-facts { display: grid; gap: 9px; margin: 0; }
.fact dt { margin-bottom: 2px; color: #59665c; font-size: 11px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.fact dd { margin: 0; color: #26392d; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eee9df; }
.compare-choice { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 650; cursor: pointer; }
.text-button, .product-link { border: 0; padding: 0; color: var(--green); background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; font-weight: 700; }
.product-link { margin-left: auto; }
.compare-toolbar { position: sticky; z-index: 2; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 16px; background: #eaf0eb; border: 1px solid #a9b8ac; border-radius: 8px; box-shadow: 0 4px 14px #14281f1a; }
.compare-toolbar p { flex: 1; min-width: 190px; margin: 0; font-size: 14px; }
.status-message { margin: 20px 0; color: #3f5045; line-height: 1.5; }
.status-message:empty { display: none; }
.status-message.empty { padding: 18px; background: #f6f1e7; border: 1px solid var(--border); border-radius: 7px; }
.status-message.error { padding: 16px; color: #6c241b; background: #fff1eb; border: 1px solid #d7a08e; border-radius: 7px; }
.comparison, .details { margin: 36px 0; padding: 28px; background: #f4f1e9; border: 1px solid #ded8ca; border-radius: 9px; scroll-margin-top: 20px; }
.comparison-heading, .details-heading { align-items: center; margin-bottom: 22px; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.compare-card { min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 7px; }
.compare-card h3 { color: var(--green); font-size: 18px; line-height: 1.3; }
.compare-card .detail-facts { margin-bottom: 16px; }
.comparison-content > .snapshot-note { margin: 16px 0 0; }
.detail-layout { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 25px; }
.detail-image { width: 100%; max-height: 340px; object-fit: contain; background: #fff; border-radius: 5px; }
.detail-info h3 { margin-bottom: 8px; color: var(--green); font-size: 25px; }
.detail-description { line-height: 1.6; white-space: pre-line; }
.detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; }
.detail-warnings { margin: 18px 0; padding: 14px 16px; color: #5f2b1e; background: #fff1eb; border: 1px solid #d7a08e; border-radius: 7px; }
.detail-warnings h4 { margin: 0 0 8px; color: #5f2b1e; font-size: 15px; }
.detail-warnings ul, .detail-sources ul { margin: 0; padding-left: 20px; }
.detail-warnings li + li, .detail-sources li + li { margin-top: 7px; }
.detail-sources { margin: 18px 0; font-size: 13px; line-height: 1.5; }
.detail-sources summary { color: var(--green); cursor: pointer; font-weight: 700; }
.detail-sources ul { margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-footer { margin-top: 60px; padding: 24px 20px; text-align: center; border-top: 1px solid var(--border); }
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 6px; }
.privacy-page { width: min(760px, calc(100% - 40px)); padding-bottom: 56px; }
.privacy-page .intro { padding-bottom: 24px; }
.privacy-page section { padding: 24px 0; border-top: 1px solid var(--border); }
.privacy-page h2 { margin-bottom: 10px; color: var(--green); font-size: clamp(22px, 3vw, 29px); }
.privacy-page p, .privacy-page li { line-height: 1.65; }
.privacy-page ul { margin: 0; padding-left: 22px; }
.privacy-page li + li { margin-top: 8px; }
.privacy-meta { color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
  .explorer { padding: 23px; }
}
@media (max-width: 560px) {
  .site-header { min-height: 62px; padding: 0 16px; }
  .wordmark { font-size: 11px; }
  .wordmark span { display: block; margin: 3px 0 0; font-size: 9px; }
  .prototype-label { padding: 6px 9px; font-size: 11px; }
  main { width: min(100% - 32px, 1120px); }
  .intro { padding-top: 45px; }
  .snapshot { padding: 15px; }
  .explorer { margin-top: 38px; padding: 18px 15px; }
  .filters { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .field-wide, .filter-actions { grid-column: 1; }
  .filter-actions { align-items: stretch; flex-direction: column; }
  .filter-actions .button { width: 100%; }
  .results-section { padding-top: 44px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-image, .image-placeholder { height: 230px; }
  .product-title { min-height: 0; }
  .comparison, .details { padding: 20px 15px; }
  .comparison-heading, .details-heading { align-items: flex-start; flex-direction: column; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-image { max-height: 260px; }
  .detail-facts { grid-template-columns: minmax(0, 1fr); }
  .compare-toolbar { bottom: 8px; align-items: stretch; }
  .compare-toolbar .button, .compare-toolbar .text-button { width: 100%; min-height: 40px; }
}
