/* =====================================================================
   TRADE WITH PRICE — DESIGN SYSTEM
   Dark navy ground, warm gold signal, off-white reading sections.
   Display serif for headings (Fraunces), sans for body (Inter).
   ===================================================================== */

:root {
  /* --- Palette --- */
  --navy-950: #060B14;
  --navy-900: #0B1220;
  --navy-800: #111B2E;
  --navy-700: #182640;
  --navy-line: #26365A;
  --paper: #F6F2E7;
  --paper-dim: #EDE7D6;
  --ink: #17191E;
  --ink-soft: #4A4E58;
  --gold: #C9A227;
  --gold-bright: #E4BE4C;
  --gold-dim: #8A7443;
  --up: #3F8F6F;
  --down: #B24B3E;
  --white: #FFFFFF;

  /* --- Type --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Layout --- */
  --max: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-soft: 0 18px 40px -20px rgba(6, 11, 20, 0.55);
  --shadow-gold: 0 12px 30px -14px rgba(201, 162, 39, 0.45);
}

/* ---------------------------------------------------------------------
   RESET
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--navy { background: var(--navy-900); }
.section--navy-deep { background: var(--navy-950); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section--paper .section-head { color: var(--ink); }
.section-lead { margin-top: 16px; font-size: 17px; color: var(--paper-dim); max-width: 56ch; }
.section--paper .section-lead { color: var(--ink-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 16px 34px -12px rgba(201, 162, 39, 0.6); }
.btn-outline {
  background: transparent;
  border-color: rgba(246, 242, 231, 0.35);
  color: var(--paper);
}
.section--paper .btn-outline { border-color: rgba(23, 25, 30, 0.25); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--gold); padding: 10px 4px; }
.btn-disabled {
  background: rgba(246, 242, 231, 0.06);
  color: rgba(246, 242, 231, 0.4);
  border-color: rgba(246, 242, 231, 0.12);
  cursor: not-allowed;
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------------------------------------------------------------------
   ANNOUNCEMENT BAR
   --------------------------------------------------------------------- */
.announcement {
  background: var(--navy-950);
  color: var(--gold-bright);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--navy-line);
}

/* ---------------------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.brand img { width: 34px; height: 34px; border-radius: 6px; }
.brand-wordmark span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; color: var(--paper-dim); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--gold-bright); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--navy-line); border-radius: 6px;
  width: 42px; height: 42px; color: var(--paper); font-size: 20px;
}
.mobile-panel {
  display: none;
  position: fixed; inset: 76px 0 0 0; z-index: 95;
  background: var(--navy-950);
  padding: 28px 24px; overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; padding: 16px 4px; font-size: 17px;
  border-bottom: 1px solid var(--navy-line); color: var(--paper);
}
.mobile-panel .btn { margin-top: 24px; }

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(ellipse at top right, rgba(201,162,39,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: var(--paper);
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero-copy {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--paper-dim);
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.hero-fact { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--paper-dim); }
.hero-fact .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-card {
  position: relative;
  background: rgba(246, 242, 231, 0.04);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card .cover-frame { border-radius: 6px; overflow: hidden; border: 1px solid var(--navy-line); position: relative; }
.hero-card .cover-frame img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.hero-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.price-now { font-family: var(--font-display); font-size: 30px; color: var(--gold-bright); }
.price-was { font-size: 16px; color: var(--paper-dim); text-decoration: line-through; opacity: 0.7; }
.discount-badge {
  display: inline-flex; align-items: center; padding: 4px 10px;
  background: rgba(63, 143, 111, 0.18); color: #79D6AE;
  font-size: 12px; font-weight: 700; border-radius: 999px; margin-left: 4px;
}
.hero-card .btn { margin-top: 20px; }

/* Candlestick decoration */
.candles-deco { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.candles-svg { position: absolute; right: -40px; top: 10%; width: 340px; opacity: 0.35; }

/* ---------------------------------------------------------------------
   TRUST STRIP
   --------------------------------------------------------------------- */
.trust-strip { border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); background: var(--navy-950); }
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  padding: 26px 0;
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 12.5px; color: var(--paper-dim); }
.trust-item .ico { width: 22px; height: 22px; color: var(--gold); }

/* ---------------------------------------------------------------------
   PROBLEM / SOLUTION
   --------------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.point-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.point-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--paper-dim); }
.section--paper .point-list li { color: var(--ink-soft); }
.point-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--down); color: var(--down); display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 2px; }
.point-mark.good { border-color: var(--up); color: var(--up); }

.narrative-panel {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.narrative-panel p + p { margin-top: 14px; color: var(--paper-dim); font-size: 15.5px; }

/* ---------------------------------------------------------------------
   LEARN CARDS
   --------------------------------------------------------------------- */
.learn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.learn-card {
  background: rgba(246,242,231,0.04);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.learn-card .mark { color: var(--gold); font-family: var(--font-display); font-size: 20px; margin-bottom: 14px; display: block; }
.learn-card h3 { font-size: 16.5px; color: var(--paper); margin-bottom: 8px; }
.learn-card p { font-size: 13.5px; color: var(--paper-dim); }

/* ---------------------------------------------------------------------
   PREVIEW GALLERY
   --------------------------------------------------------------------- */
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.preview-thumb {
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(23,25,30,0.12);
  cursor: zoom-in; position: relative;
}
.preview-thumb img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; transition: transform 0.25s ease; }
.preview-thumb:hover img { transform: scale(1.03); }
.preview-cta { margin-top: 32px; text-align: center; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6,11,20,0.92); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 640px); max-height: 84vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; background: none; border: 1px solid var(--navy-line);
  color: var(--paper); width: 42px; height: 42px; border-radius: 50%; font-size: 18px;
}

/* ---------------------------------------------------------------------
   EPISODE 1 PRODUCT SECTION
   --------------------------------------------------------------------- */
.product-panel {
  display: grid; grid-template-columns: 0.7fr 1fr; gap: 56px; align-items: start;
}
.product-cover img { border-radius: 8px; border: 1px solid var(--navy-line); }
.product-info .status-badge { margin-bottom: 16px; }
.product-info h2 { font-size: clamp(26px, 3vw, 34px); }
.product-info .subtitle { margin-top: 10px; color: var(--paper-dim); font-size: 16px; }
.product-desc { margin-top: 18px; color: var(--paper-dim); font-size: 15.5px; max-width: 60ch; }
.benefit-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li { display: flex; gap: 10px; font-size: 15px; color: var(--paper); }
.benefit-list li::before { content: "\2713"; color: var(--gold); font-weight: 700; }
.product-buy { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.product-buy .price-block { display: flex; align-items: baseline; gap: 10px; }

/* status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.01em; border-radius: 999px;
}
.status-badge.available { background: rgba(63,143,111,0.18); color: #79D6AE; }
.status-badge.coming-soon { background: rgba(246,242,231,0.08); color: var(--paper-dim); }

/* ---------------------------------------------------------------------
   ROADMAP GRID
   --------------------------------------------------------------------- */
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ep-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ep-card.is-available { border-color: var(--gold-dim); box-shadow: var(--shadow-gold); }
.ep-card.is-available:hover { transform: translateY(-3px); border-color: var(--gold); }
.ep-card.is-soon { opacity: 0.62; }
.ep-card .ep-cover { border-radius: 6px; overflow: hidden; border: 1px solid var(--navy-line); }
.ep-card .ep-cover img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
.ep-card .ep-num { font-family: var(--font-display); color: var(--gold); font-size: 13px; }
.ep-card h3 { font-size: 15.5px; margin-top: 4px; }
.ep-card .ep-sub { font-size: 12.5px; color: var(--paper-dim); margin-top: 4px; }
.ep-card .ep-price { margin-top: auto; font-size: 14px; color: var(--paper); }
.ep-card .btn { margin-top: 4px; }

/* ---------------------------------------------------------------------
   BUNDLE
   --------------------------------------------------------------------- */
.bundle-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.bundle-panel h2 { font-size: clamp(24px, 3vw, 32px); }
.bundle-panel .section-lead { margin-top: 12px; }
.bundle-price { text-align: right; }
.bundle-price .price-now { font-size: 34px; }

/* ---------------------------------------------------------------------
   COMPARISON
   --------------------------------------------------------------------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 28px; border: 1px solid rgba(23,25,30,0.1); }
.compare-card.typical { background: var(--paper-dim); }
.compare-card.ours { background: var(--navy-900); color: var(--paper); border-color: var(--gold-dim); }
.compare-card h3 { font-size: 17px; margin-bottom: 18px; }
.compare-card.ours h3 { color: var(--gold-bright); }
.compare-card ul { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.compare-card.typical li { color: var(--ink-soft); }
.compare-card.ours li { color: var(--paper-dim); }

/* ---------------------------------------------------------------------
   WHO IS THIS FOR
   --------------------------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ---------------------------------------------------------------------
   REVIEWS
   --------------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: rgba(246,242,231,0.04); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: 22px;
}
.review-stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.review-text { font-size: 14.5px; color: var(--paper-dim); }
.review-name { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--paper); }
.review-role { font-size: 12px; color: var(--paper-dim); }
.review-flag {
  display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: 0.01em;
  color: var(--gold-dim); border: 1px solid var(--gold-dim); padding: 3px 8px; border-radius: 999px;
}

/* ---------------------------------------------------------------------
   FAQ ACCORDION
   --------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--navy-line); }
.section--paper .faq-item { border-color: rgba(23,25,30,0.12); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 4px; display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 600; color: inherit;
}
.faq-q .plus { transition: transform 0.2s ease; color: var(--gold); font-size: 20px; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 4px 20px; color: var(--paper-dim); font-size: 15px; }
.section--paper .faq-a p { color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------------------- */
.final-cta {
  background: radial-gradient(ellipse at bottom left, rgba(201,162,39,0.16), transparent 60%), var(--navy-950);
  border-top: 1px solid var(--navy-line);
}
.final-panel { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.final-panel .cover-frame { width: 140px; border-radius: 6px; overflow: hidden; border: 1px solid var(--navy-line); }
.final-panel h2 { font-size: clamp(24px, 3vw, 34px); }
.final-panel .price-row { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.final-panel .secure-note { margin-top: 12px; font-size: 13px; color: var(--paper-dim); }

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--navy-line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 13px; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.01em; }
.footer a, .footer p { font-size: 14px; color: var(--paper-dim); }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer-disclaimer { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--navy-line); font-size: 12.5px; color: rgba(246,242,231,0.5); line-height: 1.7; }
.footer-bottom { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(246,242,231,0.4); }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 34px; height: 34px; border: 1px solid var(--navy-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------------
   STICKY MOBILE CTA
   --------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(11,18,32,0.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--navy-line); padding: 12px 16px;
}
.sticky-cta .price-now { font-size: 20px; }

/* ---------------------------------------------------------------------
   MISC PAGE (policy / contact / 404)
   --------------------------------------------------------------------- */
.doc-page { padding: 64px 0 96px; }
.doc-page .wrap { max-width: 780px; }
.doc-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.doc-page .updated { color: var(--paper-dim); font-size: 13px; margin-bottom: 40px; }
.doc-page h2 { font-size: 20px; color: var(--gold-bright); margin: 36px 0 12px; }
.doc-page p, .doc-page li { color: var(--paper-dim); font-size: 15.5px; margin-bottom: 12px; }
.doc-page ul { list-style: disc; padding-left: 22px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.contact-card { background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { font-size: 15px; color: var(--gold); margin-bottom: 8px; }
.contact-card p { color: var(--paper-dim); font-size: 14.5px; }

.notfound { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-size: 96px; color: var(--gold); line-height: 1; }

/* ---------------------------------------------------------------------
   THANK YOU PAGE
   --------------------------------------------------------------------- */
.ty-hero { text-align: center; padding: 90px 0 60px; }
.ty-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(63,143,111,0.16); color: #79D6AE; display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.ty-panel {
  max-width: 560px; margin: 0 auto; background: var(--navy-800); border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg); padding: 32px; text-align: left;
}
.ty-panel .cover-frame { width: 96px; float: left; margin-right: 18px; border-radius: 6px; overflow: hidden; border: 1px solid var(--navy-line); }
.ty-security-note {
  max-width: 560px; margin: 24px auto 0; font-size: 12.5px; color: var(--paper-dim);
  background: rgba(201,162,39,0.08); border: 1px solid var(--gold-dim); border-radius: var(--radius); padding: 14px 16px;
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(3, 1fr); }
  .product-panel { grid-template-columns: 1fr; }
  .product-cover { max-width: 280px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; gap: 24px; }
  .bundle-panel { grid-template-columns: 1fr; text-align: left; }
  .bundle-price { text-align: left; }
  .final-panel { grid-template-columns: 1fr; text-align: center; }
  .final-panel .cover-frame { margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .doc-page { padding: 40px 0 72px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .learn-grid, .roadmap-grid, .preview-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   LAUNCH POLISH — real ebook assets and higher-converting presentation
   --------------------------------------------------------------------- */
.hero-card {
  box-shadow: 0 28px 70px -36px rgba(0,0,0,.9), 0 0 0 1px rgba(228,190,76,.06) inset;
}
.hero-card::before {
  content: "EPISODE 01 · AVAILABLE NOW";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(63,143,111,.22);
  border: 1px solid rgba(121,214,174,.35);
  color: #9CE6C6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.hero-card .cover-frame {
  width: min(100%, 390px);
  margin: 0 auto;
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
  box-shadow: 20px 24px 40px -26px rgba(0,0,0,.95), -7px 0 0 rgba(246,242,231,.08);
}
.hero-card .cover-frame img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
.product-cover img, .ep-card .ep-cover img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
.preview-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.preview-thumb { background: #fff; box-shadow: 0 14px 34px -26px rgba(6,11,20,.6); }
.preview-thumb img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
.preview-thumb::after {
  content: "View page";
  position: absolute;
  inset: auto 10px 10px;
  padding: 7px 9px;
  border-radius: 4px;
  background: rgba(6,11,20,.82);
  color: #fff;
  text-align: center;
  font-size: 11px;
  opacity: 0;
  transform: translateY(5px);
  transition: .2s ease;
}
.preview-thumb:hover::after { opacity: 1; transform: translateY(0); }
.learn-card, .ep-card, .narrative-panel, .bundle-panel { box-shadow: 0 16px 40px -34px rgba(0,0,0,.9); }
.learn-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); transition: .18s ease; }
.product-cover { position: sticky; top: 110px; }
.price-now { letter-spacing: -.02em; }
@media (max-width: 980px) {
  .preview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-cover { position: static; }
}
@media (max-width: 720px) {
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card::before { top: 12px; right: 12px; font-size: 9px; }
  .hero-card .cover-frame { transform: none; }
}


/* =====================================================================
   CONVERSION POLISH V2 — premium hero, 3D book and stronger trust cues
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,162,39,.14), transparent 28%),
    linear-gradient(135deg, #07101f 0%, #0b1220 58%, #121714 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,162,39,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 0%, black 56%, black 100%);
}
.hero-grid { position: relative; z-index: 1; }
.hero h1 { text-wrap: balance; }
.hero-copy { max-width: 58ch; }
.btn-purchase { min-width: 220px; justify-content: space-between; }
.btn-purchase .btn-main { font-weight: 700; }
.btn-purchase .btn-price {
  padding-left: 14px; margin-left: 4px; border-left: 1px solid rgba(6,11,20,.25);
  font-family: var(--font-display); font-size: 18px;
}
.payment-note { margin-top: 13px; color: rgba(246,242,231,.68); font-size: 12.5px; }
.shield-icon {
  display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px;
  border-radius: 50%; background: rgba(63,143,111,.18); color: #79d6ae; font-weight: 700;
}
.hero-value-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px !important; margin-top: 25px !important; }
.hero-value-grid .hero-fact {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 12px 14px; border: 1px solid rgba(246,242,231,.12); background: rgba(255,255,255,.025);
  border-radius: 8px;
}
.hero-value-grid .hero-fact strong { color: var(--paper); font-family: var(--font-display); font-size: 16px; }
.hero-value-grid .hero-fact small { color: rgba(246,242,231,.62); font-size: 11px; }

.hero-card { padding: 28px 34px 30px; overflow: visible; }
.book-stage {
  position: relative; min-height: 455px; display: grid; place-items: center;
  perspective: 1300px; margin: -6px 0 2px;
}
.book-3d {
  position: relative; width: min(76%, 330px); aspect-ratio: 0.77;
  transform-style: preserve-3d; transform: rotateY(-13deg) rotateX(2deg) translateZ(0);
  filter: drop-shadow(28px 30px 32px rgba(0,0,0,.5));
  transition: transform .45s ease;
}
.hero-card:hover .book-3d { transform: rotateY(-7deg) rotateX(1deg) translateY(-4px); }
.book-front {
  position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: 3px 8px 8px 3px;
  border: 1px solid rgba(201,162,39,.45); background: #0d1830;
  transform: translateZ(18px);
}
.book-front img { width:100%; height:100%; object-fit:contain; object-position:center; }
.book-spine {
  position: absolute; top: 1%; bottom: 1%; left: -19px; width: 38px;
  background: linear-gradient(90deg,#050b16,#17243b 58%,#070d17);
  border: 1px solid rgba(201,162,39,.22); transform-origin: right; transform: rotateY(-90deg) translateZ(0);
}
.book-pages {
  position: absolute; top: 7px; right: -14px; bottom: 7px; width: 28px; z-index: 1;
  background: repeating-linear-gradient(90deg,#f6f2e7 0 2px,#ddd5c2 2px 3px);
  border-radius: 0 5px 5px 0; transform: translateZ(1px);
}
.device-peek { position: absolute; z-index: 0; border: 1px solid rgba(201,162,39,.24); background: #111b2e; color: rgba(246,242,231,.45); font-size: 9px; display:flex; align-items:flex-end; justify-content:center; padding-bottom:7px; box-shadow: 0 18px 30px rgba(0,0,0,.25); }
.tablet-peek { width: 190px; height: 260px; right: -2px; bottom: 23px; border-radius: 13px; transform: rotate(7deg); }
.phone-peek { width: 82px; height: 170px; left: 7px; bottom: 17px; border-radius: 15px; transform: rotate(-8deg); }
.purchase-assurance { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; color: rgba(246,242,231,.62); font-size: 11px; }

.trust-strip { border-top: 1px solid rgba(201,162,39,.14); border-bottom: 1px solid rgba(201,162,39,.14); }
.trust-item { display: flex !important; align-items: center; justify-content: center; gap: 8px; text-align: left; }
.trust-icon { color: var(--gold-bright); font-size: 15px; filter: saturate(.6); }

.roadmap-summary {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: -18px 0 28px;
}
.roadmap-summary > div { padding: 16px 18px; border: 1px solid var(--navy-line); background: rgba(246,242,231,.025); border-radius: 8px; display:flex; align-items:baseline; gap:10px; }
.roadmap-summary strong { font-family: var(--font-display); font-size: 24px; color: var(--gold-bright); }
.roadmap-summary span { color: var(--paper-dim); font-size: 12.5px; }
.bundle-upgrade-note { margin-top: 15px; max-width: 55ch; color: rgba(246,242,231,.62); font-size: 13px; }
.ep-card { position: relative; overflow: hidden; }
.ep-card.is-soon::after { content:""; position:absolute; inset:0; pointer-events:none; background: linear-gradient(145deg,transparent 45%,rgba(255,255,255,.025)); }
.ep-card.is-available::before { content:"START HERE"; position:absolute; top:13px; right:-33px; width:124px; padding:5px 0; text-align:center; transform:rotate(38deg); background:var(--gold); color:var(--navy-950); font-size:9px; font-weight:800; letter-spacing:.08em; z-index:3; }

@media (max-width: 980px) {
  .book-stage { min-height: 420px; }
  .book-3d { width: min(58%,320px); }
  .tablet-peek { right: 16%; }
  .phone-peek { left: 18%; }
}
@media (max-width: 720px) {
  .hero-value-grid { grid-template-columns: 1fr 1fr 1fr; }
  .book-stage { min-height: 390px; }
  .book-3d { width: min(70%,290px); }
  .tablet-peek { right: 1%; }
  .phone-peek { left: 2%; }
  .roadmap-summary { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-value-grid { grid-template-columns: 1fr; }
  .hero-value-grid .hero-fact { flex-direction: row; align-items: baseline; gap: 8px; }
  .book-stage { min-height: 350px; }
  .book-3d { width: 72%; }
  .device-peek { display:none; }
  .hero-card { padding-left: 20px; padding-right: 20px; }
}


/* ================================================================
   ADMIN-CONTROLLED COVER PRESENTATION
   ================================================================ */
.book-stage.hide-devices .device-peek{display:none!important}
.book-stage.show-devices .device-peek{display:flex!important}
.book-stage.cover-style-flat .book-3d{transform:none!important;filter:none;width:min(76%,330px)}
.book-stage.cover-style-flat .book-spine,.book-stage.cover-style-flat .book-pages{display:none}
.book-stage.cover-style-flat .book-front{transform:none;border-radius:8px}
.book-stage.cover-style-3d.hide-devices .device-peek{display:none!important}
.book-stage.cover-scale-small .book-3d{width:min(58%,250px)}
.book-stage.cover-scale-medium .book-3d{width:min(76%,330px)}
.book-stage.cover-scale-large .book-3d{width:min(88%,390px)}
.book-stage.no-shadow .book-3d{filter:none!important}
.book-stage.has-shadow .book-3d{filter:drop-shadow(28px 30px 32px rgba(0,0,0,.5))}
.book-stage.no-tilt .book-3d,.hero-card:hover .book-stage.no-tilt .book-3d{transform:none!important}
.book-stage.cover-style-flat{min-height:420px}
.product-cover.cover-style-flat .cover-frame{transform:none}
.product-cover.cover-style-3d .cover-frame,.product-cover.cover-style-devices .cover-frame{transform:perspective(1100px) rotateY(-10deg);transform-origin:center;box-shadow:22px 28px 42px -28px rgba(0,0,0,.8)}
.product-cover.no-tilt .cover-frame{transform:none!important}
.product-cover.no-shadow .cover-frame{box-shadow:none!important}
.product-cover.cover-scale-small{max-width:220px}.product-cover.cover-scale-medium{max-width:300px}.product-cover.cover-scale-large{max-width:380px}
@media(max-width:720px){.book-stage.cover-scale-large .book-3d{width:min(82%,330px)}.device-peek{opacity:.7}}


/* =====================================================================
   EBOOK COVER FIT FIX — keep the full 3:4 cover visible, never crop it
   ===================================================================== */
.hero-card .cover-frame,
.product-cover .cover-frame,
.ep-card .ep-cover,
.final-panel .cover-frame,
.ty-panel .cover-frame {
  background: #07111f;
}

.hero-card .cover-frame img,
.product-cover img,
.ep-card .ep-cover img,
.final-panel .cover-frame img,
.ty-panel .cover-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  background: #07111f;
}

.ep-card .ep-cover {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
}

.ep-card .ep-cover img {
  height: 100%;
}

.book-3d { aspect-ratio: 3 / 4; }
.book-front img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  background: #0d1830;
}

/* =====================================================================
   EBOOK COVER FIT FIX V3 — full cover, zero cropping
   Source Episode 1 cover is 910x1300 (7:10). Keep the complete artwork.
   ===================================================================== */

/* Flat/product/final/thank-you covers: let the image keep its own ratio. */
.product-cover .cover-frame,
.ep-card .ep-cover,
.final-panel .cover-frame,
.ty-panel .cover-frame {
  aspect-ratio: auto !important;
  height: auto !important;
  overflow: hidden;
  background: #07111f;
}

.product-cover .cover-frame img,
.ep-card .ep-cover img,
.final-panel .cover-frame img,
.ty-panel .cover-frame img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  max-width: 100%;
}

/* Hero 3D book needs a frame ratio; use the actual Episode 1 cover ratio. */
.book-3d {
  aspect-ratio: 7 / 10 !important;
}
.book-front {
  overflow: hidden;
}
.book-front img,
.hero-card .book-front img,
.hero-card [data-hero-cover] {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  background: #0d1830;
}

/* Episode cards should show the entire portrait cover, never a square crop. */
.ep-card .ep-cover {
  display: block !important;
}

/* Admin cover preview: never crop uploaded ebook covers. */
#cover-preview {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
\n\n/* ================================================================
   COVER DISPLAY FINAL FIX 2026-09-02
   Never crop ebook cover artwork. This block intentionally wins over
   every older launch/polish rule above.
   ================================================================ */
:root { --ebook-cover-bg: #07111f; }

/* Product and roadmap cards: use the uploaded image's NATURAL ratio. */
.product-cover .cover-frame,
.ep-card .ep-cover,
.final-panel .cover-frame,
.ty-panel .cover-frame {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: var(--ebook-cover-bg) !important;
}
.product-cover .cover-frame img,
.product-cover img,
.ep-card .ep-cover img,
.final-panel .cover-frame img,
.ty-panel .cover-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
}

/* Hero 3D frame stays book-shaped, but image itself is NEVER cropped. */
.book-stage .book-3d {
  aspect-ratio: 7 / 10 !important;
}
.book-stage .book-front {
  overflow: hidden !important;
  background: var(--ebook-cover-bg) !important;
}
.book-stage .book-front img,
.hero-card [data-hero-cover] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
}

/* Admin preview follows the same no-crop rule. */
#cover-preview {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}
.language-label{margin:0 0 8px;color:var(--paper-dim);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.language-picker{display:inline-flex;gap:5px;padding:5px;margin:0 0 16px;border:1px solid rgba(215,170,54,.35);border-radius:999px;background:rgba(255,255,255,.06)}.language-picker button{border:0;border-radius:999px;padding:9px 18px;background:transparent;color:inherit;font-weight:800;cursor:pointer}.language-picker button.active{background:var(--gold);color:#111827}.language-note{margin:10px 0 0;color:var(--paper-dim);font-size:13px}
