/* ==========================================================================
   PLAII MINI PWA v2 — FLAGSHIP MUSIC DROP UI
   Apple Music × Even.biz × Laylo · Pitch Black #000 + Electric Indigo #3D2BFF
   ========================================================================== */

:root {
  --bg: #000000;
  --elevated: #111116;
  --elevated-2: #1A1A22;
  --ink: #F5F5F7;
  --ink-2: rgba(245, 245, 247, 0.62);
  --ink-3: rgba(245, 245, 247, 0.38);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-hi: rgba(255, 255, 255, 0.14);
  --accent: #3D2BFF;
  --accent-hi: #5140FF;
  --accent-soft: rgba(61, 43, 255, 0.22);
  --crt: #6B9BFF;

  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Apple-Music-style artwork ambient bleed (not a loud SaaS neon blob) */
.ambient-bg {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 43, 255, 0.28) 0%, rgba(79, 139, 255, 0.08) 45%, transparent 72%);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s var(--spring), transform 0.8s var(--spring);
  opacity: 0.72;
}

body.is-playing .ambient-bg {
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
}

.page {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) 22px calc(136px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Minimal Top Bar ---------- */
.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}

.brand-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}

.wordmark:hover {
  color: var(--ink);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  transition: background 0.15s, color 0.15s, transform 0.13s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

/* ---------- Hero Album Artwork (Full-Width Flush with Cards Below) ---------- */
.cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--elevated);
  border: 1px solid var(--hairline-hi);
  box-shadow:
    0 24px 64px -20px rgba(0, 0, 0, 0.9),
    0 14px 40px -18px rgba(61, 43, 255, 0.34);
  cursor: pointer;
  padding: 0;
  transition: transform 0.55s var(--bounce), box-shadow 0.55s var(--spring);
}

.cover-wrap:active {
  transform: scale(0.97);
}

body.is-playing .cover-wrap {
  transform: scale(1.02);
  box-shadow:
    0 34px 85px -16px rgba(0, 0, 0, 0.95),
    0 24px 64px -16px rgba(61, 43, 255, 0.52);
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle bottom vignette on cover so play button & progress always read cleanly */
.cover-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
}

.cover-play {
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 245, 247, 0.96);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--bounce), background 0.2s, color 0.2s;
}

body.is-playing .cover-play {
  background: var(--accent);
  color: #FFFFFF;
}

.cover-play svg {
  width: 20px;
  height: 20px;
}

.cover-time {
  position: absolute;
  left: 16px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.cover-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.cover-progress-fill {
  height: 100%;
  width: 100%;
  background: #FFFFFF;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  transition: transform 0.14s linear;
}

/* ---------- Multi-Drop Storefront Carousel Controls ---------- */
.carousel-nav {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.car-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline-hi);
  background: var(--elevated);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.13s cubic-bezier(0.22, 1, 0.36, 1), background 0.16s ease;
}
.car-btn:active { transform: scale(0.93); }

.car-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, width 0.22s ease;
}

.car-dot.active {
  width: 22px;
  background: var(--crt);
}

.drop-type-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(61, 43, 255, 0.22);
  border: 1px solid rgba(107, 155, 255, 0.35);
  color: var(--crt);
  text-transform: uppercase;
}

/* ---------- Editorial Track Header (Left-Aligned, Matches Rest of Page) ---------- */
.track-header {
  width: 100%;
  text-align: left;
  margin-top: 20px;
}

.track-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.artist-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--crt);
  text-transform: uppercase;
}

.song-title {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}

.subtitle {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}

.subtitle strong {
  color: var(--ink);
  font-weight: 700;
}

.meta-line {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.meta-line strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- Email Capture Field (First Step in Funnel) ---------- */
.email-box {
  width: 100%;
  margin-top: 28px;
}

.email-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.email-label span:last-child {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
}

.email-input {
  width: 100%;
  min-height: 52px;
  border-radius: 15px;
  border: 1px solid var(--hairline-hi);
  background: var(--elevated);
  color: var(--ink);
  padding: 0 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.email-input::placeholder {
  color: var(--ink-3);
}

.email-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #14141C;
  box-shadow: 0 0 0 3px rgba(61, 43, 255, 0.22);
}

.email-input.err {
  border-color: #FF4D4F;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.18);
}

.sms-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
}

.sms-fine {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.48;
  color: rgba(245, 245, 247, 0.56);
}

.email-err {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #FF6B6E;
  font-weight: 500;
}

.email-err.show {
  display: block;
}

/* ---------- The $1 Revolution Editorial Section (Below the Fold) ---------- */
.manifesto {
  width: 100%;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  text-align: left;
}

.rev-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crt);
}

.rev-title {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}

.rev-copy {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.rev-copy + .rev-copy {
  margin-top: 10px;
}

.rev-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.compare-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cmp-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
}

.cmp-card.direct {
  background: linear-gradient(180deg, rgba(61, 43, 255, 0.16) 0%, rgba(17, 17, 22, 0.95) 100%);
  border-color: rgba(107, 155, 255, 0.34);
}

.cmp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cmp-card.direct .cmp-label {
  color: var(--crt);
}

.cmp-num {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cmp-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

.how-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.how-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--crt);
  padding-top: 2px;
  flex-shrink: 0;
}

.how-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.how-item p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* ---------- Eyebrow Proof & Pitch Video Slot (Sabri Steps 6, 10, 12, 13, 17) ---------- */
.hero-banner {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

.hero-headline {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}

.hero-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-sub strong {
  color: var(--ink);
  font-weight: 700;
}

.custom-toggle-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.custom-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: none;
  border: none;
  color: rgba(245, 245, 247, 0.6);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(245, 245, 247, 0.28);
}

.custom-toggle-btn:hover {
  color: var(--ink-2);
}

.vsl-card {
  margin-top: 28px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--elevated);
  border: 1px solid var(--hairline-hi);
}

.vsl-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #0D0E18 0%, #05050A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.vsl-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vsl-play-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(245, 245, 247, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vsl-caption {
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-2);
}

.vsl-caption strong {
  color: var(--ink);
  font-weight: 700;
}

.section-block {
  width: 100%;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  text-align: left;
}

.stack-card {
  margin-top: 14px;
  border-radius: 18px;
  background: var(--elevated);
  border: 1px solid var(--hairline-hi);
  padding: 6px 18px;
}

.stack-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.stack-row:last-child {
  border-bottom: none;
}

.stack-check {
  color: var(--crt);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  padding-top: 1px;
  flex-shrink: 0;
}

.stack-row h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.stack-row p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.guarantee-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(61, 43, 255, 0.1);
  border: 1px solid rgba(107, 155, 255, 0.25);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

.guarantee-box strong {
  color: var(--ink);
}

/* Native HTML Accordion FAQ */
.faq-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 14px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  padding: 14px 16px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink-3);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--crt);
}

.faq-item p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* P.S. Close (3rd most-read section) */
.ps-box {
  width: 100%;
  margin-top: 32px;
  padding: 20px;
  border-radius: 18px;
  background: var(--elevated);
  border: 1px solid var(--hairline-hi);
  text-align: left;
}

.ps-box p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-2);
}

.ps-box strong {
  color: var(--ink);
}

/* ---------- Checkout Card (Matches Editorial Cards Below) ---------- */
.checkout-card {
  width: 100%;
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: var(--elevated);
  border: 1px solid var(--hairline-hi);
  text-align: left;
}

.checkout-card .email-box {
  margin-top: 0;
}

.checkout-card .email-input {
  background: rgba(0, 0, 0, 0.55);
}

.checkout-card .chip {
  background: rgba(0, 0, 0, 0.5);
}

.checkout-card .chip[aria-checked="true"] {
  background: var(--ink);
  color: #000000;
}

/* ---------- Live Audio Equalizer Bars (Only Active While Playing) ---------- */
.eq {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 12px;
  flex-shrink: 0;
}

.eq i {
  display: block;
  width: 2.5px;
  height: 4px;
  border-radius: 2px;
  background: var(--crt);
  transition: height 0.2s ease;
}

body.is-playing .eq i:nth-child(1) { animation: eq-bounce 0.65s ease-in-out infinite; }
body.is-playing .eq i:nth-child(2) { animation: eq-bounce 0.52s 0.12s ease-in-out infinite; }
body.is-playing .eq i:nth-child(3) { animation: eq-bounce 0.74s 0.24s ease-in-out infinite; }

@keyframes eq-bounce {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* ---------- Smooth Apple-Style Entrance & Scroll Choreography ---------- */
@keyframes plaii-enter {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes plaii-stagger {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-item {
  opacity: 0;
  animation: plaii-stagger 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 50ms);
  will-change: transform, opacity;
}

/* Snappy 120ms tactile tap micro-interactions (GPU transform only) */
.cta, .btn, .nav-pill, .quiet-btn {
  transition: transform 0.13s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease, background 0.16s ease, border-color 0.16s ease;
}
.cta:active, .btn:active, .nav-pill:active, .quiet-btn:active {
  transform: scale(0.97);
}

/* 25% faster exits on bottom sheets, scrims, and toasts */
.scrim {
  transition: opacity 0.18s ease !important;
}
.scrim.show {
  transition: opacity 0.24s ease !important;
}
.sheet {
  transition: transform 0.22s cubic-bezier(0.4, 0, 1, 1) !important;
}
.sheet.show {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.toast {
  transition: transform 0.18s cubic-bezier(0.4, 0, 1, 1), opacity 0.16s ease !important;
}
.toast.show {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease !important;
}

@keyframes ambient-breathe {
  0%, 100% {
    opacity: 0.88;
    transform: translateX(-50%) scale(1.04);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.13);
  }
}

body.is-playing .ambient-bg {
  animation: ambient-breathe 4.6s ease-in-out infinite;
}

.enter {
  opacity: 0;
  animation: plaii-enter 0.68s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.enter-1 { animation-delay: 0.04s; }
.enter-2 { animation-delay: 0.12s; }
.enter-3 { animation-delay: 0.2s; }
.enter-4 { animation-delay: 0.28s; }

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.988);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Staggered child cards inside revealed sections */
.reveal .cmp-card,
.reveal .stack-row,
.reveal .faq-item,
.reveal .how-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease,
    background 0.22s ease;
}

.reveal.in .cmp-card,
.reveal.in .stack-row,
.reveal.in .faq-item,
.reveal.in .how-item {
  opacity: 1;
  transform: none;
}

.reveal.in .cmp-card:nth-child(2),
.reveal.in .stack-row:nth-child(2),
.reveal.in .faq-item:nth-child(2),
.reveal.in .how-item:nth-child(2) { transition-delay: 0.08s; }

.reveal.in .stack-row:nth-child(3),
.reveal.in .faq-item:nth-child(3),
.reveal.in .how-item:nth-child(3) { transition-delay: 0.16s; }

.reveal.in .faq-item:nth-child(4) { transition-delay: 0.24s; }

/* Tactile hover & press polish on cards */
.cmp-card:hover,
.faq-item:hover,
.checkout-card:hover,
.vsl-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.faq-item summary::after {
  transition: transform 0.25s var(--spring), color 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .enter, .reveal, .reveal .cmp-card, .reveal .stack-row, .reveal .faq-item, .reveal .how-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  body.is-playing .ambient-bg { animation: none !important; }
}

/* ---------- Tactile Price Chips (Apple / Cash App Feel) ---------- */
.price-section {
  width: 100%;
  margin-top: 26px;
}

.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.chip {
  min-height: 54px;
  border-radius: 15px;
  border: 1px solid var(--hairline);
  background: var(--elevated);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: transform 0.28s var(--bounce), background 0.18s, border-color 0.18s, color 0.18s;
}

.chip:active {
  transform: scale(0.94);
}

.chip small {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chip[aria-checked="true"] {
  background: var(--ink);
  color: #000000;
  border-color: var(--ink);
}

.chip[aria-checked="true"] small {
  color: rgba(0, 0, 0, 0.55);
}

.custom-input-wrap {
  margin-top: 10px;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--elevated);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.custom-input-wrap.open {
  display: flex;
}

.custom-input-wrap span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-2);
}

.custom-input-wrap input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
}

.custom-input-wrap small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

.quiet-links {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.quiet-btn {
  min-height: 44px;
  background: none;
  border: none;
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}

.quiet-btn:hover {
  color: var(--ink);
}

.quiet-btn.underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(245, 245, 247, 0.28);
}

/* ---------- Pinned Bottom Checkout Bar ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 20px 22px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #000000 72%, rgba(0, 0, 0, 0));
}

.dock-in {
  width: 100%;
  max-width: 386px;
}

.cta {
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 16px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 32px -10px rgba(61, 43, 255, 0.55);
  transition: transform 0.28s var(--bounce), background 0.15s, opacity 0.15s;
}

.cta:hover {
  background: var(--accent-hi);
}

.cta:active {
  transform: scale(0.975);
}

.cta[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.cta-dot {
  opacity: 0.55;
}

.dock-note {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Secondary Buttons ---------- */
.btn-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn {
  flex: 1;
  min-height: 52px;
  border-radius: 15px;
  border: 1px solid var(--hairline);
  background: var(--elevated);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.25s var(--bounce), background 0.15s, border-color 0.15s;
}

.btn:hover {
  background: var(--elevated-2);
  border-color: var(--hairline-hi);
}

.btn:active {
  transform: scale(0.97);
}

.btn.full {
  width: 100%;
  flex: none;
}

/* ---------- iOS-Native Frosted Bottom Sheets ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--spring);
  z-index: 40;
}

.scrim.show {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  margin: 0 auto;
  max-width: 440px;
  background: rgba(20, 20, 26, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid var(--hairline-hi);
  border-radius: 26px 26px 0 0;
  padding: 10px 24px calc(28px + env(safe-area-inset-bottom));
  transform: translateY(108%);
  transition: transform 0.45s var(--spring);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.85);
}

.sheet.show {
  transform: translateY(0);
}

.grab {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto 20px;
}

.sheet h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.sheet-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 18px;
}

.stat {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}

.stat:last-of-type {
  border-bottom: none;
}

.stat .n {
  flex: 0 0 84px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

.field-group {
  margin-top: 12px;
}

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.field {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.55);
  color: var(--ink);
  padding: 0 15px;
  font-family: var(--font-sans);
  font-size: 16px;
}

.field:focus {
  outline: none;
  border-color: var(--accent);
}

.fine {
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  transform: translate(-50%, -150%);
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--bounce);
  white-space: nowrap;
}

.toast.show {
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 2px solid var(--crt);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (display-mode: standalone) {
  .install-only { display: none !important; }
}
