/* V50 — single-product positioning, homepage social proof and system value hierarchy */

.hero-system-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 4px !important;
  padding: 0 12px;
  border: 1px solid rgba(91, 132, 255, .28);
  border-radius: 999px;
  background: rgba(91, 132, 255, .055);
  color: rgba(155, 181, 255, .82) !important;
  font: 700 10px/1 ui-monospace, "SFMono-Regular", Consolas, monospace !important;
  letter-spacing: .1em;
}

.page-home .hero {
  min-height: 700px;
  padding: calc(var(--nav-height) + 38px) 0 50px;
}

.page-indicator .product-hero {
  min-height: 780px;
}

.page-home .hero-copy h1 {
  max-width: 700px;
  margin-top: 20px;
  font-size: clamp(46px, 4.15vw, 66px);
  line-height: 1.08;
}

.page-home .hero-copy > p:not(.hero-system-label):not(.hero-note),
.page-indicator .hero-copy > p:not(.hero-system-label):not(.hero-note) {
  font-size: 16px;
}

.page-home .service-priority {
  display: block;
}

.page-home .product-priority {
  padding: 46px 0;
}

.page-home .product-priority .priority-head {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(420px, 1.35fr);
  column-gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.page-home .product-priority .priority-head > span {
  grid-column: 1 / -1;
}

.page-home .product-priority .priority-head h3 {
  max-width: 720px;
}

.page-home .product-priority .priority-head p {
  margin: 0;
  font-size: 15px;
}

/* Homepage: a lighter social-proof pass before the full product explanation. */
.home-feedback {
  position: relative;
  overflow: hidden;
  padding: 64px 0 70px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 15% 18%, rgba(91, 132, 255, .075), transparent 32%),
    linear-gradient(180deg, #0a0d12, #090c10);
}

.home-feedback::after {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 100% 72px;
  pointer-events: none;
  content: "";
}

.home-feedback-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.home-feedback-head h2 {
  margin-top: 9px;
  color: var(--text);
  font-size: clamp(26px, 2.7vw, 39px);
  font-weight: 660;
  letter-spacing: -.045em;
}

.home-feedback-viewport {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
}

.home-feedback-viewport::before,
.home-feedback-viewport::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(24px, 7vw, 112px);
  pointer-events: none;
  content: "";
}

.home-feedback-viewport::before {
  left: 0;
  background: linear-gradient(90deg, #090c10, transparent);
}

.home-feedback-viewport::after {
  right: 0;
  background: linear-gradient(270deg, #090c10, transparent);
}

.home-feedback-track {
  display: flex;
  width: max-content;
  animation: home-feedback-scroll 52s linear infinite;
  will-change: transform;
}

.home-feedback-viewport:hover .home-feedback-track,
.home-feedback-viewport:focus-within .home-feedback-track {
  animation-play-state: paused;
}

.home-feedback-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.home-feedback article {
  display: flex;
  flex: 0 0 350px;
  flex-direction: column;
  justify-content: space-between;
  width: 350px;
  min-height: 194px;
  padding: 23px 24px 21px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 12px;
  background: rgba(13, 17, 23, .9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.home-feedback blockquote {
  margin: 18px 0 22px;
  color: rgba(239, 240, 243, .83);
  font-size: 14px;
  line-height: 1.78;
}

.home-feedback article footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .065);
  background: transparent;
}

.home-feedback article footer b {
  color: var(--text-soft);
  font-size: 12px;
}

.home-feedback article footer time {
  color: var(--faint);
  font: 600 10px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

@keyframes home-feedback-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Product page: make the product architecture a value proof before pricing. */
.page-indicator .product-hero .hero-copy h1 {
  margin-top: 20px;
}

.page-indicator .status-line {
  flex-wrap: wrap;
}

.version-ledger {
  display: grid;
  grid-template-columns: auto auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 13px 17px;
  margin-top: 22px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(13, 17, 23, .64);
}

.version-ledger > span,
.version-ledger > b {
  color: var(--blue);
  font: 700 10px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}

.version-ledger > span {
  padding-right: 16px;
  border-right: 1px solid var(--border);
  color: #d5ba80;
}

.version-ledger > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .page-home .product-priority .priority-head {
    grid-template-columns: 1fr;
  }

  .page-home .product-priority .priority-head p {
    margin-top: 16px;
  }

  .version-ledger {
    grid-template-columns: auto auto 1fr;
  }

  .version-ledger > span {
    grid-row: 1 / 4;
    align-self: stretch;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .page-home .hero,
  .page-indicator .product-hero {
    min-height: auto;
  }

  .hero-system-label {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4 !important;
  }

  .page-home .hero-copy h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .home-feedback {
    padding: 52px 0 58px;
  }

  .home-feedback-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .home-feedback-viewport {
    overflow-x: auto;
    padding-inline: 18px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .home-feedback-viewport::-webkit-scrollbar {
    display: none;
  }

  .home-feedback-viewport::before,
  .home-feedback-viewport::after {
    display: none;
  }

  .home-feedback-track {
    animation: none;
  }

  .home-feedback article {
    flex-basis: min(82vw, 330px);
    width: min(82vw, 330px);
    scroll-snap-align: center;
  }

  .version-ledger {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px;
  }

  .version-ledger > span {
    grid-row: auto;
    min-height: 0;
    margin-bottom: 6px;
    padding: 0 0 11px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .version-ledger > p + b {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-feedback-track {
    animation: none;
  }

  .home-feedback-viewport {
    overflow-x: auto;
  }
}
