/* Alternatives & comparison page — ProxyGrove brand tokens */

.alt-page {
  background: #ffffff;
  color: #111827;
}

.alt-breadcrumb {
  padding: 1.25rem 0 0;
}

.alt-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.alt-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #94a3b8;
}

.alt-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.alt-breadcrumb a:hover,
.alt-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.alt-hero {
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 72%);
}

.alt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.alt-hero-copy h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
}

.alt-research-date {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: #64748b;
}

.alt-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.alt-hero-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  pointer-events: none;
}

.alt-compare-svg {
  width: min(100%, 560px);
  height: auto;
  position: relative;
  filter: drop-shadow(0 18px 40px rgba(37, 99, 235, 0.1));
}

.alt-section {
  padding: 4rem 0;
}

.alt-band {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.alt-section-head {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.alt-section-head--left {
  margin-left: 0;
  text-align: left;
}

.alt-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #111827;
}

.alt-section-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.alt-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.alt-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.alt-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.alt-card--ours {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 55%);
  grid-column: 1 / -1;
}

.alt-card-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}

.alt-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #111827;
}

.alt-card > p {
  margin: 0 0 1rem;
  color: #64748b;
  line-height: 1.6;
}

.alt-card-meta {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.alt-card-meta li {
  font-size: 0.9375rem;
  color: #334155;
  padding-left: 1rem;
  position: relative;
}

.alt-card-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #3b82f6;
}

.alt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.alt-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  -webkit-overflow-scrolling: touch;
}

.alt-table-wrap:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.alt-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.alt-table th,
.alt-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
  line-height: 1.5;
  color: #334155;
}

.alt-table thead th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.alt-table tbody th {
  background: #fff;
  color: #111827;
  font-weight: 600;
  min-width: 10rem;
}

.alt-col-ours {
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

.alt-table-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
}

.alt-analysis {
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 1.25rem;
}

.alt-analysis h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.alt-analysis > p {
  color: #64748b;
  line-height: 1.65;
}

.alt-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.alt-analysis h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #111827;
}

.alt-analysis ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #475569;
  line-height: 1.55;
}

.alt-source-line {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.alt-source-line a {
  color: #2563eb;
}

.alt-edu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.alt-edu {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
}

.alt-edu h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.alt-edu p {
  margin: 0 0 0.65rem;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

.alt-edu a {
  color: #2563eb;
  font-size: 0.9rem;
}

.alt-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.alt-checklist {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.alt-checklist li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #334155;
  line-height: 1.55;
}

.alt-checklist li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}

.alt-aside {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
}

.alt-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.alt-aside ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #64748b;
  line-height: 1.55;
}

.alt-guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
  display: grid;
  gap: 1rem;
}

.alt-guide-list li {
  counter-increment: guide;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
}

.alt-guide-list li::before {
  content: counter(guide);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.alt-guide-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.alt-guide-list p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.alt-sources {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.alt-sources li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: baseline;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.alt-sources a {
  color: #2563eb;
  font-weight: 500;
}

.alt-sources span {
  color: #94a3b8;
  font-size: 0.85rem;
}

.alt-faq {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.alt-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 0.35rem 1rem;
}

.alt-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #111827;
  padding: 0.85rem 0;
  list-style: none;
}

.alt-faq-item summary::-webkit-details-marker {
  display: none;
}

.alt-faq-item summary::after {
  content: "+";
  float: right;
  color: #2563eb;
  font-weight: 700;
}

.alt-faq-item[open] summary::after {
  content: "–";
}

.alt-faq-item p {
  margin: 0 0 1rem;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .alt-hero-grid,
  .alt-split,
  .alt-analysis-grid,
  .alt-edu-grid {
    grid-template-columns: 1fr;
  }

  .alt-card-grid {
    grid-template-columns: 1fr;
  }

  .alt-card--ours {
    grid-column: auto;
  }

  .alt-hero-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .alt-section {
    padding: 3rem 0;
  }

  .alt-card-actions .btn,
  .cta-row .btn,
  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
