/* Cash Lock Kit — r355 Outcome Episode
   Keep the delivered PDF as the hero and avoid physical-product styling. */

:root {
  --cash-panel: rgba(17, 18, 31, .9);
  --cash-panel-soft: rgba(22, 24, 42, .72);
  --cash-panel-strong: #121322;
  --cash-ink: #f7f5ff;
  --cash-muted: #bab4cf;
  --cash-rule: rgba(255, 255, 255, .12);
  --cash-rule-strong: rgba(255, 255, 255, .2);
  --cash-accent: #74d6ee;
  --cash-accent-2: #8b5cf6;
  --cash-accent-3: #67d7a7;
  --cash-paper: #fffdfa;
}

html[data-theme="light"] {
  --cash-panel: rgba(255, 255, 255, .92);
  --cash-panel-soft: rgba(245, 241, 252, .88);
  --cash-panel-strong: #ffffff;
  --cash-ink: #191326;
  --cash-muted: #635d73;
  --cash-rule: rgba(25, 19, 38, .1);
  --cash-rule-strong: rgba(25, 19, 38, .16);
  --cash-accent: #097f98;
  --cash-accent-2: #6540d9;
  --cash-accent-3: #12805a;
  --cash-paper: #fffdfa;
}

body::before {
  opacity: .08;
}

.hero {
  padding-top: clamp(52px, 7vw, 96px);
}

.hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.gradient {
  background: linear-gradient(108deg, var(--cash-accent-2), var(--cash-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #5b32c8, #0f8ca4);
  box-shadow: 0 16px 36px rgba(47, 31, 104, .28);
}

.button.primary:hover {
  background: linear-gradient(135deg, #4c27b5, #0b7990);
}

.button.ghost,
.trust span {
  background: var(--cash-panel-soft);
}

.cash-episode {
  position: relative;
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cash-rule-strong);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(116, 214, 238, .1), rgba(139, 92, 246, .12)),
    var(--cash-panel-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
  color: var(--cash-ink);
}

.cash-proof-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--cash-rule);
  background: rgba(255, 255, 255, .03);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.cash-proof-meta span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cash-accent-3);
  content: "";
}

.cash-proof-stage {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(18px, 3vw, 28px);
}

.cash-proof-stage img {
  display: block;
  width: min(100%, 540px);
  height: auto;
  border: 1px solid rgba(31, 23, 54, .18);
  border-radius: 18px;
  background: var(--cash-paper);
  box-shadow: 0 24px 60px rgba(6, 8, 20, .28);
  transform: none;
}

.cash-proof-stage.is-switching img {
  animation: cash-proof-reveal .22s ease both;
}

@keyframes cash-proof-reveal {
  from {
    opacity: .45;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cash-proof-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px 12px;
}

.cash-proof-caption strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

.cash-proof-caption span {
  color: var(--cash-muted);
  font-size: .83rem;
  text-align: right;
}

.cash-proof-note {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--cash-muted);
  font-size: .86rem;
}

.cash-gallery-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.cash-gallery-choice {
  display: grid;
  grid-template-columns: 42px 1fr;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid var(--cash-rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: 700 .78rem/1.2 Inter, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.cash-gallery-choice img {
  display: block;
  width: 42px;
  height: 54px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  background: var(--cash-paper);
}

.cash-gallery-choice:hover,
.cash-gallery-choice.is-active {
  border-color: rgba(116, 214, 238, .55);
  background: rgba(116, 214, 238, .12);
  transform: translateY(-1px);
}

.cash-gallery-choice:focus-visible {
  outline: 3px solid var(--cash-accent);
  outline-offset: 3px;
}

.cash-episode .price-chip {
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(11, 11, 19, .72);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.cash-episode .price-chip small {
  color: rgba(255, 255, 255, .72);
}

.card,
.mid-buy,
.sample,
.check,
.buybox,
.fit-card,
.closing-box,
.previews figure,
.cash-preview-note {
  border-color: var(--cash-rule);
  background: var(--cash-panel);
  box-shadow: none;
}

.cards {
  gap: 14px;
}

.card {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
    var(--cash-panel);
}

.card .num {
  border: 1px solid var(--cash-rule);
  background: transparent;
  color: var(--cash-accent);
}

.workflow-conversion {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--cash-rule);
  border-radius: 28px;
  background: var(--cash-panel);
}

.artifact-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .52fr);
  gap: 22px;
  align-items: start;
  min-height: 0;
  padding: 24px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(116, 214, 238, .08), rgba(139, 92, 246, .12)),
    transparent;
  box-shadow: none;
}

.artifact-stage::before {
  display: none;
}

.artifact-stage img {
  width: min(100%, 510px);
  min-width: 0;
  height: auto;
  justify-self: center;
  border: 1px solid rgba(31, 23, 54, .18);
  border-radius: 18px;
  background: var(--cash-paper);
  box-shadow: 0 20px 50px rgba(6, 8, 20, .22);
  transform: none;
}

.artifact-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.artifact-kicker {
  margin: 0;
  color: var(--cash-accent);
  font-family: "JetBrains Mono", monospace;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.artifact-hook {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cash-ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
}

.artifact-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifact-points li {
  padding: 12px 14px;
  border: 1px solid var(--cash-rule);
  border-radius: 14px;
  color: var(--cash-muted);
  font-size: .88rem;
}

.artifact-points strong {
  color: var(--cash-ink);
}

.mid-buy {
  border: 0;
  border-left: 1px solid var(--cash-rule);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
    var(--cash-panel);
}

.preview-wrap {
  border-block-color: var(--cash-rule);
  background:
    radial-gradient(circle at top right, rgba(116, 214, 238, .12), transparent 18rem),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, .14), transparent 24rem),
    transparent;
}

.previews {
  grid-template-columns: minmax(0, 1.26fr) minmax(240px, .74fr);
  gap: 18px;
  align-items: start;
}

.previews figure {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 24px;
  padding: 18px;
}

.previews figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(31, 23, 54, .18);
  border-radius: 18px;
  background: var(--cash-paper);
  object-fit: contain;
  object-position: top;
}

.cash-preview-framework img {
  max-height: 980px;
}

.cash-preview-side {
  display: grid;
  gap: 18px;
}

.cash-preview-cover img {
  max-height: 360px;
}

.cash-preview-note {
  padding: 20px;
  border: 1px solid var(--cash-rule);
  border-radius: 20px;
}

.cash-preview-note h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cash-preview-note p,
.previews figcaption {
  margin: 0;
  color: var(--cash-muted);
  font-size: .84rem;
}

.sample {
  border-left: 6px solid var(--cash-accent-2);
  border-radius: 18px;
}

.check,
.fit-card {
  border-radius: 16px;
}

.buybox {
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(116, 214, 238, .12), transparent 18rem),
    var(--cash-panel);
}

.closing-box {
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(116, 214, 238, .1)),
    var(--cash-panel);
}

@media (max-width: 1120px) {
  .artifact-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .artifact-stage img {
    width: min(100%, 460px);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .workflow-conversion,
  .previews {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .cash-episode {
    width: min(100%, 680px);
  }

  .cash-proof-stage img {
    width: min(100%, 500px);
  }

  .mid-buy {
    border-top: 1px solid var(--cash-rule);
    border-left: 0;
  }

  .cash-preview-cover img {
    max-height: 520px;
  }
}

@media (max-width: 640px) {
  .cash-episode,
  .workflow-conversion,
  .buybox,
  .closing-box,
  .previews figure {
    border-radius: 20px;
  }

  .cash-proof-meta {
    padding: 13px 14px;
    font-size: .64rem;
  }

  .cash-proof-caption,
  .cash-proof-note {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cash-proof-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 10px;
  }

  .cash-gallery-controls {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }

  .cash-gallery-choice {
    grid-template-columns: 38px 1fr;
  }

  .cash-gallery-choice img {
    width: 38px;
    height: 48px;
  }

  .cash-episode .price-chip {
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    font-size: .8rem;
  }

  .artifact-stage {
    padding: 18px;
  }

  .artifact-points li,
  .cash-preview-note {
    padding: 14px;
  }

  .previews figure {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cash-proof-stage.is-switching img,
  .cash-gallery-choice {
    animation: none;
    transition: none;
  }
}

/* Keep the purchase path visible when a phone is rotated. */
@media (max-width:900px) and (max-height:520px) and (orientation:landscape) {
  .hero { padding:4px 0 18px; }
  .btp-breadcrumbs { display:none; }
  .hero-grid { gap:18px; }
  .hero h1 { font-size:clamp(2.05rem,5.2vw,2.9rem); margin-bottom:.55rem; }
  .hero-copy { font-size:.9rem; line-height:1.42; }
  .button-row.hero-actions { gap:8px; }
  .button-row.hero-actions .button { min-height:44px; }
  .cookie-banner { right:10px !important; bottom:10px !important; left:auto !important; width:min(260px,calc(100vw - 20px)) !important; padding:.55rem .7rem !important; border-radius:12px !important; }
  .cookie-banner p { margin:0 0 .45rem !important; font-size:.7rem !important; line-height:1.3 !important; }
  .cookie-banner .ck-btns { gap:.35rem !important; }
  .cookie-banner .ck-btns button { min-height:40px !important; padding:.42rem .5rem !important; font-size:.72rem !important; }
}
