/* ==========================================================================
   Minimalism eBook — "Redefining Minimalism" landing page
   (same type as the original page: Poppins headings, Montserrat body,
    Cormorant Garamond italic quotes)
   ========================================================================== */
.no-subbar #global-sub-bar { display: none; }

.lp {
  --lp-ink: var(--ink);
  --lp-text: #4a4642;
  --lp-muted: #6b6661;
  --lp-line: #ece7e0;
  --lp-bg: #f9f7f4;
  --lp-sand: #f1ede6;
  --rose: #e9b7c2; --mint: #a9d6b7; --sky: #afc7f2;
  width: 100%; max-width: 1440px; margin: 0 auto;
  background: var(--lp-bg); color:var(--lp-ink);
  display: flex; flex-direction: column; overflow: hidden;
}
.lp img { max-width: 100%; }
.lp a { color:var(--lp-ink); }
.lp section { flex-shrink: 0; }

/* type */
.lp-eyebrow { font-weight: 600; font-size: 13px; line-height: 22px; letter-spacing: 2px; text-transform: uppercase; color:var(--lp-muted); }
.lp-h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: 1.15; color:var(--lp-ink); }
.lp-h2.lg { font-size: 52px; line-height: 1.12; }
.lp-p { margin: 0; font-size: 18px; line-height: 1.75; color:var(--lp-text); }
.lp-serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; }

/* buttons */
.lp-buy, .lp-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 18px 34px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 22px;
}
.lp .lp-buy { background: #ff5757; color:#fff; transition: transform .25s ease, box-shadow .25s ease; }
.lp .lp-buy:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28,26,24,.18); }
.lp-buy svg { transition: transform .25s ease; }
.lp-buy:hover svg { transform: translateX(4px); }
.lp-outline { padding: 18px 28px; background: transparent; color:var(--lp-ink); border: 1px solid var(--lp-ink); }
.lp-outline:hover { background: var(--lp-ink); color:#fff; }
.jbtn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 18px 30px; border-radius: 999px; white-space: nowrap;
  background: var(--lp-ink); font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 22px;
}
.lp .jbtn, .lp .jbtn:hover { color:#fff; }
.jbtn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.rot { display: inline-block; height: 24px; overflow: hidden; vertical-align: middle; min-width: 74px; }
.rot-in { display: flex; flex-direction: column; animation: rotword 7.5s cubic-bezier(.7,0,.3,1) infinite; }
.rot-in span { height: 24px; line-height: 24px; font-weight: 600; }
.rot-in .c1 { color:#f2b8c4; } .rot-in .c2 { color:var(--mint); } .rot-in .c3 { color:var(--sky); }
@keyframes rotword { 0%,26% { transform: translateY(0); } 33%,59% { transform: translateY(-24px); } 66%,92% { transform: translateY(-48px); } 100% { transform: translateY(-72px); } }

.stars { display: flex; gap: 2px; }
.stars svg path { fill: var(--star); }

/* ── hero ── */
.eb-hero { min-height: 780px; padding: 0 80px; display: flex; align-items: center; gap: 72px; }
.eb-hero-content { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.eb-h1 { margin: 0; font-family: var(--font-display); color:var(--lp-ink); line-height: 1.02; }
.eb-h1 .l1 { display: block; font-weight: 300; font-size: 56px; }
.eb-h1 .l2 { display: block; font-weight: 700; font-size: 88px; }
.eb-hero .lp-p { line-height: 1.7; max-width: 560px; }
.eb-cta { display: flex; gap: 14px; align-items: center; }
.eb-cta-note { font-size: 14px; color: var(--text-3); letter-spacing: .02em; }
.eb-rating { display: flex; align-items: center; gap: 12px; font-size: 14px; color:var(--lp-muted); }
.eb-hero-media { flex: 1 1 0; display: flex; justify-content: center; }
.eb-hero-media img { width: 600px; height: 600px; object-fit: cover; border-radius: 28px; }

/* ── strip ── */
.eb-strip {
  min-height: 120px; padding: 0 80px; display: flex; align-items: center; justify-content: center; gap: 56px;
  background: #fff; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line);
  font-size: 16px; color:var(--lp-text);
}
.eb-strip .dot { display: flex; align-items: center; gap: 10px; }
.eb-strip .dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.eb-strip b { color:var(--lp-ink); font-weight: 600; }
.eb-strip .div { width: 1px; height: 32px; background: #ddd6cd; }

/* ── quote ── */
.eb-quote { min-height: 520px; padding: 0 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; }
.eb-quote .rule { width: 64px; height: 2px; background: #c88c94; }
.eb-quote p { margin: 0; font-size: 46px; line-height: 1.3; color:var(--lp-ink); }

/* ── split sections ── */
.eb-split { min-height: 700px; padding: 0 80px; display: flex; align-items: center; gap: 80px; background: #fff; }
.eb-split > img { width: 560px; height: 560px; object-fit: cover; border-radius: 28px; }
.eb-split-text { flex-grow: 1; display: flex; flex-direction: column; gap: 24px; }

/* ── inside the e-book ── */
.eb-inside { min-height: 1180px; padding: 84px 80px 80px; display: flex; flex-direction: column; gap: 36px; }
.eb-inside-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.eb-inside-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.eb-inside-head .lp-p { max-width: 420px; font-size: 17px; line-height: 1.7; }
.eb-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.eb-card { background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--lp-line); }
.eb-card-top { display: flex; align-items: center; gap: 14px; }
.eb-badge {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--tint); color:var(--accent-c); font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.eb-card-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color:var(--accent-c); }
.eb-card h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 67.2px; color:var(--lp-ink); }
.eb-card ul { display: flex; flex-direction: column; gap: 10px; }
.eb-card li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.5; color:var(--lp-text); }
.eb-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-c); flex-shrink: 0; position: relative; top: -2px; }
.eb-card.rose   { --tint: #f6e4e6; --accent-c: #c88c94; }
.eb-card.blue   { --tint: #e6edfd; --accent-c: #6f8fd8; }
.eb-card.green  { --tint: #e3f1e6; --accent-c: #5e9a6e; }
.eb-card.violet { --tint: #eee8f7; --accent-c: #8b74b8; }
.eb-card.sand   { --tint: #f1eadf; --accent-c: #8a6c4f; }

/* ── what you'll walk away with ── */
.eb-walk { min-height: 780px; padding: 0 80px; display: flex; align-items: center; gap: 80px; background: var(--lp-sand); }
.eb-walk-text { flex: 1 1 0; display: flex; flex-direction: column; gap: 26px; }
.eb-benefits { display: flex; flex-direction: column; gap: 22px; }
.eb-benefit { display: flex; gap: 18px; }
.eb-benefit::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex-shrink: 0; margin-top: 8px; }
.eb-benefit h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 22px; color:var(--lp-ink); }
.eb-benefit p { margin: 6px 0 0; font-size: 16px; line-height: 1.7; color:var(--lp-text); }
.eb-walk-media { flex: 1 1 0; display: flex; justify-content: center; }
.eb-walk-media > div { background: #fff; border-radius: 28px; overflow: hidden; }
.eb-walk-media img { width: 380px; height: 570px; object-fit: cover; border-radius: 6px; display: block; }

/* ── reviews ── */
.eb-reviews { min-height: 1060px; padding: 84px 80px 80px; display: flex; flex-direction: column; gap: 32px; }
.eb-reviews-head { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.eb-reviews-body { display: flex; gap: 40px; align-items: stretch; }
.eb-summary { width: 360px; flex-shrink: 0; background: #fff; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--lp-line); }
.eb-summary-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color:var(--lp-ink); }
.eb-summary-score { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color:var(--lp-ink); }
.eb-summary-count { font-size: 14px; color:var(--lp-muted); }
.eb-bars { display: flex; flex-direction: column; gap: 12px; }
.eb-bar { display: flex; align-items: center; gap: 12px; font-size: 14px; color:var(--lp-text); }
.eb-bar span { width: 48px; }
.eb-bar span:last-child { text-align: right; }
.eb-bar-track { flex-grow: 1; height: 12px; background: #efebe5; border-radius: 6px; }
.eb-bar-fill { height: 12px; background: var(--star); border-radius: 6px; }
.eb-review-grid { flex-grow: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eb-review { background: #fff; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--lp-line); }
.eb-review-who { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color:var(--lp-ink); }
.eb-review-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; }
.eb-review-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color:var(--lp-ink); }
.eb-review-role { font-size: 13px; color:var(--lp-muted); }
.eb-review p { margin: 0; font-size: 15px; line-height: 1.7; color:var(--lp-text); }
.eb-review-quote { background: var(--lp-ink); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.eb-review-quote p { margin: 0; font-size: 28px; line-height: 1.35; color:#fff; }
.eb-review-quote div { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color:#c9c3bb; }

/* ── gallery ── */
.eb-gallery { min-height: 720px; padding: 80px; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.eb-gallery-row { display: flex; gap: 24px; }
.eb-gallery-row img { flex: 1 1 0; min-width: 0; height: 700px; object-fit: cover; border-radius: 28px; }
.eb-center { display: flex; justify-content: center; }

/* ── authors ── */
.eb-authors { min-height: 1100px; padding: 72px 80px; display: flex; flex-direction: column; align-items: center; gap: 36px; background: #fff; }
.author-photo { width: 100%; height: 640px; flex-shrink: 0; border-radius: 28px; overflow: hidden; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-authors-text { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.eb-authors-role { font-size: 16px; color:var(--lp-muted); }
.eb-authors-quote { margin: 8px 0 0; font-size: 32px; line-height: 1.4; color:var(--lp-ink); }
.eb-authors-text .lp-p { font-size: 17px; }
.eb-hashtag { font-size: 15px; font-weight: 600; color:var(--lp-ink); }

/* ── buy ── */
.eb-buy { min-height: 700px; padding: 0 80px; display: flex; align-items: center; justify-content: center; gap: 80px; background: var(--lp-ink); }
.eb-buy-cover { background: var(--lp-bg); border-radius: 24px; overflow: hidden; }
.eb-buy-cover img { width: 300px; height: 450px; object-fit: cover; border-radius: 4px; display: block; }
.eb-buy-text { width: 600px; display: flex; flex-direction: column; gap: 24px; }
.eb-buy .lp-eyebrow { color:#c9c3bb; }
.eb-buy .lp-h2 { color:#fff; }
.eb-buy .lp-p { color:#d8d2ca; line-height: 1.7; }
.eb-price { display: flex; align-items: baseline; gap: 14px; font-size: 15px; color:#c9c3bb; }
.eb-price strong { font-family: var(--font-display); font-weight: 600; font-size: 40px; color:#fff; }

/* ── physical copy modal ── */
.physical-copy-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(28,26,24,.62); backdrop-filter: blur(4px); }
.physical-copy-modal.is-open { display: flex; }
.physical-copy-dialog { position: relative; width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--lp-bg, #f9f7f4); border-radius: 24px; padding: 34px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.physical-copy-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ede8e1; color:var(--ink); font-size: 24px; line-height: 1; }
.physical-copy-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 26px; line-height: 1.2; font-weight: 600; color:var(--ink); }
.physical-copy-intro { margin: 0 44px 24px 0; font-size: 15px; line-height: 1.7; color:var(--text-2); }
.physical-copy-form { display: flex; flex-direction: column; gap: 14px; }
.physical-copy-form label { font-size: 13px; font-weight: 600; color:var(--ink); }
.physical-copy-form input { margin-top: 7px; padding: 14px 15px; border: 1px solid #d7d0c8; border-radius: 10px; font-size: 15px; }
.physical-copy-form input:focus { border-color: var(--ink); }
.physical-copy-submit { border: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 15px 28px; border-radius: 999px; background: var(--ink); color:#fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.physical-copy-hashtag { text-align: center; margin: 16px 0 0; font-weight: 600; font-size: 14px; color:var(--text-3); }
.physical-copy-error { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; line-height: 1.5; background: #fbeaea; color:#8a2424; }
.physical-copy-success-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 8px 4px 2px; }
.physical-copy-success-state img { display: block; width: min(190px, 72vw); height: auto; max-height: 270px; object-fit: contain; border-radius: 14px; }
.physical-copy-success-state p { margin: 0; max-width: 430px; font-weight: 500; font-size: 16px; line-height: 1.75; color:#3f3b37; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
body.modal-open { overflow: hidden; }

/* ── desktop: one section per screen ── */
@media (min-width: 1101px) {
  .lp section:not(.eb-strip) { min-height: 100vh; scroll-snap-align: start; }
  html:has(.lp) { scroll-snap-type: y proximity; }
  .eb-hero-content { gap: 20px; }
}

/* ── tablet ── */
@media (max-width: 1100px) {
  .lp section { flex-direction: column; min-height: 0; height: auto; padding: 72px 40px; gap: 40px; align-items: stretch; }
  .lp section.eb-strip { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 32px 40px; gap: 16px 32px; }
  .lp section > * { flex-basis: auto; width: auto; max-width: 100%; }
  .eb-inside-head, .eb-reviews-body { flex-direction: column; align-items: flex-start; }
  .eb-summary { width: 100%; }
  .lp section img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
  .lp .eb-review-who img { width: 40px; height: 40px; }
  .eb-buy-cover img { aspect-ratio: 2/3; width: 340px; margin: 0 auto; }
  .eb-cards { grid-template-columns: 1fr 1fr; }
  .eb-hero-media, .eb-walk-media, .eb-buy-cover { align-self: center; }
  .eb-buy-text { width: 100%; }
  .author-photo { height: auto; aspect-ratio: 16/9; width: 100%; }
}

/* ── phones ── */
@media (max-width: 720px) {
  .lp section { padding: 52px 20px; gap: 28px; }
  .eb-cards, .eb-review-grid { grid-template-columns: 1fr; }
  .eb-h1 .l1 { font-size: 32px; }
  .eb-h1 .l2 { font-size: 52px; }
  .lp-h2, .lp-h2.lg { font-size: 31px; line-height: 1.2; }
  .eb-quote p { font-size: 27px; }
  .eb-price strong { font-size: 30px; }
  .eb-authors-quote { font-size: 23px; }
  .eb-review-quote p { font-size: 22px; }
  .lp-p, .eb-hero .lp-p, .eb-inside-head .lp-p, .eb-authors-text .lp-p { font-size: 16px; }
  .lp section .lp-buy { width: 100%; justify-content: center; }
  .eb-cta { flex-direction: column; align-items: stretch; }
  .lp section.eb-strip { padding: 28px 20px; gap: 14px 22px; }
  .eb-strip .div { display: none; }
  .author-photo { aspect-ratio: 16/10; }
  .eb-hero-media img, .eb-split > img, .eb-gallery-row img, .author-photo { border-radius: 20px; }
  .eb-card, .eb-summary, .eb-review, .eb-review-quote { padding: 24px; }
  .lp section img { aspect-ratio: auto; }
  .eb-buy-cover img { width: 240px; }
  .eb-hero-media, .eb-walk-media, .eb-buy-cover { align-self: stretch; }
  .eb-buy-cover { align-self: center; }
  .eb-hero-content { order: 2; }
  .eb-hero-media { order: 1; }
  .eb-gallery-row { flex-direction: column; }
  .jbtn { font-size: 14px; padding: 16px 18px; gap: 6px; }

  .physical-copy-modal { padding: 14px; }
  .physical-copy-dialog { padding: 26px 20px; border-radius: 20px; max-height: 92vh; }
  .physical-copy-title { font-size: 22px; }
  .physical-copy-intro { font-size: 14px; margin-right: 28px; }
}
@media (prefers-reduced-motion: reduce) { .rot-in, .jbtn::after { animation: none; } }
.eb-split-copy { display: flex; flex-direction: column; gap: 24px; }
