:root {
  --ink: #17202a;
  --muted: #657181;
  --line: #dfe6ee;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --blue: #0c6bff;
  --blue-dark: #0647b6;
  --green: #1e8f5c;
  --yellow: #f6be3b;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.disclosure {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: #102033;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.disclosure button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 0 5vw;
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

main {
  width: min(1160px, 90vw);
  margin: 0 auto;
}

.hero,
.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 34px;
}

.detail-hero.compact-hero {
  display: block;
  max-width: 880px;
  padding: 32px 0 16px;
}

.hub-main {
  min-height: 74vh;
}

.hub-hero {
  display: block;
  max-width: 780px;
}

.eyebrow,
.card-kicker,
.winner-label,
.badge {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

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

.hero-copy > p,
.hub-hero p,
.quick-choice p,
.product-body p,
.criteria p,
.hub-card p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p {
  max-width: 720px;
  font-size: 17px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.byline span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.hero-actions,
.hub-card {
  display: flex;
  gap: 12px;
}

.button,
.deal-button,
.newsletter button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.ghost {
  background: #e9f1ff;
  color: var(--blue-dark);
}

.quick-choice,
.criteria,
.newsletter,
.faq,
.hub-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 14px;
}

.stats div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stats strong {
  display: block;
  font-size: 24px;
}

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

.quick-choice,
.criteria,
.newsletter,
.faq {
  margin: 26px 0;
  padding: 28px;
}

.quick-choice.compact-choice {
  margin: 14px 0 18px;
  padding: 18px 20px;
}

.quick-choice.compact-choice h2 {
  font-size: clamp(20px, 2.2vw, 28px);
}

.quick-choice.compact-choice p {
  margin: 0;
}

.quick-choice {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 26px;
  align-items: center;
}

.ranking {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 105px 150px minmax(0, 1fr) 168px;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.07);
}

.product-card.featured {
  border: 2px solid rgba(12, 107, 255, 0.25);
}

.rank {
  display: grid;
  place-items: center;
  min-height: 96px;
  border-radius: 8px;
  background: #f0f5ff;
}

.rank span {
  font-size: 24px;
  font-weight: 900;
}

.rank strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.product-visual {
  position: relative;
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f4f8fc, #e9eef5);
  overflow: hidden;
}

.product-visual.image-visual {
  display: grid;
  place-items: center;
  background: #fff;
}

.product-visual.image-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-visual.image-visual::before,
.product-visual.image-visual::after,
.product-visual.image-visual span {
  display: none;
}

.product-visual span,
.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  display: block;
}

.product-visual span {
  left: 50%;
  bottom: 18px;
  width: 58px;
  height: 78px;
  border-radius: 22px 22px 14px 14px;
  background: linear-gradient(90deg, #ffffff, #dfe6ef);
  transform: translateX(-50%);
  box-shadow: 0 12px 20px rgba(23, 32, 42, 0.16);
}

.product-visual::before,
.product-visual::after {
  bottom: 18px;
  width: 44px;
  height: 64px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(90deg, #ffffff, #e5ebf2);
  opacity: 0.82;
}

.product-visual::before {
  left: 24px;
}

.product-visual::after {
  right: 24px;
}

.visual-be65,
.visual-be25 {
  background: linear-gradient(135deg, #e9f3ff, #f6fff8);
}

.visual-eero,
.visual-nest {
  background: linear-gradient(135deg, #f4f1ff, #fff);
}

.visual-halo {
  background: linear-gradient(135deg, #edf2f7, #ffffff);
}

.visual-halo span {
  width: 74px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(90deg, #2a323d, #111820);
}

.visual-halo::before,
.visual-halo::after {
  width: 8px;
  height: 72px;
  border-radius: 8px;
  background: #111820;
  bottom: 28px;
}

.visual-halo::before {
  left: 34px;
  transform: rotate(-12deg);
}

.visual-halo::after {
  right: 34px;
  transform: rotate(12deg);
}

.product-body h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.product-body ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.deal-button {
  background: var(--green);
  text-align: center;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.criteria-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: #102033;
  color: #fff;
}

.newsletter .eyebrow,
.newsletter p {
  color: #9bd3b5;
}

.newsletter form label {
  display: block;
  margin-bottom: 8px;
  color: #cbd6e2;
}

.newsletter form div {
  display: flex;
  gap: 10px;
}

.newsletter input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.hub-card {
  flex-direction: column;
  padding: 26px;
}

.hub-card.muted {
  background: #f2f5f8;
  box-shadow: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 50px;
  padding: 32px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef3f8;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 5vw;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .detail-hero.compact-hero {
    padding: 24px 0 12px;
  }

  .stats,
  .quick-choice,
  .criteria-grid,
  .newsletter,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .product-visual {
    grid-column: 1 / -1;
    order: -1;
    height: 150px;
  }

  .deal-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  main {
    width: min(94vw, 1160px);
  }

  h1 {
    font-size: 31px;
  }

  .disclosure {
    font-size: 12px;
    line-height: 1.35;
  }

  .brand small {
    display: none;
  }

  .site-header nav {
    gap: 10px;
    font-size: 13px;
  }

  .nav-cta {
    padding: 8px 10px;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.5;
  }

  .byline span {
    padding: 7px 9px;
  }

  .hero-actions,
  .newsletter form div {
    flex-direction: column;
  }

  .stats div,
  .quick-choice,
  .criteria,
  .newsletter,
  .faq,
  .product-card {
    padding: 14px;
  }

  .stats {
    gap: 8px;
  }

  .stats strong {
    font-size: 22px;
  }

  .stats span {
    font-size: 13px;
  }

  .rank {
    min-height: 70px;
  }

  .rank span {
    font-size: 20px;
  }

  .product-body h2 {
    font-size: 22px;
  }

  .product-body p,
  .product-body li {
    font-size: 14px;
  }
}
