/* Localized comparison guides — editorial, proof-first extension. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comparison-page {
  --article: 820px;
}

.article-hero {
  max-width: var(--article);
  padding-top: clamp(56px, 9vw, 104px);
  padding-bottom: clamp(54px, 8vw, 88px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-eyebrow,
.section-index {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(40px, 6.3vw, 72px);
  font-weight: 820;
  letter-spacing: -0.042em;
  line-height: 1.03;
  text-wrap: balance;
}

.article-dek {
  margin: 30px 0 0;
  max-width: 42em;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.58;
  text-wrap: pretty;
}

.disclosure {
  margin: 28px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quick-answer {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--maxw);
  padding-top: clamp(48px, 7vw, 76px);
  padding-bottom: clamp(48px, 7vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-answer h2,
.article-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.quick-answer > p {
  margin: 25px 0 0;
  color: var(--fg);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.7;
  text-wrap: pretty;
}

.article-section {
  padding-top: clamp(74px, 11vw, 128px);
}

.article-section > p,
.split-copy > div > p,
.sources > p {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.78;
}

.table-shell {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 20px 50px -40px rgba(0, 0, 0, 0.35);
}

.table-shell:focus-visible {
  outline-offset: 5px;
}

table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

th,
td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

thead th {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody th {
  width: 120px;
  font-size: 16px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.is-ourday {
  background: color-mix(in srgb, var(--soft) 68%, var(--bg));
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  gap: clamp(42px, 8vw, 106px);
  align-items: center;
}

.article-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 34px 80px -46px rgba(0, 0, 0, 0.42);
}

.article-shot img {
  width: 100%;
  height: auto;
}

.cycle-proof {
  padding-top: clamp(64px, 9vw, 104px);
}

.cycle-lead {
  margin-bottom: 8px;
  color: var(--fg) !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 750;
  line-height: 1.45 !important;
}

.cycle-disclaimer {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.prose-narrow,
.method,
.sources {
  max-width: var(--article);
}

.method {
  margin-top: clamp(74px, 11vw, 128px);
  padding-bottom: clamp(58px, 8vw, 90px);
  border-bottom: 1px solid var(--line);
}

.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  line-height: 1.45;
}

[dir="rtl"] .faq-item summary {
  padding: 22px 0 22px 42px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 4px;
  top: 18px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: -4px 0 22px;
  color: var(--muted);
  line-height: 1.72;
}

.sources ul {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.sources li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.sources a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent);
  text-underline-offset: 3px;
}

.sources a:hover {
  text-decoration-color: var(--fg);
}

.sources .updated {
  font-size: 13px;
  font-weight: 650;
}

.comparison-cta {
  margin-top: clamp(88px, 12vw, 150px);
  background: var(--fg);
  color: var(--bg);
}

.comparison-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: clamp(60px, 8vw, 90px);
}

.comparison-cta h2 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.comparison-cta p {
  margin: 18px 0 0;
  max-width: 42em;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

.comparison-cta .btn-invert {
  flex: none;
}

@media (max-width: 760px) {
  .article-hero h1 {
    max-width: none;
  }

  .quick-answer,
  .split-copy,
  .comparison-cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .quick-answer > p {
    margin: 0;
  }

  .split-copy .article-shot {
    width: min(82vw, 360px);
    justify-self: center;
  }

  .comparison-cta .btn-invert {
    justify-self: start;
  }

  .table-shell {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  tbody tr {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
  }

  tbody th,
  tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  tbody th {
    width: 100%;
    padding-top: 18px;
    font-size: 19px;
  }

  tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  tbody tr > :last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .comparison-page .nav-actions .btn {
    display: none;
  }

  .comparison-page .nav-inner {
    gap: 8px;
  }

  .comparison-page .nav .brand span {
    max-width: 38vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .article-hero {
    padding-top: 42px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }
}
