/* Compare panels only — hero is typography-first */

.home-compare {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 4.5rem 0 2.5rem;
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
}

.home-compare-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  letter-spacing: -0.035em;
  font-weight: 750;
  line-height: 1.15;
}

.home-compare-lead {
  margin: 0.55rem 0 0;
  color: #9aa3b0;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 30rem;
}

.cmp-pair {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  text-align: left;
}

.cmp-panel {
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 16, 20, 0.92);
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.cmp-panel.is-off { opacity: 0.82; }

.cmp-panel.is-on {
  border-color: rgba(59, 158, 255, 0.38);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(59, 158, 255, 0.16), transparent 55%),
    rgba(12, 18, 28, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.cmp-badge {
  margin: 0;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b919c;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cmp-panel.is-on .cmp-badge {
  color: #d7ecff;
  background: rgba(59, 158, 255, 0.16);
  border-color: rgba(59, 158, 255, 0.3);
}

.cmp-panel h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.cmp-desc {
  margin: 0 0 0.25rem;
  color: #9aa3b0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cmp-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.cmp-panel li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cmp-panel li span {
  color: #8b919c;
  font-size: 0.82rem;
}

.cmp-panel li strong {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: right;
}

.cmp-panel.is-on li strong { color: #e8f4ff; }

@media (max-width: 720px) {
  .cmp-pair {
    grid-template-columns: 1fr;
  }

  .home-compare {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

/* Home: skip scroll-in pop on FAQ cards; keep open/close motion */
body[data-page="home"] .reveal,
body[data-page="home"] .faq-item.reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Home proof — stock vs tuned slider */
.home-proof {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 5rem 0 2.75rem;
  display: grid;
  gap: 1.15rem;
  justify-items: center;
  text-align: center;
}

.home-proof-head {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.home-proof-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  letter-spacing: -0.035em;
  font-weight: 750;
  line-height: 1.12;
  color: #fff;
}

.home-proof-lead {
  margin: 0;
  max-width: 30rem;
  color: #9aa3b0;
  font-size: 1.02rem;
  line-height: 1.45;
}

.proof-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proof-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.proof-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9aa3b0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.proof-tab:hover { color: #fff; }

.proof-tab.is-active {
  background: rgba(59, 158, 255, 0.16);
  color: #e8f4ff;
}

.proof-hint {
  margin: 0;
  color: #6f7785;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.proof-panel { width: 100%; }

.proof-frame {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0e12;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.proof-layer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}

.proof-layer-after {
  right: 0;
}

.proof-layer-before {
  width: var(--frame-w, 100%);
  max-width: none;
}

.proof-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #10141a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  pointer-events: none;
}

.proof-clip {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos);
  overflow: hidden;
  z-index: 2;
}

.proof-tag {
  position: absolute;
  top: 1rem;
  z-index: 1;
  max-width: min(14rem, 52%);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.2;
  pointer-events: none;
}

.proof-tag-before {
  left: 1rem;
  color: #e8ecf2;
  background: rgba(8, 10, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.proof-tag-after {
  right: 1rem;
  color: #fff;
  background: #3b9eff;
  border: 1px solid #57abff;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(59, 158, 255, 0.35);
}

.proof-fps {
  position: absolute;
  bottom: 0.85rem;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.proof-fps small {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: 0.12rem;
  opacity: 0.85;
}

.proof-fps-before { left: 0.95rem; }
.proof-fps-after { right: 0.95rem; }

.proof-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2.5rem;
  transform: translateX(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  touch-action: none;
  outline: none;
}

.proof-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.proof-handle-knob {
  position: relative;
  z-index: 1;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #e8f4ff;
  background: rgba(12, 14, 18, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.proof-handle:focus-visible .proof-handle-knob {
  border-color: #3b9eff;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.35);
}

.proof-note {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  color: #8b919c;
  font-size: 0.92rem;
  line-height: 1.45;
}

.proof-note a {
  color: #cfe6ff;
  text-decoration: none;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.proof-note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .home-proof {
    padding: 3.5rem 0.15rem 1.75rem;
  }

  .proof-hint { display: none; }

  .proof-fps {
    font-size: 1.3rem;
  }
}
