:root {
  --h2h-bg: rgb(255, 255, 255);
  --h2h-card: rgb(255, 255, 255);
  --h2h-text: #111827;
  --h2h-muted: #6b7280;
  --h2h-line: #d2d2d7;
  --h2h-soft-line: #ececf0;
  --h2h-accent: #ea580c;
  --h2h-accent-dark: #c2410c;
  --h2h-good: #166534;
}

body.h2h-body {
  margin: 0;
  background: rgb(255, 255, 255);
  color: var(--h2h-text);
}

body.h2h-body .nav {
  background: #f7f7f7;
}

.h2h-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 92px 22px 80px;
  background: rgb(255, 255, 255);
}

/* Hero */

.h2h-hero {
  padding: 0 0 18px;
}

.h2h-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  color: var(--h2h-accent-dark);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
}

.h2h-eyebrow:hover {
  color: var(--h2h-accent);
  text-decoration: none;
}

.h2h-hero h1 {
  margin: 0;
  color: var(--h2h-text);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.h2h-hero__copy{
  text-align: center;
}

.h2h-dek {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--h2h-muted);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
}

.h2h-updated {
  margin: 12px 0 0;
  color: #8a94a6;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

/* Top product images only */

.h2h-products {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 28px;
  background: rgb(255, 255, 255);
}

.h2h-product {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 300px;
  padding: 18px;
  background: rgb(255, 255, 255);
  color: inherit;
  text-decoration: none;
}

.h2h-product:hover {
  text-decoration: none;
}

.h2h-product__image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: rgb(255, 255, 255);
}

.h2h-product__image img {
  display: block;
  width: 100%;
  max-width: 310px;
  height: 250px;
  object-fit: contain;
}

/* Sticky Apple-style name selectors */

.h2h-compare-area {
  position: relative;
  margin-top: 18px;
}

.h2h-column-head {
  position: sticky;
  top: 56px;
  z-index: 50;
  margin: 0 -10px;
  padding: 10px;
  padding-bottom: 0;
  padding-top: 0;
  background: rgba(255, 255, 255);
}

.h2h-sticky-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.h2h-sticky-product {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255);
  padding-bottom: 0;
}

.h2h-product-select {
  width: 100%;
  min-width: 0;
  padding: 12px 58px 12px 20px;
  border: 1px solid lightgray;
  border-radius: 10px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9.5L12 14.5L17 9.5' stroke='%23c2410c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 24px 24px;
  color: var(--h2h-text);
  font: inherit;
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.h2h-product-select:focus {
  border-color: var(--h2h-accent-dark);
  box-shadow: none;
}

.h2h-product-select:hover {
  color: var(--h2h-accent-dark);
}

/* Sections */

.h2h-section {
  margin-top: 42px;
  padding: 0;
  background: rgb(255, 255, 255);
}

.h2h-section[hidden] {
  display: none !important;
}

.h2h-section__head {
  position: relative;
  margin: 0 0 0;
  padding-bottom: 18px;
}

.h2h-section__head::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: var(--h2h-line);
}

.h2h-section__head--spaced {
  margin-top: 42px;
}

.h2h-section__head h2 {
  margin: 0;
  color: var(--h2h-text);
  margin-top: 60px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 500;
}

/* Clean comparison rows */

.h2h-highlight-grid,
.h2h-sellers,
.h2h-metric-list {
  display: grid;
  gap: 0;
}

.h2h-metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.h2h-metric-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 132px;
  padding: 40px 18px;
  background: rgb(255, 255, 255);
  text-align: center;
}

.h2h-metric-cell.is-better .h2h-metric-value {
  color: var(--h2h-good);
}

.h2h-metric-cell.is-empty {
  background: rgb(255, 255, 255);
}

.h2h-metric-value {
  display: block;
  max-width: 100%;
  color: var(--h2h-text);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.h2h-metric-label {
  display: block;
  max-width: 100%;
  margin-top: 10px;
  color: var(--h2h-muted);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
}

/* Quick answer and verdicts */

.h2h-answer-grid,
.h2h-verdict-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
}

.h2h-answer-card,
.h2h-verdict-card {
  min-width: 0;
  padding: 24px 0;
  background: rgb(255, 255, 255);
}

.h2h-answer-card h3,
.h2h-verdict-card h3 {
  margin: 0;
  color: var(--h2h-text);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.h2h-answer-card p,
.h2h-verdict-card p,
.h2h-verdict-card li {
  color: var(--h2h-muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.h2h-answer-card p,
.h2h-verdict-card p {
  margin: 10px 0 0;
}

.h2h-verdict-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.h2h-empty {
  margin: 0;
  padding: 20px 0;
  background: rgb(255, 255, 255);
  color: var(--h2h-muted);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

/* Kill old bordered layout */

.h2h-compare-value,
.h2h-compare-label,
.h2h-table,
.h2h-highlight,
.h2h-highlight__values,
.h2h-row,
.h2h-row--head,
.h2h-row__label,
.h2h-infographic,
.h2h-infographic__copy,
.h2h-infographic__label,
.h2h-infographic__link,
.h2h-infographic__thumb,
.h2h-hero-answer,
.h2h-hero-answer__label,
.h2h-hero-answer__text {
  display: none !important;
}

/* Tablet */

@media (max-width: 900px) {
  .h2h-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .h2h-product {
    min-height: 240px;
    padding: 10px;
  }

  .h2h-product__image {
    height: 230px;
  }

  .h2h-product__image img {
    max-width: 250px;
    height: 215px;
  }

  .h2h-sticky-product {
    padding: 14px 16px;
  }

  .h2h-metric-cell {
    min-height: 116px;
    padding: 24px 14px;
  }
}

/* Phone */

@media (max-width: 640px) {
  .h2h-page {
    padding: 76px 12px 56px;
  }

  .h2h-hero {
    padding: 22px 0 12px;
  }

  .h2h-hero h1 {
    font-size: 40px;
  }

  .h2h-dek {
    font-size: 17px;
    line-height: 1.45;
  }

  .h2h-products {
    gap: 8px;
    margin-top: 18px;
  }

  .h2h-product {
    min-height: 170px;
    padding: 4px;
  }

  .h2h-product__image {
    height: 165px;
  }

  .h2h-product__image img {
    max-width: 150px;
    height: 145px;
  }

  .h2h-column-head {
    top: 56px;
    margin: 0 -6px;
  }

  .h2h-sticky-grid {
    gap: 8px;
  }

  .h2h-sticky-product {
    padding: 0;
    padding-top: 10px;
  }

  .h2h-product-select {
  min-height: 42px;
  padding: 6px 10px;
  font-size: 18px;
  line-height: 1.1;
  background-image: none;
  background-position: initial;
  background-size: initial;
}

  .h2h-section {
    margin-top: 34px;
  }

  .h2h-section__head h2 {
    font-size: 30px;
  }

  .h2h-metric-row,
  .h2h-answer-grid,
  .h2h-verdict-grid {
    gap: 8px;
  }

  .h2h-metric-cell {
    min-height: 104px;
    padding: 20px 10px;
  }

  .h2h-metric-value {
    font-size: 28px;
  }

  .h2h-metric-label {
    margin-top: 8px;
    font-size: 13px;
  }

  .h2h-answer-card,
  .h2h-verdict-card {
    padding: 18px 0;
  }

  .h2h-answer-card h3,
  .h2h-verdict-card h3 {
    font-size: 17px;
  }

  .h2h-answer-card p,
  .h2h-verdict-card p,
  .h2h-verdict-card li {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  .h2h-metric-value {
    font-size: 24px;
  }

  .h2h-metric-label {
    font-size: 12px;
  }

  .h2h-product-select {
    padding: 6px 8px;
    font-size: 16px;
  }
}

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

#h2hFullSpecs {
  margin-top: 42px;
}

.h2h-spec-group {
  margin-top: 26px;
}

.h2h-spec-group h3 {
  margin: 0 0 8px;
  color: var(--h2h-muted);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.h2h-end-section {
  margin-top: 56px;
  padding-bottom: 20px;
}

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

.h2h-end-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  padding: 28px 12px 0;
  background: rgb(255, 255, 255);
  text-align: center;
}

.h2h-end-card__image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 190px;
  background: rgb(255, 255, 255);
  text-decoration: none;
}

.h2h-end-card__image img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 190px;
  object-fit: contain;
}

.h2h-end-card h3 {
  max-width: 360px;
  margin: 0;
  color: var(--h2h-text);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.h2h-end-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--h2h-accent-dark);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
}

.h2h-end-card__link:hover {
  color: var(--h2h-accent);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .h2h-end-section {
    margin-top: 42px;
  }

  .h2h-end-grid {
    gap: 8px;
  }

  .h2h-end-card {
    padding: 20px 6px 0;
  }

  .h2h-end-card__image {
    min-height: 135px;
  }

  .h2h-end-card__image img {
    max-width: 145px;
    height: 130px;
  }

  .h2h-end-card h3 {
    font-size: 17px;
  }

  .h2h-end-card__link {
    font-size: 15px;
  }
}

.h2h-all-specs {
  width: min(100%, 420px);
  margin-top: 6px;
  background: rgb(255, 255, 255);
}

.h2h-all-specs summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--h2h-accent-dark);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.h2h-all-specs summary::-webkit-details-marker {
  display: none;
}

.h2h-all-specs summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

.h2h-all-specs[open] summary::after {
  content: "−";
}

.h2h-all-specs__list {
  display: grid;
  gap: 30px;
  margin: 18px 0 0;
  padding: 0;
  text-align: center;
}

.h2h-all-specs__row {
  display: grid;
  gap: 5px;
}

.h2h-all-specs__row dt {
  margin: 0;
  color: var(--h2h-muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.h2h-all-specs__row dd {
  margin: 0;
  color: var(--h2h-text);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.h2h-all-specs__empty {
  margin: 16px 0 0;
  color: var(--h2h-muted);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 640px) {
  .h2h-all-specs {
    width: 100%;
  }

  .h2h-all-specs summary {
    font-size: 15px;
  }

  .h2h-all-specs__row dd {
    font-size: 17px;
  }
}
.h2h-end-grid {
  align-items: start;
}

.h2h-end-card {
  align-self: start;
  align-content: start;
}

.h2h-end-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: min(100%, 360px);
  align-items: center;
  justify-items: center;
}

.h2h-end-card__link,
.h2h-all-specs-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--h2h-accent-dark);
  font: inherit;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.h2h-end-card__link:hover,
.h2h-all-specs-toggle:hover {
  color: var(--h2h-accent);
  text-decoration: underline;
}

.h2h-all-specs-panel {
  width: min(100%, 420px);
  margin-top: 18px;
  background: rgb(255, 255, 255);
}

.h2h-all-specs-panel[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .h2h-end-actions {
    gap: 10px;
    width: 100%;
  }

  .h2h-end-card__link,
  .h2h-all-specs-toggle {
    font-size: 15px;
  }
}

.h2h-metric-cell--controls {
  align-items: center;
  text-align: left;
}

.h2h-control-list {
  max-width: 360px;
  margin: 0 auto;
  padding-left: 1.1rem;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: #374151;
}

.h2h-control-list li {
  margin: 0 0 5px;
}

.h2h-control-list li:last-child {
  margin-bottom: 0;
}

.h2h-metric-cell--controls .h2h-metric-label {
  width: 100%;
  text-align: center;
  margin-top: 12px;
}