/* Features page only */
.compare-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.compare-heading p { max-width: 620px; margin-inline: auto; }

.compare-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  margin: 0 auto 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 14px 34px rgba(30,26,14,.055);
  backdrop-filter: blur(16px);
}
.compare-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  padding: 12px 22px;
  font: inherit;
  font-size: .88rem;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.compare-tab:hover { color: var(--ink); }
.compare-tab.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.compare-tab:focus-visible { outline: 3px solid rgba(243,196,0,.45); outline-offset: 2px; }

.compare-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 650;
}
.compare-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-symbol {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: .9rem;
  line-height: 1;
}
.legend-yes { background: rgba(243,196,0,.18); color: #6f5900; }
.legend-partial { background: rgba(60,58,52,.075); color: #5f5b52; }
.legend-no { color: #aaa79f; }

.compare-panel[hidden] { display: none; }
.compare-panel { animation: compare-in .22s ease both; }
@keyframes compare-in { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.competitor-wrap { border-color: rgba(243,196,0,.22); }
.competitor-table {
  min-width: 980px;
  table-layout: fixed;
}
.competitor-table thead th:first-child { width: 34%; }
.competitor-table thead th:not(:first-child) { width: 16.5%; }
.competitor-table th,
.competitor-table td { vertical-align: middle; }
.competitor-table tbody td:first-child {
  color: var(--ink);
  font-size: .91rem;
  font-weight: 690;
  line-height: 1.38;
}
.competitor-table tbody td:not(:first-child) {
  text-align: center;
  font-weight: 700;
}
.competitor-table .citrus-column {
  background: linear-gradient(180deg, rgba(243,196,0,.11), rgba(243,196,0,.035));
  box-shadow: inset 1px 0 rgba(243,196,0,.13), inset -1px 0 rgba(243,196,0,.13);
}
.competitor-table thead .citrus-column { background: rgba(243,196,0,.18); }
.competitor-table tbody tr:not(.group-row):hover td { background-color: rgba(255,255,255,.42); }
.competitor-table tbody tr:not(.group-row):hover .citrus-column { background: rgba(243,196,0,.14); }
.ownership-row td:first-child { font-weight: 850; }

.feature-state {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}
.state-yes {
  color: #6d5700;
  background: rgba(243,196,0,.18);
  box-shadow: inset 0 0 0 1px rgba(243,196,0,.12);
}
.state-no {
  color: #aaa79f;
  background: rgba(80,76,67,.035);
  font-weight: 700;
}

.comparison-sources {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  text-align: center;
}
.comparison-sources a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .compare-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 18px;
  }
  .compare-tab { padding-inline: 10px; border-radius: 13px; }
  .compare-legend { gap: 8px 12px; font-size: .7rem; }
}


/* Unified table pricing footer */
.compare-table .pricing-group td { background: rgba(18,18,16,.055); color: var(--muted-strong); }
.compare-table .pricing-row td { padding-top: 21px; padding-bottom: 21px; font-weight: 900; background: rgba(255,255,255,.55); }
.compare-table .pricing-row td:not(:first-child) { text-align: center; font-size: .96rem; }
.compare-table .pricing-row td:nth-child(2) { background: rgba(243,196,0,.10); }
