:root {
  color-scheme: light;
  --ink: #1f3028;
  --muted: #65736a;
  --paper: #f6f4ed;
  --card: #fffefa;
  --green: #bce779;
  --green-soft: #e8f1dc;
  --dark: #203d32;
  --line: #e4e6dc;
  --serif: 'Roboto Serif', Georgia, serif;
  --sans: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 18px 48px rgba(32,61,50,.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; padding-bottom: 110px; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1120px, calc(100% - 42px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid rgba(228,230,220,.85); background: rgba(246,244,237,.93); backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.mark { width: 32px; height: 32px; }
.back-link { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #739844; outline-offset: 3px; }
main { padding: 29px 0 55px; }
.hero { position: relative; overflow: hidden; min-height: 270px; padding: clamp(28px, 5vw, 55px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 28px; background: var(--dark); color: white; }
.hero::after { content: ''; position: absolute; width: 360px; height: 360px; top: -235px; right: 5%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.02); }
.hero-copy { position: relative; z-index: 1; max-width: 660px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #bce779; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.eyebrow::before { content: ''; width: 19px; height: 2px; border-radius: 2px; background: currentColor; }
h1 { margin: 13px 0 11px; font: 500 clamp(35px, 5.5vw, 58px)/1.04 var(--serif); letter-spacing: -.055em; }
.hero p { max-width: 590px; margin: 0; color: rgba(255,255,255,.77); font-size: 14px; line-height: 1.7; }
.hero-mark { position: relative; z-index: 1; width: 156px; height: 156px; flex: 0 0 156px; display: grid; place-items: center; border: 1px solid rgba(188,231,121,.38); border-radius: 50%; color: #bce779; }
.hero-mark::before, .hero-mark::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.hero-mark::before { inset: 15px; }
.hero-mark::after { inset: 31px; border-color: rgba(188,231,121,.38); }
.hero-mark span { position: absolute; width: 64px; height: 2px; background: #bce779; transform: rotate(45deg); }
.hero-mark span:nth-child(2) { transform: rotate(-45deg); }
.hero-mark b { position: relative; padding: 5px 8px; border-radius: 7px; background: var(--dark); font-size: 13px; letter-spacing: .08em; }
.picker-section { padding-top: 43px; }
.result-intro { margin: 22px 0 0; padding: 30px clamp(20px, 4vw, 42px); border-radius: 23px; background: var(--dark); color: white; }
.result-intro h1 { margin: 12px 0 8px; font: 500 clamp(30px, 4vw, 46px)/1.08 var(--serif); letter-spacing: -.045em; }
.result-intro p { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.6; }
.result-error { margin-top: 28px; }
.result-error a { color: #526f3f; font-weight: 800; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-heading .eyebrow { color: #68864c; }
h2 { margin: 7px 0 0; font: 500 clamp(27px, 4vw, 38px)/1.1 var(--serif); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.search { min-height: 57px; margin-bottom: 13px; padding: 6px 7px 6px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); box-shadow: 0 7px 22px rgba(32,61,50,.04); }
.search > span { color: var(--muted); font-size: 24px; line-height: 1; }
.search input { min-width: 0; flex: 1; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 13px; }
.search input::placeholder { color: #879087; }
.search button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 11px; background: var(--green); color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.search button:hover { background: #add965; }
.type-filter-wrap { margin: 14px 0 12px; }
.type-filter-label { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; }
.type-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.type-filter-button { min-height: 36px; padding: 0 11px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.type-filter-button:hover { border-color: #9bb77b; color: var(--ink); }
.type-filter-button.active { border-color: var(--dark); background: var(--dark); color: white; }
.type-filter-count { min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--green-soft); color: var(--dark); font-size: 9px; }
.type-filter-button.active .type-filter-count { background: rgba(255,255,255,.17); color: white; }
.guidance { margin-bottom: 17px; padding: 12px 14px; border-radius: 12px; background: #eef2e7; color: #526448; font-size: 11px; line-height: 1.6; }
.guidance.warning { background: #fff0e4; color: #87542d; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { position: relative; min-width: 0; overflow: hidden; padding: 12px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 19px; background: var(--card); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-card.selected { border-color: #8cab69; box-shadow: 0 0 0 2px rgba(140,171,105,.16); }
.product-photo { width: 100%; aspect-ratio: 1.45; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: #f0f2eb; object-fit: cover; }
.product-photo.placeholder { color: #68864c; font-size: 32px; }
.product-type { margin: 13px 2px 0; color: #68864c; text-transform: uppercase; letter-spacing: .09em; font-size: 9px; font-weight: 800; }
.product-card h3 { margin: 6px 2px 0; font: 500 18px/1.4 var(--serif); }
.product-card p { min-height: 39px; margin: 7px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.spec-pills { margin: 11px 0 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.spec-pill { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fafaf6; color: #53604f; font-size: 9px; font-weight: 750; }
.compare-card-price { margin: 0 2px 12px; display: grid; justify-items: start; gap: 4px; color: #526f3f; font-size: 10px; font-weight: 800; }
.compare-card-price strong { color: var(--ink); font-size: 12px; }
.compare-card-price small, .price-comparison span { color: var(--muted); font-size: 9px; font-weight: 500; }
.compare-card-price a { color: #526f3f; text-underline-offset: 2px; }
.select-button { width: 100%; min-height: 42px; margin-top: auto; border: 1px solid var(--dark); border-radius: 11px; background: transparent; color: var(--dark); font-size: 11px; font-weight: 800; cursor: pointer; }
.select-button:hover, .product-card.selected .select-button { background: var(--dark); color: white; }
.select-button:disabled { border-color: #d9ddd4; background: #e6e9e1; color: #7b8577; cursor: not-allowed; }
.product-card.selected .select-button::before { content: '✓ '; }
.empty-state { min-height: 175px; padding: 25px; display: grid; align-content: center; justify-items: center; gap: 8px; border: 1px dashed #c9d1c3; border-radius: 20px; background: rgba(255,254,250,.62); color: var(--muted); font-size: 12px; text-align: center; line-height: 1.6; }
.empty-state strong { color: var(--ink); font: 500 21px var(--serif); }
.comparison { padding-top: 52px; scroll-margin-top: 90px; }
.comparison-visuals { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 14px; margin-bottom: 16px; align-items: stretch; }
.chart-panel, .ingredient-panel, .strength-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.radar-panel { grid-column: 1 / -1; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.radar-svg { display: block; width: min(100%, 650px); height: auto; margin: 2px auto 0; overflow: visible; }
.radar-grid { fill: none; stroke: #dfe2d8; stroke-width: 1; }
.radar-axis { stroke: #cbd2c4; stroke-width: 1.25; }
.radar-area { stroke-width: 4; stroke-linejoin: round; }
.radar-dot { stroke-width: 2.5; }
.radar-label { fill: var(--ink); font: 750 12px/1.2 var(--sans); }
.radar-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px; margin-top: 5px; }
.radar-summary { min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-left: 4px solid var(--radar-accent); border-radius: 11px; background: #fcfcf8; }
.radar-summary h4 { margin: 0; color: var(--ink); font: 600 12px/1.4 var(--serif); }
.radar-summary p { margin: 7px 0; color: var(--muted); font-size: 10px; }
.radar-summary p strong { color: var(--ink); }
.radar-summary dl { display: grid; gap: 4px; margin: 0; }
.radar-summary dl div { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; }
.radar-summary dt { color: var(--muted); }
.radar-summary dd { margin: 0; color: var(--ink); font-weight: 750; }
.visual-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.visual-heading .eyebrow { color: #68864c; }
.visual-heading h3 { margin: 6px 0 0; font: 500 23px/1.2 var(--serif); letter-spacing: -.035em; }
.visual-heading > p { max-width: 180px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 9px 15px; margin: 14px 0 13px; }
.chart-legend-item { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.chart-swatch { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 3px; }
.tone-0 { background: #2f6b27; }
.tone-1 { background: #c24130; }
.tone-2 { background: #2458c6; }
.tone-3 { background: #7c3aed; }
.tone-4 { background: #b45309; }
.tone-5 { background: #0f766e; }
.tone-6 { background: #be185d; }
.chart-metric { padding: 11px 0; border-top: 1px solid var(--line); }
.chart-metric-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.chart-metric-heading strong { font-size: 11px; }
.chart-metric-heading span { color: var(--muted); font-size: 9px; }
.chart-series { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(85px, 1.5fr) auto; align-items: center; gap: 8px; margin-top: 7px; }
.chart-series-name { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.chart-track { height: 9px; overflow: hidden; border-radius: 99px; background: #edf0e8; }
.chart-bar { display: block; min-width: 2px; height: 100%; border-radius: inherit; transition: width .35s ease; }
.chart-series strong { color: var(--ink); font-size: 10px; white-space: nowrap; }
.chart-note { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.ingredient-panel { grid-column: 1 / -1; display: flex; flex-direction: column; }
.ingredient-panel .visual-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
.ingredient-panel .visual-heading > p { max-width: none; }
.strength-panel { grid-column: 1 / -1; display: flex; flex-direction: column; }
.strength-panel .visual-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
.strength-panel .visual-heading > p { max-width: none; }
.ingredient-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 11px; margin-top: 13px; }
.strength-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 11px; margin-top: 13px; }
.ingredient-card { padding: 14px; border: 1px solid var(--line); border-left: 3px solid #5b7d3c; border-radius: 11px; background: #fcfcf8; }
.strength-card { padding: 14px; border: 1px solid var(--line); border-left: 3px solid #5b7d3c; border-radius: 11px; background: #fcfcf8; }
.ingredient-card.tone-border-1, .strength-card.tone-border-1 { border-left-color: #c24130; }
.ingredient-card.tone-border-2, .strength-card.tone-border-2 { border-left-color: #2458c6; }
.ingredient-card.tone-border-3, .strength-card.tone-border-3 { border-left-color: #7c3aed; }
.ingredient-card.tone-border-4, .strength-card.tone-border-4 { border-left-color: #b45309; }
.ingredient-card.tone-border-5, .strength-card.tone-border-5 { border-left-color: #0f766e; }
.ingredient-card.tone-border-6, .strength-card.tone-border-6 { border-left-color: #be185d; }
.ingredient-card .product-type { margin: 0; font-size: 8px; }
.ingredient-card h3 { margin: 4px 0 7px; font: 500 13px/1.35 var(--serif); }
.strength-card .product-type { margin: 0; font-size: 8px; }
.strength-card h4 { margin: 4px 0 7px; font: 500 13px/1.35 var(--serif); }
.ingredient-card ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.strength-card ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ingredient-card li { display: grid; gap: 2px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.strength-card li { display: grid; gap: 2px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.ingredient-card li strong { color: var(--ink); font-size: 12px; }
.strength-card li strong { color: var(--ink); font-size: 12px; }
.benefit-source { display: inline-block; margin-top: 11px; color: #526f3f; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.price-check-link { color: #526f3f; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.current-price { color: var(--ink); font-size: 13px; }
.price-comparison { display: grid; justify-items: start; gap: 4px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.comparison-table { min-width: 600px; }
.compare-row { display: grid; grid-template-columns: minmax(140px, .72fr) repeat(var(--product-count), minmax(170px, 1fr)); }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-cell { min-width: 0; padding: 15px 17px; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.compare-label { background: #f7f8f2; color: var(--ink); font-size: 11px; font-weight: 800; }
.compare-heading { min-height: 180px; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.compare-heading img, .compare-heading .compare-photo-placeholder { width: 72px; height: 72px; border-radius: 10px; background: #f0f2eb; object-fit: cover; }
.compare-heading .compare-photo-placeholder { display: grid; place-items: center; color: #68864c; font-size: 24px; }
.compare-heading strong { font: 500 14px/1.4 var(--serif); color: var(--ink); }
.compare-heading a { margin-top: auto; color: #526f3f; font-size: 10px; font-weight: 800; text-decoration: none; }
.compare-heading a:hover { text-decoration: underline; }
.comparison-footnote { margin: 12px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.compare-tray { position: fixed; z-index: 6; inset: auto 0 0; padding: 10px 21px; border-top: 1px solid rgba(228,230,220,.95); background: rgba(255,254,250,.96); box-shadow: 0 -12px 35px rgba(32,61,50,.08); backdrop-filter: blur(14px); }
.tray-inner { width: min(1120px, 100%); min-height: 60px; margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.tray-copy { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); font-size: 11px; font-weight: 700; }
.tray-count { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--dark); font-weight: 900; }
.tray-items { min-width: 0; flex: 1; display: flex; gap: 7px; overflow-x: auto; }
.tray-item { max-width: 190px; padding: 8px 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.tray-item button { margin-left: 5px; padding: 0 2px; border: 0; background: transparent; color: inherit; font-weight: 900; cursor: pointer; }
.compare-button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--dark); color: white; font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.compare-button:disabled { background: #d9ddd4; color: #7f897b; cursor: not-allowed; }
footer { padding: 21px 0 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-row { display: flex; justify-content: space-between; gap: 15px; }
[hidden] { display: none !important; }
@media (max-width: 820px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .comparison-visuals { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  body { padding-bottom: 93px; }
  .wrap { width: min(100% - 28px, 500px); }
  .nav { min-height: 63px; gap: 9px; }
  .brand { gap: 6px; font-size: 11px; }
  .mark { width: 28px; height: 28px; }
  .back-link { font-size: 10px; white-space: nowrap; }
  main { padding-top: 19px; }
  .hero { min-height: 230px; padding: 25px 21px; border-radius: 23px; }
  .hero-mark { width: 74px; height: 74px; flex-basis: 74px; }
  .hero-mark::before { inset: 8px; }
  .hero-mark::after { inset: 16px; }
  .hero-mark span { width: 34px; }
  .hero-mark b { font-size: 10px; }
  h1 { font-size: 38px; }
  .hero p { max-width: 330px; font-size: 12px; }
  .picker-section { padding-top: 33px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .search { min-height: 52px; gap: 8px; padding-left: 12px; }
  .search input { font-size: 11px; }
  .search button { min-height: 39px; padding-inline: 12px; font-size: 10px; }
  .product-grid { grid-template-columns: 1fr; gap: 10px; }
  .product-card { display: grid; grid-template-columns: 106px minmax(0,1fr); grid-template-rows: auto auto 1fr auto; gap: 0 12px; padding: 10px; }
  .product-photo { grid-row: 1 / span 4; width: 106px; height: 100%; min-height: 120px; aspect-ratio: auto; }
  .product-type { margin-top: 2px; }
  .product-card h3 { font-size: 15px; }
  .product-card p { min-height: 0; margin-top: 5px; font-size: 10px; }
  .spec-pills { margin: 8px 0; }
  .select-button { grid-column: 2; min-height: 37px; }
  .compare-tray { padding: 8px 13px; }
  .tray-inner { min-height: 58px; gap: 8px; flex-wrap: wrap; }
  .tray-copy { font-size: 10px; }
  .tray-count { width: 25px; height: 25px; }
  .tray-items { flex: 1 1 calc(100% - 105px); order: 3; }
  .tray-item { padding: 6px 8px; font-size: 9px; }
  .compare-button { min-height: 39px; margin-left: auto; padding-inline: 13px; font-size: 10px; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
