/* Synthesis compare pages — loads after about.css and reuses its tokens. */

/* ========== Hero (compact) ========== */

.hero--compact {
  padding: 160px 0 72px;
}

.hero--compact h1 {
  font-size: clamp(30px, 4.8vw, 56px);
}

.hero--compact .hero-lede {
  font-size: 21px;
}

.breadcrumb {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--text-soft);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--sky);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.answer-box {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid #38d3ff33;
  background: linear-gradient(160deg, #0e1d4acc, #08122fcc);
  box-shadow: var(--shadow-glow);
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

.answer-box strong {
  color: var(--text);
  font-weight: 600;
}

/* ========== Screenshots ========== */

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid #7c9bff55;
  box-shadow: var(--shadow-card), 0 0 40px #38d3ff14;
  background: var(--card-fill);
}

.shot figcaption {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ========== Pillars (hub) ========== */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff08, transparent 50%),
    linear-gradient(160deg, #0e1d4a, #08122f);
  border: 1px solid #ffffff14;
  box-shadow: 0 8px 28px #00000033;
}

.pillar--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 32px;
}

.pillar-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pillar h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.pillar p {
  margin: 0;
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.6;
}

.pillar p + p {
  margin-top: 10px;
}

/* ========== Comparison tables ========== */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid #7c9bff55;
  box-shadow: var(--shadow-card), 0 0 50px #38d3ff12;
  background: var(--card-fill);
}

.table-scroll:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.45;
}

.compare-table--glance {
  min-width: 0;
  font-size: 16px;
}

.compare-table caption {
  padding: 16px 20px 0;
  color: var(--text-soft);
  font-size: 14px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #17357d88;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  background: #13235a;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--text);
  font-weight: 600;
}

.compare-table td {
  color: var(--text-body);
}

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

.compare-table tbody th[scope="row"],
.compare-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card-fill);
}

.compare-table thead th:first-child {
  z-index: 2;
  background: #13235a;
}

.compare-table--glance tbody th[scope="row"] {
  width: 26%;
  color: var(--text-soft);
  font-weight: 500;
}

/* Highlighted Synthesis row (hub) and column (vs pages) */

.compare-table tr.is-synthesis th,
.compare-table tr.is-synthesis td {
  background: #16306e;
  color: var(--text);
}

.compare-table tr.is-synthesis th {
  box-shadow: inset 3px 0 0 var(--sky);
}

.compare-table .col-synthesis {
  background: #14295f;
  color: var(--text);
}

.compare-table thead .col-synthesis {
  background: #1b3a82;
  color: var(--text);
  box-shadow: inset 0 3px 0 var(--sky);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.mark::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.mark--yes {
  color: #5fe3a1;
}

.mark--yes::before {
  background: #10bb70 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.mark--partial {
  color: #fcd544;
}

.mark--partial::before {
  background: #fcd54433;
  border: 2px solid #fcd544;
}

.mark--no {
  color: #ffffff99;
}

.mark--no::before {
  background: #ffffff1f;
  border: 2px solid #ffffff55;
}

.cell-note {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 400;
  white-space: normal;
}

.table-note {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* ========== Competitor cards (hub) ========== */

.vs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vs-grid .card--static:hover {
  transform: none;
  background-image: var(--card-border);
  box-shadow: var(--shadow-card);
}

.vs-grid .card--static:hover .card-inner {
  background:
    linear-gradient(180deg, #ffffff06, transparent 40%),
    linear-gradient(160deg, var(--card-fill-top), var(--card-fill) 65%);
}

.vs-grid .card-inner h3 {
  font-size: 21px;
}

/* ========== Difference rows (vs pages) ========== */

.diff-rows {
  display: grid;
  gap: 28px;
}

.diff-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
  padding: 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff08, transparent 50%),
    linear-gradient(160deg, #0e1d4a, #08122f);
  border: 1px solid #ffffff14;
  box-shadow: 0 8px 28px #00000033;
}

.diff-row--text {
  grid-template-columns: 1fr;
}

.diff-row:nth-child(even) .shot {
  order: -1;
}

.diff-row h3 {
  font-size: 22px;
}

.diff-row p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
}

.diff-row p:last-child {
  margin-bottom: 0;
}

/* ========== Testimonials ========== */

.quote-heading {
  margin: 44px 0 20px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  margin: 0;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #ffffff08;
  border: 1px solid #ffffff16;
}

.quote p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.6;
}

.quote footer {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.quote-source {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ========== Fit box, sources, disclaimer ========== */

.fit-box {
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid #fcd54433;
  background: linear-gradient(145deg, #fcd5440d, #fa9a3d08);
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.65;
}

.fit-box p:last-child {
  margin-bottom: 0;
}

.sources-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

.sources-list li {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.sources-subhead {
  margin-top: 28px;
}

.hub-link {
  margin: 36px 0 0;
  font-weight: 600;
}

.checked-note {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 600;
}

.disclaimer,
.cta-band .disclaimer {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.more-compare {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 15.5px;
}

/* ========== Responsive ========== */

@media (max-width: 991px) {
  .pillar-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .vs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar--wide,
  .diff-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .diff-row:nth-child(even) .shot {
    order: 0;
  }
}

@media (max-width: 767px) {
  .hero--compact {
    padding: 120px 0 52px;
  }

  .hero--compact h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero--compact .hero-lede,
  .answer-box {
    font-size: 17px;
  }

  .answer-box {
    padding: 18px 18px;
  }

  .vs-grid {
    grid-template-columns: 1fr;
  }

  .pillar,
  .diff-row {
    padding: 22px 18px;
  }

  .compare-table {
    font-size: 14px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 12px;
  }

  .compare-table--glance {
    font-size: 14.5px;
  }

  .compare-table--glance tbody th[scope="row"] {
    width: 30%;
  }

  .fit-box {
    padding: 22px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .compare-table--glance thead th {
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }
}

/* ===== Garrett refinements — Side-by-side comparison table ===== */
.compare-table caption {
  padding: 16px 20px;
}
.compare-table thead th {
  text-transform: none;
  letter-spacing: normal;
}
.compare-table tbody th[scope="row"] {
  font-size: 18px;
  font-weight: 700;
}
.compare-table tr.is-synthesis th[scope="row"] {
  color: var(--sky);
}
