/* ==========================================================================
   ZillOut Partner Program page
   Dark, cinematic, type-led. Two-column hero, scroll-driven story.
   Builds on styles.css tokens.
   ========================================================================== */

.partner-body {
  background: #000;
}

.partner-page {
  --p-purple: #8155fe;
  --p-purple-soft: #b29dfc;
  --p-pink: #f5576c;
  --p-green: #34d399;
  --p-gold: #f5b942;
  --p-gold-soft: #ffd98a;
  --p-ink: rgba(255, 255, 255, 0.92);
  --p-muted: rgba(255, 255, 255, 0.55);
  --p-card: rgba(22, 18, 35, 0.65);
  --p-border: rgba(129, 85, 254, 0.22);
  color: var(--p-ink);
  /* clip, not hidden: an overflow-hidden ancestor would break the
     position:sticky phone in the story section */
  overflow-x: hidden;
  overflow-x: clip;
}

.p-container {
  width: calc(100% - 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* Nav CTA as anchor (site default is <button>) */
.partner-nav-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* mobile nav collapses to hamburger (styles.css hides .nav-cta at 768px);
   this base rule would win the cascade there, so re-hide explicitly */
@media (max-width: 768px) {
  .partner-nav-cta {
    display: none;
  }
}

/* ---------- shared type ---------- */

.p-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--p-border);
  border-radius: 999px;
  background: rgba(129, 85, 254, 0.08);
  color: var(--p-purple-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p-green);
  box-shadow: 0 0 12px var(--p-green);
  animation: p-pulse 2.2s ease-in-out infinite;
}

@keyframes p-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.6);
    opacity: 0.6;
  }
}

.p-gradient {
  font-style: normal;
  background: linear-gradient(92deg, #8155fe 0%, #c084fc 45%, #f5576c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.p-money {
  font-style: normal;
  background: linear-gradient(92deg, #f5b942, #ffe3a3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.p-outline {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
}

.p-h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-top: 1.4rem;
}

.p-section {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.p-section-head {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

/* ---------- icon boxes ---------- */

.p-ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.p-ic svg {
  width: 20px;
  height: 20px;
}

.p-ic-purple {
  background: rgba(129, 85, 254, 0.14);
  color: var(--p-purple-soft);
  border: 1px solid rgba(129, 85, 254, 0.4);
}

.p-ic-green {
  background: rgba(245, 185, 66, 0.12);
  color: var(--p-gold);
  border: 1px solid rgba(245, 185, 66, 0.35);
}

/* ---------- reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(7px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* hero load choreography */

.p-rise {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(7px);
  animation: p-rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--rise, 0) * 0.12s);
}

.p-hero-title .p-line {
  display: block;
  overflow: hidden;
}

.p-line-in {
  display: block;
  transform: translateY(110%);
  animation: p-line-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--rise, 0) * 0.14s);
}

/* ends on filter:none (not blur(0)) so no filter context lingers on the
   hero visual — a filtered ancestor would break the cards' backdrop-filter */
@keyframes p-rise-in {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes p-line-up {
  to {
    transform: none;
  }
}

/* ---------- buttons ---------- */

.p-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 1.9rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  will-change: transform;
}

.p-btn-primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #4d3398 0%, #8155fe 100%);
  box-shadow: 0 8px 30px rgba(129, 85, 254, 0.35);
}

/* light streak sweeping the button every few seconds */
.p-btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 35%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  transform: skewX(-20deg) translateX(0);
  animation: p-shine 4.8s cubic-bezier(0.6, 0.1, 0.3, 1) infinite 1.8s;
  pointer-events: none;
}

@keyframes p-shine {
  0%,
  70% {
    transform: skewX(-20deg) translateX(0);
  }
  100% {
    transform: skewX(-20deg) translateX(480%);
  }
}

.p-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(129, 85, 254, 0.55),
    0 0 60px rgba(129, 85, 254, 0.25);
}

.p-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* arrow slides in on hover, label shifts to make room */
.p-btn-arrow {
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  margin-left: -0.45rem;
  transition:
    width 0.3s cubic-bezier(0.2, 0.8, 0.3, 1),
    opacity 0.25s ease,
    margin-left 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.p-btn-primary:hover .p-btn-arrow {
  width: 1.15em;
  opacity: 1;
  margin-left: 0;
}

.p-btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: p-pulse 2.2s ease-in-out infinite;
}

.p-btn-ghost {
  color: var(--p-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.p-btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--p-purple);
  color: #fff;
  background: rgba(129, 85, 254, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- hero chip: plain label + green "now open" status pill ---------- */

.p-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-purple-soft);
}

.p-chip-open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #7ce7c0;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4);
  font-size: 0.64rem;
}

.p-chip-open i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--p-green);
  box-shadow: 0 0 8px var(--p-green);
  animation: p-pulse 2.2s ease-in-out infinite;
}

/* ---------- champagne CTA: underlit glass, the arrow cap is "your cut" —
   it slices off along the divider and tilt-lifts on hover ---------- */

.p-cta {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* dark pool behind the button so the glass reads against the aurora wash */
.p-cta::before {
  content: "";
  position: absolute;
  inset: -60% -25%;
  z-index: -1;
  background: radial-gradient(
    55% 75% at 45% 55%,
    rgba(0, 0, 0, 0.65),
    transparent 72%
  );
  pointer-events: none;
}

.p-cta-body {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 1.18rem 1.5rem 1.18rem 2.1rem;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(160deg, #191030 0%, #241743 55%, #341f52 100%);
  box-shadow:
    inset 0 -26px 40px -14px rgba(164, 124, 255, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(190, 168, 255, 0.38),
    0 16px 48px rgba(129, 85, 254, 0.35),
    0 22px 64px rgba(245, 87, 108, 0.14);
  transition:
    border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.p-cta-cap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 3.5rem;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, #1d1030 0%, #401c40 100%);
  box-shadow:
    inset 0 -26px 40px -14px rgba(245, 108, 140, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(245, 140, 168, 0.4),
    0 16px 48px rgba(245, 87, 108, 0.3);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.p-cta-cap i {
  font-style: normal;
  letter-spacing: 0;
  font-size: 1rem;
}

/* the money: faint rupees rise inside like champagne bubbles;
   --x sets the lane, --d the delay, --s the size */
.p-cta-glyphs i {
  position: absolute;
  left: var(--x);
  bottom: -14px;
  z-index: -1;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: rgba(205, 186, 255, 0.55);
  animation: p-rupee-rise 6s linear infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}

/* a little confetti in the champagne: lavender, money-green, pink */
.p-cta-glyphs i:nth-of-type(2) {
  color: rgba(82, 226, 176, 0.6);
}

.p-cta-glyphs i:nth-of-type(4) {
  color: rgba(245, 130, 152, 0.6);
}

@keyframes p-rupee-rise {
  0% {
    transform: translateY(0) scale(var(--s, 1));
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-84px) scale(var(--s, 1));
    opacity: 0;
  }
}

/* the cut: body edge sharpens, cap snaps off and tilts away.
   hover-capable devices only — on touch the cap must stay attached */
@media (hover: hover) {
  .p-cta:hover {
    transform: translateY(-2px);
  }

  .p-cta:hover .p-cta-body {
    border-radius: 8px 4px 4px 8px;
    box-shadow:
      inset 0 -26px 40px -16px rgba(160, 120, 255, 1),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 1px rgba(178, 157, 252, 0.5),
      0 18px 52px rgba(129, 85, 254, 0.45);
  }

  .p-cta:hover .p-cta-cap {
    transform: translateY(-10px) rotate(-5deg);
    border-radius: 6px;
    box-shadow:
      inset 0 -18px 30px -16px rgba(255, 130, 158, 1),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 1px rgba(255, 150, 175, 0.6),
      0 12px 26px rgba(0, 0, 0, 0.6),
      0 14px 34px rgba(245, 87, 108, 0.4);
  }

  .p-cta:hover .p-cta-glyphs i {
    animation-duration: 2.4s;
  }
}

.p-cta:active {
  transform: translateY(0) scale(0.98);
}

/* secondary action steps back to a quiet text link */
.p-link-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.05rem 0.5rem;
  color: var(--p-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.p-link-ghost i {
  font-style: normal;
  transition: transform 0.25s ease;
}

.p-link-ghost:hover {
  color: #fff;
}

.p-link-ghost:hover i {
  transform: translateX(4px);
}

/* the headline's gradient word breathes — hero title only */
.p-hero-title .p-gradient {
  background-size: 200% 100%;
  animation: p-grad-slide 7s ease-in-out infinite;
}

@keyframes p-grad-slide {
  0%,
  100% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
}

/* ---------- aurora + grain ---------- */

.p-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.p-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  min-width: 480px;
  min-height: 480px;
  border-radius: 50%;
  opacity: 0.6;
  will-change: transform;
}

.p-blob-1 {
  background: radial-gradient(
    circle,
    rgba(129, 85, 254, 0.4) 0%,
    rgba(129, 85, 254, 0.12) 40%,
    transparent 68%
  );
  top: -18%;
  left: -12%;
  animation: p-drift-1 18s ease-in-out infinite alternate;
}

.p-blob-2 {
  background: radial-gradient(
    circle,
    rgba(245, 87, 108, 0.22) 0%,
    rgba(245, 87, 108, 0.07) 40%,
    transparent 68%
  );
  bottom: -25%;
  right: -15%;
  animation: p-drift-2 22s ease-in-out infinite alternate;
}

.p-blob-3 {
  background: radial-gradient(
    circle,
    rgba(56, 40, 120, 0.5) 0%,
    rgba(56, 40, 120, 0.18) 40%,
    transparent 68%
  );
  top: 30%;
  left: 45%;
  animation: p-drift-3 26s ease-in-out infinite alternate;
}

@keyframes p-drift-1 {
  to {
    transform: translate(8vw, 6vh) scale(1.15);
  }
}
@keyframes p-drift-2 {
  to {
    transform: translate(-6vw, -8vh) scale(1.1);
  }
}
@keyframes p-drift-3 {
  to {
    transform: translate(-10vw, 4vh) scale(0.9);
  }
}

.p-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

/* ---------- hero ---------- */

.p-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 7.5rem;
}

.p-hero-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 3rem);
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}


.p-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-hero-title {
  font-size: clamp(2.8rem, 5.9vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 1.7rem 0 2rem;
}

/* each headline line stays on one line, always */
.p-hero-title .p-line {
  white-space: nowrap;
}

.p-hero-sub {
  max-width: 30rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--p-muted);
  margin-bottom: 1.6rem;
}

/* the two ways — lean rows, no card chrome (the boxes live on the right) */

.p-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.p-hero-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* hero visual — dashboard + chips composition */

.p-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2.4rem 0 3rem;
}

.p-hero-visual-glow {
  position: absolute;
  inset: -10% -15%;
  background: radial-gradient(
    circle at 55% 45%,
    rgba(129, 85, 254, 0.22) 0%,
    transparent 62%
  );
  pointer-events: none;
}

/* the flow: two live sources at the top (a booking via your link, a venue
   you referred going live), two dotted rails, one wallet at the bottom.
   Rail path coordinates are duplicated in .p-drop-* offset-paths — keep
   them in sync, they draw the same curve. */

.p-flow {
  position: relative;
  flex: none;
  width: min(410px, 100%);
  height: 492px;
}

/* headline of the illustration — names the two ways before you read them */

.p-flow-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.p-flow-label span {
  background: linear-gradient(90deg, #b29dfc, #f5b942);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.p-flow-label i {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(178, 157, 252, 0.4)
  );
}

.p-flow-label i:last-child {
  background: linear-gradient(
    90deg,
    rgba(245, 185, 66, 0.45),
    transparent
  );
}

.p-flow-rails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.p-rail {
  stroke-width: 1.5;
  stroke-dasharray: 3 6;
  animation: p-rail-flow 1.3s linear infinite;
}

.p-rail-e {
  stroke: rgba(129, 85, 254, 0.42);
}

.p-rail-v {
  stroke: rgba(245, 185, 66, 0.45);
}

@keyframes p-rail-flow {
  to {
    stroke-dashoffset: -9;
  }
}

/* the two way-cards: a ghost numeral, what you do, what you earn, and a
   one-line live example ticking under a hairline — slim, no box-in-box */

/* the two way-cards: rich per-stream material, big display titles, a
   hairline-separated live ticker — same footprint the rails expect */

/* the 52px top leaves clearance under the label even at the float peak
   (the cards drift up to 8-10px) */
.p-way {
  position: absolute;
  top: 52px;
  width: 198px;
  height: 128px;
  padding: 0.8rem 0.85rem 0.75rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(48, 37, 84, 0.92),
    rgba(15, 12, 26, 0.95)
  );
  border: 1px solid rgba(129, 85, 254, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 46px rgba(129, 85, 254, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

/* soft light bloom in the top corner behind the title */
.p-way::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(178, 157, 252, 0.16),
    transparent 65%
  );
  pointer-events: none;
}

.p-way-e {
  left: 0;
  animation: p-float-e 6.4s ease-in-out infinite;
}

.p-way-v {
  right: 0;
  top: 110px;
  border-color: rgba(245, 185, 66, 0.42);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 46px rgba(245, 185, 66, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  animation: p-float-v 7.2s ease-in-out 0.6s infinite;
}

.p-way-v::before {
  background: radial-gradient(
    circle,
    rgba(245, 185, 66, 0.1),
    transparent 65%
  );
}

@keyframes p-float-e {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes p-float-v {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* outline numeral in the hero's type language, top-right of the card */
.p-way-num {
  position: absolute;
  top: 9px;
  right: 12px;
  z-index: 0;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(178, 157, 252, 0.45);
  pointer-events: none;
}

.p-way-v .p-way-num {
  -webkit-text-stroke-color: rgba(245, 185, 66, 0.45);
}

.p-way-title,
.p-way-how,
.p-way-live {
  position: relative;
  z-index: 1;
}

/* the way itself, in display type — one line, a first-time viewer reads
   THIS first (sentence case, same voice as the section h2s) */
.p-way-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
  padding-right: 2.2rem;
}

.p-way-title em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #cfc2ff, #8155fe);
  -webkit-background-clip: text;
  background-clip: text;
}

.p-way-v .p-way-title em {
  background: linear-gradient(90deg, #ffe0a1, #f0a63a);
  -webkit-background-clip: text;
  background-clip: text;
}

.p-way-how {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.p-way-how em {
  font-style: normal;
  font-weight: 600;
  color: #cfc2ff;
}

.p-way-v .p-way-how em {
  color: var(--p-gold);
}

/* the live example: an amount-first ticker chip, one visible, swaps in place */

.p-way-live {
  display: grid;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* no pill box — the amount glows raw against the glass */
.p-live-pill {
  grid-area: 1 / 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding-top: 0.45rem;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
}

.p-live-pill i {
  flex: none;
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-purple-soft);
  box-shadow: 0 0 10px rgba(178, 157, 252, 1);
  animation: p-pulse 2s ease-in-out infinite;
}

.p-way-v .p-live-pill i {
  background: var(--p-gold);
  box-shadow: 0 0 10px var(--p-gold);
}

.p-live-pill b {
  flex: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cfc2ff;
  text-shadow: 0 0 22px rgba(129, 85, 254, 0.9);
  font-variant-numeric: tabular-nums;
}

.p-way-v .p-live-pill b {
  color: #ffd98a;
  text-shadow: 0 0 22px rgba(245, 185, 66, 0.7);
}

.p-live-pill span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-live-pill small {
  flex: none;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--p-muted);
}

.p-way-live .slot-a {
  animation: p-tick-in 0.5s cubic-bezier(0.22, 1.3, 0.36, 1) both;
}

.p-way-live .slot-out {
  animation: p-tick-out 0.4s ease both;
}

@keyframes p-tick-in {
  from {
    opacity: 0;
    transform: translateY(-9px) scale(0.96);
  }
}

@keyframes p-tick-out {
  to {
    opacity: 0;
    transform: translateY(9px) scale(0.97);
  }
}

/* the amounts physically ride their rail down into the wallet */

.p-drop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  pointer-events: none;
  offset-rotate: 0deg;
  animation: p-drop-travel 1.15s cubic-bezier(0.5, 0.05, 0.85, 0.5) forwards;
}

.p-drop-e {
  color: #e9e1ff;
  background: rgba(129, 85, 254, 0.22);
  border: 1px solid rgba(129, 85, 254, 0.55);
  box-shadow: 0 0 18px rgba(129, 85, 254, 0.35);
  offset-path: path("M99,186 C99,227 116,262 150,292");
}

.p-drop-v {
  color: #ffe9bd;
  background: rgba(245, 185, 66, 0.16);
  border: 1px solid rgba(245, 185, 66, 0.55);
  box-shadow: 0 0 18px rgba(245, 185, 66, 0.4);
  offset-path: path("M311,244 C311,268 290,282 262,296");
}

@keyframes p-drop-travel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

.p-wallet {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: p-float-w 8s ease-in-out 1.2s infinite;
  width: 340px;
  padding: 1.2rem 1.4rem 1.3rem;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(36, 29, 58, 0.92),
    rgba(13, 11, 20, 0.94)
  );
  border: 1px solid rgba(129, 85, 254, 0.38);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.65),
    0 0 70px rgba(129, 85, 254, 0.16);
  backdrop-filter: blur(12px);
}

/* ring that fires when a drop lands; --hit-c is set per-stream from JS */
.p-wallet::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  border: 1px solid var(--hit-c, rgba(245, 185, 66, 0.55));
  opacity: 0;
  pointer-events: none;
}

.p-wallet.p-hit::after {
  animation: p-wallet-hit 0.6s ease-out;
}

@keyframes p-float-w {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -6px);
  }
}

@keyframes p-wallet-hit {
  0% {
    opacity: 0.9;
    transform: scale(0.985);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

.p-wallet .p-dash-amount {
  font-size: 2.7rem;
  margin-top: 0.55rem;
}

.p-wallet .p-dash-sub {
  margin-bottom: 0;
}

.p-wallet .p-dash-bars {
  height: 50px;
  margin-top: 0.95rem;
}

.p-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-muted);
}

.p-dash-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--p-green);
  font-weight: 600;
}

.p-dash-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p-green);
  box-shadow: 0 0 10px var(--p-green);
  animation: p-pulse 1.6s ease-in-out infinite;
}

.p-dash-amount {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 0.8rem;
}

.p-dash-sub {
  font-size: 0.85rem;
  color: var(--p-muted);
  margin-bottom: 1.3rem;
}

.p-dash-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  height: 58px;
  margin-top: 1.3rem;
}

.p-dash-bars i {
  flex: 1;
  max-width: 30px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #8155fe, rgba(129, 85, 254, 0.25));
  transform-origin: bottom;
  animation: p-bar-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.p-dash-bars i:nth-child(2) {
  animation-delay: 0.68s;
}
.p-dash-bars i:nth-child(3) {
  animation-delay: 0.76s;
}
.p-dash-bars i:nth-child(4) {
  animation-delay: 0.84s;
}
.p-dash-bars i:nth-child(5) {
  animation-delay: 0.92s;
}
.p-dash-bars i:nth-child(6) {
  animation-delay: 1s;
}
.p-dash-bars i:nth-child(7) {
  animation-delay: 1.08s;
}

@keyframes p-bar-in {
  from {
    transform: scaleY(0);
  }
}

.p-dash-amount.p-bump {
  animation: p-amt-bump 0.5s ease;
}

@keyframes p-amt-bump {
  30% {
    transform: scale(1.035);
  }
}

/* hint + marquee */

.p-hero-hint {
  position: relative;
  z-index: 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: clamp(1.5rem, 4vh, 3rem) auto 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-hero-hint:hover {
  color: var(--p-purple-soft);
}

.p-hero-hint i {
  font-style: normal;
  color: var(--p-purple-soft);
  animation: p-hint-bob 2s ease-in-out infinite;
}

@keyframes p-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.p-marquee {
  position: relative;
  z-index: 2;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.p-marquee-track {
  display: flex;
  width: max-content;
  animation: p-marquee 28s linear infinite;
}

.p-marquee:hover .p-marquee-track {
  animation-play-state: paused;
}

.p-marquee-track span {
  font-size: 1.05rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

@keyframes p-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   THE NIGHT — scroll story with pinned phone
   ========================================================================== */

.p-story {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0 0;
}

/* ambient glow that follows the active scene */
.p-story-glow {
  position: absolute;
  top: 20%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(129, 85, 254, 0.16) 0%,
    transparent 65%
  );
  transition: background 1s ease;
}

.p-story[data-scene="2"] .p-story-glow {
  background: radial-gradient(
    circle,
    rgba(129, 85, 254, 0.24) 0%,
    transparent 65%
  );
}

.p-story[data-scene="4"] .p-story-glow {
  background: radial-gradient(
    circle,
    rgba(245, 185, 66, 0.14) 0%,
    transparent 65%
  );
}

.p-story-head {
  margin-bottom: clamp(1rem, 4vw, 3rem);
}

.p-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 3rem;
  align-items: start;
}

.p-chapters {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* scroll-fed progress line down the chapter rail */
.p-story-progress {
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: var(--sp, 0%);
  background: linear-gradient(180deg, var(--p-purple), var(--p-gold));
  box-shadow: 0 0 14px rgba(129, 85, 254, 0.6);
  z-index: 1;
  pointer-events: none;
}

.p-story-progress::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p-gold);
  box-shadow: 0 0 14px var(--p-gold);
  animation: p-pulse 2s ease-in-out infinite;
}

.p-chapter {
  /* per-scene accent (dot, ping ring, am/pm suffix) — scenes 1-2 purple,
     3 pink (party peak), 4 green (payday), matching the story glow */
  --ch: var(--p-purple-soft);
  --ch-rgb: 178, 157, 252;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  opacity: 0.28;
  filter: blur(1.6px);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease;
}

.p-chapter[data-scene="4"] {
  --ch: var(--p-gold);
  --ch-rgb: 245, 185, 66;
}

.p-chapter::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

/* activation ping: a ring expands from the timeline dot */
.p-chapter::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.p-chapter.is-active {
  opacity: 1;
  filter: none;
}

.p-chapter.is-active::before {
  background: var(--ch);
  box-shadow: 0 0 16px var(--ch);
}

.p-chapter.is-active::after {
  animation: p-dot-ping 0.9s ease-out 0.1s;
}

@keyframes p-dot-ping {
  0% {
    opacity: 0.9;
    box-shadow: 0 0 0 0 rgba(var(--ch-rgb), 0.7);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 16px rgba(var(--ch-rgb), 0);
  }
}

.p-chapter-time {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  transform-origin: 50% 100%;
  transition: color 0.5s ease;
}

.p-chapter.is-active .p-chapter-time {
  color: rgba(255, 255, 255, 0.92);
  -webkit-text-stroke: 0;
  /* split-flap: the time card tips up into place */
  animation: p-time-flip 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes p-time-flip {
  0% {
    transform: perspective(640px) rotateX(42deg);
    filter: blur(4px);
    opacity: 0.15;
  }
  100% {
    transform: perspective(640px) rotateX(0deg);
    filter: none;
    opacity: 1;
  }
}

.p-chapter-time i {
  display: inline-block;
  font-style: normal;
  font-size: 0.4em;
  letter-spacing: 0.08em;
  -webkit-text-stroke: 0;
  color: var(--ch);
  margin-left: 0.3rem;
}

.p-chapter.is-active .p-chapter-time i {
  animation: p-suffix-in 0.5s ease-out 0.3s backwards;
}

@keyframes p-suffix-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}

/* headline and copy rise in sequence once the chapter lands; upcoming
   chapters tease only the ghost time + dimmed title */
.p-chapter h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  text-transform: uppercase;
  margin: 1.1rem 0 0.5rem;
  transform: translateY(12px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-chapter p {
  color: var(--p-muted);
  max-width: 24rem;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease 0.12s,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.p-chapter.is-active h3 {
  transform: none;
  transition-delay: 0.06s;
}

.p-chapter.is-active p {
  opacity: 1;
  transform: none;
}

/* the phone */

.p-phone-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  /* keep the phone clear of the fixed navbar */
  padding: 7.5rem 0 1.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 9 / 18.5;
  /* proportional corners (44px at 310px wide) so the pinned mobile
     phone doesn't look over-rounded at smaller sizes */
  border-radius: 14.2% / 6.9%;
  background: linear-gradient(160deg, #17141f, #0a090f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(129, 85, 254, 0.18),
    inset 0 0 0 3px #000;
  padding: 11px;
  /* micro-tilt: the phone settles at a slightly different angle each
     scene, so every screen swap feels recomposed (rotate is a separate
     property, so it composes with the scale transforms below) */
  rotate: -1.1deg;
  transition:
    box-shadow 0.9s ease,
    rotate 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  /* size container: everything inside the screens scales with the phone */
  container-type: inline-size;
}

.p-phone[data-active="2"] {
  rotate: 1deg;
}


.p-phone[data-active="4"] {
  rotate: 0.8deg;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 90px rgba(245, 185, 66, 0.22),
    inset 0 0 0 3px #000;
}

/* shrink the pinned phone on short desktop screens instead of colliding
   with the nav (mobile sizes by viewport height below) */
@media (max-height: 860px) and (min-width: 992px) {
  .p-phone {
    transform: scale(0.86);
  }
}

@media (max-height: 740px) and (min-width: 992px) {
  .p-phone {
    transform: scale(0.74);
  }
}

.p-phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
}

.p-screen {
  position: absolute;
  inset: 11px;
  border-radius: 34px;
  overflow: hidden;
  padding: 3.4rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.p-phone[data-active="1"] .p-screen-1,
.p-phone[data-active="2"] .p-screen-2,
.p-phone[data-active="4"] .p-screen-4 {
  opacity: 1;
  transform: none;
  filter: none;
  /* incoming screen waits a beat so the outgoing one clears first */
  transition-delay: 0.12s;
}

/* in-screen choreography — restarts every time a scene becomes active */

@keyframes p-scr-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
}

@keyframes p-link-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(178, 157, 252, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(178, 157, 252, 0.35);
  }
}

.p-phone[data-active="1"] .p-scr-event {
  animation: p-scr-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.p-phone[data-active="1"] .p-scr-link {
  animation:
    p-scr-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both,
    p-link-glow 2.6s ease-in-out 1s infinite;
}

.p-phone[data-active="2"] .p-notif:nth-child(1) {
  animation: p-scr-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.p-phone[data-active="2"] .p-notif:nth-child(2) {
  animation: p-scr-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.p-phone[data-active="2"] .p-notif:nth-child(3) {
  animation: p-scr-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

.p-phone[data-active="2"] .p-scr-total {
  animation: p-scr-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}


.p-phone[data-active="4"] .p-scr-payout {
  animation: p-scr-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.p-phone[data-active="4"] .p-scr-btn {
  animation: p-scr-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.p-scr-status {
  position: absolute;
  top: 1.35rem;
  left: 1.15rem;
  right: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
}

.p-scr-status b {
  font-weight: 600;
  color: #fff;
}

/* screen 1 — the story post */

.p-screen-1 {
  background:
    radial-gradient(
      120% 90% at 20% 0%,
      rgba(129, 85, 254, 0.45),
      transparent 55%
    ),
    radial-gradient(
      120% 90% at 90% 100%,
      rgba(245, 87, 108, 0.32),
      transparent 55%
    ),
    #0d0b14;
}

.p-scr-story {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-scr-story-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.p-scr-story-top b {
  color: #fff;
}

.p-scr-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8155fe, #f5576c);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.p-scr-event {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.p-scr-event-tag {
  align-self: flex-start;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--p-purple-soft);
  border: 1px solid rgba(178, 157, 252, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.p-scr-event strong {
  font-size: 2.3rem;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.p-scr-event small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.p-scr-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--p-purple-soft);
  border: 1px dashed rgba(178, 157, 252, 0.55);
  border-radius: 999px;
  padding: 0.6rem 0.6rem;
  background: rgba(129, 85, 254, 0.12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-scr-link b {
  color: #fff;
}

.p-scr-caption {
  text-align: center;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* screen 2 — notifications */

.p-screen-2 {
  background: #0d0b14;
}

.p-scr-notifs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.p-notif {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.p-notif.is-dim {
  opacity: 0.55;
}

.p-notif-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p-purple);
  box-shadow: 0 0 8px var(--p-purple);
}

.p-notif-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.p-notif-body b {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-notif-body small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}

.p-notif-amt {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--p-gold);
}

.p-scr-total {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.9rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.p-scr-total small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.p-scr-total b {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--p-gold);
}

/* screen 4 — payout */

.p-screen-4 {
  background:
    radial-gradient(
      120% 80% at 50% -10%,
      rgba(245, 185, 66, 0.16),
      transparent 55%
    ),
    #0d0b14;
}

.p-scr-payout {
  margin: auto 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.p-scr-payout small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.p-scr-payout b {
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 600;
  background: linear-gradient(92deg, #f5b942, #ffe3a3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-scr-kyc {
  align-self: center;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--p-green);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.p-scr-btn {
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(90deg, #4d3398, #8155fe);
  box-shadow: 0 10px 30px rgba(129, 85, 254, 0.4);
}

.p-scr-btn svg {
  width: 18px;
  height: 18px;
}

.p-scr-fine {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* everything inside the phone scales with the phone itself (cq units),
   so the screens stay proportionate at any pinned size */

@container (min-width: 1px) {
  .p-screen {
    inset: 3.85cqw;
    padding: 19cqw 6.4cqw 7.3cqw;
    border-radius: 11.9cqw;
  }
  .p-phone-notch {
    width: 30cqw;
    height: 7.7cqw;
    top: 7cqw;
  }
  .p-scr-status {
    top: 7.6cqw;
    left: 6.4cqw;
    right: 6.4cqw;
    font-size: 4.4cqw;
  }
  .p-scr-story-top {
    font-size: 4.4cqw;
    gap: 2.8cqw;
  }
  .p-scr-avatar {
    width: 9.1cqw;
    height: 9.1cqw;
  }
  .p-scr-event {
    gap: 2.8cqw;
  }
  .p-scr-event-tag {
    font-size: 3.5cqw;
    padding: 1.7cqw 3.9cqw;
  }
  .p-scr-event strong {
    font-size: 12.9cqw;
  }
  .p-scr-event small {
    font-size: 4.5cqw;
  }
  .p-scr-link {
    font-size: 4.4cqw;
    padding: 3.4cqw;
  }
  .p-scr-caption {
    font-size: 4.5cqw;
    margin-top: 3.9cqw;
  }
  .p-scr-notifs {
    gap: 3.4cqw;
    margin-top: 2.2cqw;
  }
  .p-notif {
    padding: 3.9cqw 4.5cqw;
    gap: 3.4cqw;
    border-radius: 4.9cqw;
  }
  .p-notif-dot {
    width: 2.8cqw;
    height: 2.8cqw;
  }
  .p-notif-body b {
    font-size: 4.6cqw;
  }
  .p-notif-body small {
    font-size: 3.8cqw;
  }
  .p-notif-amt {
    font-size: 4.8cqw;
  }
  .p-scr-total {
    padding-top: 5cqw;
  }
  .p-scr-total small {
    font-size: 4cqw;
  }
  .p-scr-total b {
    font-size: 9cqw;
  }
  .p-scr-payout {
    gap: 1.7cqw;
  }
  .p-scr-payout small {
    font-size: 4cqw;
  }
  .p-scr-payout b {
    font-size: 17.9cqw;
  }
  .p-scr-kyc {
    font-size: 3.8cqw;
    padding: 1.6cqw 3.9cqw;
    margin-top: 2.2cqw;
  }
  .p-scr-btn {
    margin-top: 7.3cqw;
    padding: 5.3cqw;
    font-size: 5.3cqw;
    border-radius: 4.9cqw;
    gap: 3.1cqw;
    white-space: nowrap;
  }
  .p-scr-btn svg {
    width: 6.3cqw;
    height: 6.3cqw;
  }
  .p-scr-fine {
    font-size: 4cqw;
    margin-top: 3.4cqw;
  }
}

/* ==========================================================================
   VENUE REFERRAL
   ========================================================================== */

.p-venue {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.p-venue-sub {
  color: var(--p-muted);
  max-width: 32rem;
  margin-top: 1.4rem;
}

.p-venue-track {
  display: flex;
  align-items: stretch;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  max-width: 880px;
}

.p-vstage {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  opacity: 0.35;
  transform: translateY(10px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 0.22s);
}

.p-vstage-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.3;
  min-width: 0;
}

.p-vstage b {
  font-size: 1.02rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-vstage small {
  font-size: 0.78rem;
  color: var(--p-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-vline {
  flex: 0 1 44px;
  min-width: 18px;
  align-self: center;
  height: 1px;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
}

.p-vline::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  transform: translate(0, -50%) rotate(45deg);
  transition: border-color 0.5s ease;
  transition-delay: calc(var(--i, 0) * 0.22s);
}

.p-vline i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--p-purple), var(--p-purple-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  transition-delay: calc(var(--i, 0) * 0.22s);
}

.p-venue-track.is-done .p-vline::after {
  border-color: var(--p-purple-soft);
}

.p-venue-track.is-done .p-vstage {
  opacity: 1;
  transform: none;
  border-color: rgba(129, 85, 254, 0.45);
}

.p-venue-track.is-done .p-vline i {
  transform: scaleX(1);
}

.p-venue-track.is-done .p-vstage-win {
  border-color: rgba(245, 185, 66, 0.55);
  background: rgba(245, 185, 66, 0.07);
  box-shadow: 0 0 50px rgba(245, 185, 66, 0.18);
  margin-left: 0.4rem;
  transform: scale(1.04);
}

/* payday ping: once the track fills, the winning stage fires two
   expanding rings (delay ≈ after the last stage's staggered entrance) */
.p-vstage {
  position: relative;
}

.p-vstage-win::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  border: 1px solid rgba(245, 185, 66, 0.65);
  opacity: 0;
  pointer-events: none;
}

.p-venue-track.is-done .p-vstage-win::after {
  animation: p-win-ring 1.1s ease-out 1.5s 2;
}

@keyframes p-win-ring {
  0% {
    opacity: 0.85;
    transform: scale(0.97);
  }
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

.p-vstage-amt {
  display: inline-block;
  font-weight: 600;
  color: var(--p-gold) !important;
  font-size: 0.98rem !important;
}

.p-venue-track.is-done .p-vstage-amt {
  animation: p-amt-pop 0.55s cubic-bezier(0.22, 1.4, 0.36, 1) 1.45s backwards;
}

@keyframes p-amt-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}

.p-venue-foot {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
}

.p-venue-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--p-muted);
  margin: 0;
}

.p-soon-badge {
  flex-shrink: 0;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffb45e;
  border: 1px solid rgba(255, 180, 94, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

/* ---------- who ---------- */

.p-who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.p-who-card {
  /* per-persona accent; overridden per card below */
  --who-rgb: 129, 85, 254;
  --who-soft: #b29dfc;
  position: relative;
  overflow: hidden;
  padding: 1.9rem 1.6rem 2.4rem;
  border-radius: 20px;
  border: 1px solid rgba(var(--who-rgb), 0.22);
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

/* The Promoter — pink */
.p-who-grid .p-who-card:nth-child(2) {
  --who-rgb: 245, 87, 108;
  --who-soft: #f98d9c;
}

/* The Regular — green */
.p-who-grid .p-who-card:nth-child(3) {
  --who-rgb: 52, 211, 153;
  --who-soft: #7ce7c4;
}

/* The Insider — amber */
.p-who-grid .p-who-card:nth-child(4) {
  --who-rgb: 255, 180, 94;
  --who-soft: #ffce97;
}

.p-who-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 100% at 88% 115%,
    rgba(var(--who-rgb), 0.18),
    transparent 55%
  );
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.p-who-card::after {
  content: attr(data-glyph);
  position: absolute;
  right: -0.4rem;
  bottom: -2.4rem;
  font-size: 8rem;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--who-rgb), 0.32);
  pointer-events: none;
  transition:
    -webkit-text-stroke-color 0.3s ease,
    transform 0.3s ease;
}

.p-who-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--who-rgb), 0.55);
  background: rgba(var(--who-rgb), 0.06);
}

.p-who-card:hover::before {
  opacity: 1;
}

.p-who-card:hover::after {
  -webkit-text-stroke-color: rgba(var(--who-rgb), 0.7);
  transform: translateY(-6px) rotate(-4deg);
}

.p-who-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--who-soft);
  border: 1px solid rgba(var(--who-rgb), 0.45);
  background: rgba(var(--who-rgb), 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
}

.p-who-card p {
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 85%;
}

/* staggered reveals for grids */

.p-who-grid [data-reveal]:nth-child(2) {
  --reveal-delay: 0.1s;
}
.p-who-grid [data-reveal]:nth-child(3) {
  --reveal-delay: 0.2s;
}
.p-who-grid [data-reveal]:nth-child(4) {
  --reveal-delay: 0.3s;
}

/* ---------- calculator ---------- */

.p-calc-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: 26px;
  border: 1px solid var(--p-border);
  background:
    radial-gradient(
      800px circle at 85% 15%,
      rgba(129, 85, 254, 0.12),
      transparent 50%
    ),
    var(--p-card);
}

.p-calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.p-calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.8rem;
}

.p-calc-label output {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.p-calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--p-purple) 0%,
    var(--p-purple) var(--fill, 30%),
    rgba(255, 255, 255, 0.12) var(--fill, 30%)
  );
  outline: none;
  cursor: pointer;
}

.p-calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--p-purple);
  box-shadow: 0 0 16px rgba(129, 85, 254, 0.7);
  transition: transform 0.15s ease;
}

.p-calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.p-calc-field input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.3);
  box-shadow: 0 0 26px rgba(129, 85, 254, 0.95);
}

.p-calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--p-purple);
  box-shadow: 0 0 16px rgba(129, 85, 254, 0.7);
  transition: transform 0.15s ease;
}

.p-calc-field input[type="range"]:active::-moz-range-thumb {
  transform: scale(1.3);
  box-shadow: 0 0 26px rgba(129, 85, 254, 0.95);
}

.p-calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.p-calc-result-label {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p-muted);
}

.p-calc-result-value {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.1rem;
  background: linear-gradient(92deg, #f5b942, #ffe3a3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.p-calc-result-per {
  color: var(--p-muted);
  margin-bottom: 1.4rem;
}

.p-calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.p-calc-breakdown span::before {
  content: "✦ ";
  color: var(--p-purple);
}

.p-calc-note {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 42rem;
}

/* ---------- FAQ ---------- */

.p-faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.p-faq .p-section-head {
  margin-bottom: 0;
  position: sticky;
  top: 8rem;
}

.p-faq-list {
  display: flex;
  flex-direction: column;
}

/* the list container only fades; items carry the motion, staggered */
.p-faq-list[data-reveal] {
  transform: none;
}

.p-faq-list[data-reveal] .p-faq-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-faq-list[data-reveal].is-in .p-faq-item {
  opacity: 1;
  transform: none;
}

.p-faq-list.is-in .p-faq-item:nth-child(2) {
  transition-delay: 0.08s;
}
.p-faq-list.is-in .p-faq-item:nth-child(3) {
  transition-delay: 0.16s;
}
.p-faq-list.is-in .p-faq-item:nth-child(4) {
  transition-delay: 0.24s;
}
.p-faq-list.is-in .p-faq-item:nth-child(5) {
  transition-delay: 0.32s;
}

.p-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.p-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}

.p-faq-item summary::-webkit-details-marker {
  display: none;
}

.p-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--p-purple-soft);
  transition: transform 0.3s ease;
}

.p-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* while JS animates the panel shut, [open] is still set — rotate the
   marker back immediately so it tracks the visual state */
.p-faq-item.is-closing summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.p-faq-item summary:hover {
  color: var(--p-purple-soft);
}

.p-faq-item p {
  padding: 0 2.5rem 1.6rem 0;
  color: var(--p-muted);
  max-width: 40rem;
}

/* ---------- final CTA ---------- */

.p-final {
  position: relative;
  padding: clamp(6rem, 14vw, 11rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.p-final-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.p-final-title {
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 2.6rem;
}

/* each line is a mask; the inner span rises out of it (text is uppercase,
   so line-height:1 clipping never eats a descender) */
.p-final-title .p-line {
  display: block;
  overflow: hidden;
}

.p-final-title .p-line[data-reveal] {
  opacity: 1;
  transform: none;
  filter: none;
}

.p-line-reveal {
  display: block;
  transform: translateY(112%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-final-title .p-line:nth-child(2) .p-line-reveal {
  transition-delay: 0.14s;
}

.p-final-title .p-line:nth-child(3) .p-line-reveal {
  transition-delay: 0.28s;
}

.p-final-title .p-line.is-in .p-line-reveal {
  transform: none;
}

.p-final-ctas {
  justify-content: center;
}

.p-final-fine {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

/* footer button reuse (anchor variant of .demo-button) */

.p-footer-btn {
  text-decoration: none;
  height: auto;
  min-width: 0;
  padding: 1.2rem 2.6rem;
  width: auto;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .p-rise,
  .p-line-in,
  .p-line-reveal,
  .p-faq-list[data-reveal] .p-faq-item {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
  .p-screen {
    filter: none;
  }
  .p-chapter {
    filter: none;
  }
  .p-chapter h3,
  .p-chapter p {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .p-chapter-time,
  .p-chapter-time i,
  .p-chapter.is-active::after {
    animation: none !important;
  }
  .p-phone {
    rotate: 0deg;
  }
  .p-blob,
  .p-marquee-track,
  .p-eyebrow-dot,
  .p-chip-open i,
  .p-dash-live i,
  .p-dash-amount,
  .p-dash-bars i,
  .p-rail,
  .p-way,
  .p-wallet,
  .p-btn-primary::after,
  .p-cta,
  .p-cta-glyphs i,
  .p-hero-title .p-gradient,
  .p-live-pill,
  .p-live-pill i,
  .p-hero-hint i,
  .p-screen *,
  .p-btn-dot,
  .p-vstage-win::after,
  .p-vstage-amt {
    animation: none !important;
    transition: none !important;
  }

  .p-drop {
    display: none !important;
  }
  .p-screen {
    transition: opacity 0.3s ease !important;
  }
  .p-story-progress {
    display: none;
  }
}

/* ---------- static capture mode (?capture) ---------- */

.p-capture .p-hero {
  min-height: 0;
  padding-top: 10rem;
}

.p-capture [data-reveal],
.p-capture .p-rise,
.p-capture .p-line-in,
.p-capture .p-line-reveal,
.p-capture .p-faq-item {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
  animation: none;
}

.p-capture .p-screen {
  filter: none;
  transition: none;
}

.p-capture *,
.p-capture *::before,
.p-capture *::after {
  animation: none !important;
}

.p-capture .p-chapter {
  min-height: 0;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  opacity: 1;
  filter: none;
}

.p-capture .p-chapter h3,
.p-capture .p-chapter p {
  opacity: 1;
  transform: none;
  transition: none;
}

.p-capture .p-phone {
  rotate: 0deg;
}

.p-capture .p-phone-wrap {
  position: static;
  height: auto;
  padding: 2rem 0;
}

.p-capture .p-phone {
  transform: none;
}

.p-capture .p-venue-track .p-vstage,
.p-capture .p-venue-track .p-vline i {
  opacity: 1;
  transform: none;
  transition: none;
}

.p-capture .p-venue-track .p-vstage-win {
  transform: scale(1.04);
}

.p-capture .p-story-progress {
  height: 55%;
}

/* ---------- responsive ---------- */

@media (max-width: 991px) {
  .p-hero {
    padding-top: 6.25rem;
  }

  .p-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    align-content: center;
  }

  /* illustration on top, copy below */
  .p-hero-visual {
    order: -1;
    width: 100%;
    padding: 0.3rem 0 0;
  }

  .p-flow {
    margin: 0 auto;
  }

  .p-hero-hint {
    display: none;
  }

  /* pinned mobile story: the phone sticks under the nav for the whole
     story (flex column so the sticky range spans all chapters) */
  .p-story-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .p-phone-wrap {
    order: -1;
    /* stick flush to the viewport top with the nav clearance as opaque
       padding, so chapter text and the progress line never peek out
       above the pinned phone / behind the floating navbar */
    top: 0;
    height: auto;
    padding: 6.7rem 0 0.9rem;
    z-index: 5;
    background: #000;
  }

  .p-phone-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 26px;
    background: linear-gradient(180deg, #000, transparent);
    pointer-events: none;
  }

  .p-phone {
    width: auto;
    /* leave a real reading strip below the pinned phone */
    height: min(46svh, 430px);
    margin: 0 auto;
  }

  .p-chapters {
    margin-left: 5px;
    padding-top: 1.2rem;
  }

  .p-chapter {
    /* one chapter per reading strip below the pinned phone
       (--strip is measured by partner.js at load) */
    min-height: var(--strip, max(42svh, 280px));
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: clamp(1.3rem, 4.5vw, 2.4rem);
  }

  .p-chapter-time {
    font-size: clamp(2.3rem, 9vw, 3.4rem);
  }

  .p-chapter h3 {
    font-size: clamp(1.25rem, 4.8vw, 1.7rem);
  }

  .p-chapter p {
    font-size: 0.94rem;
  }

  .p-who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-faq-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .p-faq .p-section-head {
    position: static;
  }

  .p-venue-track {
    flex-direction: column;
    max-width: 26rem;
  }

  .p-vline {
    flex: 0 0 auto;
    min-width: 0;
    width: 1px;
    min-height: 26px;
    align-self: flex-start;
    /* line up with the centre of the stage icons */
    margin-left: calc(1.2rem + 19px);
  }

  .p-vline::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 1px;
    transform: translateX(-50%) rotate(135deg);
  }

  .p-vline i {
    transform: scaleY(0);
    transform-origin: top;
  }

  .p-venue-track.is-done .p-vline i {
    transform: scaleY(1);
  }

  .p-venue-track.is-done .p-vstage-win {
    transform: none;
  }
}

@media (max-width: 760px) {
  .p-section {
    padding: 3.8rem 0;
  }

  .p-section-head {
    margin-bottom: 1.8rem;
  }

  .p-calc-card {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.3rem 1.2rem 1.4rem;
  }

  .p-calc-controls {
    gap: 1.15rem;
  }

  .p-calc-label {
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
  }

  .p-calc-label output {
    font-size: 1rem;
  }

  .p-calc-result {
    padding: 1.2rem 1.3rem;
  }

  .p-calc-result-value {
    font-size: 2.6rem;
    margin: 0.2rem 0 0;
  }

  .p-calc-result-per {
    margin-bottom: 0.8rem;
  }

  .p-calc-breakdown {
    font-size: 0.82rem;
    gap: 0.3rem;
  }

  .p-calc-note {
    margin-top: 1rem;
    font-size: 0.76rem;
  }

  .p-who-grid {
    grid-template-columns: 1fr;
  }

  /* ---- one-screen mobile hero: artifact on top, title + ways below ---- */

  .p-hero {
    padding-top: 5.4rem;
  }

  .p-hero-inner {
    gap: 0.3rem;
  }

  .p-hero-sub,
  .p-hero-note {
    display: none;
  }

  .p-eyebrow {
    font-size: 0.68rem;
    padding: 0.38rem 0.85rem;
    letter-spacing: 0.16em;
  }

  .p-hero-title {
    font-size: clamp(2rem, 9.6vw, 3.3rem);
    margin: 0.8rem 0;
  }

  /* the ticket fills the column (capped) and settles a touch flatter */
.p-hero-visual {
    padding: 0;
  }

  /* compact illustration: scale the whole flow as one unit so the rails,
     drops, chips and wallet stay in perfect registration (the offset-path
     coordinates are in fixed px). Auto margins can't center a fixed-width
     box overflowing its container, so center it explicitly; the negative
     bottom margins below return the layout space the transform doesn't */
  .p-flow {
    width: 410px;
    transform-origin: top center;
    margin-left: 0;
    margin-right: 0;
  }

  .p-wallet {
    width: 344px;
  }

  .p-hero-visual {
    padding: 1.5rem 0 3.4rem;
  }

  .p-hero-title {
    margin-top: 1.5rem;
  }

  .p-xs-hide {
    display: none;
  }

  .p-hero-ctas {
    width: 100%;
    gap: 0.6rem;
  }

  .p-btn {
    width: 100%;
    justify-content: center;
    padding: 0.88rem 1.2rem;
    font-size: 0.95rem;
  }

  .p-cta {
    width: 100%;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .p-cta-body {
    flex: 1;
    justify-content: center;
    padding: 1.05rem 1rem 1.05rem 1.3rem;
  }

  .p-link-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.5rem;
  }

  .p-hero .p-marquee {
    margin-top: 1.3rem;
    padding: 0.85rem 0;
  }

  .p-marquee-track span {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
  }

  .p-venue-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* the 410px flow stops fitting once the container (100vw - 3rem) drops
   under 410px — step the scale down so it always fits; each negative
   margin is (scale - 1) * 492px of returned layout height */
@media (max-width: 458px) {
  .p-flow {
    transform: scale(0.86);
    margin-bottom: -69px;
  }
}

@media (max-width: 400px) {
  .p-flow {
    transform: scale(0.78);
    margin-bottom: -108px;
  }
}

@media (max-width: 360px) {
  .p-flow {
    transform: scale(0.68);
    margin-bottom: -157px;
  }
}

/* ==========================================================================
   HARBOUR THEME LAYER
   The partner portal's dark palette (zillout-partner src/Style/theme.ts,
   `harbour`), applied with the portal's colour semantics:
     sand    #E4C9A0  actions (CTA, links, active nav)
     emerald #3FCB95  money that exists (every ₹ on the page)
     blue    #74B6D4  events (way one)
     coral   #E890AC  venues & referrals (way two)
     teal    #6FD0C2  sharing
     amber   #DDB367  pending
   These rules come after the base styles above and win the cascade —
   edit colours HERE, not in the base rules.
   ========================================================================== */


.partner-body {
  background: #080d16;
}

.partner-page {
  --p-purple: #e4c9a0;
  --p-purple-soft: #efdcc1;
  --p-pink: #e890ac;
  --p-green: #3fcb95;
  --p-gold: #3fcb95;
  --p-gold-soft: #7fdfba;
  --p-ink: #edf0f4;
  --p-muted: #8a95a3;
  --p-card: rgba(15, 23, 36, 0.85);
  --p-border: rgba(228, 201, 160, 0.24);
}

/* ---------- nav ---------- */
.navbar .nav-container {
  border: 1px solid #26323f;
  background: rgba(8, 13, 22, 0.6);
}
.nav-link {
  color: #a2adbb;
}
.nav-link:hover {
  color: #edf0f4;
}
.nav-link.active {
  color: #e4c9a0;
}
.nav-link::after {
  background: #e4c9a0;
}
.nav-cta {
  background: #e4c9a0 !important;
  color: #16263d !important;
  font-weight: 600;
}

/* ---------- shared ---------- */
.p-eyebrow {
  border: 1px solid #26323f;
  background: #0f1724;
  color: #a2adbb;
}
.p-eyebrow-dot {
  background: #3fcb95;
  box-shadow: 0 0 12px rgba(63, 203, 149, 0.7);
}
/* highlighted words: brand sand heating up into coral */
.p-gradient {
  background: linear-gradient(92deg, #e4c9a0 0%, #eab0ae 55%, #e890ac 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-money {
  background: linear-gradient(92deg, #3fcb95, #7fdfba);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-outline {
  -webkit-text-stroke: 2px rgba(237, 240, 244, 0.85);
}

/* ---------- aurora: sand wash + blue/coral hints (the header wash) ---------- */
.p-blob {
  opacity: 0.55;
}
.p-blob-1 {
  background: radial-gradient(
    circle,
    rgba(228, 201, 160, 0.2) 0%,
    rgba(228, 201, 160, 0.06) 40%,
    transparent 66%
  );
}
.p-blob-2 {
  background: radial-gradient(
    circle,
    rgba(116, 182, 212, 0.16) 0%,
    rgba(116, 182, 212, 0.05) 40%,
    transparent 66%
  );
}
.p-blob-3 {
  background: radial-gradient(
    circle,
    rgba(19, 37, 64, 0.8) 0%,
    rgba(19, 37, 64, 0.3) 40%,
    transparent 66%
  );
}

/* ---------- hero chip ---------- */
.p-chip {
  color: #a2adbb;
}
.p-chip-open {
  background: #0e2b21;
  color: #3fcb95;
  box-shadow: 0 0 0 1px rgba(63, 203, 149, 0.4);
}
.p-chip-open i {
  background: #3fcb95;
  box-shadow: 0 0 8px #3fcb95;
}

/* ---------- CTA: the portal's sand pill ---------- */
.p-cta::before {
  display: none;
}
.p-cta-body {
  background: linear-gradient(160deg, #efd8b5 0%, #e4c9a0 60%, #d2b489 100%);
  color: #16263d;
  border-radius: 999px 0 0 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 28px rgba(228, 201, 160, 0.18),
    0 16px 48px rgba(228, 201, 160, 0.14);
}
.p-cta {
  color: #16263d;
}
.p-cta-cap {
  background: #101f38;
  border-left: 1px solid rgba(228, 201, 160, 0.55);
  color: #e4c9a0;
  border-radius: 0 999px 999px 0;
  box-shadow:
    inset 0 1px 0 rgba(242, 245, 250, 0.1),
    0 0 0 1px rgba(228, 201, 160, 0.4),
    0 16px 48px rgba(0, 0, 0, 0.5);
}
.p-cta-glyphs i,
.p-cta-glyphs i:nth-of-type(2),
.p-cta-glyphs i:nth-of-type(4) {
  color: rgba(22, 38, 61, 0.35);
}
@media (hover: hover) {
  .p-cta:hover .p-cta-body {
    border-radius: 999px 6px 6px 999px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 10px 42px rgba(228, 201, 160, 0.34);
  }
  .p-cta:hover .p-cta-cap {
    border-radius: 999px;
    box-shadow:
      inset 0 1px 0 rgba(242, 245, 250, 0.1),
      0 0 0 1px rgba(228, 201, 160, 0.6),
      0 12px 26px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- hero flow: blue events, coral venues, emerald money ---------- */
.p-hero-visual-glow {
  background: radial-gradient(
    circle at 55% 45%,
    rgba(228, 201, 160, 0.12) 0%,
    transparent 62%
  );
}
.p-flow-label {
  color: #8a95a3;
}
.p-flow-label span {
  background: linear-gradient(90deg, #74b6d4, #e890ac);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-flow-label i {
  background: linear-gradient(90deg, transparent, rgba(116, 182, 212, 0.45));
}
.p-flow-label i:last-child {
  background: linear-gradient(90deg, rgba(232, 144, 172, 0.45), transparent);
}
.p-rail-e {
  stroke: rgba(116, 182, 212, 0.5);
}
.p-rail-v {
  stroke: rgba(232, 144, 172, 0.5);
}

.p-way {
  background: linear-gradient(165deg, #16202f, #0f1724);
  border: 1px solid rgba(116, 182, 212, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 46px rgba(116, 182, 212, 0.08);
  backdrop-filter: none;
}
.p-way::before {
  background: radial-gradient(circle, rgba(116, 182, 212, 0.12), transparent 65%);
}
.p-way-v {
  border-color: rgba(232, 144, 172, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 46px rgba(232, 144, 172, 0.08);
}
.p-way-v::before {
  background: radial-gradient(circle, rgba(232, 144, 172, 0.1), transparent 65%);
}
.p-way-num {
  -webkit-text-stroke: 1.2px rgba(116, 182, 212, 0.5);
}
.p-way-v .p-way-num {
  -webkit-text-stroke-color: rgba(232, 144, 172, 0.5);
}
.p-way-title {
  color: #edf0f4;
}
.p-way-title em {
  background: linear-gradient(90deg, #a8d2e8, #74b6d4);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-way-v .p-way-title em {
  background: linear-gradient(90deg, #f4bccb, #e890ac);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-way-how {
  color: #8a95a3;
}
.p-way-how em {
  color: #74b6d4;
}
.p-way-v .p-way-how em {
  color: #e890ac;
}
.p-way-live {
  border-top: 1px solid #1c2634;
}
.p-live-pill i {
  background: #74b6d4;
  box-shadow: 0 0 10px rgba(116, 182, 212, 0.8);
}
.p-way-v .p-live-pill i {
  background: #e890ac;
  box-shadow: 0 0 10px rgba(232, 144, 172, 0.8);
}
/* the amounts are MONEY — emerald in both streams */
.p-live-pill b,
.p-way-v .p-live-pill b {
  color: #3fcb95;
  text-shadow: 0 0 22px rgba(63, 203, 149, 0.6);
}
.p-live-pill span {
  color: #a2adbb;
}
.p-drop-e {
  color: #d5ecf7;
  background: rgba(116, 182, 212, 0.16);
  border: 1px solid rgba(116, 182, 212, 0.55);
  box-shadow: 0 0 18px rgba(116, 182, 212, 0.35);
}
.p-drop-v {
  color: #fbe3ea;
  background: rgba(232, 144, 172, 0.14);
  border: 1px solid rgba(232, 144, 172, 0.55);
  box-shadow: 0 0 18px rgba(232, 144, 172, 0.4);
}

/* wallet: the portal's money surface */
.p-wallet {
  background: linear-gradient(160deg, #16202f, #0f1724);
  border: 1px solid rgba(63, 203, 149, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 34px 90px rgba(0, 0, 0, 0.7),
    0 0 70px rgba(63, 203, 149, 0.1);
  backdrop-filter: none;
}
.p-wallet::after {
  border-color: rgba(63, 203, 149, 0.55);
}
.p-dash-head {
  color: #8a95a3;
}
.p-dash-live {
  color: #3fcb95;
}
.p-dash-live i {
  background: #3fcb95;
  box-shadow: 0 0 10px #3fcb95;
}
.p-dash-amount {
  background: linear-gradient(92deg, #3fcb95, #7fdfba);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.p-dash-sub {
  color: #8a95a3;
}
.p-dash-bars i {
  background: linear-gradient(180deg, #3fcb95, rgba(63, 203, 149, 0.2));
}

.p-hero-hint {
  color: #8a95a3;
}
.p-hero-hint:hover {
  color: #e4c9a0;
}
.p-hero-hint i {
  color: #e4c9a0;
}

.p-marquee {
  background: rgba(8, 13, 22, 0.5);
  border-top: 1px solid #1c2634;
  border-bottom: 1px solid #1c2634;
}
.p-marquee-track span {
  color: rgba(162, 173, 187, 0.5);
}

/* ---------- story: events are blue, payday is emerald ---------- */
.p-story-glow {
  background: radial-gradient(circle, rgba(116, 182, 212, 0.12) 0%, transparent 65%);
}
.p-story[data-scene="2"] .p-story-glow {
  background: radial-gradient(circle, rgba(116, 182, 212, 0.16) 0%, transparent 65%);
}
.p-story[data-scene="4"] .p-story-glow {
  background: radial-gradient(circle, rgba(63, 203, 149, 0.12) 0%, transparent 65%);
}
.p-chapter {
  --ch: #74b6d4;
  --ch-rgb: 116, 182, 212;
  border-left: 1px solid #1c2634;
}
.p-chapter[data-scene="4"] {
  --ch: #3fcb95;
  --ch-rgb: 63, 203, 149;
}
.p-chapter-time {
  -webkit-text-stroke: 1.5px rgba(237, 240, 244, 0.45);
}
.p-story-progress {
  background: linear-gradient(180deg, #74b6d4, #3fcb95);
  box-shadow: 0 0 14px rgba(116, 182, 212, 0.5);
}
.p-story-progress::after {
  background: #3fcb95;
  box-shadow: 0 0 14px #3fcb95;
}

/* phone: the portal's illus.screen navy */
.p-phone {
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(228, 201, 160, 0.1),
    inset 0 0 0 3px #000;
}
.p-phone[data-active="4"] {
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.75),
    0 0 90px rgba(63, 203, 149, 0.16),
    inset 0 0 0 3px #000;
}
.p-screen-1 {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(116, 182, 212, 0.32), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(232, 144, 172, 0.24), transparent 55%),
    #0a121e;
}
.p-screen-2 {
  background: #0a121e;
}
.p-screen-4 {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(63, 203, 149, 0.18), transparent 55%),
    #0a121e;
}
.p-scr-avatar {
  background: linear-gradient(135deg, #74b6d4, #e890ac);
}
.p-scr-event-tag {
  color: #a8d2e8;
  border-color: rgba(116, 182, 212, 0.5);
}
.p-scr-link {
  color: #a8d2e8;
  border-color: rgba(116, 182, 212, 0.55);
  background: rgba(116, 182, 212, 0.1);
}
.p-notif-dot {
  background: #74b6d4;
  box-shadow: 0 0 8px #74b6d4;
}
.p-notif-amt {
  color: #3fcb95;
}
.p-scr-total b {
  color: #3fcb95;
}
.p-scr-payout b {
  background: linear-gradient(92deg, #3fcb95, #7fdfba);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-scr-kyc {
  color: #3fcb95;
  border-color: rgba(63, 203, 149, 0.4);
}
.p-scr-btn {
  background: #e4c9a0;
  color: #16263d;
  box-shadow: 0 10px 30px rgba(228, 201, 160, 0.25);
}
@keyframes p-link-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(116, 182, 212, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(116, 182, 212, 0.4);
  }
}

@media (max-width: 991px) {
  .p-phone-wrap {
    background: #080d16;
  }
  .p-phone-wrap::after {
    background: linear-gradient(180deg, #080d16, transparent);
  }
}

/* ---------- venue: coral is referrals, emerald is the payout ---------- */
.p-venue {
  border-top: 1px solid #1c2634;
}
.p-vstage {
  background: #0f1724;
  border: 1px solid #26323f;
}
.p-vline {
  background: #26323f;
}
.p-vline i {
  background: linear-gradient(90deg, #e890ac, #3fcb95);
}
.p-venue-track.is-done .p-vline::after {
  border-color: #e890ac;
}
.p-venue-track.is-done .p-vstage {
  border-color: rgba(232, 144, 172, 0.45);
}
.p-venue-track.is-done .p-vstage-win {
  border-color: rgba(63, 203, 149, 0.55);
  background: #0e2b21;
  box-shadow: 0 0 50px rgba(63, 203, 149, 0.15);
}
.p-vstage-win::after {
  border-color: rgba(63, 203, 149, 0.6);
}
.p-vstage-amt {
  color: #3fcb95 !important;
}
.p-ic-purple {
  background: rgba(232, 144, 172, 0.12);
  color: #e890ac;
  border: 1px solid rgba(232, 144, 172, 0.4);
}
.p-ic-green {
  background: #0e2b21;
  color: #3fcb95;
  border: 1px solid rgba(63, 203, 149, 0.4);
}
.p-soon-badge {
  color: #ddb367;
  border-color: rgba(221, 179, 103, 0.45);
}

/* ---------- buttons: sand = action ---------- */
.p-btn-primary {
  background: #e4c9a0;
  color: #16263d;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(228, 201, 160, 0.18);
  animation: portal-halo-mock 3.2s ease-in-out infinite alternate;
}
@keyframes portal-halo-mock {
  from {
    box-shadow: 0 8px 28px rgba(228, 201, 160, 0.18);
  }
  to {
    box-shadow: 0 10px 42px rgba(228, 201, 160, 0.34);
  }
}
.p-btn-primary:hover {
  background: #efd8b5;
  box-shadow: 0 12px 34px rgba(228, 201, 160, 0.28);
}
.p-btn-dot {
  background: #16263d;
  box-shadow: none;
}

/* ---------- who: the portal's section accents ---------- */
.p-who-card {
  /* The Artist — teal (sharing / your page) */
  --who-rgb: 111, 208, 194;
  --who-soft: #6fd0c2;
  background: #0f1724;
  border: 1px solid #26323f;
}
.p-who-grid .p-who-card:nth-child(2) {
  /* The Promoter — blue (events) */
  --who-rgb: 116, 182, 212;
  --who-soft: #74b6d4;
}
.p-who-grid .p-who-card:nth-child(3) {
  /* The Regular — amber (their money is pending till the night happens) */
  --who-rgb: 221, 179, 103;
  --who-soft: #ddb367;
}
.p-who-grid .p-who-card:nth-child(4) {
  /* The Insider — coral (venues) */
  --who-rgb: 232, 144, 172;
  --who-soft: #e890ac;
}
.p-who-card p {
  color: #a2adbb;
}

/* ---------- calculator ---------- */
.p-calc-card {
  background:
    radial-gradient(800px circle at 85% 15%, rgba(228, 201, 160, 0.08), transparent 50%),
    #0f1724;
  border: 1px solid #26323f;
}
.p-calc-label {
  color: #a2adbb;
}
.p-calc-label output {
  color: #edf0f4;
}
.p-calc-field input[type="range"] {
  background: linear-gradient(
    90deg,
    #e4c9a0 0%,
    #e4c9a0 var(--fill, 30%),
    #26323f var(--fill, 30%)
  );
}
.p-calc-field input[type="range"]::-webkit-slider-thumb {
  background: #edf0f4;
  border: 5px solid #e4c9a0;
  box-shadow: 0 0 16px rgba(228, 201, 160, 0.5);
}
.p-calc-field input[type="range"]::-moz-range-thumb {
  background: #edf0f4;
  border: 5px solid #e4c9a0;
  box-shadow: 0 0 16px rgba(228, 201, 160, 0.5);
}
.p-calc-result {
  background: #0b1119;
  border: 1px solid #1c2634;
}
.p-calc-result-value {
  background: linear-gradient(92deg, #3fcb95, #7fdfba);
  -webkit-background-clip: text;
  background-clip: text;
}
.p-calc-breakdown span::before {
  color: #e4c9a0;
}
.p-calc-note {
  color: #86919f;
}

/* ---------- FAQ ---------- */
.p-faq-item {
  border-bottom: 1px solid #1c2634;
}
.p-faq-item summary::after {
  color: #e4c9a0;
}
.p-faq-item summary:hover {
  color: #e4c9a0;
}

/* ---------- final ---------- */
.p-final {
  border-top: 1px solid #1c2634;
}
.p-final-fine {
  color: #86919f;
}

.demo-button {
  background: #e4c9a0 !important;
  color: #16263d !important;
}

/* mobile nav drawer (styles.css) — bring onto the Harbour palette */
.partner-body .mobile-nav-link:hover,
.partner-body .mobile-nav-link.active {
  color: #e4c9a0;
  background: rgba(228, 201, 160, 0.1);
}
.partner-body .mobile-nav-cta-btn {
  background: #e4c9a0;
  color: #16263d;
}
.partner-body .mobile-nav-cta-btn:hover {
  box-shadow: 0 10px 30px rgba(228, 201, 160, 0.3);
}
