:root {
  --ink: #101412;
  --coal: #17211e;
  --paper: #f5f0e3;
  --panel: #fffdf7;
  --line: #d6ccb8;
  --muted: #5e6a64;
  --green: #0f7c68;
  --gold: #d89d2e;
  --red: #b94738;
  --blue: #264f73;
  --shadow: 0 22px 50px rgba(16, 20, 18, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 20, 18, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, #f9f4e9 0%, #eee3ce 100%);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 19px;
}

a { color: inherit; text-decoration: none; }

p { line-height: 1.58; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(245, 240, 227, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-size: 14px;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-cta,
.button,
.score-box a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-cta,
.primary,
.score-box a {
  color: #fff;
  background: var(--ink);
}

.secondary {
  background: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  min-height: min(760px, calc(100vh - 140px));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 4.5vw, 62px) clamp(20px, 5vw, 70px);
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 5.4vw, 82px);
  line-height: .94;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: .92;
}

h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.lede {
  max-width: 760px;
  color: #35413c;
  font-size: clamp(21px, 1.55vw, 24px);
  line-height: 1.32;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions { margin: 18px 0 24px; }

.trust-row span {
  padding: 10px 12px;
  color: #fff;
  background: var(--coal);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.hero-media {
  min-height: 0;
  background: var(--coal);
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.search-intent {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.search-intent > div {
  padding: clamp(22px, 4vw, 42px) clamp(20px, 5vw, 70px);
  background: var(--panel);
}

.search-intent strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 70px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 21px;
}

.best-section {
  background: #efe3ce;
}

.ranked-list {
  display: grid;
  gap: 18px;
}

.rank-card {
  display: grid;
  grid-template-columns: 72px 1fr 180px;
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.rank-card.top {
  border: 3px solid var(--gold);
  background: linear-gradient(135deg, #fffdf7 0%, #fbefd4 100%);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 36px;
  font-weight: 900;
}

.rank-main p {
  font-size: 19px;
}

.rank-main ul,
.pros-cons ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.rank-main li,
.pros-cons li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.score-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-align: center;
  background: #f2ead9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-box span {
  font-size: 48px;
  font-weight: 900;
  color: var(--green);
}

.score-box small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.compare-section {
  background: var(--panel);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.table-row {
  display: grid;
  grid-template-columns: .45fr 1.2fr 1.45fr .55fr 1.35fr .7fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}

.table-row:first-child { border-top: 0; }

.table-head {
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.score {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.table-row a {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.reviews-long {
  background: #1a211f;
  color: #fff;
}

.reviews-long .section-heading p,
.reviews-long .eyebrow {
  color: #f3c771;
}

.long-review {
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 38px);
  color: #17211e;
  background: var(--panel);
  border-radius: 8px;
  border-left: 8px solid var(--gold);
}

.review-title {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.review-title span {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  height: 58px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.long-review p {
  max-width: 1100px;
  font-size: 19px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.pros-cons > div {
  padding: 18px;
  background: #f2ead9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.answer-section {
  background: #17211e;
  color: #fff;
}

.answer-card {
  max-width: 1120px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}

.answer-card .eyebrow {
  color: #ffd37e;
}

.answer-card p {
  font-size: 23px;
}

.guide-section,
.intent-section {
  background: var(--paper);
}

.intent-match-section {
  background: #fffdf7;
}

.intent-match-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.intent-match-grid article {
  min-height: 260px;
  padding: 24px;
  background: #f2ead9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intent-match-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.intent-match-grid p {
  color: var(--muted);
  font-size: 18px;
}

.guide-grid,
.intent-grid,
.redflags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-grid article,
.intent-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-grid p,
.intent-grid p {
  color: var(--muted);
  font-size: 18px;
}

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

.intent-grid article {
  min-height: 280px;
}

.redflags-section {
  background: #fffdf7;
}

.redflags > div {
  padding: 24px;
  color: #fff;
  background: var(--coal);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
}

.redflags strong {
  display: block;
  margin-bottom: 10px;
  color: #ffd37e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.05;
}

.redflags p {
  margin-bottom: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.methodology-section {
  background: var(--blue);
  color: #fff;
}

.methodology-section .eyebrow {
  color: #ffd37e;
}

.methodology-section .section-heading p {
  color: rgba(255,255,255,.82);
}

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

.method-grid article {
  padding: 24px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}

.method-grid strong {
  display: block;
  margin-bottom: 18px;
  color: #ffd37e;
  font-size: 38px;
}

.method-grid p {
  color: rgba(255,255,255,.8);
  font-size: 18px;
}

.faq {
  background: #f8f0dc;
}

details {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
}

details p {
  max-width: 960px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.footer {
  padding: 30px clamp(20px, 5vw, 70px);
  color: #efe3ce;
  background: #0e1110;
}

.footer p {
  margin-bottom: 8px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .search-intent {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: 0;
    min-height: 180px;
  }

  .rank-card {
    grid-template-columns: 64px 1fr;
  }

  .score-box {
    grid-column: 1 / -1;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }

  .guide-grid,
  .intent-grid,
  .intent-match-grid,
  .redflags,
  .method-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body { font-size: 17px; }

  .site-header {
    padding: 12px;
  }

  .brand span:last-child {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy,
  .section,
  .search-intent > div {
    padding-inline: 18px;
  }

  .hero-copy {
    padding-block: 24px;
  }

  .hero-actions {
    margin: 14px 0 18px;
  }

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

  .trust-row span {
    padding: 8px;
    text-align: center;
    font-size: 12px;
  }

  .rank-card {
    grid-template-columns: 1fr;
  }

  .rank-number {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .review-title {
    flex-direction: column;
  }
}
