body.compare-page {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7fb;
  color: #0f172a;
  line-height: 1.65;
}

.compare-page * {
  box-sizing: border-box;
}

.compare-page a {
  color: #1d4ed8;
  text-decoration: none;
}

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

.compare-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.compare-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #dbe3f1;
}

.compare-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.compare-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 700;
}

.compare-topbar__brand img {
  height: 34px;
  width: auto;
}

.compare-topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.compare-topbar__nav a {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.compare-button,
.compare-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  transition: 180ms ease;
}

.compare-button {
  background: #1d4ed8;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.18);
}

.compare-button:hover {
  background: #1e40af;
  text-decoration: none;
}

.compare-button--ghost {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}

.compare-button--ghost:hover {
  border-color: #1d4ed8;
  color: #1d4ed8 !important;
  text-decoration: none;
}

.compare-hero {
  padding: 72px 0 30px;
}

.compare-hero__panel {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 55%, #f8fafc 100%);
  border: 1px solid #dbe3f1;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-page h1,
.compare-page h2,
.compare-page h3 {
  font-family: 'DM Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.compare-page h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.compare-page h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.compare-page h3 {
  font-size: 1.2rem;
}

.compare-subtitle {
  max-width: 760px;
  font-size: 18px;
  color: #334155;
  margin: 0 0 22px;
}

.compare-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
  color: #64748b;
  font-size: 14px;
}

.compare-cta-row,
.compare-related {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.compare-section {
  padding: 22px 0 8px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.compare-card,
.compare-table-wrap,
.compare-highlight,
.compare-source-box,
.compare-cta-box {
  background: #ffffff;
  border: 1px solid #dbe3f1;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.04);
}

.compare-card,
.compare-highlight,
.compare-source-box,
.compare-cta-box {
  padding: 24px;
}

.compare-card ul,
.compare-highlight ul,
.compare-source-box ul {
  margin: 0;
  padding-left: 18px;
}

.compare-card p,
.compare-highlight p,
.compare-source-box p,
.compare-page li,
.compare-table,
.compare-page td,
.compare-page th {
  color: #334155;
}

.span-4 {
  grid-column: span 4;
}

.span-6 {
  grid-column: span 6;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.compare-table-wrap {
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
}

.compare-table thead th {
  background: #eff6ff;
  color: #0f172a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.compare-highlight {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.compare-highlight h2,
.compare-highlight h3,
.compare-highlight p,
.compare-highlight li {
  color: #ffffff;
}

.compare-highlight .compare-button--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
}

.compare-highlight .compare-button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.compare-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.compare-source-box a {
  word-break: break-word;
}

.compare-related a {
  display: inline-flex;
  align-items: center;
  padding: 11px 15px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
}

.compare-footer {
  padding: 44px 0 60px;
  color: #64748b;
  font-size: 14px;
}

.compare-footer__panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid #dbe3f1;
}

@media (max-width: 900px) {
  .span-4,
  .span-6,
  .span-8 {
    grid-column: span 12;
  }

  .compare-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-hero__panel {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .compare-shell {
    width: min(100% - 24px, 1120px);
  }

  .compare-hero {
    padding-top: 42px;
  }

  .compare-hero__panel,
  .compare-card,
  .compare-highlight,
  .compare-source-box,
  .compare-cta-box {
    padding: 20px;
    border-radius: 20px;
  }

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