/* ============================================================
   Comparison / SEO landing pages — Supersei vs competitors
   ============================================================ */

.cmp-hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) clamp(20px, 4vw, 48px) 72px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(5, 150, 105, 0.14), transparent 58%),
    radial-gradient(700px 420px at 5% 100%, rgba(14, 116, 144, 0.08), transparent 55%),
    var(--ink-1);
  border-bottom: 1px solid var(--line-1);
}

.cmp-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.cmp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--em-2);
  background: var(--em-soft);
  border: 1px solid var(--em-line);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.cmp-hero h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0 0 20px;
}

.cmp-hero h1 em {
  font-style: italic;
  background: linear-gradient(110deg, var(--em-1) 10%, var(--em-2) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cmp-hero-sub {
  color: var(--tx-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto 28px;
}

.cmp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

@media (max-width: 520px) {
  .cmp-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .cmp-hero-ctas .btn { width: 100%; }
}

.cmp-hero-trust {
  color: var(--tx-3);
  font-size: 13.5px;
  margin: 0;
}

.cmp-loop {
  padding: 72px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line-1);
}

.cmp-loop-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cmp-loop .section-head,
.cmp-matrix-inner .section-head,
.cmp-cards-inner .section-head {
  text-align: center;
  margin-bottom: 40px;
}

.cmp-loop .section-head h2,
.cmp-matrix-inner .section-head h2,
.cmp-cards-inner .section-head h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cmp-loop .section-head p,
.cmp-matrix-inner .section-head p,
.cmp-cards-inner .section-head p {
  color: var(--tx-2);
  font-size: 16.5px;
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.65;
}

.cmp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .cmp-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .cmp-steps { grid-template-columns: 1fr; }
}

.cmp-step {
  background: var(--ink-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-card);
  padding: 22px 20px;
}

.cmp-step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--em-2);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}

.cmp-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.cmp-step p {
  margin: 0;
  color: var(--tx-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ---- matrix ---- */
.cmp-matrix-wrap {
  padding: 72px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line-1);
  background: radial-gradient(800px 360px at 50% 0%, rgba(16, 185, 129, 0.06), transparent 55%);
}

.cmp-matrix-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.cmp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-1);
  border-radius: var(--r-card);
  background: var(--ink-2);
  box-shadow: var(--shadow-card);
}

.cmp-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.cmp-table th,
.cmp-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-1);
  vertical-align: middle;
  text-align: center;
}

.cmp-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-3);
  background: var(--ink-3);
}

.cmp-table td:first-child,
.cmp-table th:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--tx-1);
  min-width: 200px;
  padding-left: 18px;
}

.cmp-table th:first-child {
  font-weight: 700;
  color: var(--tx-3);
  text-transform: uppercase;
}

.cmp-table tr:last-child td { border-bottom: none; }

/* Supersei column highlight */
.cmp-table th.cmp-col-ss,
.cmp-table td.cmp-col-ss {
  background: rgba(16, 185, 129, 0.12);
  box-shadow: inset 2px 0 0 var(--em-2), inset -2px 0 0 var(--em-2);
  text-align: center;
}

.cmp-table th.cmp-col-ss {
  background: rgba(16, 185, 129, 0.18);
  color: var(--em-2);
  box-shadow: inset 2px 0 0 var(--em-2), inset -2px 0 0 var(--em-2), inset 0 2px 0 var(--em-2);
}

.cmp-table tr:last-child td.cmp-col-ss {
  box-shadow: inset 2px 0 0 var(--em-2), inset -2px 0 0 var(--em-2), inset 0 -2px 0 var(--em-2);
}

.cmp-ss-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 14px;
  font-weight: 800;
  color: var(--tx-1);
}

.cmp-ss-head img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}

.cmp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  text-align: center;
  line-height: 1.25;
}

.cmp-cell-icon {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.cmp-cell-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cmp-yes .cmp-cell-icon { color: var(--em-2); }
.cmp-yes .cmp-cell-label { color: var(--em-2); }
.cmp-partial .cmp-cell-icon { color: var(--warn); }
.cmp-partial .cmp-cell-label { color: var(--warn); }
.cmp-no .cmp-cell-icon { color: var(--tx-3); }
.cmp-no .cmp-cell-label { color: var(--tx-3); }

.cmp-table td.cmp-col-ss .cmp-yes .cmp-cell-icon,
.cmp-table td.cmp-col-ss .cmp-yes .cmp-cell-label {
  color: var(--em-2);
}

/* ---- cards / why / faq / cta ---- */
.cmp-cards {
  padding: 72px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line-1);
}

.cmp-cards-inner { max-width: 1100px; margin: 0 auto; }

.cmp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .cmp-card-grid { grid-template-columns: 1fr; }
}

.cmp-card {
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-card);
  padding: 26px 24px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.cmp-card:hover {
  border-color: var(--em-line);
  transform: translateY(-2px);
}

.cmp-card-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--em-mid);
  margin-bottom: 10px;
  display: block;
}

.cmp-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.cmp-card p {
  margin: 0 0 14px;
  color: var(--tx-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.cmp-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--em-2);
}

.cmp-why {
  padding: 72px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line-1);
}

.cmp-why-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cmp-why-inner h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-align: center;
}

.cmp-why-inner > p.lead {
  color: var(--tx-2);
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
  max-width: 54ch;
  margin: 0 auto 36px;
}

.cmp-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--ink-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-card);
  overflow: hidden;
}

.cmp-why-list li {
  padding: 20px 24px 20px 52px;
  border-bottom: 1px solid var(--line-1);
  position: relative;
  color: var(--tx-2);
  font-size: 15px;
  line-height: 1.6;
}

.cmp-why-list li:last-child { border-bottom: none; }

.cmp-why-list li::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 20px;
  color: var(--em-2);
  font-weight: 800;
}

.cmp-why-list li strong {
  color: var(--tx-1);
  display: block;
  margin-bottom: 4px;
  font-size: 15.5px;
}

.cmp-faq {
  padding: 72px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line-1);
}

.cmp-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cmp-faq-inner h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  text-align: center;
}

.cmp-faq details {
  border: 1px solid var(--line-1);
  border-radius: 12px;
  background: var(--ink-2);
  margin-bottom: 10px;
  padding: 0 18px;
}

.cmp-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.cmp-faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--em-2);
  font-size: 18px;
  flex-shrink: 0;
}

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

.cmp-faq details p {
  margin: 0 0 16px;
  color: var(--tx-2);
  font-size: 14.5px;
  line-height: 1.65;
}

.cmp-cta {
  padding: 80px clamp(20px, 4vw, 48px);
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 100%, rgba(5, 150, 105, 0.14), transparent 60%),
    var(--ink-1);
}

.cmp-cta h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.cmp-cta p {
  color: var(--tx-2);
  font-size: 17px;
  max-width: 48ch;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.cmp-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cmp-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .cmp-vs-grid { grid-template-columns: 1fr; }
}

.cmp-vs-col {
  background: var(--ink-2);
  border: 1px solid var(--line-1);
  border-radius: var(--r-card);
  padding: 24px;
}

.cmp-vs-col.winner {
  border-color: var(--em-line);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), var(--ink-2) 40%);
}

.cmp-vs-col h3 {
  font-size: 18px;
  margin: 0 0 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmp-vs-col h3 img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.cmp-vs-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmp-vs-col li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line-1);
  position: relative;
  color: var(--tx-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.cmp-vs-col li:last-child { border-bottom: none; }

.cmp-vs-col.winner li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--em-2);
  font-weight: 800;
}

.cmp-vs-col:not(.winner) li::before {
  content: "–";
  position: absolute;
  left: 4px;
  color: var(--tx-3);
}

.cmp-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) clamp(20px, 4vw, 48px) 0;
  font-size: 13px;
  color: var(--tx-3);
}

.cmp-breadcrumb a {
  color: var(--tx-2);
  text-decoration: none;
}

.cmp-breadcrumb a:hover { color: var(--em-2); }

.cmp-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.cmp-prose p {
  color: var(--tx-2);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.cmp-prose h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 36px 0 14px;
  color: var(--tx-1);
}

.nav-links a[aria-current="page"] {
  color: var(--em-2);
}
