.compare-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}

.compare-hero {
  max-width: 900px;
}

.compare-kicker {
  margin: 0 0 0.75rem;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-hero h1 {
  margin: 0 0 1rem;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.compare-lede {
  margin: 0;
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
}

.compare-meta {
  margin: 1rem 0 1.5rem;
  color: #6b7280;
  font-size: 0.84rem;
}

.compare-disclosure {
  margin: 1.5rem 0 2rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #4f46e5;
  border-radius: 0.4rem;
  background: #f8fafc;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
}

.compare-section {
  margin: 2.75rem 0;
}

.compare-section h2 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.compare-section h3 {
  margin: 1.5rem 0 0.45rem;
  color: #111827;
  font-size: 1.12rem;
}

.compare-section p,
.compare-section li {
  color: #4b5563;
  line-height: 1.7;
}

.compare-section ul {
  padding-left: 1.25rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.compare-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  background: #fff;
}

.compare-card h3 {
  margin: 0 0 0.45rem;
  color: #111827;
  font-size: 1.08rem;
}

.compare-card p {
  margin: 0 0 0.9rem;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.6;
}

.compare-card a {
  margin-top: auto;
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

.compare-card a:hover {
  text-decoration: underline;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #f8fafc;
  color: #111827;
  font-weight: 700;
}

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

.compare-table .yes {
  color: #047857;
  font-weight: 600;
}

.compare-table .no {
  color: #b45309;
  font-weight: 600;
}

.compare-table .maybe {
  color: #6b7280;
}

.compare-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.6;
}

.compare-code {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 0.5rem;
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.6;
}

.compare-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.compare-section :not(pre) > code {
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  background: #f3f4f6;
  color: #111827;
  font-size: 0.9em;
}

.compare-cta {
  margin: 2.75rem 0;
  padding: 1.5rem;
  border: 1px solid #c7d2fe;
  border-radius: 0.6rem;
  background: #eef2ff;
}

.compare-cta h2 {
  margin-top: 0;
}

.compare-cta p {
  max-width: 720px;
}

.compare-cta .btn-hero-primary,
.compare-cta .btn-hero-secondary {
  margin-right: 0.75rem;
  margin-top: 0.5rem;
}

.compare-faq details {
  padding: 0.9rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.compare-faq summary {
  cursor: pointer;
  color: #111827;
  font-weight: 600;
}

.compare-faq p {
  margin: 0.6rem 0 0;
}

.compare-sources {
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.6;
}

.compare-sources a {
  color: #4f46e5;
}

.compare-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.compare-related a {
  padding: 0.35rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #4b5563;
  font-size: 0.84rem;
  text-decoration: none;
}

.compare-related a:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

.compare-price {
  font-weight: 700;
  color: #111827;
}

@media (max-width: 640px) {
  .compare-main {
    padding-top: 2.5rem;
  }

  .compare-cta .btn-hero-primary,
  .compare-cta .btn-hero-secondary {
    display: block;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
}

/* AOT preview navigation */
.nav-aot {
  color: #6d28d9 !important;
  font-weight: 700 !important;
}
.nav-preview {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
