/* ---------- Tokens ---------- */
:root {
  --ink: #17151f;
  --muted: #6b6975;
  --bg: #f5f4fb;
  --bg-alt: #ececf9;
  --card: #ffffff;
  --border: #e6e4f5;
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --accent-soft: #efe9fd;
  --gold: #5b21b6;
  --ok: #1a8a4c;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 680px;
  --shadow-sm: 0 2px 12px rgba(30, 20, 60, 0.06);
  --shadow-md: 0 18px 40px rgba(30, 20, 60, 0.12);
  --grad-cta: linear-gradient(135deg, #8b5cf6, #4f46e5);
  --grad-dark: radial-gradient(ellipse at 20% 0%, #241b3d 0%, #150f26 45%, #0a0714 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

/* Subtle grid texture + soft color blobs, shared by all light sections */
.texture {
  position: relative;
  background-image:
    linear-gradient(rgba(28, 23, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 18, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  overflow: hidden;
}
.texture::before, .texture::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.texture::before { background: rgba(139, 92, 246, 0.18); top: -160px; left: -140px; }
.texture::after { background: rgba(79, 70, 229, 0.14); top: 60px; right: -180px; }
.texture > * { position: relative; z-index: 1; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); }

/* Dark closer section */
.section-dark {
  position: relative;
  color: #f2f0fa;
  background: var(--grad-dark);
  padding: 80px 0;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.25);
  filter: blur(90px);
  top: -120px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.section-dark .muted { color: #a8a3c0; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark > .container { position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
}
h1 { font-size: 44px; letter-spacing: -0.02em; font-weight: 900; }
h2 { font-size: 32px; text-align: center; letter-spacing: -0.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.accent-text { color: var(--accent); }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }

/* Typographic hierarchy helpers: break up long copy blocks */
.lede { font-size: 19px; color: var(--ink); font-weight: 500; }
p.muted-body { color: var(--muted); font-size: 16px; }
.pull-quote {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.4;
  text-align: center;
  max-width: 600px;
  margin: 34px auto;
}
.text-gold { color: var(--gold); font-weight: 700; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.nav .wordmark { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700; font-size: 17px; }
.nav .wordmark .accent-text { text-transform: uppercase; letter-spacing: 0.02em; }
.nav .btn-cta { display: inline-block; width: auto; margin: 0; padding: 10px 20px; font-size: 14px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ---------- CTA button ---------- */
.btn-cta {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 22px auto;
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 24px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.15), 0 16px 36px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.2), 0 20px 44px rgba(124, 58, 237, 0.45); }
.btn-cta:active { transform: translateY(0) scale(0.98); }

.btn-decline {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 14px auto 0;
  text-decoration: underline;
}
.section-dark .btn-decline { color: #a8a3c0; }

/* ---------- Icon tiles (pastel rounded squares) ---------- */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--sm { width: 30px; height: 30px; border-radius: 9px; }
.icon-tile--sm svg { width: 16px; height: 16px; }

/* ---------- Hero video block + floating annotations ---------- */
.hero-media { position: relative; max-width: 560px; margin: 36px auto 0; }
.hero-media-inner {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: linear-gradient(160deg, #2f6b4f, #12321f);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.hero-media-inner .play {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.hero-media-inner .play svg { width: 22px; height: 22px; margin-left: 3px; }
.callout-pill {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.callout-pill--tl { top: -14px; left: -18px; }
.callout-pill--tr { top: 20px; right: -22px; }
.callout-pill--bl { bottom: -16px; left: -10px; }
@media (max-width: 640px) {
  .callout-pill { position: static; display: inline-block; margin: 6px 4px 0; white-space: normal; }
  .callout-pill--tl, .callout-pill--tr, .callout-pill--bl { top: auto; left: auto; right: auto; bottom: auto; }
}

/* ---------- Trust pill row ---------- */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.trust-pills li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin: 20px 0;
}
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  flex-shrink: 0;
}
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.testimonial img,
.shot-placeholder {
  border-radius: 8px;
  margin-bottom: 12px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9e7f5;
}
.testimonial blockquote { margin: 0 0 8px; font-size: 17px; }
.testimonial cite { font-style: normal; color: var(--muted); font-size: 14px; }

/* Real screenshots vary in aspect ratio (portrait phone shots) — show the
   top of the image (where captions/names sit) instead of a center 4:3 crop. */
.real-shot {
  aspect-ratio: auto !important;
  max-height: 460px;
  object-fit: cover;
  object-position: top;
}

/* ---------- Testimonial marquee (full-bleed, auto-scrolling, infinite loop) ---------- */
.marquee {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  padding: 4px 0 14px;
  animation: marquee-scroll 68s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Each set carries its own trailing gap so the two sets are pixel-identical
   in width — that's what makes translateX(-50%) loop with zero seam/jump. */
.marquee-set {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}
.marquee-set .testimonial {
  flex: 0 0 280px;
  margin: 0;
}
@media (min-width: 640px) {
  .marquee-set .testimonial { flex-basis: 320px; }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Results grid (multi-column, multi-row) ---------- */
.results-grid { display: grid; gap: 20px; }
.results-grid .testimonial { margin: 0; }
@media (min-width: 640px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- "Not this" list ---------- */
.not-list { list-style: none; padding: 0; margin: 0; }
.not-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.not-list li:last-child { border-bottom: none; }

/* ---------- Vertical timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 36px 0 0;
  list-style: none;
  padding: 0;
  counter-reset: tl;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 23px; bottom: 23px; left: 23px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}
.timeline li { counter-increment: tl; display: flex; gap: 16px; position: relative; }
.timeline .node {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  position: relative;
  z-index: 1;
}
.timeline .step-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin-bottom: 0; }

/* ---------- Value stack / receipt card ---------- */
.receipt {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.value-list { list-style: none; padding: 10px 24px; margin: 0; }
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.value-list li:last-child { border-bottom: none; }
.value-list .item-text { flex: 1; }
.value-list .val { font-weight: 700; color: var(--gold); white-space: nowrap; font-size: 14px; }
.value-total {
  background: var(--bg-alt);
  padding: 18px 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.value-total .old { text-decoration: line-through; opacity: 0.6; font-weight: 400; }
.value-total .now { color: var(--accent); font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 22px; }

/* ---------- Big price reveal ---------- */
.price-reveal { text-align: center; margin: 8px 0 28px; }
.price-reveal .was { color: var(--muted); text-decoration: line-through; font-size: 18px; margin-right: 10px; }
.price-reveal .now {
  position: relative;
  display: inline-block;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 64px;
  color: var(--accent);
}
.price-reveal .now::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.28), transparent 70%);
  z-index: -1;
}
.price-reveal .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Guarantee ---------- */
.ring-badge {
  width: 104px; height: 104px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  line-height: 1.35;
  padding: 8px;
}
/* ---------- FAQ (bordered list, quoted questions) ---------- */
.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Trust line ---------- */
.trust-line {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.trust-line svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Browser-chrome window frame (for screenshot placeholders) ---------- */
.window-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.window-frame .chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.window-frame .chrome span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.window-frame .chrome span:nth-child(1) { background: #ec6a5e; }
.window-frame .chrome span:nth-child(2) { background: #f4bf4f; }
.window-frame .chrome span:nth-child(3) { background: #61c454; }
.window-frame img,
.window-frame .shot-placeholder { border-radius: 0; margin: 0; }
.shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 20px;
}
.shot-placeholder svg { width: 32px; height: 32px; opacity: 0.55; }

/* ---------- Bonus-style value grid ---------- */
.bonus-grid { display: grid; gap: 16px; margin: 30px 0; }
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.bonus-card .bonus-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.bonus-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 4px 10px;
  border-radius: 999px;
}
.bonus-card .bonus-val { font-weight: 700; color: var(--gold); font-size: 14px; }
.bonus-card h3 { margin-bottom: 6px; }
.bonus-card p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 640px) { .bonus-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Closer: two-option comparison ---------- */
.option-grid { display: grid; gap: 16px; margin: 30px 0; }
.option-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px;
}
.option-card--highlight {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}
.option-card .eyebrow { color: #b39ddb; }
.ps-block {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-top: 32px;
  font-style: italic;
  color: #a8a3c0;
  font-size: 15px;
}
@media (min-width: 640px) { .option-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 36px; text-align: center; }
.site-footer .wordmark { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.site-footer p { color: var(--muted); font-size: 13px; max-width: 560px; margin: 0 auto 14px; }
.site-footer .links { font-size: 13px; color: var(--muted); margin-top: 18px; }
.site-footer .links a { color: var(--muted); margin: 0 8px; }

/* ---------- Checkout ---------- */
.order-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.checkout-embed {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  background: var(--bg-alt);
  text-align: center;
  color: var(--muted);
  margin-top: 20px;
}
.bump {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid #c4b5fd;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 0 0 20px;
}
.bump input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.bump label { font-weight: 700; cursor: pointer; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bump p { margin: 4px 0 0; font-weight: 400; color: var(--muted); font-size: 15px; }
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding-top: 4px;
}
.order-total-row #total { color: var(--accent); font-size: 22px; }

/* ---------- Access note (OTO1 trust ask) ---------- */
.access-note {
  display: flex;
  gap: 14px;
  text-align: left;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-size: 15px;
  color: var(--muted);
  margin: 20px 0;
}

/* ---------- Form ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px 24px;
}
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field textarea { min-height: 90px; resize: vertical; }

[hidden] { display: none !important; }

/* ---------- Scroll reveal ----------
   Fully visible by default; JS adds .reveal-init only once it's about to
   observe an element, so a failed/blocked script never hides content. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-init { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 28px rgba(40, 25, 10, 0.1);
  transform: translateY(120%);
  transition: transform 0.25s ease;
  z-index: 50;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn-cta { margin: 0; max-width: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

@media (min-width: 640px) {
  h1 { font-size: 58px; }
  h2 { font-size: 40px; }
}

/* ---------- Checkout modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 32px 26px 26px;
  position: relative;
  box-shadow: var(--shadow-md);
  margin: auto;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close svg { width: 16px; height: 16px; }
body.modal-open { overflow: hidden; }
