/* BioLush Books — editorial bookstore.
   Layout: alternating ink (the cover) and ivory (the page) bands; the book itself is the hero. */
:root {
  --ink: #111014;
  --ink-2: #1d1a20;
  --ink-3: #2a2630;
  --paper: #ffffff;
  --ivory: #faf6f1;
  --blush: #fbe5ee;
  --pink: #d84e91;
  --pink-ink: #a8326c;   /* pink for small text on light grounds (AA contrast) */
  --pink-soft: #f3b9d3;
  --text: #1a171c;
  --muted: #645a63;
  --muted-light: #b9b0b8;
  --line: #eadfe4;
  --line-dark: #322d36;
  --ok: #1f7a4d;
  --warn: #9a5b00;
  --err: #b42318;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-serif: "Lora", Georgia, "Times New Roman", serif;
  --f-sans: "Karla", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.8vw, 5rem);

  --radius: 14px;
  --wrap: 1160px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-ink); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band--ink { background: var(--ink); color: #f4eef2; }
.band--ivory { background: var(--ivory); }
.band--paper { background: var(--paper); }
.band--blush { background: linear-gradient(180deg, var(--blush), #fdf1f6 70%, var(--ivory)); }

.pink { color: var(--pink); }
.eyebrow {
  margin: 0 0 14px;
  font: 700 var(--step--1)/1.2 var(--f-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-ink);
}
.eyebrow--light { color: var(--pink-soft); }
.display { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.98; margin: 0; text-wrap: balance; }
.h2 { font: 600 var(--step-3)/1.12 var(--f-serif); letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--ink); }
.h2--light { color: #fff; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-lede { margin: 0; color: var(--muted); font-size: var(--step-1); line-height: 1.55; max-width: 62ch; }
.section-lede--light { color: var(--muted-light); }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1.2 var(--f-sans); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--pink { --bg: var(--pink); --fg: #fff; box-shadow: 0 10px 24px -12px rgba(216, 78, 145, .8); }
.btn--pink:hover { --bg: #c94384; }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ink:hover { --bg: #000; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Topbar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(17,16,20,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-dark); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--ink); }
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--pink); color: #fff; font: 400 1.25rem/1 var(--f-display); }
.brand__text { font: 700 1.05rem/1 var(--f-sans); letter-spacing: .02em; }
.brand__text em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--pink-soft); }
.brand--dark { color: var(--ink); }
.brand--dark:hover { color: var(--ink); }
.brand--dark .brand__text em { color: var(--pink-ink); }
.topnav { display: none; margin-left: auto; gap: 26px; }
.topnav a { color: #ddd5db; text-decoration: none; font-weight: 500; font-size: .98rem; }
.topnav a:hover { color: #fff; }
.topbar .btn { margin-left: auto; }
@media (min-width: 900px) { .topnav { display: flex; } .topbar .btn { margin-left: 8px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% 30%; height: 80%; background: radial-gradient(closest-side, rgba(216,78,145,.22), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.2fr .8fr; } }
.hero__copy { min-width: 0; }
.hero__title { font-size: var(--step-4); color: #fff; display: grid; gap: .08em; }
.hero__title span { display: block; }
.hero__lede { margin: 22px 0 0; max-width: 58ch; font: 400 var(--step-1)/1.6 var(--f-serif); color: #e7dfe5; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted-light); font-size: .98rem; }
.hero__facts li { display: inline-flex; gap: 6px; align-items: baseline; }
.hero__facts strong { color: #fff; font-weight: 700; }
.hero__facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); align-self: center; margin-right: 16px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 520px) { .hero__ctas .btn { width: 100%; } }
.hero__note { margin: 16px 0 0; font-size: var(--step--1); color: var(--muted-light); max-width: 52ch; }
.hero__visual { display: grid; place-items: center; order: -1; }
@media (min-width: 900px) { .hero__visual { order: 0; } }

/* 3D book */
.stage { position: relative; perspective: 1600px; padding: 10px 40px 40px; }
.book3d {
  --w: 300px; --t: calc(var(--w) * 0.12); --h: calc(var(--w) * 1.42);
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: rotateX(4deg) rotateY(-26deg);
  animation: book-in 1.1s cubic-bezier(.2,.7,.2,1) both, book-float 7s ease-in-out 1.2s infinite;
  transition: transform .4s ease-out;
}
.book3d__face { position: absolute; backface-visibility: hidden; }
.book3d__front { inset: 0; transform: translateZ(calc(var(--t) / 2)); border-radius: 2px 5px 5px 2px; overflow: hidden; box-shadow: inset 4px 0 6px -3px rgba(255,255,255,.18); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.0) 0 2%, rgba(255,255,255,.14) 3%, rgba(0,0,0,.18) 5.5%, rgba(255,255,255,0) 9%, rgba(255,255,255,.05) 60%, rgba(0,0,0,.12)); pointer-events: none; }
.book3d__pages { top: 4px; bottom: 4px; width: var(--t); left: calc(var(--w) - var(--t) / 2 - 3px); transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #f6f1ea 0 2px, #e2dbd2 2px 3px), #f2ece4; box-shadow: inset 0 0 12px rgba(0,0,0,.25); }
.book3d__spine { top: 0; bottom: 0; width: var(--t); left: calc(var(--t) / -2); transform: rotateY(-90deg); background: linear-gradient(90deg, #0a090c, #19171c 50%, #0a090c); }
.book3d__back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); background: #121014; }
.stage__shadow { position: absolute; left: 12%; right: 4%; bottom: 8px; height: 30px; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(6px); transform: translateZ(-1px); }
@keyframes book-in { from { opacity: 0; transform: rotateX(8deg) rotateY(-50deg) translateY(30px); } to { opacity: 1; transform: rotateX(4deg) rotateY(-26deg); } }
@keyframes book-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Pain points */
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: none; }
@media (min-width: 900px) { .pains { grid-template-columns: repeat(6, 1fr); } .pain { grid-column: span 2; } .pain:nth-child(n+4) { grid-column: span 3; } }
.pain { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; }
.pain h3 { margin: 0 0 8px; font: 700 var(--step-1)/1.25 var(--f-sans); color: var(--ink); }
.pain h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--pink); margin-bottom: 16px; border-radius: 2px; }
.pain p { margin: 0; color: var(--muted); }
.pullquote { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 820px; text-align: center; }
.pullquote blockquote { margin: 0; font: italic 500 var(--step-2)/1.4 var(--f-serif); color: var(--ink); text-wrap: balance; }
.pullquote figcaption { margin-top: 14px; color: var(--muted); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; }
.pullquote cite { font-style: normal; }

/* Table of contents */
.toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .toc { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.toc li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.toc li > div { min-width: 0; }
.toc__n { font: 400 1.9rem/1 var(--f-display); color: var(--pink); }
.toc h3 { margin: 0 0 6px; font: 600 var(--step-1)/1.3 var(--f-serif); color: var(--ink); }
.toc p { margin: 0; color: var(--muted); font-size: .98rem; }
.toc__pg { font-size: var(--step--1); color: var(--muted); white-space: nowrap; padding-top: 4px; font-variant-numeric: tabular-nums; }

/* Preview shelf */
.shelf { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(16px, calc((100vw - var(--wrap)) / 2 + 16px)) 26px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.shelf:focus-visible { outline-offset: -3px; }
.leaf { flex: 0 0 auto; width: min(64vw, 270px); margin: 0; scroll-snap-align: center; }
.leaf__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; }
.leaf img { width: 100%; border-radius: 3px; box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 22px 40px -18px rgba(0,0,0,.9); transition: transform .25s ease; }
.leaf__btn:hover img { transform: translateY(-4px) rotate(-.4deg); }
.leaf figcaption { margin-top: 12px; color: var(--muted-light); font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; }
.shelf__note { margin: 10px 0 0; color: var(--muted-light); }
.shelf__note a { color: var(--pink-soft); font-weight: 700; }

/* Who */
.who { display: grid; gap: 32px; }
@media (min-width: 900px) { .who { grid-template-columns: 1fr 1.2fr; column-gap: 64px; } .notfor { grid-column: 2; } }
.who__lead { min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 54px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--step-0); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.notfor { border-left: 3px solid var(--ink); padding: 4px 0 4px 20px; }
.notfor h3 { margin: 0 0 6px; font: 700 var(--step-1)/1.3 var(--f-sans); }
.notfor p { margin: 0; color: var(--muted); }

/* Author */
.author { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .author { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.author__copy { min-width: 0; max-width: 62ch; }
.author__copy > p { margin: 0 0 14px; }
.author__role { color: var(--pink-ink); font-weight: 700; letter-spacing: .04em; margin: 8px 0 20px !important; }
.author__quote { margin: 26px 0 18px; padding: 22px 24px; background: var(--ivory); border-radius: var(--radius); }
.author__quote blockquote { margin: 0; font: italic 500 var(--step-1)/1.5 var(--f-serif); color: var(--ink); }
.author__meta { font-weight: 700; }
.author__visual { display: grid; place-items: center; }
.author__photo { width: min(100%, 420px); aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.author__books { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1; }
.author__books img { position: absolute; width: 58%; border-radius: 3px; box-shadow: 0 30px 50px -24px rgba(17,16,20,.6); }
.author__books img:first-child { left: 2%; top: 4%; transform: rotate(-6deg); }
.author__books img:last-child { right: 2%; bottom: 0; transform: rotate(4deg); }

/* Pricing */
.plans { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 24px; }
.plan--highlight { background: var(--ink); color: #f1eaef; border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(17,16,20,.7); }
@media (min-width: 900px) { .plan--highlight { transform: translateY(-10px); } }
.plan__badge { position: absolute; top: -13px; left: 24px; background: var(--pink); color: #fff; font: 700 .78rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan__kind { margin: 0; font: 700 var(--step--1)/1.2 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--pink-ink); }
.plan--highlight .plan__kind { color: var(--pink-soft); }
.plan__name { margin: 8px 0 4px; font: 600 var(--step-2)/1.15 var(--f-serif); color: inherit; }
.plan--highlight .plan__name { color: #fff; }
.plan__desc { margin: 0; color: var(--muted); font-size: .98rem; min-height: 3em; }
.plan--highlight .plan__desc { color: var(--muted-light); }
.plan__price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.plan__price span { font: 700 1rem/1 var(--f-sans); color: var(--muted); }
.plan--highlight .plan__price span { color: var(--muted-light); }
.plan__price strong { font: 400 clamp(2.4rem, 2rem + 1.6vw, 3.1rem)/1 var(--f-display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.plan__extra { margin: 0 0 18px; font-size: var(--step--1); color: var(--muted); min-height: 1.4em; }
.plan--highlight .plan__extra { color: var(--muted-light); }
.plan__features { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.plan--highlight .plan__features { border-color: var(--line-dark); }
.plan__features li { position: relative; padding-left: 26px; font-size: .98rem; }
.plan__features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(-45deg); }
.plan__stock { margin: -12px 0 16px; font-size: var(--step--1); font-weight: 700; color: var(--warn); }
.plan--highlight .plan__stock { color: #f5c46b; }
.plans__foot { margin-top: 34px; display: grid; gap: 8px; max-width: 820px; margin-inline: auto; text-align: center; color: var(--muted); font-size: .98rem; }
.plans__foot p { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 36px; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq__head { position: sticky; top: 100px; align-self: start; } }
.faq__head { display: grid; gap: 14px; }
.faq__list { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 var(--step-1)/1.35 var(--f-serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }
.faq details > div p { margin: 0; }

/* Final */
.final { overflow: hidden; }
.final__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .final__grid { grid-template-columns: 1.3fr .7fr; } }
.final__title { font-size: var(--step-4); color: #fff; }
.final__text { margin: 22px 0 0; font: 400 var(--step-1)/1.6 var(--f-serif); color: #e7dfe5; max-width: 56ch; }
.final__books { position: relative; height: 340px; max-width: 360px; width: 100%; margin-inline: auto; }
.final__books img { position: absolute; width: 200px; border-radius: 3px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.9); }
.final__back { left: 0; top: 10px; transform: rotate(-7deg); opacity: .9; }
.final__front { right: 10px; top: 30px; transform: rotate(5deg); }

/* Footer */
.footer { background: #0b0a0d; color: var(--muted-light); padding-block: 56px 28px; font-size: .96rem; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer a { color: #f0e8ee; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer__h { margin: 0 0 12px; font: 700 .8rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--pink-soft); }
.footer address { font-style: normal; line-height: 1.8; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__small { margin: 14px 0 0; max-width: 36ch; }
.footer__base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; font-size: .86rem; }
.footer__base p { margin: 0; }
.brand--light { color: #fff; }

/* Sticky buy bar (mobile) + WhatsApp */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(17,16,20,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); transform: translateY(0); animation: bar-in .3s ease both; }
.buybar__inner { display: flex; align-items: center; gap: 12px; max-width: 640px; margin-inline: auto; }
.buybar__price { display: grid; line-height: 1.15; color: #fff; margin-right: auto; }
.buybar__price span { font-size: .78rem; color: var(--muted-light); letter-spacing: .08em; text-transform: uppercase; }
.buybar__price strong { font: 400 1.35rem/1.1 var(--f-display); letter-spacing: .02em; }
.buybar__wa { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.buybar__wa:hover { color: #fff; border-color: #fff; }
.buybar .btn { min-width: 120px; }
@keyframes bar-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 900px) { .buybar { display: none !important; } }
.wa-float { display: none; }
@media (min-width: 900px) {
  .wa-float { position: fixed; right: max(22px, env(safe-area-inset-right, 0px)); bottom: max(22px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
  .wa-float:hover { color: #fff; background: #198548; }
}
body.has-consent .wa-float { bottom: 110px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10,9,12,.92); }
.lightbox img { max-width: min(92vw, 720px); max-height: 82dvh; width: auto; border-radius: 3px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.lightbox__close { position: fixed; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__nav { position: fixed; top: 50%; translate: 0 -50%; width: 46px; height: 64px; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 2.2rem; cursor: pointer; border-radius: 10px; }
.lightbox__prev { left: max(8px, env(safe-area-inset-left, 0px)); }
.lightbox__next { right: max(8px, env(safe-area-inset-right, 0px)); }
.lightbox__cap { position: fixed; bottom: max(14px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: #ddd; margin: 0; font-size: .95rem; }

/* Consent bar */
.consent { position: fixed; z-index: 60; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); max-width: 640px; margin-inline: auto; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 20px 50px -20px rgba(17,16,20,.5); display: grid; gap: 12px; font-size: .94rem; }
.consent p { margin: 0; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__actions .btn { min-height: 42px; padding: 8px 18px; }

/* ---------- Inner pages (checkout, order, policies) ---------- */
.page-inner { background: var(--ivory); }
.minibar { background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.minibar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.minibar__secure { color: var(--muted-light); font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.inner { padding-block: clamp(28px, 5vw, 56px) 80px; }
.inner__title { font: 600 var(--step-3)/1.15 var(--f-serif); margin: 0 0 8px; color: var(--ink); text-wrap: balance; }
.inner__lede { margin: 0 0 28px; color: var(--muted); max-width: 60ch; }

.co { display: grid; gap: 28px; align-items: start; }
@media (min-width: 940px) { .co { grid-template-columns: 1.35fr .9fr; gap: 40px; } .co__summary { position: sticky; top: 24px; } }
.co__main { min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.panel + .panel { margin-top: 18px; }
.panel__h { margin: 0 0 16px; font: 700 1.05rem/1.3 var(--f-sans); display: flex; gap: 10px; align-items: center; color: var(--ink); }
.panel__h .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); transition: border-color .15s ease, background-color .15s ease; }
.choice:hover { border-color: #d9c4ce; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cdbec6; display: grid; place-items: center; }
.choice__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); transform: scale(0); transition: transform .15s ease; }
.choice:has(input:checked) { border-color: var(--pink); background: #fff7fb; }
.choice:has(input:checked) .choice__dot { border-color: var(--pink); }
.choice:has(input:checked) .choice__dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 3px solid var(--pink); outline-offset: 2px; }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.choice__main { min-width: 0; }
.choice__title { display: block; font-weight: 700; color: var(--ink); }
.choice__sub { display: block; font-size: .9rem; color: var(--muted); }
.choice__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .86rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--f-sans); color: var(--text);
  background: var(--paper); border: 1.5px solid #dccfd6; border-radius: 12px; appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23645a63' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(216,78,145,.18); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err { color: var(--err); font-size: .86rem; font-weight: 600; }
.phone-row { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.phone-row .prefix { display: grid; place-items: center; border: 1.5px solid #dccfd6; border-radius: 12px; background: var(--ivory); font-weight: 700; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pink); }
.notice { border-radius: 12px; padding: 14px 16px; font-size: .95rem; background: var(--ivory); border: 1px solid var(--line); }
.notice--pink { background: #fff3f8; border-color: #f4cfe0; }
.notice--warn { background: #fff8eb; border-color: #f3dcb0; color: #5c3b00; }
.notice--err { background: #fff1f0; border-color: #f5c2bd; color: var(--err); }
.notice--ok { background: #eefaf3; border-color: #bfe6cf; color: #134e31; }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }

.summary__book { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary__book img { width: 76px; border-radius: 3px; box-shadow: 0 10px 18px -10px rgba(0,0,0,.6); }
.summary__book strong { display: block; font: 600 1.02rem/1.3 var(--f-serif); color: var(--ink); }
.summary__book span { font-size: .9rem; color: var(--muted); }
.lines { margin: 14px 0; display: grid; gap: 8px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.lines dt { color: var(--muted); }
.lines dd { margin: 0; font-weight: 600; text-align: right; }
.lines .total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.lines .total dt { color: var(--ink); font-weight: 700; }
.lines .total dd { font-weight: 800; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: flex-start; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; }

.status { display: grid; gap: 16px; justify-items: start; }
.status__pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; }
.status__pill--pending { background: #fff4e0; color: var(--warn); }
.status__pill--paid { background: #e5f6ec; color: var(--ok); }
.status__pill--failed { background: #fde9e7; color: var(--err); }
.status__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status__pill--pending .dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: .96rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.big-ref { font: 400 1.6rem/1 var(--f-display); letter-spacing: .04em; color: var(--ink); }

.prose { max-width: 70ch; }
.prose h2 { font: 600 var(--step-2)/1.25 var(--f-serif); margin: 36px 0 10px; color: var(--ink); }
.prose h3 { font: 700 var(--step-1)/1.3 var(--f-sans); margin: 24px 0 8px; }
.prose p, .prose li { color: #332d34; }
.prose .updated { color: var(--muted); font-size: .92rem; }

.preview-banner { background: var(--pink); color: #fff; text-align: center; font-size: .9rem; font-weight: 700; padding: 8px 16px; }

/* Lipa Namba payment box */
.paybox { margin: 16px 0; padding: 16px; border: 2px solid var(--pink); border-radius: 14px; background: #fff7fb; display: grid; gap: 8px; }
.paybox p { margin: 0; }
.paybox__label { font: 700 var(--step--1)/1.3 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--pink-ink); }
.paybox__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.paybox__num { font: 400 2rem/1 var(--f-display); letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.paybox__name { font-size: .95rem; }
.paybox__name strong { letter-spacing: .04em; }
.paybox__hint, .paybox__warn { font-size: .88rem; color: var(--muted); }
.paybox__warn { color: #5c3b00; background: #fff8eb; border-radius: 10px; padding: 10px 12px; }
.paybox__grid { margin: 4px 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; align-items: center; }
.paybox__grid dt { color: var(--muted); font-size: .92rem; }
.paybox__grid dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.paybox__grid .btn--sm { min-height: 34px; padding: 4px 14px; font-size: .85rem; }
.paybox__steps { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .95rem; }
@media (max-width: 420px) { .paybox__grid { grid-template-columns: 1fr; gap: 2px 0; } .paybox__grid dd { margin-bottom: 8px; } }
.paybox__qr summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--pink-ink); }
.paybox__qr img { width: 200px; margin-top: 10px; border-radius: 10px; border: 1px solid var(--line); image-rendering: pixelated; }

/* ===== Photo upgrade (Nov 2026): Haika's real photographs ===== */
@media (min-width: 900px) and (max-width: 1080px) { .topnav { gap: 18px; } }

/* Hero: headline → photo → copy on phones; copy left / photo right on desktop */
.hero--photo .hero__grid { grid-template-areas: "top" "photo" "copy"; gap: 28px; }
.hero--photo .hero__top { grid-area: top; min-width: 0; }
.hero--photo .hero__photo { grid-area: photo; }
.hero--photo .hero__copy { grid-area: copy; }
@media (min-width: 900px) {
  .hero--photo .hero__grid { grid-template-columns: 1.15fr .85fr; grid-template-areas: "top photo" "copy photo"; column-gap: clamp(40px, 6vw, 80px); row-gap: 0; align-items: end; }
  .hero--photo .hero__copy { align-self: start; }
}
.hero--photo .hero__lede { margin-top: 0; }
@media (min-width: 900px) { .hero--photo .hero__lede { margin-top: 26px; } }
.booktitle { display: grid; gap: 4px; margin: 22px 0 0; padding: 14px 0 0 18px; border-left: 3px solid var(--pink); }
.booktitle__small { font: 700 .82rem/1.2 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--pink-soft); }
.booktitle__big { font: 400 clamp(1.5rem, 1.1rem + 2vw, 2.3rem)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.hero__photo { position: relative; margin: 0 auto; width: min(100%, 460px); }
.hero__photo picture img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.hero__photo picture { position: relative; display: block; }
.hero__photo picture::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 1px solid rgba(243,185,211,.45); border-radius: 26px; z-index: -1; }
.hero--photo .hero__grid { isolation: isolate; }
.hero__cover { position: absolute; width: 27%; left: -6%; bottom: 12%; border-radius: 3px; transform: rotate(-6deg); box-shadow: 0 24px 40px -14px rgba(0,0,0,.85); }
@media (max-width: 520px) { .hero__cover { left: -2%; width: 26%; } }
.hero__photo figcaption { margin-top: 14px; text-align: center; font-size: var(--step--1); color: var(--muted-light); letter-spacing: .02em; }
.hero__price { margin: 16px 0 0; color: #e7dfe5; font-size: var(--step-0); }
.hero__price strong { color: #fff; }
@media (max-width: 899px) { .hero--photo .hero__photo { width: min(88%, 420px); } }

/* Book section */
.book { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .book { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.book__visual { display: grid; place-items: center; }
.book__copy { min-width: 0; }
.learn { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .learn { grid-template-columns: 1fr 1fr; } }
.learn li { padding: 14px 16px 14px 18px; background: var(--ivory); border-radius: var(--radius); border-left: 3px solid var(--pink); }
.learn strong { display: block; color: var(--ink); margin-bottom: 2px; }
.bookfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 24px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .bookfacts { grid-template-columns: repeat(4, 1fr); } }
.bookfacts div { background: var(--paper); padding: 12px 14px; }
.bookfacts dt { font: 700 .74rem/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--pink-ink); }
.bookfacts dd { margin: 4px 0 0; font-weight: 700; color: var(--ink); }
.steps__h { margin: 30px 0 12px; font: 700 var(--step-1)/1.3 var(--f-sans); color: var(--ink); }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 1.1rem/1 var(--f-display); }
.steps p { margin: 2px 0 0; color: var(--muted); }

/* Who: reading photo */
.who__photo { margin: 26px 0 0; }
.who__photo img { display: block; width: min(100%, 420px); height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(17,16,20,.6); }
@media (max-width: 899px) { .who__photo img { aspect-ratio: 5/4; width: 100%; object-position: 50% 30%; } }

/* Author */
.author__visual picture { display: contents; }
.author__photo { box-shadow: 0 34px 70px -38px rgba(17,16,20,.7); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.tags li { padding: 7px 12px; border-radius: 999px; background: var(--blush); color: var(--pink-ink); font: 700 .86rem/1.2 var(--f-sans); }

/* Final CTA photo */
.final__photo { margin: 0 auto; width: min(80%, 380px); }
.final__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid rgba(243,185,211,.25); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
/* Hero refinements: photo first on phones, tighter headline, photo centred on desktop */
.hero--photo { padding-block: clamp(20px, 5vw, 80px) clamp(48px, 7vw, 96px); }
.hero--photo .hero__title { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.3rem); }
@media (max-width: 899px) {
  .hero--photo .hero__grid { grid-template-areas: "photo" "top" "copy"; gap: 22px; }
  .hero--photo .hero__photo { width: 100%; max-width: 520px; }
  .hero__photo picture img { aspect-ratio: 1 / 1.02; object-position: 50% 62%; border-radius: 18px; }
  .hero__photo picture::before { display: none; }
  .hero__photo figcaption { margin-top: 10px; }
  .booktitle { margin-top: 16px; padding-top: 8px; }
  .hero--photo .hero__lede { font-size: var(--step-0); }
}
@media (min-width: 900px) {
  .hero--photo .hero__grid { grid-template-areas: "top photo" "copy photo"; align-items: center; }
  .hero--photo .hero__top { align-self: end; }
  .hero--photo .hero__photo { align-self: center; }
}
@media (max-width: 899px) {
  .hero__cover { display: none; }
  .hero__photo picture img { aspect-ratio: 1 / .9; object-position: 50% 58%; }
  .hero--photo .hero__top .eyebrow { display: none; }
  .hero--photo .hero__copy { display: flex; flex-direction: column; }
  .hero--photo .hero__ctas { order: -2; margin-top: 0; }
  .hero--photo .hero__price { order: -1; margin: 12px 0 18px; }
}
