:root {
  --bg: #0a0a0c;
  --ink: #17213d;
  --muted: #626b82;
  --line: #e4e2ea;
  --accent: #4361ee;
  --accent-deep: #6045d0;
  --green: #12805a;
  --red: #c62a35;

  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgb(67 97 238 / 22%), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgb(139 43 226 / 18%), transparent 32rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid #8ea2ff;
  outline-offset: 3px;
}

img, picture, svg { display: block; max-width: 100%; }

/* Header, assurance strip, hero */

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: 68px;
  padding: 12px max(16px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid #23232b;
  color: #b9b9c2;
  font-size: 0.82rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img { width: 30px; height: auto; }
.brand sup { color: #a855f7; font-size: 0.55em; }
.support { margin: 0; }
.support a { color: #cbd3ff; }

.assurance-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--accent), #7c2fe3 68%, #8e00cf);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  list-style: none;
}

.assurance-bar li { display: flex; align-items: center; gap: 7px; }
.assurance-bar li::before { content: attr(data-icon); }

.hero {
  width: min(760px, calc(100% - 32px));
  margin: 26px auto 0;
  text-align: center;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.1em;
}

.urgency {
  margin: 14px 0 0;
  color: #ffd54a;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-kicker {
  margin: 12px 0 0;
  color: #c9c9d3;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-kicker strong { color: #fff; font-weight: 900; }

/* Layout */

.checkout-layout {
  display: grid;
  gap: 22px;
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 0;
  align-items: start;
}

.order-card,
.value-card,
.offer-card,
.message-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 60px rgb(0 0 0 / 45%);
  color-scheme: light;
}

.order-card { padding: clamp(20px, 4vw, 30px); }
.value-card { padding: clamp(22px, 4vw, 32px); }

/* Order card */

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-card h2,
.value-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.customer-fields {
  display: grid;
  gap: 10px;
  margin: 14px 0 20px;
}

.customer-fields label { display: grid; gap: 6px; }

.customer-fields label > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.customer-fields input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d8d5df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  box-shadow: 0 1px 2px rgb(23 33 61 / 4%);
}

.customer-fields input::placeholder { color: #8a90a0; }
.customer-fields input[aria-invalid="true"] { border-color: #a43a45; box-shadow: 0 0 0 2px rgb(164 58 69 / 14%); }

.field-error {
  color: #a43a45;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.customer-error {
  margin: -10px 0 16px;
  color: #a43a45;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
}

.line-head,
.line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem;
  gap: 10px;
  align-items: center;
}

.line-head {
  margin-top: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.line-head span:last-child,
.line-item .line-price { text-align: right; }

.line-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-name { display: grid; gap: 3px; }
.line-name strong { font-size: 0.98rem; line-height: 1.3; }
.line-name small { color: var(--muted); font-size: 0.8rem; }
.line-price { font-size: 1.1rem; font-weight: 900; }
.line-price s { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; }

.savings-callout {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #a7e0c3;
  border-radius: 9px;
  background: #effaf4;
  color: #17643d;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.savings-callout strong { flex: 0 0 auto; color: #0d7a46; font-size: 0.82rem; font-weight: 900; }

/* Order bumps */

.bumps {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  border: 0;
}

.bumps legend {
  padding: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bump {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border: 2px dashed #e3b93f;
  border-radius: 12px;
  background: #fffbe9;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.bump:not(:has(input:checked, input:disabled)):hover { border-color: #c99a1a; background: #fff8d9; }

.bump:has(input:checked) {
  border-style: solid;
  border-color: var(--green);
  background: #f0fbf5;
}

.bump:has(input:disabled) { cursor: not-allowed; opacity: 0.72; }

.bump-input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.bump-body { display: grid; gap: 5px; }
.bump-body strong { color: #14532d; font-size: 0.94rem; line-height: 1.35; }
.bump-body > span { color: #4b4634; font-size: 0.84rem; line-height: 1.5; }

.bump-body em {
  color: var(--red);
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Order summary */

.summary {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9f9fc;
}

.summary-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 0.87rem;
  line-height: 1.4;
}

.summary-row b { white-space: nowrap; }

.summary-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 900;
}

.summary-total b { color: var(--accent-deep); font-size: 1.15rem; }

[data-bump-row] { display: none; }

.order-card:has(#bump-checklist:checked) [data-bump-row="checklist"],
.order-card:has(#bump-prompts:checked) [data-bump-row="prompts"] { display: flex; }

/* Buttons and status */

.primary-button {
  width: 100%;
  min-height: 60px;
  margin-top: 18px;
  padding: 16px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--accent), #7c2fe3 62%, #8e00cf);
  box-shadow: 0 4px 0 #55169a, 0 14px 30px rgb(99 60 220 / 30%);
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 160ms ease, translate 160ms ease;
}

.primary-button:hover:not(:disabled):not([data-requires-inputs="true"]) { filter: brightness(1.06) saturate(1.06); translate: 0 -1px; }
.primary-button:active:not(:disabled):not([data-requires-inputs="true"]) { translate: 0 2px; box-shadow: 0 1px 0 #55169a; }
.primary-button:disabled { cursor: not-allowed; filter: grayscale(0.4); opacity: 0.55; }
.primary-button[data-requires-inputs="true"] { cursor: pointer; filter: grayscale(0.18); opacity: 0.76; }

.access-button { display: block; text-align: center; text-decoration: none; }

.text-button {
  display: block;
  margin: 14px auto 0;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  cursor: pointer;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status {
  min-height: 34px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  text-align: center;
}

.status[data-state="error"] { color: #a43a45; }
.status[data-state="success"] { color: var(--green); }
.status[data-state="loading"] { color: var(--accent-deep); }

/* Once the buyer submits, block the entire page while Stripe confirms and the
   webhook-backed handoff prepares the saved payment method for Upsell 1. */
[data-checkout-state="confirming"] [data-checkout-status],
[data-checkout-state="verifying"] [data-checkout-status],
[data-checkout-state="verification_error"] [data-checkout-status] {
  position: fixed;
  z-index: 1000;
  display: grid !important;
  place-content: center;
  gap: 16px;
  inset: 0;
  min-height: 100dvh;
  margin: 0;
  padding: 28px;
  background: rgb(10 10 12 / 92%);
  color: #fff;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 800;
  line-height: 1.5;
  text-wrap: balance;
}

[data-checkout-state="confirming"] [data-checkout-status]::before,
[data-checkout-state="verifying"] [data-checkout-status]::before {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 4px solid rgb(255 255 255 / 24%);
  border-top-color: #8ea2ff;
  border-radius: 50%;
  animation: checkout-spin 800ms linear infinite;
  content: "";
}

@keyframes checkout-spin { to { transform: rotate(360deg); } }

.stripe-frame {
  position: relative;
  width: 100%;
  margin-top: 12px;
  min-width: 0;
}

.payment-section {
  width: 100%;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.payment-section h2 { font-size: 0.86rem; letter-spacing: 0.02em; }
[data-checkout-mount] { width: 100%; min-width: 0; }
.checkout-submit { min-height: 56px; margin-top: 14px; font-size: 1rem; }

.checkout-guidance {
  margin: 10px 8px 0;
  color: #8a4f08;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
}

/* Keep loading feedback inside the space reserved for Stripe. During a basket update,
   the same overlay also blocks the previous total until its replacement is ready. */
[data-checkout-state="loading"] .stripe-frame [data-checkout-status],
[data-checkout-state="updating"] .stripe-frame [data-checkout-status] {
  position: absolute;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  inset: 0;
  min-height: 0;
  margin: 0;
  padding: 24px;
  border-radius: 12px;
  background: rgb(255 255 255 / 92%);
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

[data-checkout-state="loading"] .stripe-frame [data-checkout-status]::before,
[data-checkout-state="updating"] .stripe-frame [data-checkout-status]::before {
  width: 34px;
  height: 34px;
  border: 3px solid rgb(67 97 238 / 20%);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: checkout-spin 800ms linear infinite;
  content: "";
}

/* Reserve the form's height from first paint so the mounting Stripe iframe cannot shift
   the page. Stripe reports zero height for about a second before it resizes itself. */
[data-checkout-mount]:empty {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent, rgb(255 255 255 / 70%), transparent) 0 0 / 220% 100% no-repeat,
    #f3f3f7;
  animation: skeleton 1.5s ease-in-out infinite;
}

/* Errors and the disabled sandbox show the message and retry control instead of a skeleton. */
[data-checkout-state="error"] [data-checkout-mount]:empty,
[data-checkout-state="disabled"] [data-checkout-mount]:empty {
  min-height: 0;
  border: 0;
  background: none;
  animation: none;
}

@keyframes skeleton { to { background-position: 220% 0; } }

.payment-fallback { display: block; padding: 16px; color: var(--muted); text-align: center; }

.fine-print {
  margin: 14px auto 0;
  color: #777f94;
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: center;
}

/* Value panel */

.rating { margin: 0; color: #f5a623; font-size: 1.15rem; letter-spacing: 0.14em; }

.price-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 0;
}

.price-anchor s { color: #8b93a7; font-size: 1.35rem; font-weight: 700; }
.price-anchor strong { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 900; letter-spacing: -0.03em; }
.saving { margin: 4px 0 18px; color: var(--accent); font-size: 0.92rem; font-weight: 800; }

.value-list,
.feature-list { margin: 0; padding: 0; list-style: none; }

.value-list li,
.feature-list li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.value-list li::before,
.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.value-list { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.value-card h2 { margin: 20px 0 6px; }
.feature-list li { color: var(--muted); }
.feature-list strong { color: var(--ink); }

.secure-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.secure-note svg { color: var(--accent-deep); }
.secure-note p { margin: 0; font-size: 0.83rem; line-height: 1.55; }
.secure-note strong { color: var(--ink); }

/* Guarantee */

.guarantee {
  width: min(760px, calc(100% - 32px));
  margin: 34px auto 0;
  color: #c9c9d3;
  text-align: center;
}

.seal {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border: 4px solid #b7791f;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #ffe89a, #e0a422 62%, #b7791f);
  color: #4a3105;
  text-shadow: 0 1px 0 rgb(255 255 255 / 45%);
}

.seal span { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.04em; }
.seal small { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }

.guarantee h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.guarantee p:not(.seal) { margin: 0; font-size: 0.87rem; line-height: 1.6; }

/* Footer */

.site-footer {
  width: min(900px, calc(100% - 32px));
  margin: 44px auto;
  padding-top: 26px;
  border-top: 1px solid #23232b;
  color: #7c7c88;
  font-size: 0.78rem;
  text-align: center;
}

.site-footer p { margin: 0 0 10px; }
.site-footer .brand { display: block; font-size: 1.05rem; }
.legal { font-size: 0.68rem; line-height: 1.6; }

/* Upsell and message pages */

.message-layout {
  width: min(760px, calc(100% - 32px));
  margin: 40px auto 60px;
  text-align: center;
}

.message-card { padding: clamp(26px, 6vw, 52px); }
.message-card h1 { color: var(--ink); font-size: clamp(1.6rem, 4vw, 2.3rem); }

.lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.message-card .lede { max-width: 610px; margin-inline: auto; }

.decline-button {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.decline-button:disabled { cursor: not-allowed; opacity: 0.5; }

/* Checkout-styled OTO and thank-you flow */

.funnel-page { overflow-x: hidden; }

.oto-stay-note {
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid rgb(245 189 78 / 24%);
  background: rgb(120 76 5 / 24%);
  color: #f4d98c;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.oto-stay-note strong { color: #fff; }

.discount-activated img,
.credit-includes img,
.secure-access-note img,
.next-step-list img,
.funnel-progress img { flex: 0 0 auto; }

.oto-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 34px auto 0;
}

.oto-hero { max-width: 930px; margin: 0 auto; text-align: center; }

.oto-hero h1 {
  max-width: 1100px;
  margin-inline: auto;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.oto-subtitle {
  max-width: 850px;
  margin: 12px auto 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-wrap: balance;
}

.oto-video {
  position: relative;
  margin-top: 26px;
  padding: 10px;
  border: 1px solid #32323d;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(0 0 0 / 48%);
}

.oto-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #050509;
  object-fit: cover;
}

.oto-video-start {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #050509;
  color: #fff;
  cursor: pointer;
}

.oto-video-start::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 34%), transparent 46%);
  content: "";
}

.oto-video-start > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.oto-video-start > span {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  top: 50%;
  left: 50%;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  background: rgb(10 10 12 / 82%);
  box-shadow: 0 12px 35px rgb(0 0 0 / 38%);
  font-size: 0.88rem;
  font-weight: 850;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.oto-video-start > span img { width: 42px; height: 42px; }
.oto-video-start:hover > span { background: rgb(20 20 26 / 92%); }

.oto-unlock {
  max-width: 760px;
  margin: 42px auto 0;
  padding: 34px 0 4px;
  border-top: 1px solid #24242d;
  text-align: center;
}

.oto-unlock .eyebrow { color: #a78bfa; }

.oto-unlock h2 {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  line-height: 1.1;
  text-wrap: balance;
}

.oto-countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 0;
}

.oto-countdown span { display: grid; gap: 5px; min-width: 94px; }
.oto-countdown strong { font-size: clamp(2.65rem, 9vw, 4.4rem); line-height: 0.9; letter-spacing: -0.06em; }
.oto-countdown small { color: #9498a7; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.oto-countdown b { color: #7c5cff; font-size: clamp(2.1rem, 7vw, 3.7rem); line-height: 0.88; }
.oto-unlock-note { max-width: 540px; margin: 18px auto 0; color: #aeb1bf; font-size: 0.92rem; line-height: 1.55; }
.oto-script-note { margin: 26px 0; color: #fca5a5; text-align: center; }

.oto-offer {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 42px) 0 0;
  border-top: 1px solid #24242d;
  text-align: center;
}

.oto-eyebrow { margin-bottom: 10px; color: #a78bfa; }

.oto-offer h2 {
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.oto-offer h2 em { color: #a78bfa; font-style: normal; }

.discount-activated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #6ee7b7;
  font-weight: 800;
}

.offer-intro {
  margin: 12px 0 0;
  color: #aeb1bf;
  font-size: 0.94rem;
  line-height: 1.55;
}

.credit-grid { display: grid; gap: 18px; margin-top: 28px; align-items: stretch; }

.credit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 55px rgb(0 0 0 / 34%);
  color-scheme: light;
}

.credit-card-featured {
  border: 2px solid #7657e8;
  box-shadow: 0 24px 70px rgb(96 69 208 / 28%);
}

.popular-label {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #8e00cf);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credit-image {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: -4px 0 14px;
}

.credit-image img { width: min(230px, 100%); height: auto; }
.credit-copy { display: grid; gap: 8px; justify-items: center; }
.credit-option { margin: 0; color: var(--accent-deep); font-size: 0.82rem; font-weight: 850; }
.credit-card h3 { margin: 0; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.025em; }
.credit-save { margin: 0; color: var(--green); font-size: 0.9rem; font-weight: 800; }

.credit-includes {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  margin: 20px 0 0;
  padding: 11px 12px;
  border: 1px solid #d7dbe5;
  border-radius: 10px;
  background: #f8f9fc;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: left;
}

.credit-purchase { margin-top: auto; padding-top: 24px; }
.credit-price { margin: 0; color: #0e1527; font-size: 2rem; font-weight: 950; line-height: 1; letter-spacing: -0.04em; }
.credit-price span { font-size: 0.83rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.credit-unit { margin: 8px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.3; }
.credit-button { min-height: 56px; margin-top: 18px; padding-inline: 12px; font-size: 0.84rem; }
.oto-status { max-width: 650px; margin: 18px auto 0; color: #c9c9d3; }
.oto-status[data-state="success"] { color: #6ee7b7; }
.oto-status[data-state="error"] { color: #fca5a5; }

.upsell-fallback {
  width: min(620px, 100%);
  margin: 22px auto 16px;
  text-align: left;
}

.upsell-fallback[hidden] { display: none; }
.upsell-fallback .order-card { padding: clamp(20px, 4vw, 30px); }
.upsell-fallback h3 { margin: 0; color: var(--ink); font-size: 1.35rem; }
.fallback-intro { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.oto-decline {
  margin: 0 auto;
  color: #b9bbca;
  font-size: 0.86rem;
}

.oto-fine-print { margin: 8px 0 0; color: #777b89; font-size: 0.72rem; line-height: 1.5; }
.funnel-footer { margin-top: 52px; }

/* Long-form Masterclass OTO */

.masterclass-flow { margin-top: 22px; }
.masterclass-hero { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 38px; text-align: center; }

.masterclass-progress {
  margin: 0 0 26px;
  padding: 12px 18px;
  border-radius: 8px;
  background: linear-gradient(110deg, #3e68ed, #773ee6 58%, #b000da);
  box-shadow: 0 14px 42px rgb(78 74 238 / 28%);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.masterclass-kicker,
.masterclass-section-kicker {
  margin: 0;
  color: #7aa2ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.55;
  text-transform: uppercase;
}

.masterclass-hero h1 {
  max-width: 1030px;
  margin: 14px auto 0;
  font-size: clamp(2.2rem, 6vw, 4.45rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.masterclass-hero h1 em { color: #a78bfa; font-style: normal; text-decoration: none; }
.masterclass-subtitle { margin: 16px 0 0; color: #c2c5d1; font-size: clamp(1rem, 2vw, 1.18rem); }
.masterclass-bundle { width: min(610px, 65%); height: auto; margin: 22px auto -18px; filter: drop-shadow(0 32px 50px rgb(0 0 0 / 48%)); }

.masterclass-section { padding: clamp(48px, 7vw, 82px) 16px; background: #fff; color: var(--ink); color-scheme: light; }
.masterclass-section > h2,
.masterclass-bonus-heading h2 { max-width: 850px; margin: 8px auto 0; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.06; letter-spacing: -0.04em; text-align: center; text-wrap: balance; }
.masterclass-section > .masterclass-section-kicker { color: var(--accent); text-align: center; }
.module-grid { display: grid; width: min(1160px, 100%); margin: 44px auto 0; }

.module-item {
  min-width: 0;
  padding: 26px clamp(14px, 2.5vw, 28px) 30px;
  border-bottom: 1px solid #e5e7ef;
  text-align: center;
}

.module-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: url("masterclass-laptop.webp") center / contain no-repeat;
}

.module-art strong {
  position: absolute;
  top: 39%;
  left: 50%;
  width: 66%;
  color: #fff;
  font-size: clamp(0.62rem, 1.25vw, 0.88rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.module-item h3 { margin: 8px 0 0; font-size: 1.08rem; line-height: 1.25; }
.module-item p { margin: 8px 0 0; color: var(--muted); font-size: 0.87rem; line-height: 1.55; }

.masterclass-bonus-heading { padding: 55px 16px 48px; background: #090a0e; text-align: center; }
.masterclass-bonus-heading p { margin: 0; color: #a78bfa; font-size: 0.8rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.masterclass-bonuses { padding-top: 20px; }
.bonus-grid { display: grid; width: min(1120px, 100%); margin: 0 auto; }

.bonus-item {
  position: relative;
  padding: 34px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid #e5e7ef;
}

.bonus-item span { color: #8c76ef; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.13em; }
.bonus-item h3 { margin: 8px 0 0; font-size: 1.12rem; line-height: 1.3; }
.bonus-item p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.masterclass-close {
  display: grid;
  gap: clamp(30px, 6vw, 72px);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 90px) 0;
  align-items: center;
}

.masterclass-close-copy h2 { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.045em; }
.masterclass-close-copy > p:not(.masterclass-section-kicker) { color: #c6c9d4; font-size: 1rem; line-height: 1.7; }
.masterclass-close-copy img { width: 100%; height: auto; margin-top: 14px; }
.masterclass-offer { padding: 8px 0 8px clamp(24px, 4vw, 50px); border-left: 1px solid #353748; }
.masterclass-offer h2 { margin: 5px 0 0; font-size: clamp(1.8rem, 4vw, 2.45rem); }
.masterclass-value-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.masterclass-value-list li { display: flex; gap: 10px; align-items: flex-start; color: #d7d9e2; font-size: 0.95rem; line-height: 1.45; }
.masterclass-value-list img { flex: 0 0 auto; margin-top: 1px; }
.masterclass-value { display: flex; justify-content: space-between; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #353748; color: #b8bbc8; }
.masterclass-value s { color: #fff; font-size: 1.2rem; font-weight: 850; }
.masterclass-price { display: grid; justify-items: center; margin: 20px 0 0; }
.masterclass-price > s { color: #85899a; font-size: 1.2rem; }
.masterclass-price strong { color: #fff; font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -0.06em; }
.masterclass-price small { margin-top: 8px; color: #9da1b2; font-size: 0.78rem; }
.masterclass-button { width: 100%; margin-top: 22px; }
.masterclass-status { min-height: 1.4em; margin: 14px 0 0; color: #b8bbc8; font-size: 0.82rem; text-align: center; }
.masterclass-status[data-state="error"] { color: #fca5a5; }
.masterclass-status[data-state="success"] { color: #6ee7b7; }
.masterclass-decline { display: block; margin: 2px auto 0; color: #b8bbc8; }
.masterclass-fallback { margin-bottom: 58px; }

.funnel-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid #252735;
  background: rgb(14 19 36 / 78%);
  color: #6f768c;
  font-size: 0.78rem;
  font-weight: 750;
  list-style: none;
}

.funnel-progress li { display: flex; align-items: center; gap: 6px; }
.funnel-progress .is-complete { color: #70d7a9; }
.funnel-progress .is-current { color: #9bacff; }

.thank-layout {
  width: min(760px, calc(100% - 32px));
  margin: 38px auto 0;
}

.thank-hero { text-align: center; }
.thank-success-icon { margin: 0 auto 18px; filter: drop-shadow(0 10px 28px rgb(18 128 90 / 28%)); }
.thank-hero .eyebrow { color: #70d7a9; }

.thank-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.15rem);
}

.thank-hero h1 em { color: #748eff; font-style: normal; }
.thank-hero > p:last-child { margin: 12px 0 0; color: #aeb1bf; font-size: 1.05rem; }

.thank-step {
  margin-top: 34px;
  padding: clamp(26px, 5vw, 42px) 0 0;
  border-top: 1px solid #343646;
}

.thank-step-primary { border-color: rgb(110 231 183 / 50%); }

.step-heading {
  display: flex;
  gap: 14px;
  align-items: center;
}

.step-heading > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--accent), #8e00cf);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-heading h2 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.step-heading p { margin: 5px 0 0; color: #b9bdca; font-size: 0.98rem; line-height: 1.5; }
.thank-step-copy { max-width: 650px; margin: 24px 0 0; color: #d3d5de; font-size: 1.04rem; line-height: 1.72; }
.thank-step .access-button { margin-top: 22px; }
.access-status { margin-bottom: 0; color: #c9cbd4; }
.access-status[data-state="success"] { color: #6ee7b7; }
.access-status[data-state="error"] { color: #fca5a5; }

.secure-access-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #9da2b2;
  font-size: 0.88rem;
  line-height: 1.55;
}

.next-step-list {
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.next-step-list li { display: flex; gap: 11px; align-items: flex-start; color: #d3d5de; font-size: 1rem; line-height: 1.55; }

.thank-help {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 34px;
  padding: 26px 0 0;
  border-top: 1px solid #343646;
  color: #c9cbd4;
}

.thank-help strong { color: #fff; }
.thank-help p { margin: 4px 0 0; font-size: 0.96rem; line-height: 1.55; }
.thank-help a { color: #b9c5ff; }

@media (min-width: 900px) {
  .credit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .credit-card-featured { translate: 0 -8px; }
  .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-item:not(:nth-child(3n)) { border-right: 1px solid #e5e7ef; }
  .bonus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bonus-item:not(:nth-child(3n)) { border-right: 1px solid #e5e7ef; }
  .masterclass-close { grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr); }
}

@media (min-width: 620px) and (max-width: 899px) {
  .module-grid, .bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-item:nth-child(odd), .bonus-item:nth-child(odd) { border-right: 1px solid #e5e7ef; }
}

@media (max-width: 620px) {
  .oto-layout { margin-top: 26px; }
  .oto-video { margin-top: 20px; padding: 6px; border-radius: 12px; }
  .oto-video video { border-radius: 7px; }
  .oto-unlock { margin-top: 32px; padding-top: 28px; }
  .oto-countdown { gap: 8px; }
  .oto-countdown span { min-width: 76px; }
  .oto-offer { margin-top: 32px; }
  .credit-grid { gap: 16px; }
  .credit-card { padding: 24px 20px 22px; }
  .credit-image { min-height: 200px; }
  .credit-includes { min-height: 0; margin-top: 22px; padding: 14px; }
  .credit-purchase { padding-top: 28px; }
  .credit-price { font-size: 2.2rem; }
  .credit-button { min-height: 60px; font-size: 0.8rem; }
  .masterclass-hero { padding-top: 10px; }
  .masterclass-progress { margin-bottom: 22px; font-size: 0.7rem; line-height: 1.45; }
  .masterclass-hero h1 { font-size: clamp(2.05rem, 11vw, 3.25rem); }
  .masterclass-bundle { margin-top: 16px; }
  .masterclass-section { padding-block: 48px; }
  .module-grid { margin-top: 24px; }
  .module-item { padding-inline: 5px; }
  .module-art strong { font-size: clamp(0.7rem, 3.6vw, 0.9rem); }
  .bonus-item { padding-inline: 6px; }
  .masterclass-offer { padding: 30px 0 0; border-top: 1px solid #353748; border-left: 0; }
  .masterclass-close-copy > p:not(.masterclass-section-kicker) { font-size: 1.04rem; }
  .funnel-progress { gap: 7px; font-size: 0.7rem; }
  .funnel-progress img { width: 15px; height: 15px; }
  .thank-layout { margin-top: 30px; }
  .thank-hero > p:last-child { font-size: 1.08rem; line-height: 1.6; }
  .step-heading { align-items: flex-start; }
  .step-heading h2 { font-size: 1.38rem; }
  .step-heading p { font-size: 1rem; }
  .thank-step-copy { font-size: 1.06rem; }
  .next-step-list li { font-size: 1.03rem; }
  .secure-access-note { align-items: flex-start; text-align: left; }
  .value-card h2 { font-size: 1.55rem; line-height: 1.2; }
  .feature-list li { font-size: 1.02rem; line-height: 1.62; }
}

/* Breakpoints */

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 26px;
  }
  .hero { margin-top: 34px; }
}

@media (max-width: 420px) {
  .assurance-bar { font-size: 0.72rem; }
  .line-head, .line-item { grid-template-columns: minmax(0, 1fr) 4.6rem; }
  .savings-callout { align-items: flex-start; flex-direction: column; gap: 3px; }
}

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