:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-strong: #eef4f1;
  --ink: #15201d;
  --muted: #5b6763;
  --line: #d7dfdc;
  --teal: #11796f;
  --teal-dark: #075f57;
  --blue: #284d8f;
  --amber: #9a6512;
  --red: #a33b2d;
  --violet: #6b5098;
  --shadow: 0 22px 50px rgba(22, 38, 34, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 9px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(215, 223, 220, 0.85);
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(21, 32, 29, 0.16);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

nav a.nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  padding: 0 12px;
  box-shadow: 0 10px 22px rgba(17, 121, 111, 0.18);
}

nav a.nav-action:hover,
nav a.nav-action:focus-visible {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: #fff;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 18px 0 12px;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 8px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.section-note {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.lede {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.status-strip {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.6fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.status-strip div {
  min-width: 0;
  padding: 10px 14px;
  background: var(--surface);
}

.status-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.status-strip strong {
  display: block;
  font-size: 0.95rem;
}

.comparison,
.contact-section,
.sources {
  scroll-margin-top: 88px;
  padding: 24px 0 56px;
}

.comparison-home {
  padding-top: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading.compact {
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-strong);
  color: #2f3d39;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody th {
  width: 28%;
  font-size: 0.98rem;
}

tbody td {
  color: var(--muted);
}

.product-cell {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.product-shot,
.image-placeholder {
  width: 82px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-shot {
  display: block;
  object-fit: contain;
  padding: 6px;
}

.image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  padding: 8px;
  text-align: center;
}

.product-name,
.supplier-name {
  display: block;
  color: var(--ink);
}

.product-name {
  margin-bottom: 3px;
  font-weight: 850;
}

.supplier-name {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.name-link {
  text-decoration: none;
}

.name-link:hover,
.name-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 12px;
}

.detail-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9aa6a2;
  content: "";
}

.price-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 400;
  list-style: none;
}

.location-text,
.price-text,
.availability-text {
  color: var(--ink);
}

.price-text {
  font-size: 1rem;
}

.warning-note {
  max-width: 280px;
  margin: 0;
  color: #4d3935;
  font-weight: 650;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 850;
  padding: 0 12px;
  text-decoration: none;
}

.source-link:hover,
.source-link:focus-visible {
  border-color: var(--blue);
  outline: 0;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 0 10px;
  white-space: nowrap;
}

.badge-good {
  background: #e2f1ee;
  color: var(--teal-dark);
}

.badge-wait {
  background: #f8edd8;
  color: var(--amber);
}

.badge-info {
  background: #e8eefb;
  color: var(--blue);
}

.badge-neutral {
  background: #eeeaf5;
  color: var(--violet);
}

.badge-stop {
  background: #f6e4df;
  color: var(--red);
}

.muted {
  color: var(--muted);
}

.empty-state {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 750;
}

.contact-section {
  padding-top: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(17, 121, 111, 0.15);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.submit-button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 16px;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.form-status.is-error {
  color: var(--red);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.source-grid p {
  color: var(--muted);
}

.source-grid a {
  color: var(--blue);
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px clamp(18px, 4vw, 52px);
  color: var(--muted);
}

.site-footer p {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer .affiliate-disclosure {
  margin-top: 12px;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: min(1180px, 100%);
  margin: 14px auto 0;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
}

.footer-status {
  width: min(1180px, 100%);
  margin: 18px auto 0;
}

.page-shell {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.page-shell h1 {
  margin-bottom: 12px;
}

.page-shell h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.page-shell p,
.page-shell li {
  color: var(--muted);
}

.page-shell ul {
  padding-left: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.page-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.takeaways,
.citation-list,
.related-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
}

.takeaways h2,
.citation-list h2,
.related-list h2 {
  margin-top: 0;
}

.citation-list a,
.related-list a,
.page-shell a {
  color: var(--blue);
  font-weight: 800;
}

.blog-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.blog-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.blog-list h2 {
  margin-top: 0;
}

.blog-list p {
  margin-bottom: 10px;
}

.page-table {
  width: 100%;
  min-width: 0;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.page-table table {
  min-width: 0;
}

.page-table th,
.page-table td {
  padding: 12px;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 16px;
  }

  .status-strip,
  .source-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(2.15rem, 13vw, 3.45rem);
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    min-width: 0;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  tbody tr {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(22, 38, 34, 0.06);
  }

  tbody tr + tr {
    margin-top: 12px;
  }

  tbody th,
  tbody td {
    width: auto;
    border-bottom: 1px solid var(--line);
    padding: 13px 14px;
  }

  tbody th {
    font-size: 1.05rem;
  }

  .product-cell {
    grid-template-columns: 74px minmax(0, 1fr);
    min-width: 0;
  }

  .product-shot,
  .image-placeholder {
    width: 74px;
    height: 74px;
  }

  .warning-note {
    max-width: none;
  }

  tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  tbody td:last-child {
    border-bottom: 0;
  }
}
