/* ============================================================
   DM Your Ex Back - ClickBank long-form sales letter
   Warm, letter-style, readable single column. Brand: ink + rose.
   Dependency-free, system fonts.
   ============================================================ */
:root{
  --ink:#1a1626; --ink2:#241f33; --rose:#e0567a; --rose-d:#c4476a;
  --teal:#3fb6a8; --amber:#e0a24a; --cream:#f7f2ee;
  --text:#26232e; --soft:#5c5766; --muted:#8a8494; --line:#e7e0e9;
  --hl:#ffe9b8; --paper:#fffdfb;
  --serif:"Baskerville",Georgia,"Times New Roman",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --read:760px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--serif);color:var(--text);background:var(--paper);line-height:1.62;font-size:19px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
.wrap{width:100%;max-width:var(--read);margin:0 auto;padding:0 22px}
.wide{max-width:960px}

/* top bar */
.topbar{background:var(--ink);color:#f3eef1;text-align:center;font-family:var(--sans);font-size:.86rem;padding:9px 16px;letter-spacing:.02em}
.topbar strong{color:#fff}


/* headline block */
.head{background:linear-gradient(180deg,#fdf7f4,#f6eeea);padding:34px 0 26px;border-bottom:1px solid var(--line)}
.eyebrow{font-family:var(--sans);text-transform:uppercase;letter-spacing:.14em;font-weight:700;font-size:.82rem;color:var(--rose-d);text-align:center;margin-bottom:14px}
h1.sales{font-family:var(--serif);font-weight:700;font-size:clamp(2rem,4.6vw,3rem);line-height:1.12;text-align:center;color:var(--ink);letter-spacing:-.01em}
h1.sales em{font-style:italic;color:var(--rose-d)}
.subhead{font-family:var(--serif);font-size:clamp(1.15rem,2.4vw,1.4rem);color:var(--soft);text-align:center;max-width:46ch;margin:18px auto 0}

/* body copy */
.letter{padding:34px 0 10px}
.letter p{margin:0 0 20px}
.letter .lead{font-size:1.16em}
.letter h2{font-family:var(--serif);font-weight:700;font-size:clamp(1.5rem,3.2vw,2rem);color:var(--ink);margin:40px 0 14px;line-height:1.18}
.letter h3{font-family:var(--sans);font-weight:800;font-size:1.15rem;color:var(--ink);margin:28px 0 8px}
.letter strong{color:var(--ink)}
mark{background:var(--hl);padding:.05em .15em;border-radius:2px}
.uline{border-bottom:2px solid var(--rose);padding-bottom:1px}
.sig{font-style:italic;color:var(--soft);margin-top:8px}
.dash{color:var(--muted);text-align:center;letter-spacing:.5em;margin:26px 0}

/* hero image */
.hero-img{margin:26px auto 6px;max-width:560px;filter:drop-shadow(0 22px 44px rgba(26,22,38,.24))}

/* bullets */
ul.checks{list-style:none;margin:8px 0 22px}
ul.checks li{position:relative;padding:7px 0 7px 36px;border-bottom:1px dashed var(--line)}
ul.checks li::before{content:"\2713";position:absolute;left:4px;top:7px;color:var(--teal);font-weight:800;font-family:var(--sans)}
ul.checks li.x::before{content:"\2717";color:var(--rose-d)}

/* callout box */
.box{background:#fff;border:1px solid var(--line);border-left:5px solid var(--rose);border-radius:12px;padding:22px 24px;margin:24px 0;box-shadow:0 8px 24px rgba(26,22,38,.06)}
.box.warn{border-left-color:var(--amber);background:#fffaf0}
.box h3{margin-top:0}

/* the 5 books */
.books{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0}
.book{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 8px 22px rgba(26,22,38,.06);text-align:center}
.book img{width:150px;margin:0 auto 12px;filter:drop-shadow(0 12px 24px rgba(26,22,38,.2))}
.book .tag{font-family:var(--sans);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.book h3{font-family:var(--serif);font-size:1.35rem;color:var(--ink);margin:4px 0 8px}
.book p{font-size:.98rem;color:var(--soft)}
.book.main{grid-column:1 / -1}
.book.main img{width:210px}

/* In-depth deep-dive section (one block per book) */
.deepdive{margin:14px 0 8px}
.dd-item{padding:30px 0;border-top:1px solid var(--line)}
.dd-item:first-child{border-top:none;padding-top:12px}
.dd-top{display:flex;gap:34px;align-items:center}
.dd-item:nth-of-type(even) .dd-top{flex-direction:row-reverse}
.dd-art{flex:0 0 210px;text-align:center}
.dd-art img{width:190px;margin:0 auto;filter:drop-shadow(0 16px 30px rgba(26,22,38,.22))}
.dd-list{flex:1 1 auto}
.dd-list .tag{font-family:var(--sans);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.dd-list h3{font-family:var(--serif);font-size:1.55rem;color:var(--ink);margin:4px 0 10px}
.dd-inside-h{font-family:var(--sans);font-weight:700;font-size:.95rem;color:var(--ink);margin:2px 0 2px}
ul.checks.dd-inside{margin:4px 0 0}
ul.checks.dd-inside li{font-size:.98rem;color:var(--soft)}
.dd-body{margin-top:20px}
.dd-body p{font-size:1.02rem;color:var(--text)}
@media(max-width:720px){
  .dd-top,.dd-item:nth-of-type(even) .dd-top{flex-direction:column;gap:14px}
  .dd-art{flex-basis:auto}
  .dd-art img{width:180px}
  .dd-body{margin-top:14px}
}

/* per-book deep-dive rows (alternating) */
.bookrow{display:grid;grid-template-columns:300px 1fr;gap:38px;align-items:center;margin:8px 0;padding:36px 0;border-top:1px solid var(--line)}
.bookrow.flip{grid-template-columns:1fr 300px}
.bookrow .cover img{width:100%;max-width:300px;margin:0 auto;filter:drop-shadow(0 22px 44px rgba(26,22,38,.24))}
.bk-eyebrow{font-family:var(--sans);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;color:var(--rose-d)}
.bookrow h3{font-family:var(--serif);font-size:1.75rem;color:var(--ink);margin:5px 0 3px;line-height:1.14}
.bookrow .bk-sub{font-style:italic;color:var(--soft);margin-bottom:14px;font-size:1.05rem}
.bookrow p{margin:0 0 14px;font-size:1.04rem}
.bookrow ul.checks{margin:6px 0 0}
.bookrow ul.checks li{font-size:1rem}
@media(max-width:640px){
  .bookrow,.bookrow.flip{grid-template-columns:1fr;gap:18px;text-align:left}
  .bookrow .cover img{max-width:220px}
}

/* order box */
.order{background:linear-gradient(160deg,#241f33,#1a1626);color:var(--cream);border-radius:20px;padding:8px;margin:34px auto}
.order-inner{background:#fff;color:var(--text);border-radius:14px;padding:34px 30px;text-align:center}
.order h2{font-family:var(--serif);color:var(--ink);font-size:1.8rem;margin-bottom:6px}
.order .val{list-style:none;text-align:left;max-width:440px;margin:18px auto}
.bundle-shot{max-width:520px;width:100%;margin:20px auto 6px;filter:drop-shadow(0 18px 34px rgba(26,22,38,.22))}
.order .val li{position:relative;padding:6px 0 6px 30px;color:var(--soft)}
.order .val li::before{content:"\2713";position:absolute;left:0;color:var(--teal);font-weight:800}
.price{display:flex;align-items:baseline;justify-content:center;gap:12px;margin:14px 0 2px}
.price .now{font-family:var(--serif);font-weight:700;font-size:3rem;color:var(--ink)}
.price .was{font-size:1.3rem;color:var(--muted);text-decoration:line-through}
.price-note{color:var(--muted);font-size:.95rem;margin-bottom:20px}

/* CTA button */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:.5em;font-family:var(--sans);font-weight:800;font-size:1.18rem;color:#fff;background:var(--rose);padding:20px 44px;border-radius:999px;text-decoration:none;box-shadow:0 12px 28px rgba(224,86,122,.45);transition:transform .15s,box-shadow .15s;border:0;cursor:pointer;line-height:1.2}
.cta:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(224,86,122,.55)}
.cta.block{display:flex;width:100%;max-width:460px;margin:0 auto}
.cta-sub{font-family:var(--sans);font-size:.86rem;color:var(--muted);margin-top:12px}
.cta-center{text-align:center;margin:30px 0}

/* guarantee */
.guarantee{display:flex;gap:22px;align-items:center;background:#fff;border:2px solid var(--rose);border-radius:16px;padding:26px 28px;margin:30px 0}
.seal{flex:0 0 auto;width:104px;height:104px;border-radius:50%;border:3px solid var(--rose);display:flex;align-items:center;justify-content:center;text-align:center;font-family:var(--serif);font-weight:700;color:var(--rose-d);line-height:1.05;font-size:.92rem;background:radial-gradient(circle at 50% 40%,#fff,#fdf3f0)}
.guarantee h3{font-family:var(--sans);font-size:1.2rem;margin-bottom:6px;color:var(--ink)}
.guarantee p{font-size:.98rem;color:var(--soft);margin:0}

/* testimonials */
.quotes{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}
.quote{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:0 6px 16px rgba(26,22,38,.05)}
.quote .stars{color:var(--amber);letter-spacing:2px;margin-bottom:8px}
.quote p{font-style:italic;color:var(--ink);font-size:1.02rem;margin:0}
.quote .who{font-family:var(--sans);font-style:normal;font-size:.85rem;color:var(--muted);margin-top:12px;font-weight:700}

/* faq */
.faq details{border-bottom:1px solid var(--line);padding:6px 0}
.faq summary{cursor:pointer;list-style:none;font-family:var(--sans);font-weight:700;font-size:1.05rem;color:var(--ink);padding:16px 34px 16px 2px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:13px;font-size:1.5rem;color:var(--rose);font-weight:400}
.faq details[open] summary::after{content:"\2013"}
.faq details p{padding:0 2px 18px;color:var(--soft);font-size:1rem}

/* footer + legal */
.footer{background:var(--ink);color:rgba(247,242,238,.72);font-family:var(--sans);font-size:.86rem;line-height:1.6;padding:40px 0 46px;margin-top:36px}
.footer a{color:rgba(247,242,238,.85)}
.foot-links{text-align:center;margin-bottom:20px}
.foot-links a{margin:0 8px;text-decoration:none;font-weight:600;white-space:nowrap}
.foot-links a:hover{color:var(--rose)}
.disclaimer{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;color:rgba(247,242,238,.55);font-size:.8rem}
.disclaimer p{margin-bottom:10px}

/* legal page */
.legal{padding:44px 0 10px}
.legal h1{font-family:var(--serif);font-size:2.2rem;color:var(--ink);margin-bottom:6px}
.legal .updated{color:var(--muted);font-family:var(--sans);font-size:.9rem;margin-bottom:26px}
.legal h2{font-family:var(--sans);font-size:1.25rem;color:var(--ink);margin:26px 0 8px}
.legal p,.legal li{color:var(--soft);margin-bottom:12px;font-size:1.02rem}
.legal ul{padding-left:22px}
.legal a{color:var(--rose-d)}
.back{display:inline-block;font-family:var(--sans);font-weight:600;color:var(--rose-d);text-decoration:none;margin-bottom:22px}

@media(max-width:640px){
  body{font-size:18px}
  .books{grid-template-columns:1fr}
  .quotes{grid-template-columns:1fr}
  .guarantee{flex-direction:column;text-align:center}
  .cta{width:100%}
}

/* ===== two-column hero (copy left, bundle right) ===== */
.head .hero-grid{max-width:900px;display:grid;grid-template-columns:1fr auto;gap:26px;align-items:center}
.hero-grid .eyebrow{text-align:left}
.hero-grid h1.sales{text-align:left}
.hero-grid .subhead{text-align:left;max-width:44ch;margin:18px 0 0}
.hero-grid .hero-art img{width:auto;height:auto;max-height:380px;max-width:100%;filter:drop-shadow(0 22px 44px rgba(26,22,38,.24))}
@media(max-width:900px){
  .head .hero-grid{grid-template-columns:1fr;gap:24px}
  .hero-grid .hero-art img{margin:0 auto}
  .hero-grid .eyebrow,.hero-grid h1.sales,.hero-grid .subhead{text-align:center}
  .hero-grid .subhead{margin-left:auto;margin-right:auto}
  .hero-grid .hero-art{order:-1;margin:0 auto}
  /* a single portrait cover is much taller than the old landscape bundle, so
     cap it harder on mobile or it pushes the headline off the first screen */
  .hero-grid .hero-art img{max-height:300px}
}
