:root {
  --xq-navy: #041a3b;
  --xq-blue: #0b3f7a;
  --xq-cyan: #20c7ee;
  --xq-ink: #10213d;
  --xq-muted: #52647d;
  --xq-line: #d9e4ef;
  --xq-pale: #eef6fb;
}

.article-header {
  max-width: 1180px;
  padding-top: clamp(2.2rem, 5vw, 4.8rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.8rem);
}

.article-header h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 5.5vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.article-header .article-deck {
  max-width: 860px;
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.insight-photo-showcase {
  max-width: 1180px;
}

.insight-photo-showcase > img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: center 55%;
}

.hc-hero > img {
  aspect-ratio: 1920 / 1288;
  object-fit: contain;
  background: #fff;
}

.xq-answer,
.xq-specs,
.article-layout {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.xq-answer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 24px;
  background: var(--xq-navy);
  color: white;
}

.xq-answer h2 {
  margin: .4rem 0 0;
  color: white;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.xq-answer > p {
  margin: 0;
  color: #d5e4f4;
  line-height: 1.75;
}

.xq-kicker {
  margin: 0;
  color: var(--xq-cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.xq-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--xq-line);
  border-radius: 20px;
  overflow: hidden;
  background: white;
}

.xq-specs article {
  padding: 1.5rem;
  border-right: 1px solid var(--xq-line);
}

.xq-specs article:last-child {
  border-right: 0;
}

.xq-specs span {
  display: block;
  color: #08749b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.xq-specs strong {
  display: block;
  margin-top: .45rem;
  color: var(--xq-ink);
  font-family: Sora, sans-serif;
  font-size: 1.05rem;
}

.xq-specs p {
  margin: .55rem 0 0;
  color: var(--xq-muted);
  font-size: .9rem;
  line-height: 1.55;
}

.article-layout {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.article-body h2 {
  scroll-margin-top: 120px;
}

.xq-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 2.2rem 0 3rem;
}

.xq-media-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--xq-line);
  border-radius: 18px;
  background: var(--xq-pale);
}

.xq-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.xq-media-grid figcaption {
  padding: 1rem 1.1rem 1.2rem;
  color: var(--xq-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.xq-use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.8rem 0 2.2rem;
}

.xq-use-grid article {
  padding: 1.4rem;
  border-left: 4px solid var(--xq-cyan);
  border-radius: 0 14px 14px 0;
  background: var(--xq-pale);
}

.xq-use-grid h3 {
  margin: 0 0 .55rem;
  color: var(--xq-ink);
  font-size: 1rem;
}

.xq-use-grid p {
  margin: 0;
}

.hc-name-note {
  margin: 1.8rem 0 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #acdced;
  border-left: 5px solid var(--xq-cyan);
  border-radius: 0 16px 16px 0;
  background: #effaff;
}

.hc-name-note strong {
  display: block;
  margin-bottom: .4rem;
  color: var(--xq-ink);
  font-family: Sora, sans-serif;
}

.hc-name-note p {
  margin: 0;
}

.hc-table-wrap {
  margin: 1.5rem 0 .8rem;
  overflow-x: auto;
  border: 1px solid var(--xq-line);
  border-radius: 16px;
  background: #fff;
}

.hc-compare {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--xq-ink);
  font-size: .9rem;
  line-height: 1.45;
}

.hc-compare th,
.hc-compare td {
  padding: .9rem 1rem;
  border-right: 1px solid var(--xq-line);
  border-bottom: 1px solid var(--xq-line);
  text-align: left;
  vertical-align: top;
}

.hc-compare tr > *:last-child {
  border-right: 0;
}

.hc-compare tbody tr:last-child > * {
  border-bottom: 0;
}

.hc-compare thead th {
  background: var(--xq-navy);
  color: #fff;
  font-family: Sora, sans-serif;
  font-size: .78rem;
}

.hc-compare tbody th {
  width: 22%;
  background: var(--xq-pale);
  font-weight: 750;
}

.hc-footnote {
  margin: 0 0 2.7rem;
  color: var(--xq-muted);
  font-size: .8rem;
  line-height: 1.55;
}

.hc-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 1.8rem 0 2.3rem;
}

.hc-model-grid > article {
  padding: 1rem 1rem 1.35rem;
  border: 1px solid var(--xq-line);
  border-radius: 18px;
  background: #fff;
}

.hc-product {
  display: grid;
  min-height: 150px;
  margin-bottom: 1rem;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #f5f9fc, #e8f0f6);
}

.hc-product img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.hc-model-grid h3 {
  margin: .3rem 0 .55rem;
  color: var(--xq-ink);
  font-size: 1.25rem;
}

.hc-model-grid p:last-child {
  margin-bottom: 0;
  color: var(--xq-muted);
  font-size: .91rem;
  line-height: 1.6;
}

.xq-faq {
  margin: 3.5rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--xq-line);
}

.xq-faq h2 {
  margin-top: .45rem;
}

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

.xq-faq summary {
  padding: 1.15rem 2rem 1.15rem 0;
  color: var(--xq-ink);
  font-weight: 750;
  cursor: pointer;
}

.xq-faq details p {
  margin: -.2rem 0 1.2rem;
  padding-right: 1.5rem;
}

@media (max-width: 900px) {
  .xq-answer {
    grid-template-columns: 1fr;
  }

  .xq-specs {
    grid-template-columns: 1fr 1fr;
  }

  .xq-specs article:nth-child(2) {
    border-right: 0;
  }

  .xq-specs article:nth-child(-n+2) {
    border-bottom: 1px solid var(--xq-line);
  }

  .hc-model-grid {
    grid-template-columns: 1fr;
  }

  .hc-product {
    min-height: 190px;
  }

  .hc-product img {
    height: 200px;
  }
}

@media (max-width: 680px) {
  .xq-answer,
  .xq-specs,
  .article-layout {
    width: min(100% - 24px, 1180px);
  }

  .xq-answer {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .xq-specs,
  .xq-media-grid,
  .xq-use-grid {
    grid-template-columns: 1fr;
  }

  .xq-specs article,
  .xq-specs article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--xq-line);
  }

  .xq-specs article:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xq-faq summary {
    scroll-behavior: auto;
  }
}
