:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #617080;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --brand: #176b5b;
  --brand-dark: #0f4c42;
  --accent: #c8572f;
  --gold: #f0b84b;
  --radius: 8px;
  --shadow: 0 14px 38px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}

.notice {
  background: #f7f8f6;
  color: #5d6661;
  border-bottom: 1px solid #e5e9e4;
  font-size: 12px;
  line-height: 1.45;
}

.notice-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 7px 20px;
}

.notice a {
  color: #30443d;
  font-weight: 650;
  text-decoration-color: rgba(48, 68, 61, 0.35);
}

.hero {
  background: linear-gradient(180deg, #eff7f4 0%, #f5f7fa 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 26px;
  align-items: center;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.hero-media img,
.feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 12px;
}

.hero-copy .lead {
  font-size: 16px;
  margin-bottom: 18px;
}

.hero-media figcaption,
.feature-image figcaption {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  background: var(--paper);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 16px;
}

.hero-panel h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hero-panel ul,
.check-list {
  margin: 0;
  padding-left: 20px;
}

.hero-panel li,
.check-list li {
  margin: 8px 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px;
}

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

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
}

.section-kicker h2 {
  max-width: 520px;
}

.section-lines {
  display: grid;
  gap: 4px;
}

.section-lines span {
  display: block;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(31, 41, 51, 0.04);
}

.card.with-image {
  padding: 0;
  overflow: hidden;
}

.card.with-image .card-body {
  padding: 18px;
}

.card-image {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--line);
}

.card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 10px;
  margin-top: 16px;
}

.card-actions .btn {
  width: 100%;
  min-height: 42px;
  padding-inline: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f4f0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 750;
}

.product-list {
  display: grid;
  gap: 14px;
}

.product-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb title button"
    "thumb desc button";
  gap: 18px;
  align-items: center;
}

.product-row.no-thumb {
  grid-template-columns: minmax(0, 1fr) 154px;
  grid-template-areas: "title button";
}

.product-row.no-thumb > div:first-child {
  grid-area: title;
  min-width: 0;
}

.product-row h3 {
  margin: 8px 0 8px;
}

.product-row p {
  margin: 0;
  color: var(--muted);
}

.product-title {
  grid-area: title;
  margin: 0;
}

.product-thumb {
  grid-area: thumb;
  display: block;
  width: 156px;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  overflow: hidden;
  background: var(--line);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-desc {
  grid-area: desc;
  min-width: 0;
  margin: 0;
  color: var(--muted);
}

.product-row .btn {
  grid-area: button;
}

.product-actions {
  grid-area: button;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.product-actions .btn {
  width: 100%;
}

.pick-detail {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
}

.pick-detail h3 {
  color: var(--brand-dark);
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0;
}

.pros-cons h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.compare-table th:first-child {
  width: 24%;
}

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

.product-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-note h3 {
  margin-bottom: 12px;
}

.product-note-main {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.product-note-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
  margin: 0;
  background: var(--line);
}

.product-note-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-note p {
  margin: 0 0 12px;
  color: var(--muted);
}

.product-note-actions {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  width: fit-content;
  margin-left: auto;
  margin-top: auto;
  padding-top: 14px;
}

.product-note-actions .btn {
  min-width: 0;
  min-height: 40px;
  padding: 7px 8px;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 7px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  border: 1px solid var(--brand);
  min-width: 0;
  white-space: nowrap;
}

.btn:hover {
  background: var(--brand-dark);
  color: white;
  text-decoration: none;
}

.btn.secondary {
  background: var(--paper);
  color: var(--brand);
}

.page {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 34px 20px;
  min-width: 0;
}

.article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 42px);
  min-width: 0;
  overflow-wrap: anywhere;
}

.article h1 {
  font-size: clamp(30px, 4.5vw, 46px);
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.feature-image {
  margin: 22px 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  width: 100%;
  max-width: 100%;
}

.feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 420px;
  object-fit: cover;
}

.verdict {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 16px 18px;
  margin: 24px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  table-layout: fixed;
}

.spec-table th,
.spec-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.spec-table th {
  width: 32%;
  color: var(--muted);
  font-weight: 750;
}

.cta-box {
  background: #eef7f4;
  border: 1px solid #c8e2d9;
  border-radius: var(--radius);
  padding: 18px;
  margin: 26px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.site-footer {
  margin-top: 34px;
  background: #16211f;
  color: #d7e0dc;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.footer-inner a {
  color: #d7f5ea;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 760px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .nav,
  .footer-inner,
  .section-head,
  .cta-box {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .product-note-grid,
  .pros-cons,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 22px 20px 28px;
  }

  .hero-media {
    order: -1;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .product-row {
    display: block;
    overflow: hidden;
  }

  .product-title {
    display: block;
    margin-bottom: 10px;
  }

  .product-thumb {
    float: left;
    width: 132px;
    margin: 0 12px 8px 0;
  }

  .product-desc {
    display: block;
    margin: 0;
  }

  .btn {
    width: 100%;
  }

  .product-row .btn {
    clear: both;
    margin-top: 10px;
  }

  .product-actions {
    clear: both;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .product-actions .btn {
    margin-top: 0;
  }

  .article {
    padding: 20px;
  }

  .feature-image img {
    max-height: 280px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .compare-table {
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    overflow: visible;
  }

  .compare-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .compare-table tr {
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .compare-table tr:first-child {
    display: none;
  }

  .compare-table th,
  .compare-table td {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.45;
  }

  .compare-table th::before,
  .compare-table td::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .compare-table th::before {
    content: "Product";
  }

  .compare-table td:nth-child(2)::before {
    content: "Best for";
  }

  .compare-table td:nth-child(3)::before {
    content: "Skip if";
  }

  .compare-table td:nth-child(4)::before {
    content: "Retailer";
  }

  .compare-table th:first-child {
    width: 100%;
    color: var(--ink);
  }

  .compare-table td:last-child {
    width: 100%;
    border-bottom: 0;
  }

  .product-note-image {
    float: left;
    width: 150px;
    margin: 0 12px 8px 0;
  }

  .product-note-main {
    display: block;
    overflow: hidden;
  }

  .product-note-copy {
    display: block;
  }

  .product-note-actions {
    clear: both;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-left: 0;
  }

  .card-actions .btn,
  .product-note-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }
}
