/* Homepage proof, trial clarity, and plan comparison. */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

.premium-home .whop-proof-badge {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 4px 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 12px 15px;
  border: 1px solid rgba(215, 183, 127, 0.38);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

.premium-home .whop-proof-badge__stars {
  color: var(--brass-light);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.premium-home .whop-proof-badge strong {
  color: var(--white);
  font-size: 13px;
}

.premium-home .whop-proof-badge > span:not(.whop-proof-badge__stars) {
  font-size: 11px;
}

.premium-home .whop-proof-badge b {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-home .trust-review-link {
  color: #755a31;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.premium-home .proof-section {
  background: var(--ivory);
  border-top: 1px solid var(--line);
}

.premium-home .proof-section .eyebrow {
  color: #755a31;
}

.premium-home .proof-section .section-heading {
  margin-bottom: 28px;
}

.premium-home .proof-summary {
  display: grid;
  align-content: end;
  gap: 5px;
  padding-bottom: 6px;
}

.premium-home .proof-summary strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.premium-home .proof-summary span {
  color: #5d696f;
  font-size: 12px;
}

.premium-home .proof-summary__source {
  width: fit-content;
  color: #755a31;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-home .review-rail {
  --review-gap: 18px;
  --review-distance: 0px;
  --review-duration: 300s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.premium-home .review-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.premium-home .proof-selection {
  margin: 0;
  color: #755a31;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.premium-home .review-rail__toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(11, 17, 22, 0.22);
  background: transparent;
  color: #26343b;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-home .review-rail__toggle[hidden] {
  display: none;
}

.premium-home .review-rail__toggle:hover {
  border-color: #755a31;
  color: #755a31;
}

.premium-home .review-rail__toggle:focus-visible {
  outline: 3px solid rgba(117, 90, 49, 0.46);
  outline-offset: 3px;
}

.premium-home .review-rail__toggle:disabled {
  cursor: default;
  opacity: 0.7;
}

.premium-home .review-rail__toggle-icon {
  font-size: 13px;
  line-height: 1;
}

.premium-home .review-rail__viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.premium-home .review-rail__viewport::-webkit-scrollbar {
  height: 0;
}

.premium-home .review-rail__viewport:focus-visible {
  outline: 3px solid rgba(117, 90, 49, 0.46);
  outline-offset: -3px;
}

.premium-home .review-rail__track {
  display: flex;
  width: max-content;
  gap: var(--review-gap);
}

.premium-home .review-rail.is-ready .review-rail__track {
  animation: flb-review-rail var(--review-duration) linear infinite;
  will-change: transform;
}

.premium-home .review-rail__group {
  display: flex;
  gap: var(--review-gap);
}

.premium-home .review-rail.is-paused .review-rail__track,
.premium-home .review-rail.is-reduced-motion .review-rail__track {
  animation-play-state: paused;
}

@keyframes flb-review-rail {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--review-distance)), 0, 0);
  }
}

.premium-home .proof-card {
  display: flex;
  width: clamp(280px, 32vw, 400px);
  min-height: 360px;
  flex: 0 0 clamp(280px, 32vw, 400px);
  flex-direction: column;
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(11, 17, 22, 0.14);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(11, 17, 22, 0.055);
}

.premium-home .proof-card__stars {
  color: var(--brass-dark);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.premium-home .proof-card > p {
  margin: 26px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.4;
}

.premium-home .proof-card--rating-only > p {
  max-width: 10ch;
  font-size: clamp(25px, 2.1vw, 31px);
  line-height: 1.22;
}

.premium-home .proof-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.premium-home .proof-card cite {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.premium-home .proof-card footer span {
  color: #5d696f;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-home .trial-terms {
  margin: 11px 0 0;
  color: #58676f;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.premium-home .plan-comparison {
  margin-top: 56px;
  border: 1px solid rgba(11, 17, 22, 0.16);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(11, 17, 22, 0.06);
}

.premium-home .plan-comparison__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 45px;
  padding: 32px 34px;
  border-bottom: 1px solid var(--line);
}

.premium-home .plan-comparison__heading h3 {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.05;
}

.premium-home .plan-comparison__heading p {
  color: #657279;
  font-size: 12px;
  line-height: 1.6;
}

.premium-home .plan-comparison__scroll {
  overflow-x: auto;
  outline: none;
}

.premium-home .plan-comparison__scroll:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(183, 139, 82, 0.45);
}

.premium-home .plan-comparison table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.premium-home .plan-comparison th,
.premium-home .plan-comparison td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: #56646b;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}

.premium-home .plan-comparison th:last-child,
.premium-home .plan-comparison td:last-child {
  border-right: 0;
}

.premium-home .plan-comparison tbody tr:last-child th,
.premium-home .plan-comparison tbody tr:last-child td {
  border-bottom: 0;
}

.premium-home .plan-comparison thead th {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.premium-home .plan-comparison thead th:nth-child(3) {
  background: #17303b;
  color: var(--brass-light);
}

.premium-home .plan-comparison tbody th {
  width: 24%;
  color: var(--ink);
  font-weight: 750;
}

.premium-home .plan-comparison tbody td:nth-child(3) {
  background: rgba(215, 183, 127, 0.1);
  color: var(--ink);
  font-weight: 700;
}

.premium-home .comparison-followup {
  max-width: 900px;
  margin: 22px auto 0;
  color: #37454c;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.premium-home .comparison-followup a {
  color: #0b1116;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.premium-home .comparison-followup a:hover {
  color: var(--brass-dark);
}

.premium-home .comparison-followup a:focus-visible {
  outline: 3px solid var(--brass-dark);
  outline-offset: 4px;
}

.premium-home .bundle-value {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  gap: 34px;
  max-width: 980px;
  margin: 24px auto 0;
  padding: 24px 28px;
  border-left: 3px solid var(--brass);
  background: var(--ink);
  color: var(--white);
}

.premium-home .bundle-value strong {
  color: var(--brass-light);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.15;
}

.premium-home .bundle-value p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .premium-home .plan-comparison__heading,
  .premium-home .bundle-value {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .premium-home .whop-proof-badge {
    width: 100%;
  }

  .premium-home .review-rail__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-home .proof-summary strong {
    font-size: 30px;
  }

  .premium-home .proof-card {
    padding: 25px;
  }

  .premium-home .plan-comparison__heading {
    padding: 25px;
  }

  .premium-home .plan-comparison__scroll {
    scrollbar-width: thin;
  }

  .premium-home .plan-comparison th,
  .premium-home .plan-comparison td {
    padding: 15px 16px;
  }

  .premium-home .bundle-value {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-home .review-rail__toggle,
  .premium-home [data-review-clone] {
    display: none;
  }

  .premium-home .review-rail.is-ready .review-rail__track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .premium-home .review-rail__viewport {
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    scrollbar-color: #755a31 transparent;
  }

  .premium-home [data-review-group] > .proof-card {
    scroll-snap-align: start;
  }

  .premium-home .review-rail__viewport::-webkit-scrollbar {
    height: 6px;
  }
}
