/* Read With Lia — shared styles (sales page, upsell, downsell, thanks, legal). Same identity as Lê Comigo. */
:root { --teal: #2BB5B0; --teal-dk: #1C8C88; --teal-lt: #E3F7F5; --orange: #FF8A3D; --orange-dk: #E56A1C; --yellow: #FFC93C; --pink: #FF6B9A;
  --purple: #7B61FF; --green: #34B75A; --cream: #FFF8EC; --ink: #2D2A4A; --ink-2: #5F5C7D; --line: #EFE6D6;
  --read: 'Andika', 'Nunito', sans-serif; --title: 'Baloo 2', 'Nunito', sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--cream); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dk); }
h1, h2, h3 { font-family: var(--title); line-height: 1.08; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 7vw, 54px); } h2 { font-size: clamp(27px, 5.2vw, 40px); } h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.c { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--ink-2); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 4px 0 rgba(0,0,0,.06); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: #fff; text-decoration: none; font-family: var(--title);
  font-weight: 800; font-size: 23px; line-height: 1.15; padding: 18px 34px; border-radius: 20px; box-shadow: 0 7px 0 var(--orange-dk); transition: transform .1s, box-shadow .1s; border: 0; cursor: pointer; text-align: center; }
.cta:active { transform: translateY(4px); box-shadow: 0 3px 0 var(--orange-dk); }
.cta.big { width: 100%; max-width: 460px; }
.cta.ghost { background: #fff; color: var(--orange-dk); border: 3px solid var(--orange); box-shadow: 0 6px 0 #F6C7A3; font-size: 19px; padding: 13px 22px; width: 100%; max-width: 420px; }
.cta.ghost:active { box-shadow: 0 2px 0 #F6C7A3; }
.cta.green { background: var(--green); box-shadow: 0 7px 0 #24873F; }
.under { font-size: 14px; color: var(--ink-2); font-weight: 700; margin-top: 12px; }
.brand { font-family: var(--title); font-weight: 800; font-size: 26px; color: var(--teal-dk); display: flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1; }
.brand em { font-style: normal; color: var(--orange); } .brand img { width: 42px; }
.checks { list-style: none; padding: 0; margin: 16px 0 24px; }
.checks li { padding-left: 34px; position: relative; margin-bottom: 8px; font-weight: 700; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; display: grid; place-items: center; font-weight: 900; }
.checks li.no::before { content: '✕'; background: #C9BBA3; }
.card { background: #fff; border-radius: 24px; padding: 22px 20px; box-shadow: 0 6px 0 var(--line); }
.foot { padding: 30px 0 40px; text-align: center; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.foot a { color: inherit; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 10px 0; }

/* ---------- VSL player (poster+play → muted preview loop → tap restarts with sound) ----------
   The box takes the file's real ratio (--rw/--rh, set by player.js) and is as big as the screen allows:
   full width, but never taller than the viewport minus --above (the text that must stay above the fold). */
.vsl { --rw: 16; --rh: 9; position: relative; margin: 0 auto; aspect-ratio: var(--rw) / var(--rh); border-radius: 18px; overflow: hidden;
  width: min(100%, var(--max-w, 980px), max(250px, calc((100vh - var(--above, 250px)) * var(--rw) / var(--rh))));
  width: min(100%, var(--max-w, 980px), max(250px, calc((100svh - var(--above, 250px)) * var(--rw) / var(--rh))));
  background: var(--ink); box-shadow: 0 18px 44px rgba(45,42,74,.28); -webkit-tap-highlight-color: transparent; }
@media (max-width: 760px) { .vsl { --rw: 9; --rh: 16; border-radius: 14px; } }
.vsl video, .vsl iframe { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--ink); border: 0; cursor: pointer; }
.vsl .embed { width: 100%; height: 100%; }
.vsl-ov[hidden] { display: none !important; }
.vsl .play { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,138,61,.97); position: relative; box-shadow: 0 0 0 10px rgba(255,255,255,.28), 0 12px 34px rgba(0,0,0,.35); flex: none; }
.vsl .play::after { content: ""; position: absolute; left: 37px; top: 27px; border-left: 32px solid #fff; border-top: 21px solid transparent; border-bottom: 21px solid transparent; }
.vsl-cover { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; background: var(--ink); cursor: pointer; display: grid; place-items: center; }
.vsl-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl-cover .play { animation: rwl-beat 1.6s ease-in-out infinite; }
.vsl-sound { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; border-radius: 22px; padding: 16px 26px 18px; background: rgba(255,138,61,.97); color: #fff;
  font: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; box-shadow: 0 0 0 8px rgba(255,255,255,.25), 0 12px 34px rgba(0,0,0,.3); animation: rwl-pulse 1.6s ease-in-out infinite; white-space: nowrap; }
.vsl-sound .ic { font-size: 46px; line-height: 1; } .vsl-sound b { font-size: 21px; line-height: 1.15; } .vsl-sound small { font-size: 14px; font-weight: 700; opacity: .95; }
@keyframes rwl-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.05); } }
@keyframes rwl-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.vsl-layer { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(45,42,74,.6); color: #fff; cursor: pointer; padding: 24px; text-align: center; }
.vsl-layer b { font-size: 20px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.vsl-layer button { border: 0; border-radius: 999px; padding: 13px 24px; font: inherit; font-weight: 800; font-size: 17px; background: var(--orange); color: #fff; cursor: pointer; min-width: 220px; }
.vsl-layer button.alt { background: #fff; color: var(--ink); }
.vsl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: rgba(255,255,255,.3); pointer-events: none; }
.vsl-bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .25s linear; box-shadow: 0 0 8px rgba(255,138,61,.7); }
.vsl-soon { position: absolute; left: 0; right: 0; top: 22px; text-align: center; color: #fff; font-size: 13px; font-weight: 800; }

/* lines around the player: "▶ Watch this short video" above, "No sound? Captions are on" below */
.eyebrow { font-size: 12.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dk); margin: 0 0 6px; text-align: center; }
.play-line { display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; font-size: 16px; color: var(--ink); margin: 0 0 10px; text-align: center; }
.play-line .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11px; display: grid; place-items: center; padding-left: 2px; flex: none; animation: rwl-beat 1.4s ease-in-out infinite; }
.cc-line { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin: 10px 0 0; }

/* "reveal offer after VSL time" (RWL.REVEAL_AT > 0): anything marked data-reveal waits for the pitch */
.rwl-locked [data-reveal] { display: none !important; }
[data-reveal] { animation: rwl-in .45s ease-out; }
@keyframes rwl-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- post-purchase pages (upsell / downsell / thanks) ---------- */
.okbar { background: var(--green); color: #fff; text-align: center; font-weight: 800; padding: 11px 16px; font-size: 15px; }
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; background: #fff; border-bottom: 2px solid var(--line); font-size: 14px; font-weight: 800; color: var(--ink-2); }
.steps .done { color: var(--green); } .steps .now { color: var(--orange-dk); }
.pp { max-width: 560px; margin: 0 auto; padding: 20px 16px 40px; }
.pp h1 { font-size: clamp(24px, 6.4vw, 34px); text-align: center; margin-bottom: 8px; } .pp h1 em { font-style: normal; color: var(--orange); }
.pre { text-align: center; color: var(--teal-dk); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.price { text-align: center; margin: 14px 0 6px; }
.price b { font-family: var(--title); font-size: 50px; color: var(--orange); line-height: 1; display: block; }
.price small { display: block; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.widget { margin-top: 14px; min-height: 60px; }
.fallback { text-align: center; margin-top: 14px; }
.fallback .sub { font-size: 14px; color: var(--ink-2); font-weight: 700; margin-top: 10px; }
.nolink { display: inline-block; margin-top: 18px; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.note { font-size: 13.5px; color: var(--ink-2); text-align: center; margin: 14px 0 0; }
.ph { border: 3px dashed var(--orange); border-radius: 16px; padding: 14px; font-size: 14px; color: var(--orange-dk); font-weight: 700; background: #FFF1E6; text-align: left; }

/* ---------- legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 10px 16px 40px; font-size: 17px; }
.legal h1 { font-size: clamp(30px, 6vw, 42px); } .legal h2 { font-size: 24px; margin-top: 30px; }
.legal .upd { color: var(--ink-2); font-weight: 700; font-size: 15px; }
.legal ul { padding-left: 22px; } .legal li { margin-bottom: 6px; }
.legal .box { background: var(--teal-lt); border-left: 6px solid var(--teal); padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.topbar { padding: 14px 0; } .topbar .c { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
