/* =========================================================
   ZenWellness — The Science of Time in the Body
   styles.css  (mobile-first, shared by index.html + thank-you.html)
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-950: #061029;
  --navy-900: #0a1b40;
  --navy-800: #102a5c;
  --blue-600: #1f5fbf;
  --sky-50:   #f1f6fd;
  --sky-100:  #e3edfb;
  --gold-300: #f7d98b;
  --gold-400: #f4bf4f;
  --gold-500: #e39a1f;
  --gold-700: #8a5a00;      /* gold text on light backgrounds (AA contrast) */
  --green-700: #1f6b48;
  --green-100: #e5f3ec;
  --cream:    #fbf7ee;
  --white:    #ffffff;
  --ink:      #18213a;
  --muted:    #52607c;
  --line:     #dfe5f0;

  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 27, 64, .08);
  --shadow-md: 0 10px 30px rgba(10, 27, 64, .12);
  --shadow-lg: 0 24px 60px rgba(6, 16, 41, .35);
  --container: 1160px;
  --header-h: 64px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; color: var(--navy-900); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold-400); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }

.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 64px; position: relative; }
.section--cream { background: var(--cream); }
.section--sky { background: linear-gradient(180deg, var(--sky-50), var(--sky-100)); }
.section--navy { background: radial-gradient(1200px 500px at 50% 120%, rgba(244,191,79,.22), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #dbe4f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 12px; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold-400); }
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section--navy .lead { color: #c3d0ea; }
.divider-sun { display: block; width: 84px; height: 14px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); height: 2px; border-radius: 2px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 30px; border-radius: 999px; border: 0;
  font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-decoration: none; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-primary {
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400) 45%, var(--gold-500));
  box-shadow: 0 8px 22px rgba(227, 154, 31, .42), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(227, 154, 31, .55), inset 0 1px 0 rgba(255,255,255,.55); filter: brightness(1.03); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { min-height: 60px; padding: 16px 38px; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn-ghost { color: var(--white); background: transparent; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { color: var(--navy-900); background: transparent; border: 2px solid var(--navy-900); min-height: 48px; }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-whatsapp { color: #0b5b2a; background: #e6f8ec; border: 2px solid #b8e6c7; min-height: 48px; font-size: 1rem; }
.btn-whatsapp:hover { background: #d4f1de; }

.assurance { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: .92rem; color: inherit; opacity: .92; }
.assurance li { display: inline-flex; align-items: center; gap: 8px; }
.assurance .icon { width: 1.15em; height: 1.15em; color: var(--gold-400); }

/* ---------- 5. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(6, 16, 41, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.brand .icon { color: var(--gold-400); width: 1.7em; height: 1.7em; }
.brand small { font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; display: block; line-height: 1; margin-top: 2px; }
.nav { display: none; }
.nav a { color: #d3def3; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 4px; }
.nav a:hover { color: var(--gold-300); }
.header-cta { display: none; min-height: 42px; padding: 8px 20px; font-size: .95rem; }
.nav-toggle { display: inline-flex; background: transparent; border: 1px solid rgba(255,255,255,.25); color: var(--white); border-radius: 10px; padding: 8px; }
.nav-toggle .icon { width: 1.4em; height: 1.4em; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy-950); padding: 12px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav.is-open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; color: #e7eefb; padding-block: 28px 56px;
  background:
    radial-gradient(700px 420px at 50% 100%, rgba(244,191,79,.35), transparent 70%),
    radial-gradient(900px 500px at 85% 20%, rgba(31,95,191,.45), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, #14306a); }
.hero__grid { display: grid; gap: 22px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 9vw, 4.1rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .1em; }
.hero__sub { font-family: var(--font-display); font-size: clamp(1.4rem, 5vw, 2rem); color: var(--gold-400); font-style: italic; margin: 0 0 14px; }
.hero__tagline { font-size: clamp(.9rem, 3.2vw, 1.05rem); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.hero__desc { color: #c9d6ee; max-width: 56ch; }
.hero__authors { margin: 18px 0 22px; font-size: .98rem; color: #d3def3; }
.hero__authors strong { color: var(--gold-300); font-weight: 600; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1; }
.price small { font-size: 1.1rem; font-weight: 600; color: var(--gold-300); }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-950); background: var(--gold-400); }
.badge--outline { background: transparent; color: var(--gold-300); border: 1px solid rgba(247,217,139,.5); }

.hero__visual { position: relative; display: grid; place-items: center; padding: 6px 0 10px; order: -1; }
.hero__halo { position: absolute; width: min(96vw, 480px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.55), rgba(255,214,120,0) 68%); }
.hero__ring { position: absolute; width: min(88vw, 420px); aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(247,217,139,.4); animation: spin 120s linear infinite; }
.book { position: relative; width: min(60vw, 250px); border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow-lg), -6px 0 0 rgba(0,0,0,.25) inset; transform: rotate(-2deg); transition: transform .4s ease; }
.book img { border-radius: 4px 10px 10px 4px; width: 100%; }
.book::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, rgba(255,255,255,.22), rgba(255,255,255,0) 14%, rgba(0,0,0,0) 86%, rgba(0,0,0,.18)); pointer-events: none; }
.hero__visual:hover .book { transform: rotate(0deg) scale(1.02); }
@keyframes spin { to { transform: rotate(360deg); } }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; position: relative; z-index: 1; }
.facts li { background: rgba(6,16,41,.55); padding: 16px 12px; text-align: center; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-300); line-height: 1.1; }
.facts span { font-size: .82rem; color: #b8c7e4; letter-spacing: .04em; }

/* ---------- 7. Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 14px; color: var(--navy-900); background: linear-gradient(135deg, var(--gold-300), var(--gold-400)); }
.card__icon--green { background: var(--green-100); color: var(--green-700); }
.card__icon--blue { background: var(--sky-100); color: var(--blue-600); }
.section--navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--navy .card h3 { color: var(--white); }
.section--navy .card p { color: #c3d0ea; }
.section--navy .card__icon { background: rgba(244,191,79,.16); color: var(--gold-300); }
.callout { margin-top: 22px; padding: 26px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(244,191,79,.16), rgba(244,191,79,.05)); border: 1px solid rgba(244,191,79,.35); }
.callout h3 { font-size: 1.25rem; }
.callout ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.callout li { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .92rem; color: #e7eefb; }

.pull-quote { max-width: 760px; margin: 36px auto 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 3.6vw, 1.5rem); color: var(--navy-800); line-height: 1.5; }
.pull-quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }

/* Streams (intro section) */
.streams { display: grid; gap: 18px; margin-bottom: 34px; }
.stream { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.stream::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--gold-400), var(--green-700)); }
.stream__num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--gold-400); line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin-inline: auto; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .93rem; font-weight: 500; color: var(--navy-800); box-shadow: var(--shadow-sm); }

/* Topics grid */
.topic { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); height: 100%; }
.topic .card__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; flex: none; }
.topic h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 2px; color: var(--navy-900); }
.topic p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.topic .ref { display: inline-block; margin-top: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: var(--gold-700); text-transform: uppercase; }

/* Practical value */
.day-flow { display: grid; gap: 0; margin: 0 auto 38px; max-width: 900px; counter-reset: flow; }
.day-flow li { position: relative; display: flex; gap: 16px; padding: 0 0 22px 0; }
.day-flow li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(var(--gold-400), rgba(244,191,79,.15)); }
.day-flow li:last-child::before { display: none; }
.day-flow .dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-950); z-index: 1; }
.day-flow h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin: 2px 0 2px; color: var(--navy-900); }
.day-flow p { margin: 0; color: var(--muted); font-size: .95rem; }
.note { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 26px; }

/* Audience */
.audience { display: grid; gap: 16px; }
.audience .card { padding: 20px; }
.audience .card h3 { font-size: 1.05rem; }

/* Contents */
.contents-grid { display: grid; gap: 18px; }
.theme { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; position: relative; box-shadow: var(--shadow-sm); }
.theme__no { position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: rgba(227,154,31,.22); line-height: 1; }
.theme__meta { padding-right: 46px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 6px; }
.theme h3 { font-size: 1.15rem; padding-right: 46px; }
.theme ul { margin-top: 12px; display: grid; gap: 7px; }
.theme li { position: relative; padding-left: 20px; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.theme li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin-inline: auto; }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); position: relative; text-align: left; transition: transform .2s, box-shadow .2s; }
.gallery button:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.gallery img.is-cover { object-fit: contain; background: var(--navy-950); }
.theme--cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; color: #dbe4f5; background: radial-gradient(500px 240px at 80% 120%, rgba(244,191,79,.4), transparent 70%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); border-color: rgba(244,191,79,.4); }
.theme--cta h3 { color: var(--white); padding-right: 0; font-size: 1.4rem; margin: 0; }
.theme--cta p { margin: 0; color: #c3d0ea; }
.theme--cta .price { font-size: 2rem; }
.gallery figcaption, .gallery .cap { display: block; padding: 10px 12px; font-size: .82rem; font-weight: 600; color: var(--navy-800); background: var(--white); }
.gallery .zoom { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(6,16,41,.75); color: var(--white); }
.gallery .zoom .icon { width: 16px; height: 16px; }
dialog.lightbox { width: min(96vw, 900px); max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: var(--navy-950); color: var(--white); overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(3, 8, 22, .82); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lightbox__title { font-size: .92rem; font-weight: 600; }
.lightbox__stage { display: grid; place-items: center; max-height: calc(94vh - 110px); overflow: auto; background: #0d1a3a; padding: 12px; }
.lightbox__stage img { max-height: calc(94vh - 140px); width: auto; max-width: 100%; border-radius: 6px; background: #fff; }
.lightbox__nav { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.12); }
.lightbox button { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 18px; font-weight: 600; }
.lightbox button:hover { background: rgba(255,255,255,.2); }

/* Authors */
.authors { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; }
.author { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.author__mono { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--gold-300); background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); border: 3px solid var(--gold-400); }
.author h3 { margin: 0; font-size: 1.35rem; }
.author .role { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); margin: 0; }
.author p { color: var(--muted); margin: 0; }

/* Purchase */
.buy-card { display: grid; gap: 28px; max-width: 980px; margin-inline: auto; padding: 30px 24px; border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(244,191,79,.4); box-shadow: 0 30px 70px rgba(0,0,0,.35); align-items: center; }
.buy-card__cover { width: min(70vw, 290px); margin-inline: auto; border-radius: 6px 10px 10px 6px; box-shadow: var(--shadow-lg); }
.buy-card h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 4px; }
.buy-card .price { margin: 12px 0 16px; display: block; }
.checklist { display: grid; gap: 10px; margin: 0 0 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: #e1e9f8; }
.checklist .icon { color: var(--gold-400); margin-top: 2px; width: 1.2em; height: 1.2em; stroke-width: 2.4; }
.buy-card .assurance { color: #c3d0ea; }

/* Steps */
.steps { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; }
.step__no { display: grid; place-items: center; width: 52px; height: 52px; margin: -52px auto 12px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); border: 4px solid var(--sky-50); }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { padding-top: 26px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 700; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--gold-700); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] { border-color: var(--gold-400); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Disclaimer */
.disclaimer { max-width: 900px; margin-inline: auto; padding: 26px 26px 22px; border-radius: var(--radius); border: 1px solid #f0d9a6; background: #fff9ea; }
.disclaimer h2 { font-family: var(--font-body); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.disclaimer p { color: #4a4330; font-size: .95rem; }
.disclaimer p:last-child { margin-bottom: 0; }

/* Final CTA */
.final { text-align: center; color: #e7eefb; padding-block: 76px;
  background: radial-gradient(800px 420px at 50% 115%, rgba(244,191,79,.45), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.final h2 { color: var(--white); font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; }
.final h2 span { color: var(--gold-400); display: block; }
.final p { max-width: 640px; margin: 0 auto 22px; color: #c9d6ee; font-size: 1.08rem; }
.final .price-row { justify-content: center; }
.final .assurance { justify-content: center; }
.final .support { margin-top: 26px; }

/* Footer */
.site-footer { background: var(--navy-950); color: #a9b8d6; padding-block: 44px 110px; font-size: .92rem; }
.site-footer h2 { color: var(--white); font-size: 1.25rem; margin-bottom: 4px; }
.site-footer .footer__grid { display: grid; gap: 26px; }
.site-footer a { color: #d3def3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #8b9bbd; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(6,16,41,.96); border-top: 1px solid rgba(244,191,79,.35); box-shadow: 0 -8px 24px rgba(0,0,0,.25); transform: translateY(0); transition: transform .25s ease; }
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta__text { color: var(--white); line-height: 1.2; font-size: .8rem; }
.sticky-cta__text strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-300); }
.sticky-cta .btn { min-height: 48px; padding: 10px 14px; font-size: .92rem; flex: 1; max-width: 270px; white-space: nowrap; }

/* ---------- 8. Thank-you page ---------- */
.ty { min-height: 100vh; display: flex; flex-direction: column; background:
  radial-gradient(800px 420px at 50% 0%, rgba(244,191,79,.28), transparent 70%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900) 55%, #14306a); }
.ty main { flex: 1; display: grid; place-items: center; padding: 84px 20px 60px; }
.ty-card { width: 100%; max-width: 760px; background: var(--white); border-radius: 26px; padding: 34px 24px; text-align: center; box-shadow: var(--shadow-lg); }
.ty-check { display: grid; place-items: center; width: 84px; height: 84px; margin: -76px auto 18px; border-radius: 50%; background: linear-gradient(135deg, #3aa876, var(--green-700)); color: var(--white); border: 6px solid var(--white); box-shadow: 0 10px 26px rgba(31,107,72,.4); }
.ty-check .icon { width: 42px; height: 42px; stroke-width: 3; }
.ty-card h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); margin-bottom: .3em; }
.ty-card .ready { margin: 18px 0 6px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ty-card .title { font-family: var(--font-display); font-size: clamp(1.3rem, 4.5vw, 1.8rem); font-weight: 800; color: var(--navy-900); text-transform: uppercase; letter-spacing: .02em; }
.ty-cover { width: min(70vw, 300px); margin: 22px auto; border-radius: 6px 10px 10px 6px; box-shadow: var(--shadow-md); }
.ty-card h2 { font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); color: var(--gold-700); margin: 24px 0 14px; }
.ty-note { margin: 16px 0 0; font-size: .95rem; color: var(--muted); }
.ty-notice { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #fff4e0; border: 1px solid #f0d9a6; color: #5b4300; font-size: .92rem; text-align: left; }
.ty-notice.is-visible { display: block; }
.ty-help { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.ty-help h3 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 10px; }
.ty-fine { margin-top: 22px; font-size: .8rem; color: #7a86a1; }
.ty-footer { padding: 22px 20px; text-align: center; font-size: .82rem; color: #9fb0d3; }
.ty-footer a { color: #d3def3; }

/* ---------- 9. Responsive ---------- */
@media (min-width: 640px) {
  .book { width: 320px; }
  .hero__halo { width: 540px; }
  .hero__ring { width: 480px; }
  .grid--2, .audience, .contents-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: 80px; }
}
@media (min-width: 768px) {
  .sticky-cta { display: none; }           /* sticky bar is mobile-only */
  .site-footer { padding-bottom: 44px; }
  .streams { grid-template-columns: repeat(3, 1fr); }
  .buy-card { grid-template-columns: 300px 1fr; padding: 40px; gap: 40px; }
  .buy-card__cover { width: 100%; }
  .authors { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .ty-card { padding: 44px 48px; }
}
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: none; }
  .nav { display: flex; gap: 22px; align-items: center; }
  .header-cta { display: inline-flex; }
  .hero { padding-block: 72px 84px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero__visual { order: 0; padding: 10px 0 20px; }
  .book { width: min(34vw, 440px); }
  .hero__halo { width: 640px; }
  .hero__ring { width: 580px; }
  .grid--3, .audience { grid-template-columns: repeat(3, 1fr); }
  .contents-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .day-flow { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .day-flow li { flex-direction: column; padding: 0; text-align: center; align-items: center; }
  .day-flow li::before { left: calc(50% + 30px); right: calc(-50% + 30px); top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold-400), rgba(244,191,79,.25)); }
}


/* ---------- 11. Legal / policy pages ---------- */
.legal-page { background: var(--cream); }
.legal-page .site-header .container { justify-content: space-between; }
.back-link { color: #d3def3; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 4px; }
.back-link:hover { color: var(--gold-300); }
.legal { max-width: 820px; margin: 36px auto 56px; padding: 32px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-bottom: .2em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 1.6em; }
.legal h2 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin: 1.8em 0 .5em; color: var(--navy-900); }
.legal p, .legal li { color: #34405c; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: .4em; }
.legal .box { margin: 1.4em 0; padding: 16px 18px; border-radius: 14px; background: #fff9ea; border: 1px solid #f0d9a6; color: #4a4330; }
.legal .box p { margin: 0; color: inherit; }
.legal .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (min-width: 768px) { .legal { padding: 48px 56px; } }

/* ---------- 10. Motion / print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .site-header, .sticky-cta, .btn { display: none !important; } }

/* Dual payment gateway buttons */
.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}
.payment-options .btn {
  flex: 1 1 220px;
  text-align: center;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.header-cta.payment-options { margin-top: 0; }
.header-cta.payment-options .btn { flex: 0 1 auto; padding-left: 14px; padding-right: 14px; }
@media (max-width: 760px) {
  .header-cta.payment-options { display: none; }
  .payment-options .btn { flex-basis: 100%; }
}
