.benefit-page {
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 48%, #fff 100%);
}

.benefit-hero {
  padding: 42px 0 34px;
}

.benefit-hero-grid,
.benefit-problem-grid,
.benefit-flow-grid {
  display: grid;
  gap: 28px;
}

.benefit-hero-copy {
  display: grid;
  gap: 16px;
}

.benefit-back {
  width: max-content;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.benefit-back:hover {
  color: var(--text);
}

.benefit-hero h1,
.benefit-section h2 {
  margin: 0;
  color: #20254e;
  letter-spacing: 0;
}

.benefit-hero h1 {
  max-width: 14ch;
  font-size: 34px;
  line-height: 1.08;
  text-align: left;
}

.benefit-lead,
.benefit-section-copy p,
.benefit-flow-sticky p,
.benefit-proof-card p,
.benefit-context-card p {
  margin: 0;
  color: #2b314f;
  font-size: 16px;
  line-height: 1.75;
}

.benefit-promise {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(63, 81, 181, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(63, 81, 181, 0.08);
}

.benefit-quick-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.benefit-quick-proof span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
}

.benefit-promise span,
.benefit-kicker,
.benefit-context-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefit-promise strong {
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.benefit-actions {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.benefit-price {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.benefit-stage {
  position: relative;
  min-height: 330px;
  color: inherit;
}

.benefit-stage-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 310px;
  padding: 24px;
  border: 1px solid rgba(63, 81, 181, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(32, 37, 78, 0.14);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.benefit-stage:hover .benefit-stage-card,
.benefit-stage:focus-visible .benefit-stage-card {
  transform: translateY(-4px);
  border-color: rgba(32, 37, 78, 0.22);
  box-shadow: 0 34px 90px rgba(32, 37, 78, 0.18);
}

.benefit-stage-card img {
  width: min(100%, 360px);
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(63, 81, 181, 0.12));
}

.benefit-stage-chip,
.benefit-stage-panel {
  width: max-content;
  border: 1px solid rgba(63, 81, 181, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benefit-stage-chip {
  padding: 8px 12px;
  background: #f8f9ff;
}

.benefit-stage-panel {
  display: grid;
  gap: 3px;
  justify-self: end;
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 16px 40px rgba(63, 81, 181, 0.1);
}

.benefit-stage-panel strong {
  color: #111827;
  font-size: 15px;
}

.benefit-section {
  padding: 48px 0;
}

.benefit-section-soft {
  background: #fff;
}

.benefit-section-copy,
.benefit-section-head,
.benefit-flow-sticky,
.benefit-proof-card {
  display: grid;
  gap: 14px;
}

.benefit-section-head {
  max-width: 780px;
}

.benefit-section h2 {
  font-size: 30px;
  line-height: 1.08;
}

.benefit-rail-hint {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.benefit-pain-stack {
  display: grid;
  gap: 12px;
}

.benefit-pain-card,
.benefit-pain-card-inner {
  min-height: 174px;
}

.benefit-pain-card {
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1100px;
  touch-action: manipulation;
}

.benefit-pain-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.benefit-pain-card.is-flipped .benefit-pain-card-inner {
  transform: rotateX(180deg);
}

.benefit-pain-card:focus-visible {
  outline: 3px solid rgba(63, 81, 181, 0.28);
  outline-offset: 5px;
  border-radius: 18px;
}

.benefit-pain-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(63, 81, 181, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(63, 81, 181, 0.06);
  backface-visibility: hidden;
}

.benefit-pain-back {
  border-color: #20254e;
  background: #20254e;
  transform: rotateX(180deg);
}

.benefit-tap-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(63, 81, 181, 0.08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.benefit-pain-card span,
.benefit-flow-list > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(63, 81, 181, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.benefit-pain-card p {
  margin: 0;
  color: #111827;
  font-weight: 650;
  line-height: 1.5;
}

.benefit-pain-back span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.benefit-pain-back p,
.benefit-pain-back .benefit-tap-chip {
  color: #fff;
}

.benefit-pain-back .benefit-tap-chip {
  background: rgba(255, 255, 255, 0.14);
}

.benefit-outcome-rail {
  display: grid;
  grid-auto-columns: minmax(78%, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  margin-top: 32px;
  padding: 2px 4px 18px;
  overflow-x: auto;
  scroll-padding: 24px;
  scroll-snap-type: x mandatory;
}

.benefit-outcome-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(63, 81, 181, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(63, 81, 181, 0.08);
  scroll-snap-align: start;
}

.benefit-outcome-card > span {
  display: inline-flex;
  margin-bottom: 38px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(63, 81, 181, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.benefit-outcome-card h3,
.benefit-flow-list h3 {
  margin: 0;
  color: #111827;
  font-size: 21px;
  line-height: 1.2;
}

.benefit-outcome-card p,
.benefit-flow-list p {
  margin: 12px 0 0;
  color: #2b314f;
  line-height: 1.65;
}

.benefit-flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-flow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(63, 81, 181, 0.12);
  border-radius: 18px;
  background: #fff;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease;
}

.benefit-flow-list li:hover {
  transform: translateX(4px);
  border-color: rgba(63, 81, 181, 0.2);
}

.benefit-proof-card {
  padding: 24px;
  border: 1px solid rgba(63, 81, 181, 0.14);
  border-radius: 22px;
  background: #f8f9ff;
  box-shadow: 0 24px 70px rgba(32, 37, 78, 0.1);
}

.benefit-proof-copy {
  display: grid;
  gap: 22px;
}

.benefit-proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit-proof-pills span {
  padding: 10px 13px;
  border: 1px solid rgba(63, 81, 181, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.benefit-context {
  padding-top: 0;
}

.benefit-context-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(63, 81, 181, 0.1);
  border-radius: 18px;
  background: #fff;
}

.benefit-context-card strong {
  color: #111827;
  font-size: 14px;
}

@keyframes benefitCardTease {
  0%,
  100% {
    transform: rotateX(0deg) rotateZ(0deg) translate3d(0, 0, 0) scale(1);
  }

  32% {
    transform: rotateX(13deg) rotateZ(-1.6deg) translate3d(-2px, -5px, 0) scale(1.012);
  }

  66% {
    transform: rotateX(-7deg) rotateZ(1.1deg) translate3d(2px, 0, 0) scale(1);
  }
}

@media (max-width: 759px), (pointer: coarse) {
  .benefit-pain-card-tease .benefit-pain-card-inner {
    transform-origin: center;
  }

  .benefit-pain-card-tease.is-teasing:not(.is-flipped) .benefit-pain-card-inner {
    animation: benefitCardTease 1.35s cubic-bezier(0.2, 0.72, 0.22, 1) 0.25s 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-pain-card-inner {
    animation: none !important;
    transition: none;
  }
}

@media (min-width: 760px) {
  .benefit-hero {
    padding: 74px 0 54px;
  }

  .benefit-hero h1 {
    font-size: 52px;
  }

  .benefit-section h2 {
    font-size: 44px;
  }

  .benefit-hero-grid,
  .benefit-problem-grid,
  .benefit-flow-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 44px;
  }

  .benefit-stage {
    margin-top: -36px;
  }

  .benefit-outcome-rail {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .benefit-rail-hint,
  .benefit-tap-chip {
    display: none;
  }

  .benefit-outcome-card {
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease;
  }

  .benefit-outcome-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 66px rgba(63, 81, 181, 0.14);
  }

  .benefit-flow-sticky {
    position: sticky;
    top: 110px;
    align-self: start;
  }

  .benefit-proof-card {
    grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
    align-items: center;
    min-height: 360px;
  }

  .benefit-proof-card .btn {
    grid-column: 2;
    justify-self: end;
  }
}

@media (min-width: 760px) and (min-height: 680px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .benefit-problem-section {
    --problem-sticky-top: 92px;
    min-height: 260vh;
    padding: 0;
  }

  .benefit-problem-grid {
    position: sticky;
    top: var(--problem-sticky-top);
    min-height: calc(100svh - var(--problem-sticky-top));
    align-items: start;
    padding: 44px 0;
  }

  .benefit-pain-card,
  .benefit-pain-card-inner {
    min-height: 112px;
  }

  .benefit-pain-face {
    padding: 14px 15px;
  }

  .benefit-pain-card p {
    font-size: 15px;
    line-height: 1.35;
  }
}
