/* The Consumer Choice — editorial affiliate layout
   Built from patterns observed on ConsumerBags, AutoGuide,
   ThisIsWhyImBroke and BestReviews.guide. */

:root {
  --ink: #202124;
  --muted: #65686d;
  --rule: #d7d9dc;
  --soft-rule: #e8e9eb;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --navy: #183b5b;
  --blue: #2864c7;
  --blue-hover: #194f9f;
  --warning: #fff8dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.67;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  background: #fff;
  border-top: 5px solid var(--navy);
  border-bottom: 1px solid #bfc3c7;
}
.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 40px), 728px);
  margin: 0 auto;
}
.header-inner { display: flex; align-items: center; }
.brand {
  color: #18191b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
  text-decoration: none;
  text-transform: uppercase;
}
.nav { display: none; }
.page { min-height: 72vh; }

.article { padding: 36px 0 62px; }
.article-head {
  margin-bottom: 25px;
  text-align: center;
}
.kicker {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  color: #1b1d20;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
h1 {
  max-width: 720px;
  margin: 0 auto 13px;
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.1;
  text-wrap: balance;
}
h2 {
  margin: 39px 0 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.25px;
  line-height: 1.2;
}
h3 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.25;
}
.dek {
  max-width: 675px;
  margin: 0 auto 17px;
  color: #4b4e53;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  font-style: normal;
  line-height: 1.45;
}
.byline {
  margin: 0;
  color: #666a70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .65px;
  line-height: 1.6;
  text-transform: uppercase;
}
.disclosure-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b5158;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-transform: inherit;
}

.hero,
.article-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 25px 0 21px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.caption,
.cta-note { display: none; }
.article p { margin: 0 0 19px; }
.lead {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
}
.article a:not(.cta):not(.brand) {
  color: var(--blue);
  text-underline-offset: 3px;
}

.truth-box {
  margin: 28px 0 30px;
  padding: 20px 22px 22px;
  border: 1px solid #cfd2d5;
  border-left: 5px solid var(--navy);
  border-radius: 0;
  background: #f6f6f4;
}
.truth-box h3,
.offer-box h2 { margin-top: 0; }
.truth-box p { margin: 7px 0; }

.honest-use {
  margin: 25px 0;
  padding: 16px 0 15px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--rule);
  background: transparent;
}
.honest-use p { margin: 0; }

.cta {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 24px 0 30px;
  padding: 13px 18px;
  border: 1px solid #1c53ac;
  border-radius: 3px;
  background: var(--blue);
  box-shadow: none;
  color: #fff !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.cta:hover,
.cta:focus-visible {
  background: var(--blue-hover);
  transform: none;
}
.cta:focus-visible,
.disclosure-link:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid #f2b632;
  outline-offset: 3px;
}

.criteria {
  margin: 10px 0 28px;
  padding-left: 28px;
  counter-reset: criteria;
  list-style: none;
}
.criteria li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 37px;
  border-bottom: 1px solid var(--soft-rule);
}
.criteria li:first-child { border-top: 1px solid var(--soft-rule); }
.criteria li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 25px;
  height: 25px;
  border: 1px solid #9ca1a6;
  border-radius: 50%;
  color: #36393d;
  content: counter(criteria);
  counter-increment: criteria;
  font-size: 13px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
}
.check-list {
  margin: 16px 0 29px;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 10px 8px 10px 25px;
  border-bottom: 1px solid var(--rule);
}
.check-list li::before {
  position: absolute;
  left: 5px;
  color: var(--navy);
  content: "✓";
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 27px 0 30px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.step {
  padding: 16px 14px 17px;
  border-right: 1px solid var(--rule);
  background: #fff;
}
.step:last-child { border-right: 0; }
.step img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  border-radius: 0;
  object-fit: cover;
}
.step strong,
.step span { display: block; }
.step strong {
  margin-bottom: 3px;
  font-size: 15px;
}
.step span {
  color: #5d6166;
  font-size: 13px;
  line-height: 1.45;
}
.warning {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid #ddce91;
  border-radius: 0;
  background: var(--warning);
  font-size: 14px;
  line-height: 1.55;
}
.offer-box {
  margin: 35px 0;
  padding: 24px 25px 26px;
  border: 2px solid #2e3338;
  border-radius: 0;
  background: #fff;
}
.offer-box h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 27px;
}
.offer-box ul { margin: 14px 0 19px; padding-left: 22px; }
.offer-box li { margin: 6px 0; }
.price {
  margin: 8px 0 !important;
  color: #151719;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 27px;
  font-weight: 800;
}
.fineprint {
  padding: 14px;
  border: 1px solid var(--rule);
  background: var(--soft);
  color: #4d5156;
  font-size: 13px;
  line-height: 1.55;
}
.offer-box .cta { margin-bottom: 0; }
.divider {
  height: 1px;
  margin: 42px 0 0;
  background: #aeb2b6;
}
.source-list {
  padding-left: 21px;
  color: #62666b;
  font-size: 13px;
  line-height: 1.55;
}
.source-list li { margin: 8px 0; }
.reference-notes {
  margin: 38px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: #72767b;
  font-size: 11px;
  line-height: 1.45;
}
.reference-notes p { margin: 0 0 5px; }
.reference-heading {
  color: #5b6065;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .55px;
  text-transform: uppercase;
}

/* Homepage: a plain publisher front, not a landing-page card stack. */
.home { padding: 42px 0 68px; }
.home-head {
  margin-bottom: 30px;
  padding-bottom: 27px;
  border-bottom: 1px solid #bfc3c7;
  text-align: left;
}
.home-head h1 { margin-left: 0; text-align: left; }
.home-head .dek { margin-left: 0; }
.home-head .byline { margin-top: 15px; }
.feature {
  margin: 0;
  padding: 0 0 35px;
  border-bottom: 1px solid #bfc3c7;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.feature-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 18px;
  border-radius: 0;
}
.meta {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.feature h2 { margin: 0 0 12px; font-size: 31px; }
.feature p { margin: 0 0 15px; }
.feature .cta { margin-bottom: 0; }
.home-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--rule);
}
.proof-item {
  padding: 17px 15px 19px;
  border-right: 1px solid var(--rule);
  background: #fff;
}
.proof-item:last-child { border-right: 0; }
.proof-item strong,
.proof-item span { display: block; }
.proof-item strong {
  margin-bottom: 5px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}
.proof-item span {
  color: #5a5e63;
  font-size: 13px;
  line-height: 1.5;
}

.simple { padding: 39px 0 64px; }
.simple h1 {
  margin-left: 0;
  font-size: 38px;
  text-align: left;
}
.simple h2 { font-size: 25px; }
.simple .byline { margin: 9px 0 25px; }
.simple p,
.simple li { max-width: 700px; }

.site-footer {
  padding: 31px 0 35px;
  border-top: 1px solid #bfc3c7;
  background: #f2f2f0;
  color: #5a5e62;
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}
.site-footer p { margin: 5px 0; }
.site-footer a,
.site-footer .disclosure-link {
  margin-right: 17px;
  color: #45494d;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 17px; }
.footer-links a { margin: 0; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .66);
}
.modal-panel {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 30px 24px;
  border: 1px solid #333;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.modal-panel h2 { margin: 0 35px 12px 0; font-size: 27px; }
.modal-panel p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.modal-close {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #222;
  cursor: pointer;
  font-size: 28px;
  line-height: 36px;
}

@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.62; }
  .site-header { min-height: 62px; border-top-width: 4px; }
  .header-inner,
  .page,
  .footer-inner { width: min(calc(100% - 28px), 728px); }
  .brand { font-size: 22px; }
  .article { padding-top: 28px; }
  .article-head { margin-bottom: 21px; }
  h1 { font-size: 34px; letter-spacing: -.45px; line-height: 1.1; }
  h2 { margin-top: 34px; font-size: 25px; }
  .dek { font-size: 17px; line-height: 1.45; }
  .byline { font-size: 10px; letter-spacing: .4px; }
  .hero,
  .article-img {
    width: calc(100% + 28px);
    max-width: none;
    margin-right: -14px;
    margin-left: -14px;
  }
  .lead { font-size: 17px; }
  .truth-box { margin-right: -4px; margin-left: -4px; padding: 18px 17px; }
  .cta { min-height: 54px; padding: 12px 12px; font-size: 17px; }
  .criteria { padding-left: 0; }
  .criteria li { padding-left: 35px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 118px 1fr; column-gap: 14px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
  .step img { grid-row: 1 / span 2; margin: 0; }
  .offer-box { margin-right: -4px; margin-left: -4px; padding: 20px 17px 21px; }
  .home { padding-top: 31px; }
  .home-head h1 { font-size: 36px; }
  .feature h2 { font-size: 27px; }
  .home-proof { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--rule); }
  .proof-item:last-child { border-bottom: 0; }
  .simple h1 { font-size: 34px; }
  .site-footer a,
  .site-footer .disclosure-link { display: inline-block; margin-top: 4px; }
  .modal-panel { padding: 25px 21px 20px; }
}

@media (max-width: 390px) {
  h1 { font-size: 30px; }
  .home-head h1 { font-size: 32px; }
  .step { grid-template-columns: 96px 1fr; padding-right: 8px; padding-left: 8px; }
}


/* Search-intent offer summary and sourced customer proof. */
.search-match-card {
  margin: 0 0 25px;
  padding: 14px 18px 15px;
  border: 1px solid #c9cdd1;
  border-top: 4px solid var(--navy);
  background: #f8f8f6;
}
.rating-line {
  margin: 0 0 7px !important;
  color: #3e4247;
  font-size: 14px;
  line-height: 1.45;
}
.stars { color: #e09a00; letter-spacing: 1px; }
.search-verdict { margin: 0 0 9px !important; font-size: 15px; line-height: 1.45; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.summary-grid span {
  padding: 7px 10px;
  border-right: 1px solid var(--rule);
  color: #555a5f;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.summary-grid span:last-child { border-right: 0; }
.summary-grid strong { display: block; color: #202327; font-size: 16px; }
.cta.cta-compact { min-height: 50px; margin: 10px 0 0; padding: 10px 16px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 19px 0 12px;
}
.review-card {
  margin: 0;
  padding: 17px 16px;
  border: 1px solid var(--rule);
  background: #fff;
}
.review-card p { margin: 7px 0 13px; font-size: 14px; line-height: 1.5; }
.review-card footer { color: #60656a; font-size: 12px; line-height: 1.4; }
.review-card footer strong { color: #34383c; }
.review-source { color: #676b70; font-size: 12px; line-height: 1.5; }
.product-closeup { background: #f7f7f7; object-fit: contain; }

@media (max-width: 700px) {
  .search-match-card { margin-right: -4px; margin-left: -4px; padding: 16px 15px 17px; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-grid span { display: flex; justify-content: space-between; gap: 10px; border-right: 0; border-bottom: 1px solid var(--rule); text-align: left; }
  .summary-grid span:last-child { border-bottom: 0; }
  .summary-grid strong { display: inline; }
  .review-grid { grid-template-columns: 1fr; }
}
