:root {
  color-scheme: light;
  --ink: #182230;
  --muted: #66758a;
  --line: #d7dee8;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --brand: #155e75;
  --brand-dark: #0f3f54;
  --accent: #7c3aed;
  --gold: #f59e0b;
  --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: #f7f8fb;
  color: #5f6f84;
  border-bottom: 1px solid #e3e9f2;
  font-size: 12px;
  line-height: 1.45;
}

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

.notice a {
  color: #164e63;
  font-weight: 650;
  text-decoration-color: rgba(22, 78, 99, 0.35);
}

.hero {
  background: linear-gradient(180deg, #edf7fb 0%, #f4f7fb 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;
  }
}


/* VS comparison shopping layer */
.vs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vs-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.vs-card p {
  margin: 10px 0;
}

.scenario-notes {
  display: grid;
  gap: 12px;
  margin: 14px 0 24px;
}

.scenario-notes blockquote {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  color: var(--ink);
  border-radius: 0 7px 7px 0;
}

.note-disclaimer {
  color: var(--muted);
  font-size: 14px;
  margin-top: -6px;
}

.product-vs-layout {
  margin: 24px 0 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.product-pair-layout > h2 {
  text-align: center;
  margin-bottom: 18px;
}

.pair-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.pair-product {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-option-label,
.option-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, white);
  color: var(--brand-dark);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, white);
  font-weight: 850;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.product-option-label.inline {
  display: inline-flex;
  margin-right: 8px;
  vertical-align: middle;
}

.pair-product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}

.pair-product h3 {
  margin: 0;
  min-height: 46px;
}

.pair-vs {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  box-shadow: var(--shadow);
}

.pair-compare-table {
  display: grid;
  gap: 0;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}

.compare-param,
.compare-value {
  padding: 13px;
  min-width: 0;
}

.compare-param {
  grid-column: 1 / -1;
  background: color-mix(in srgb, var(--brand) 10%, white);
  font-weight: 850;
}

.compare-value {
  display: grid;
  grid-template-columns: auto 24px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  border-left: 1px solid var(--line);
}

.compare-param + .compare-value {
  border-left: 0;
}

.compare-value .mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.compare-value.is-good .mark {
  background: #dcfce7;
  color: #166534;
}

.compare-value.is-weak .mark {
  background: #fee2e2;
  color: #991b1b;
}

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

.pair-details article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.pair-details p {
  color: var(--muted);
}

.pair-note {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

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

.vs-mini-grid p {
  color: var(--muted);
  margin: 7px 0;
}

.vs-mini-grid ul {
  margin: 0;
  padding-left: 18px;
}

.legacy-feature-image {
  display: none;
}


:root { --brand: #7a2e0e; --brand-dark: #481a08; --accent: #0f766e; --gold: #d97706; --soft: #fff7ed; --line: #ecd8c6; }
body { background: #fffaf5; }
.site-header { border-bottom-color: #ead7c0; }
.brand-mark { background: linear-gradient(135deg, #7a2e0e, #0f766e); }
.hero { background: #fff4e6; }
.hero-inner { grid-template-columns: minmax(310px, .88fr) minmax(0, 1.12fr); align-items: stretch; }
.hero-media { order: 2; box-shadow: 0 20px 46px rgba(122,46,14,.16); }
.hero-copy { order: 1; display: flex; flex-direction: column; justify-content: center; }
.card { box-shadow: none; border-color: #ead7c0; }
.card.with-image { border-top: 4px solid #0f766e; }
.product-note { border-left: 4px solid #7a2e0e; box-shadow: 0 10px 28px rgba(122,46,14,.07); }
.vs-strip { background: #fff; border-top: 1px solid #ead7c0; border-bottom: 1px solid #ead7c0; }
.vs-card strong { color: #7a2e0e; }
@media (max-width: 760px) { .hero-media, .hero-copy { order: initial; } }


@media (max-width: 900px) {
  .vs-grid { grid-template-columns: 1fr; }
  .article {
    padding-inline: 8px;
  }
  .product-vs-layout {
    margin: 18px 0 24px;
    padding: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .product-pair-layout > .eyebrow {
    margin-left: 4px;
  }
  .product-pair-layout > h2 {
    font-size: 24px;
    text-align: left;
    margin: 0 4px 12px;
  }
  .pair-top {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pair-product {
    padding: 6px;
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .pair-product img {
    border: 0;
    border-radius: 6px;
  }
  .pair-product h3 {
    min-height: 0;
    font-size: 18px;
  }
  .pair-vs {
    justify-self: center;
    width: 44px;
    height: 44px;
    font-size: 15px;
    box-shadow: none;
  }
  .pair-compare-table {
    margin: 10px 0;
    border-left: 0;
    border-right: 0;
    border-color: color-mix(in srgb, var(--line) 65%, white);
    border-radius: 0;
    background: transparent;
  }
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-param,
  .compare-value {
    padding: 9px 8px;
  }
  .compare-param {
    background: transparent;
    color: var(--brand-dark);
    padding-bottom: 6px;
  }
  .compare-value {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: auto 20px minmax(0, 1fr);
    font-size: 14px;
  }
  .option-label,
  .product-option-label {
    height: 24px;
    padding-inline: 7px;
    font-size: 10px;
  }
  .compare-value .mark {
    width: 20px;
    height: 20px;
  }
  .pair-details {
    gap: 10px;
  }
  .pair-details article {
    padding: 8px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  .pair-details article h3 {
    font-size: 18px;
  }
  .pair-details {
    grid-template-columns: 1fr;
  }
  .pair-note {
    margin-top: 10px;
  }
}


/* Guide pages as VS comparison pages */
.guide-vs-intro {
  margin: 26px 0 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.guide-vs-intro h2 {
  margin-top: 0;
}

.guide-pair-layout {
  margin-block: 20px;
}

.guide-pair-layout > h2 {
  font-size: clamp(24px, 3vw, 34px);
}

@media (max-width: 900px) {
  .guide-vs-intro {
    margin: 18px 0 14px;
    padding: 12px;
  }
}
