:root {
  --ink: #12323a;
  --muted: #5b6c70;
  --paper: #f7fbfa;
  --surface: #ffffff;
  --teal: #006d6f;
  --teal-dark: #005255;
  --mint: #dff3ee;
  --coral: #9b352d;
  --peach: #fff0e9;
  --line: #d4e2df;
  --shadow: 0 18px 50px rgba(18, 50, 58, 0.11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .table-wrap:focus-visible {
  outline: 3px solid #0b0c0c;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #ffdd00;
}
.section-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(20px, calc((100% - 1160px) / 2));
  background: rgba(247, 251, 250, 0.94);
  border-bottom: 1px solid rgba(212, 226, 223, 0.86);
  backdrop-filter: blur(14px);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.wordmark-mark { display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--teal); border-radius: 12px; font-size: 0.78rem; letter-spacing: 0.06em; }
nav { display: flex; gap: 22px; }
nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: center;
  padding-block: 92px 68px;
}
.eyebrow, .mini-label { margin: 0 0 12px; color: var(--teal); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
h1 { max-width: 860px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 500; line-height: 0.99; letter-spacing: -0.04em; }
.lede { max-width: 760px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--teal-dark); background: var(--surface); border-color: var(--line); }
.button-text { color: var(--teal-dark); background: transparent; }
.privacy-note { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 0.91rem; }
.hero-card { padding: 30px; background: linear-gradient(145deg, var(--mint), #eef8f4); border: 1px solid #c6e4dc; border-radius: 30px; box-shadow: var(--shadow); transform: rotate(1deg); }
.check-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.disclosure { padding: 18px 22px; background: var(--peach); border: 1px solid #f4cbbf; border-radius: 16px; font-size: 0.92rem; }
.finder-section, .compare-section, .method-section, .faq { padding-block: 94px 20px; }
.section-heading { max-width: 780px; margin-bottom: 30px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.section-heading > p:last-child { color: var(--muted); }
.finder-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 26px; background: var(--ink); color: white; border-radius: var(--radius); box-shadow: var(--shadow); }
label { display: grid; align-content: start; gap: 7px; font-size: 0.9rem; font-weight: 750; }
input, select { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #b7cbc6; border-radius: 10px; font: inherit; }
.field-help { color: #c7d6d7; font-size: 0.74rem; font-weight: 450; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 2px; }
.finder-panel .button-primary { background: var(--coral); }
.finder-panel .button-text { color: white; }
.results-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0 16px; }
.results-header p { margin: 0; }
.sort-control { display: flex; grid-auto-flow: column; align-items: center; gap: 10px; color: var(--muted); }
.sort-control select { width: auto; min-width: 190px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(18, 50, 58, 0.06); }
.product-card-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.76rem; }
.merchant { color: var(--teal); font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.product-card h3 { margin: 14px 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 600; line-height: 1.08; }
.price { margin: 6px 0 14px; font-size: 1.35rem; font-weight: 850; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span { padding: 5px 9px; background: #eef5f3; border-radius: 999px; color: #35545a; font-size: 0.72rem; font-weight: 750; text-transform: capitalize; }
.tag-row .evidence-tag { background: var(--peach); color: #7b362e; }
.editorial-fit { min-height: 66px; color: var(--muted); }
dl { display: grid; gap: 14px; margin: 0 0 24px; }
dl div { padding-top: 12px; border-top: 1px solid var(--line); }
dt { font-size: 0.72rem; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
dd { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.product-link { margin-top: auto; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.empty-state { padding: 22px; background: var(--peach); border-radius: 14px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(18, 50, 58, 0.05); }
table { width: 100%; min-width: 980px; border-collapse: collapse; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: white; background: var(--ink); font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; }
tbody th { min-width: 190px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
small { color: var(--muted); }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.method-grid article { padding: 28px; background: var(--mint); border: 1px solid #c9e3dd; border-radius: var(--radius); }
.method-number { color: var(--coral); font-size: 0.82rem; font-weight: 900; }
.method-grid h3 { margin: 16px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.method-grid p { margin: 0; color: var(--muted); }
.faq { padding-bottom: 100px; }
details { padding: 18px 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 850; }
details p { max-width: 820px; color: var(--muted); }
footer { color: white; background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 28px; }
.footer-inner p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-card { transform: none; }
  .finder-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 64px; padding-inline: 12px; }
  nav { display: none; }
  .hero { gap: 30px; padding-block: 48px; }
  h1 { font-size: clamp(2.5rem, 13vw, 4.1rem); }
  .finder-section, .compare-section, .method-section, .faq { padding-top: 72px; }
  .finder-panel, .product-grid, .method-grid { grid-template-columns: 1fr; }
  .form-actions { justify-content: stretch; }
  .form-actions .button { flex: 1; }
  .results-header { align-items: stretch; flex-direction: column; }
  .sort-control { grid-auto-flow: row; }
  .sort-control select { width: 100%; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
