:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #fff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0066cc;
  --blue-hover: #004c99;
  --green: #0b7f42;
  --orange: #b95400;
  --shadow: 0 18px 48px rgba(0, 0, 0, .07);
  --controller-count: 10;
  --compare-min-width: 2008px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
.compare-frame:focus-visible {
  outline: 3px solid rgba(0, 102, 204, .42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  font-size: .88rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 245, 247, .82);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-shell {
  width: min(1180px, calc(100vw - 32px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
}

.brand svg {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-links {
  gap: 22px;
  font-size: .82rem;
}

.nav-links a {
  color: #3a3a3c;
}

.hero {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 70px 0 50px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: .82rem;
  font-weight: 700;
}

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

h1 {
  max-width: 850px;
  margin: 0 auto 18px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.compare-section,
.differences,
.pros-cons,
.picks,
.notes {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto 28px;
  scroll-margin-top: 70px;
}

.section-heading {
  text-align: center;
  padding: 44px 0 30px;
}

.section-heading h2,
.notes h2 {
  margin: 0 0 8px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.notes p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.region-panel {
  width: min(760px, 100%);
  min-height: 68px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-items: start;
  justify-content: center;
  gap: 12px 18px;
  text-align: left;
}

.control-field {
  display: grid;
  gap: 7px;
}

.control-field label {
  color: #3a3a3c;
  font-size: .82rem;
  font-weight: 700;
}

.control-field select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0 34px 0 12px;
  font: inherit;
  font-size: .92rem;
}

.region-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: .86rem;
}

.compare-frame {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-snap-type: x proximity;
}

.sticky-compare {
  position: sticky;
  top: 52px;
  z-index: 9;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.sticky-compare.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-compare-inner {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
  backdrop-filter: saturate(180%) blur(18px);
}

.compare-grid {
  min-width: var(--compare-min-width);
  display: grid;
  grid-template-columns: repeat(var(--controller-count), minmax(170px, 1fr));
  column-gap: 22px;
  padding: 0 34px;
}

.product-grid {
  padding-top: 42px;
}

.sticky-product-grid {
  padding-top: 12px;
  padding-bottom: 10px;
  will-change: transform;
}

.product-card {
  min-height: 466px;
  text-align: center;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.sticky-product-card {
  min-height: 142px;
  padding: 0 8px;
  text-align: center;
}

.sticky-image-wrap {
  height: 74px;
  display: grid;
  place-items: end center;
}

.sticky-product-image {
  width: min(112px, 92%);
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .12));
}

.sticky-product-card h3 {
  min-height: 36px;
  margin: 8px 0 2px;
  display: grid;
  place-items: center;
  font-size: .84rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.sticky-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}

.product-image-wrap {
  height: 152px;
  width: 100%;
  margin-bottom: 22px;
  display: grid;
  place-items: end center;
}

.product-image {
  width: min(172px, 98%);
  max-height: 148px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .12));
}

.product-card[data-tone="dark"] .product-image {
  mix-blend-mode: normal;
}

.badge {
  min-height: 18px;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: .76rem;
  font-weight: 700;
}

.product-card h3 {
  min-height: 70px;
  margin: 0;
  display: grid;
  place-items: center;
  font-size: 1.26rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.tagline {
  min-height: 92px;
  margin: 10px 0 18px;
  color: #3c3c3f;
  font-size: .92rem;
}

.price {
  min-height: 30px;
  margin: 0 0 12px;
  font-size: 1.18rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.product-actions {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.buy-link {
  min-width: 52px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 6px 14px;
  font-size: .82rem;
}

.buy-link:hover {
  background: var(--blue-hover);
  color: #fff;
  text-decoration: none;
}

.learn-link {
  font-size: .9rem;
}

.spec-grid {
  min-width: var(--compare-min-width);
  display: grid;
  grid-template-columns: repeat(var(--controller-count), minmax(170px, 1fr));
  column-gap: 22px;
  padding: 0 34px 34px;
}

.spec-row {
  display: contents;
}

.spec-cell {
  min-height: 188px;
  border-bottom: 1px solid var(--line-soft);
  padding: 32px 8px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.spec-row:last-child .spec-cell {
  border-bottom: 0;
}

.spec-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--text);
}

.spec-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.spec-value {
  max-width: 172px;
  margin: 0;
  color: #202023;
  font-size: .95rem;
}

.dash {
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1;
}

.differences,
.pros-cons {
  padding: 24px 0 8px;
}

.difference-grid,
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.difference-card,
.pros-cons-card {
  min-height: 330px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .05);
  padding: 20px;
}

.summary-card-head {
  min-height: 78px;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 14px;
}

.summary-card-head img {
  width: 76px;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .12));
}

.summary-card-head p,
.standout-label {
  margin: 0 0 3px;
  color: var(--orange);
  font-size: .74rem;
  font-weight: 700;
}

.summary-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.difference-card h4,
.pros-cons-card h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.standout-label {
  margin-top: 22px;
  text-transform: uppercase;
}

.summary-copy {
  margin: 0;
  color: #3c3c3f;
  font-size: .94rem;
}

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

.pros-cons-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.pros-cons-card li {
  position: relative;
  padding-left: 18px;
  color: #3c3c3f;
  font-size: .92rem;
}

.pros-cons-card li::before {
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
}

.pros-list li::before {
  background: var(--green);
}

.cons-list li::before {
  background: var(--orange);
}

.picks {
  padding: 28px 0 20px;
}

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

.pick-grid article {
  min-height: 190px;
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .05);
}

.pick-grid h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.16;
}

.pick-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.notes {
  margin-bottom: 64px;
  border-radius: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  padding: 28px;
}

.notes h2 {
  font-size: 2rem;
}

.notes ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
}

.notes li {
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .nav-shell {
    width: calc(100vw - 24px);
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    padding: 58px 0 42px;
  }

  .compare-section,
  .differences,
  .pros-cons,
  .picks,
  .notes {
    width: calc(100vw - 20px);
  }

  .compare-grid {
    min-width: var(--compare-min-width);
    padding-inline: 24px;
  }

  .spec-grid {
    min-width: var(--compare-min-width);
    padding-inline: 24px;
  }

  .pick-grid,
  .difference-grid,
  .pros-cons-grid,
  .notes ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .nav-shell {
    gap: 12px;
  }

  .nav-links {
    gap: 7px;
    font-size: .68rem;
  }

  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .nav-links a:not(:first-child) {
    display: none;
  }

  h1 {
    max-width: 300px;
    font-size: 2.05rem;
    line-height: 1.04;
  }

  .section-heading h2 {
    max-width: 305px;
    margin-inline: auto;
    font-size: 1.82rem;
  }

  .hero-copy,
  .section-heading p {
    max-width: 270px;
    margin-inline: auto;
    font-size: .9rem;
  }

  .region-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .control-field {
    width: min(280px, 100%);
  }

  .region-panel p {
    max-width: 280px;
  }

  .compare-grid {
    min-width: var(--compare-min-width);
    grid-template-columns: repeat(var(--controller-count), 170px);
    column-gap: 18px;
  }

  .spec-grid {
    min-width: var(--compare-min-width);
    grid-template-columns: repeat(var(--controller-count), 170px);
    column-gap: 18px;
  }

  .product-card {
    min-height: 452px;
  }

  .product-image-wrap {
    height: 140px;
  }

  .sticky-product-card {
    min-height: 130px;
  }

  .sticky-image-wrap {
    height: 64px;
  }

  .sticky-product-image {
    width: min(98px, 92%);
    max-height: 62px;
  }

  .product-card h3 {
    font-size: 1.08rem;
  }

  .tagline,
  .spec-value {
    font-size: .88rem;
  }

  .pick-grid,
  .difference-grid,
  .pros-cons-grid,
  .notes ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
