/* Versioned SEO & buyer-decision enhancements (2026-11-12).
   Reuses existing corporate design tokens; keeps prior immutable assets intact. */

.simulation-comparison {
  margin: 56px 0 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}

.simulation-comparison-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.simulation-comparison-head h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.24;
  margin-bottom: 10px;
}

.simulation-comparison-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.comparison-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}

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

.comparison-table thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
}

.comparison-table thead th.col-highlight {
  color: var(--accent-strong);
  background: rgba(47, 95, 179, 0.06);
}

.comparison-table tbody th {
  width: 20%;
  font-weight: 600;
  color: var(--ink);
}

.comparison-table tbody td {
  width: 26.6%;
  color: var(--muted);
}

.comparison-table tbody td.col-highlight {
  color: var(--ink);
  font-weight: 500;
  background: rgba(47, 95, 179, 0.04);
}

.comparison-footnote {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.comparison-footnote a {
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Buyer FAQ (Progressive Disclosure, Zero-JS Native Details) ---------- */
.faq-section {
  scroll-margin-top: 84px;
}

.faq-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 14px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 180ms ease;
}

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

.faq-item summary:hover {
  color: var(--accent-strong);
}

.faq-answer {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 66ch;
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-answer a {
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .comparison-table-wrap {
    overflow-x: visible;
    border-bottom: none;
    background: transparent;
  }

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

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

  .comparison-table tbody tr {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    margin-top: 14px;
    overflow: hidden;
  }

  .comparison-table tbody th {
    padding: 14px 16px 10px;
    font-family: var(--serif);
    font-size: 17px;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
  }

  .comparison-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
  }

  .comparison-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 4px;
  }

  .comparison-table tbody td.col-highlight::before {
    color: var(--accent-strong);
  }
}

@media (max-width: 860px) {
  .faq-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .simulation-comparison {
    margin: 40px 0 36px;
    padding-top: 32px;
  }

  .faq-item summary {
    font-size: 17.5px;
    padding: 18px 0;
  }
}
