/* ==========================================================
   CHINTAN · home page, policy pages and checkout window
   Design language: light grey studio pages, near-black type,
   one warm orange accent (the logo's sun), black pill buttons,
   a giant geometric wordmark.
   ========================================================== */
:root {
  --bg: #f2f2f2; --white: #ffffff; --soft: #f5f5f5; --ink: #1e1e1e; --text: #4b4b4b; --muted: #7a7a7a; --line: #e3e3e3;
  --dark: #0b0b0b; --dark-2: #161616; --dark-3: #1f1f1f;
  --orange: #f26b1f; --orange-2: #ff9a4a;
  /* "one screen" for full-height sections: the viewport under the sticky header, never below a floor
     (short laptop / landscape phone) or above a ceiling (tall monitors), so layouts never squash or stretch */
  --screen: clamp(600px, calc(100vh - 64px), 1100px);
  --screen-tab: clamp(640px, calc(100vh - 64px), 1100px);
  --screen-phone: clamp(560px, calc(100vh - 52px), 880px);
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Montserrat Alternates", "Geist", sans-serif;
  --gutter: 80px;
}
@supports (height: 100svh) {
  :root { --screen: clamp(600px, calc(100svh - 64px), 1100px); --screen-tab: clamp(640px, calc(100svh - 64px), 1100px); --screen-phone: clamp(560px, calc(100svh - 52px), 880px); }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(1280px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; }
.pill-label { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.pill-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--orange-2), var(--orange)); }
.sun { display: inline-block; width: 1em; height: 1em; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffc27a 0%, var(--orange-2) 28%, var(--orange) 70%, #d94f0e 100%); box-shadow: inset -2px -3px 6px rgba(160, 50, 0, .25); }
.logo-mark { display: block; height: 1em; width: auto; flex: none; }
.stars { color: var(--orange); letter-spacing: 1px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 58px; padding: 0 6px 0 24px; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: transform .25s; }
.btn__arrow svg { width: 20px; height: 20px; }
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark .btn__arrow { background: #fff; color: var(--dark); }
/* same as the header Buy pill: black pill turns orange on hover */
.btn--dark { transition: transform .2s, background .25s, box-shadow .2s; }
.btn--dark:hover:not(:disabled) { background: var(--orange); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05); }
.btn--light .btn__arrow { background: var(--dark); color: #fff; }
.btn--plain { height: 44px; padding: 0 20px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 18px rgba(0, 0, 0, .05); font-size: 15px; }
.btn--full { width: 100%; justify-content: space-between; }
.btn.is-busy { opacity: .85; cursor: progress; }
.btn.is-busy .btn__arrow svg { animation: spin 1s linear infinite; }
.btn:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.play { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; white-space: nowrap; }
.play__dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 10px 24px -8px rgba(242, 107, 31, .6); transition: transform .25s; }
.play__dot svg { font-size: 22px; }
.play:hover .play__dot { transform: scale(1.06); }
.arrow-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; flex: none; }
.arrow-dot svg { font-size: 18px; transform: rotate(-45deg); }
.linkish { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---------- nav ---------- */
/* sticky header: stays on top while the page scrolls */
.topbar, .page-top { position: sticky; top: 0; z-index: 60; background: rgba(242, 242, 242, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
html { scroll-padding-top: 64px; }
.top { background: var(--bg); overflow-x: clip; }
.nav { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.nav__logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--brand); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; color: #222; justify-self: start; }
.nav__logo .logo-mark { height: 29px; }
.nav__links { display: flex; gap: 26px; font-size: 14px; color: #5c5c5c; }
.nav__links a { transition: color .2s; }
/* orange underline: draws in from the left on hover, then leaves to the right */
@media (min-width: 761px) {
  .nav__links a { position: relative; display: inline-block; padding: 6px 0; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange);
    transform: scaleX(0); transform-origin: right center; transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
  .nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__end .btn--plain { height: 38px; padding: 0 4px 0 16px; gap: 10px; font-size: 14px; transition: background .25s, color .25s, box-shadow .25s; }
/* header Buy: black pill with a white ↗ circle; turns orange on hover */
.nav__end .btn--plain { background: var(--dark); color: #fff; box-shadow: none; }
.nav__end .btn--plain .btn__arrow { width: 30px; height: 30px; background: #fff; color: var(--dark); }
.nav__end .btn--plain .btn__arrow svg { width: 15px; height: 15px; transform: rotate(-45deg); }
.nav__end .btn--plain:hover { background: var(--orange); color: #fff; }
.nav__end .btn--plain:hover .btn__arrow { transform: none; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }
.nav__drawer-buy { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 5svh, 46px) 0 clamp(26px, 6svh, 64px); min-height: var(--screen); }
/* the wordmark's ink runs exactly from the left to the right edge of the content column (ink width = 4.674em, ink starts .03em in) */
.top > .wrap, .mark > .wrap { container-type: inline-size; }
.hero__pic { display: contents; }
.hero__word { font-family: var(--brand); font-weight: 700; font-size: calc(100cqw / 4.68); line-height: .82; letter-spacing: -0.045em; color: #222; white-space: nowrap; margin-left: -.03em; user-select: none; }
/* both arms come up out of the bottom of the hero (the right one through the bottom-right corner), so the photo sits flush with the hero's bottom and the screen's right edge */
.hero__book { position: absolute; z-index: 2; right: calc((100% - 100vw) / 2); bottom: 0; height: 96%; width: auto; max-width: min(46vw, 900px);
  object-fit: contain; object-position: right bottom; pointer-events: none;
}
.hero__body { position: relative; z-index: 3; max-width: min(560px, 48%); margin-top: auto; padding-top: clamp(20px, 5svh, 70px); }
.hero__body p { font-size: clamp(18px, 2.7svh, 24px); line-height: 1.45; color: var(--text); letter-spacing: -0.01em; }
.hero__ctas { display: flex; align-items: center; gap: 30px; margin-top: clamp(18px, 4.4svh, 40px); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 6svh, 64px); }
.chips span { height: 46px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; font-size: 15px; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }

/* ---------- about ---------- */
.about { display: flex; align-items: center; min-height: var(--screen); padding: clamp(28px, 5svh, 56px) 0; background: var(--white); }
.about__grid { display: grid; grid-template-columns: 0.75fr 1fr; gap: 60px; }
.about__label { font-size: 21px; color: var(--ink); }
.about__lead { font-size: clamp(26px, 2.5vw, 35px); line-height: 1.3; letter-spacing: -0.02em; color: #222; }
.about__row { margin-top: 36px; display: grid; grid-template-columns: 396px 252px 1fr; gap: 40px; align-items: end; }
/* desktop: one grid, so the big photo sits right under the label, beside the intro, and the small one steps down */
@media (min-width: 1024px) {
  .about .wrap { display: grid; grid-template-columns: minmax(0, 396fr) minmax(0, 252fr) minmax(0, 552fr); grid-template-rows: auto auto 1fr; column-gap: 40px; row-gap: 26px;
    grid-template-areas: "label lead lead" "c1 lead lead" "c1 c2 side"; }
  .about .about__grid, .about .about__row { display: contents; }
  .about .about__label { grid-area: label; }
  .about .about__lead { grid-area: lead; }
  .about .about__row > .card-img:nth-child(1) { grid-area: c1; align-self: start; width: auto; }
  .about .about__row > .card-img:nth-child(2) { grid-area: c2; align-self: end; width: auto; }
  .about .about__side { grid-area: side; align-self: end; }
}

.card-img { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #ececec, #dcdcdc); }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-img .tag { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13px; white-space: nowrap; }
.about__row .card-img { aspect-ratio: 4 / 5; }
.about__row .card-img:nth-child(1) { align-self: start; }
.about__side p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 26em; }
.stats { display: flex; gap: 48px; margin-top: 36px; }
.stats b { display: block; font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats b sup { font-size: .45em; vertical-align: top; margin-left: 2px; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- feature (book parts) ---------- */
.feature { position: relative; z-index: 2; background: var(--bg); padding: 110px 0 330px; overflow-x: clip; }
/* the pendant hangs from the top of the section, between the two columns, and lights the wordmark below */
.lamp { position: absolute; top: 0; left: 50%; height: calc(100% + 120px); transform: translateX(-50%); pointer-events: none; }
.lamp img { height: 100%; width: auto; max-width: none; }
.lamp__glow { position: absolute; left: 50%; bottom: -120px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 196, 120, .55), rgba(255, 170, 90, .22) 45%, rgba(255, 170, 90, 0) 100%); mix-blend-mode: multiply; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.feature__intro p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 22px; max-width: 30em; }
.tabs { margin-top: 70px; display: grid; gap: 16px; }
.tabs button { display: flex; align-items: center; gap: 16px; font-size: 20px; color: #b4b4b4; letter-spacing: -0.01em; text-align: left; transition: color .2s; }
.tabs button::before { content: ""; width: 0; height: 1.5px; background: var(--ink); transition: width .3s; }
.tabs button span { font-size: 15px; color: inherit; }
.tabs button.is-active { color: var(--ink); }
.tabs button.is-active::before { width: 56px; }
.list li { padding: 18px 0 20px; border-bottom: 1px solid #dcdcdc; }
.list li:first-child { padding-top: 0; }
.list b { display: block; font-size: 16px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; }
.list span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.list.is-swapping { opacity: 0; transform: translateY(6px); }
.list { transition: opacity .25s, transform .25s; }

/* ---------- wordmark + dark bento ---------- */
.mark { position: relative; z-index: 1; padding: 150px 0 0; background: var(--bg); }
.mark__word { font-family: var(--brand); font-weight: 700; font-size: calc(100cqw / 4.68); line-height: .82; letter-spacing: -0.045em; color: #222; white-space: nowrap; margin-left: -.03em; }
.mark__line { margin-top: 28px; font-size: 24px; color: var(--text); letter-spacing: -0.01em; }
.dark { margin-top: 60px; padding-bottom: 110px; }
/* laptop and up: the dark panel is exactly one screen under the sticky header; every photo is sized from that height so it shows whole */
@media (min-width: 1024px) {
  .dark { margin-top: 40px; padding-top: 12px; padding-bottom: 12px; min-height: var(--screen); display: flex; align-items: center; }
  .dark__panel { width: 100%; height: calc(var(--screen) - 24px); container-type: size; grid-template-columns: auto minmax(0, 1fr); }
  .depth { height: 100cqh; width: calc(100cqh * 2 / 3); aspect-ratio: auto; }
  .dark__right { min-height: 0; }
  .dark__cards { flex: 1 1 0; min-height: 0; container-type: size; grid-template-columns: auto auto; justify-content: start; align-items: end; }
  .dark__cards .card-img { height: min(100cqh, (100cqw - 16px) / 2 * 3 / 2); width: auto; aspect-ratio: 2 / 3; }
}
.dark__panel { background: var(--dark); border-radius: var(--r-xl); padding: 20px; display: grid; grid-template-columns: 0.95fr 1.4fr; gap: 20px; color: #fff; }
.depth { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--dark-2); aspect-ratio: 2 / 3; padding: 26px; display: flex; flex-direction: column; }
.depth__head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.depth__head h3 { font-size: 20px; font-weight: 500; }
.depth img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.depth__num { position: relative; z-index: 2; margin: 26px 0 auto; font-size: 55px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.depth::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .7) 100%); }
.depth__tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.depth__tags span + span::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .35); }
.dark__right { padding: 24px 0 0 18px; display: flex; flex-direction: column; }
.dark__right h3 { font-size: clamp(24px, 2.2vw, 31px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.22; max-width: 22em; }
.dark__right > p { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); max-width: 34em; }
.dark__cards { margin-top: auto; padding-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dark__cards .card-img { aspect-ratio: 2 / 3; background: var(--dark-3); }
.dark__cards .tag { left: 18px; bottom: 18px; transform: none; }
.dark__cards .note { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); font-size: 13px; line-height: 1.45; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

/* ---------- reviews ---------- */
.reviews { display: flex; align-items: center; min-height: var(--screen); padding: clamp(28px, 4svh, 90px) 0; background: var(--white); }
.reviews__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.reviews__top .h2 { margin-top: 20px; font-size: clamp(34px, 3.6vw, 52px); max-width: 13em; }
.trust { display: flex; align-items: center; gap: 14px; }
.trust b { font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.trust small { display: block; font-size: 14px; line-height: 1.3; color: var(--muted); }
.reviews__grid { margin-top: clamp(24px, 3.5svh, 56px); display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.quote-card { background: var(--soft); border-radius: var(--r-lg); padding: 34px 36px; display: flex; flex-direction: column; }
.quote-card time { font-size: 14px; color: var(--muted); }
.quote-card h3 { margin-top: 44px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.quote-card p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.quote-card footer { margin-top: auto; padding-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quote-card .who { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.quote-card .who .logo-mark { height: 42px; }
.quote-card .who small { display: block; color: var(--muted); font-size: 13px; }
.stat-card { background: var(--soft); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.stat-card__text { flex: 1; padding: 14px 6px 6px 10px; display: flex; flex-direction: column; }
.stat-card__text b { font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat-card__text p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.stat-card__text .chip-ic { margin-top: auto; padding-top: 20px; display: flex; gap: 8px; }
.chip-ic span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); }
.chip-ic svg { font-size: 18px; }
.stat-card .card-img { border-radius: var(--r-md); aspect-ratio: 3 / 2; }

/* ---------- solution ---------- */
.solution { position: relative; display: flex; align-items: center; min-height: var(--screen); padding: clamp(12px, 3svh, 56px) 0; background: #c9a983 url(../assets/images/lu-living.webp) center / cover no-repeat; }
.solution__card { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 5svh, 56px) clamp(20px, 3.4vw, 48px) clamp(24px, 5svh, 48px); }
.solution__head { text-align: center; }
.solution__head .h2 { margin-top: clamp(12px, 2svh, 22px); font-size: clamp(32px, 3.4vw, 50px); }
.solution__head p { margin: 18px auto 0; max-width: 40em; font-size: 16px; line-height: 1.6; color: var(--muted); }
.solution__body { margin-top: clamp(22px, 4.5svh, 48px); display: grid; grid-template-columns: 0.95fr 1.3fr; gap: 40px; align-items: center; }
.solution__body .card-img { border-radius: var(--r-lg); aspect-ratio: 3 / 2; }
.solution__body h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.solution__body h3 + p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 36em; }
.helps { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.helps li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr auto; column-gap: 12px; background: #fff; }
.helps li > p, .helps li > a { grid-column: 1 / -1; }
.helps li > p { align-self: start; }
.helps li:nth-child(2) { background: var(--soft); border-color: var(--soft); }
.helps .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #f6f1ec; color: var(--orange); }
.helps .ic svg { font-size: 21px; }
.helps h4 { margin: 0; align-self: center; line-height: 1.25; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.helps p { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
@media (max-height: 820px), (max-width: 1023px) { .helps a { display: none; } }
.helps a { margin-top: 12px; font-size: 14px; font-weight: 600; }

/* ---------- chapters (dark) ---------- */
.chapters { background: var(--dark); color: #fff; padding: 110px 0; }
.chapters__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.chapters .pill-label { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.chapters .h2 { margin-top: 22px; font-size: clamp(34px, 3.6vw, 54px); max-width: 12em; }
.btn--ghost-dark { height: 52px; padding: 0 6px 0 20px; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.btn--ghost-dark .btn__arrow { width: 40px; height: 40px; background: #fff; color: var(--dark); }
.ch-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch { background: var(--dark-2); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; }
.ch .card-img { aspect-ratio: 3 / 2; border-radius: 18px; background: var(--dark-3); }
.ch__meta { margin: 22px 14px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.ch__meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.ch h3 { margin: 12px 14px 0; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.ch__more { margin: 26px 14px 14px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, .85); }
.ch__more .arrow-dot { width: 26px; height: 26px; }
.ch__more .arrow-dot svg { font-size: 13px; }

/* ---------- CTA ---------- */
.cta { padding: 110px 0; background: var(--white); }
.cta__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.cta__main { background: var(--soft); border-radius: var(--r-xl); padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.cta__main .h2 { font-size: clamp(34px, 3.6vw, 52px); max-width: 13em; }
.cta__main p { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.cta__main .btn { margin-top: 34px; align-self: flex-start; }
.cta__main small { margin-top: 18px; font-size: 14px; color: var(--muted); }
.cta__side { background: var(--soft); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.cta__side img { width: min(300px, 80%); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .18)); }
.cta__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cta__pills span { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid #d9d9d9; font-size: 14px; background: #fff; }

/* ---------- footer ---------- */
.closing { background: var(--white); padding-bottom: 40px; }
.footer { background: #efeeea; border-radius: var(--r-xl); margin: 0 auto; max-width: calc(1280px + 40px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.footer__cell { padding: 34px 36px; border-right: 1px solid #dddcd6; border-bottom: 1px solid #dddcd6; }
.footer__cell:nth-child(3n) { border-right: 0; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--brand); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; color: #222; min-height: 340px; }
.footer__brand .logo-mark { height: 46px; }
.footer__photo { grid-column: span 2; padding: 0; min-height: 340px; background: #e8e8e5; margin: 0; }
.footer__photo img { width: 100%; height: 100%; object-fit: cover; }
.footer__cell h4 { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.footer__cell p, .footer__cell li { font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: #222; }
.footer__cell a:hover { color: var(--orange); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #222; }
.social svg { font-size: 20px; }
/* real brand marks: WhatsApp (same as the floating button), Amazon, Flipkart */
.brand-tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.brand-tile svg { width: 22px; height: 22px; fill: currentColor; }
.social a.brand-tile--wa, .brand-tile--wa { background: #25d366; color: #fff; }
.brand-tile--amazon { background: #232f3e; color: #ff9900; }
.brand-tile--flipkart { background: #2874f0; color: #ffe11b; }
.stores { display: grid; gap: 10px; }
.stores a { display: inline-flex; align-items: center; gap: 12px; }
.footer { container-type: inline-size; }
.footer__word { padding: 30px 30px 10px; font-family: var(--brand); font-weight: 700; font-size: calc((100cqw - 60px) / 4.72); line-height: .82; letter-spacing: -0.045em; color: #343434; white-space: nowrap; text-align: center; overflow: hidden; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 36px 28px; border-top: 1px solid #dddcd6; font-size: 14px; color: var(--muted); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- WhatsApp button ---------- */
.wa-float { position: fixed; z-index: 90; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .16), 0 2px 6px rgba(17, 24, 39, .08); transition: transform .25s ease, box-shadow .25s ease; }
.wa-float svg { width: 34px; height: 34px; fill: currentColor; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 28px rgba(17, 24, 39, .2), 0 3px 8px rgba(17, 24, 39, .1); }
.wa-float:active { transform: scale(.97); }

/* ---------- checkout window ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .25s ease both; }
.modal__panel { position: relative; width: 100%; max-width: 500px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--r-lg); padding: 36px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .35); animation: panelIn .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; }
.modal__close svg { font-size: 16px; }
.modal__title { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 22px; }
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.buy-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.buy-head__book { width: 60px; flex: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .2)); }
.buy-head .modal__title { font-size: 22px; margin-bottom: 6px; }
.buy-head__price { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.buy-head__price span { font-size: 13px; font-weight: 500; color: #a8470f; background: #fde9dc; padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; letter-spacing: 0; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; color: var(--text); margin-bottom: 7px; }
.field small { color: var(--muted); }
.field input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 13px 15px; border-radius: var(--r-sm); border: 1px solid #dcdcdc; background: #fafafa; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #8f8f8f; }
.field input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242, 107, 31, .15); background: #fff; }
.field em { display: none; font-style: normal; font-size: 13px; color: #c43131; margin-top: 6px; }
.field.is-invalid input { border-color: #c43131; }
.field.is-invalid em { display: block; }
.field > .phone-input { display: flex; align-items: stretch; margin: 0; font-size: inherit; color: inherit; }
.phone-input__cc { display: grid; place-items: center; padding: 0 14px; border: 1px solid #dcdcdc; border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--soft); font-size: 15px; color: var(--text); }
.field .phone-input input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 6px; font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent__err { display: none; font-style: normal; font-size: 13px; color: #c43131; margin: 0 0 6px 30px; }
.consent__err.is-on { display: block; }
.modal .btn--full { margin-top: 10px; }
.buy-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5; background: #fdeeee; color: #a32a2a; }
.buy-msg[data-tone="ok"] { background: #ebf7ef; color: #1d6b3a; }
.book-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.buy-alt { margin-top: 8px; text-align: center; font-size: 14px; }
.done-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fde9dc; color: var(--orange); margin-bottom: 18px; }
.done-icon svg { font-size: 30px; }
.buy-done__lead { font-size: 15px; line-height: 1.6; color: var(--text); margin: -8px 0 22px; }
.buy-done__note { font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 14px; }
.buy-done__ref { font-size: 13px; color: var(--muted); margin-top: 10px; }
.buy-done__ref b { color: var(--ink); letter-spacing: .02em; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; background: var(--dark); color: #fff; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- policy pages (generated by tools/build_pages.py) ---------- */
.page-top { background: var(--bg); }
.legal.wrap { max-width: calc(840px + var(--gutter) * 2); padding-top: 64px; padding-bottom: 88px; }
.legal__title { font-size: clamp(36px, 5vw, 56px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 12px; }
.legal__date { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.legal__card { background: var(--soft); border-radius: var(--r-md); padding: 22px 24px; }
.legal__card h2 { margin-top: 0; font-size: 19px; }
.page-legal .closing { padding-top: 20px; }

/* ==========================================================
   RESPONSIVE · ≤1180 small desktop · ≤1023 tablet · ≤760 phone
   ========================================================== */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .about__row { grid-template-columns: 1.57fr 1fr; }
  .hero__body { max-width: 48%; }
  .about__side { grid-column: 1 / -1; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .dark__panel { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "h h h" "p p p" "d c1 c2"; gap: 14px; padding: 16px; }
  .dark__right, .dark__cards { display: contents; }
  .dark__right h3 { grid-area: h; padding: 14px 10px 0; max-width: none; }
  .dark__right > p { grid-area: p; margin: 0 0 6px; padding: 0 10px; }
  .depth { grid-area: d; padding: 16px; }
  .depth__head h3 { font-size: 16px; }
  .depth__num { font-size: 30px; margin-top: 10px; }
  .depth__tags { font-size: 12px; }
  .dark__cards .card-img:nth-child(1) { grid-area: c1; }
  .dark__cards .card-img:nth-child(2) { grid-area: c2; }
  .dark__cards .note { left: 10px; right: 10px; bottom: 10px; padding: 9px 10px; font-size: 12px; }
  .dark__cards .tag { left: 12px; bottom: 12px; }
  .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .ch h3 { font-size: 18px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; }
  .nav__links { gap: 20px; }
  /* one screen, stacked: wordmark, the held book (takes the height left over), then the text */
  .hero { min-height: 0; height: var(--screen-tab); }
  .hero__word { flex: none; }
  /* phones and tablets: the symmetric photo runs edge to edge, both sleeves leave through the bottom corners */
  .hero__book { position: relative; right: auto; bottom: auto; flex: 0 1 auto; min-height: 160px; height: auto; width: calc(100% + 2 * var(--gutter)); max-width: none; object-position: center bottom;
    margin: -4vw calc(-1 * var(--gutter)) 0; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 97%); mask-image: linear-gradient(180deg, #000 76%, transparent 97%); }
  .hero__body { display: contents; }
  /* spare height goes above the wordmark, so the photo sits ~16px over the text */
  .hero__word { margin-top: auto; }
  .hero__body p { margin-top: 0; padding-top: 16px; }
  /* topic chips: first thing in the hero, one swipeable row running edge to edge */
  .chips { order: -1; flex-wrap: nowrap; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; flex: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips::after { content: ""; flex: 0 0 calc(var(--gutter) - 8px); }
  .chips span { flex: none; scroll-snap-align: start; }
  .about__grid, .feature__grid, .reviews__grid, .cta__grid { grid-template-columns: 1fr; gap: 36px; }
  .feature { padding: 64px 0 0; }
  .feature__grid { gap: 28px; }
  .tabs { margin-top: 32px; }
  /* the cord starts right on the divider under the last chapter line */
  .lamp { position: relative; left: auto; transform: none; height: 420px; margin: -1px auto -60px; display: flex; justify-content: center; }
  /* About, stacked: photos as a step, then the text and the numbers side by side so no half-empty rows */
  .about__side { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: end; }
  .about__side .stats { margin-top: 0; gap: 28px; }
  .lamp__glow { width: 480px; height: 320px; bottom: -110px; }
  .solution__body { grid-template-columns: 0.9fr 1.1fr; gap: 14px 24px; }
  .solution__body > div { display: contents; }
  .solution__body .card-img { grid-row: 1 / 3; }
  .solution__body h3 { align-self: end; }
  .solution__body h3 + p { align-self: start; margin-top: 0; }
  .helps { grid-column: 1 / -1; margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: 52px; }
  .nav { height: 52px; grid-template-columns: 1fr auto; }
  .nav__logo { font-size: 17px; gap: 8px; } .nav__logo .logo-mark { height: 26px; }
  .nav__toggle { display: grid; place-content: center; gap: 4.5px; width: 40px; height: 40px; margin-right: -8px; }
  .nav__toggle span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .4s cubic-bezier(.65, 0, .35, 1), opacity .4s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }
  /* phone menu: a sidebar that slides in from the right over a dimmed page; Buy lives inside it */
  .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(242, 242, 242, .97); }
  .nav { z-index: auto; }
  .nav__end .btn--plain { display: none; }
  .nav__toggle { position: relative; z-index: 70; }
  .nav__links { position: fixed; top: 0; right: 0; bottom: 0; z-index: 65; width: min(84vw, 340px); display: flex; flex-direction: column; gap: 0;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 24px 0 0 24px;
    box-shadow: -24px 0 60px rgba(0, 0, 0, .16); overflow-y: auto; transform: translateX(105%); visibility: hidden;
    transition: transform .4s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .4s; }
  .nav.is-open .nav__links { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: flex; align-items: center; min-height: 56px; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
  .nav__links a.is-active { color: var(--orange); }
  .nav__links li.nav__drawer-buy { display: block; margin-top: auto; padding-top: 28px; border: 0; }
  .nav__drawer-buy .btn { min-height: 0; font-size: 16px; color: #fff; }
  .nav__drawer-buy small { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
  html.menu-open { overflow: hidden; }
  html.menu-open .wa-float { opacity: 0; pointer-events: none; }
  /* dimmed page behind the menu: fades in and out over the same .4s as the slide */
  .topbar::after { content: ""; position: fixed; inset: 0; z-index: 60; background: rgba(10, 10, 10, .42); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .4s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .4s; }
  html.menu-open .topbar::after { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .4s cubic-bezier(.65, 0, .35, 1), visibility 0s; }

  /* one screen on phones too: the book takes whatever height the text leaves */
  .hero { padding: 18px 0 22px; height: var(--screen-phone); }
  .hero__body p { font-size: 17px; line-height: 1.4; }
  .hero__ctas { gap: 16px; margin-top: 16px; }
  .hero .btn { height: 52px; padding-left: 20px; gap: 10px; font-size: 15px; }
  .hero .btn__arrow { width: 40px; height: 40px; }
  .hero .play { gap: 10px; font-size: 15px; }
  .hero .play__dot { width: 46px; height: 46px; }
  /* the first four pills fill the row exactly (same gap left and right); Purpose swipes in. 23.8em = the four labels (15.74em) + 1em padding each side */
  .chips span { height: 36px; font-size: calc((100vw - 2 * var(--gutter) - 24px) / 23.6); padding: 0 1em; }
  .chips span:nth-child(5) { margin-left: calc(var(--gutter) + 2px); }

  .about { padding: 48px 0; }
  .about__row { grid-template-columns: 1fr; margin-top: 40px; }
  .about__row { grid-template-columns: 1.57fr 1fr; gap: 12px; align-items: end; }
  .about__row .card-img .tag { bottom: 10px; font-size: 12px; padding: 6px 10px; }
  .about__side { grid-column: 1 / -1; margin-top: 12px; display: block; }
  .about__side .stats { margin-top: 24px; }
  .about__lead { font-size: 22px; }
  .stats { gap: 36px; }
  .mark { padding-top: 90px; }
  .tabs { margin-top: 36px; gap: 4px; }
  .tabs button { min-height: 40px; }
  .nav__logo { min-height: 44px; }
  .mark { padding-top: 64px; }
  .mark__line { font-size: 18px; }
  .dark { margin-top: 36px; padding-bottom: 72px; }
  .dark__panel { grid-template-columns: 1fr; padding: 12px; border-radius: 24px; }
  .depth__num { font-size: 45px; }
  .dark__right { padding: 18px 6px 4px; }
  .dark__cards { grid-template-columns: 1fr; }
  .reviews, .chapters, .cta { padding: 72px 0; }
  .reviews__top, .chapters__top { flex-direction: column; align-items: flex-start; }
  .quote-card { padding: 26px 22px; }
  .solution { padding: 12px 0; }
  .solution__card { padding: 26px 16px 16px; border-radius: 24px; }
  .solution__head .h2 { font-size: 28px; }
  .solution__head p { font-size: 14.5px; margin-top: 12px; }
  .solution__body { grid-template-columns: 1fr 1fr; gap: 14px; }
  .solution__body .card-img { grid-row: auto; border-radius: 16px; }
  .solution__body h3 { font-size: 20px; align-self: center; }
  .solution__body h3 + p { display: none; }
  .helps { grid-template-columns: 1fr; margin-top: 0; gap: 8px; }
  .helps li { padding: 12px 14px; grid-template-columns: 34px 1fr; column-gap: 10px; }
  .helps .ic { width: 34px; height: 34px; }
  .helps .ic svg { font-size: 17px; }
  .helps h4 { font-size: 15px; }
  .helps p { margin-top: 6px; font-size: 13px; line-height: 1.45; }
  .ch-grid { grid-template-columns: 1fr; }
  .cta__main { padding: 34px 22px; border-radius: 24px; }
  .closing { padding: 0 12px 24px; }
  .footer { border-radius: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cell { border-right: 0; }
  .footer__brand { min-height: 120px; }
  .footer__photo { grid-column: auto; min-height: 0; aspect-ratio: 1500 / 845; }
  .footer__word { font-size: calc((100cqw - 24px) / 4.72); padding: 20px 12px 6px; }
  .footer__bottom { flex-direction: column; padding: 18px 20px 80px; }
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
  .wa-float svg { width: 30px; height: 30px; }
  .modal { padding: 10px; align-items: end; }
  .modal__panel { padding: 28px 20px 22px; border-radius: 22px; max-height: calc(100vh - 20px); }
  .legal__cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* short laptop screens: keep Reviews and About inside one screen */
@media (min-width: 1024px) and (max-height: 820px) {
  .reviews__top .h2 { font-size: 40px; margin-top: 14px; }
  .reviews__grid { grid-template-columns: 1.75fr 1fr; }
  .quote-card { padding: 28px 32px; }
  .quote-card h3 { margin-top: 28px; }
  .stat-card__text b { font-size: 38px; }
  .stat-card__text { padding-top: 8px; }
  .about__lead { font-size: 26px; }
  .reviews__grid { margin-top: 20px; }
  .stat-card__text p { font-size: 13.5px; line-height: 1.5; }
  .chip-ic span { width: 34px; height: 34px; }
  .solution__head .h2 { font-size: 36px; }
  .solution__head p { font-size: 15px; margin-top: 12px; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .solution__body h3 + p { display: none; } }
@media (min-width: 1024px) and (max-height: 740px) { .reviews__top .h2 { font-size: 34px; } .quote-card h3 { margin-top: 20px; font-size: 26px; } }

/* small phones (≤380px): keep the two hero buttons on one line */
@media (max-width: 380px) {
  .hero .btn { padding-left: 16px; gap: 8px; font-size: 14px; }
  .hero__ctas { gap: 12px; }
  .hero .play { font-size: 14px; gap: 8px; }
  .hero .play__dot { width: 42px; height: 42px; }
}

/* ==========================================================
   PRODUCT PAGE (product.html, built by tools/build_product.py)
   ========================================================== */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.sec-head { max-width: 760px; }
.sec-head .h2 { margin-top: 18px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.sec-head--row > p { max-width: 26em; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pill-label--dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }

/* buy area: one screen on laptops */
.pbuy { background: var(--bg); min-height: var(--screen); padding: clamp(18px, 3svh, 32px) 0 clamp(28px, 5svh, 56px); display: flex; }
.pbuy > .wrap { display: flex; flex-direction: column; }
.pbuy__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(14px, 2.5svh, 28px); }
.gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.gallery__main { order: 2; margin: 0; width: min(100%, calc((var(--screen) - 130px) * .8)); aspect-ratio: 4 / 5; justify-self: center; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #fff 0%, #ececec 70%); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main img[src*="chintan-book"] { padding: 6%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .16)); }
.gallery__thumbs { order: 1; display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs button { width: 72px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #e9e9e9; border: 2px solid transparent; padding: 0; transition: border-color .2s, transform .2s; }
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs img[src*="chintan-book"] { object-fit: contain; padding: 6px; }
.buybox__title { margin-top: 18px; font-family: var(--brand); font-weight: 700; font-size: clamp(52px, 5.6vw, 92px); line-height: .9; letter-spacing: -0.045em; color: #222; }
.buybox__sub { margin-top: 12px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.02em; }
.buybox__by { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.buybox__rating { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.buybox__rating b { color: var(--ink); font-weight: 600; }
.buybox__lead { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--text); max-width: 34em; }
.buybox__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.buybox__price b { font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.buybox__price span { font-size: 14px; color: var(--muted); }
.buybox__list { display: grid; gap: 10px; margin-top: 20px; }
.buybox__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.buybox__list svg { width: 20px; height: 20px; flex: none; fill: var(--orange); }
.buybox__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.buybox__ctas .linkish { font-size: 14px; color: var(--muted); }
.buybox__paper { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.buybox__paper a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.buybox__paper .brand-tile { width: 30px; height: 30px; border-radius: 9px; }
.buybox__paper .brand-tile svg { width: 16px; height: 16px; }
.buybox__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #dedede; }
.buybox__trust li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.buybox__trust svg { width: 16px; height: 16px; fill: currentColor; }

/* how it works */
.steps { background: var(--white); padding: 100px 0; }
.steps__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; background: var(--soft); border-radius: var(--r-lg); padding: 28px; }
.step__num { position: absolute; top: 26px; right: 28px; font-size: 14px; color: var(--muted); }
.step__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); }
.step__ic svg { width: 24px; height: 24px; fill: currentColor; }
.step h3 { margin-top: 26px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* look inside: real page tops fading into the dark */
.peek { background: var(--dark); color: #fff; padding: 100px 0; }
.peek .sec-head--row > p { color: rgba(255, 255, 255, .6); }
.peek__row { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.peek__page { margin: 0; }
.peek__sheet { border-radius: 14px; overflow: hidden; background: #f6f3ec; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
.peek__sheet img { display: block; width: 100%; height: auto; }
.peek__page figcaption { margin-top: 4px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .75); }
.peek__page figcaption b { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); }

/* contents */
.toc { background: var(--bg); padding: 100px 0; }
.toc__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.toc__intro p { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 30em; }
.toc__img { margin-top: 30px; aspect-ratio: 3 / 2; }
.toc__list { background: var(--white); border-radius: var(--r-xl); padding: 10px 30px; }
.toc__list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toc__list li:last-child { border-bottom: 0; }
.toc__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.toc__list b { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.toc__list em { font-style: normal; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
.toc__list .is-sub b { font-weight: 400; color: var(--text); }
.toc__list .is-sub .toc__tag { color: var(--orange); }

/* the twelve tools */
.tools { background: var(--white); padding: 100px 0; }
.tools__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tools__grid li { display: flex; flex-direction: column; min-height: 190px; padding: 24px 22px; border-radius: var(--r-lg); background: var(--soft); }
.tools__grid em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--orange); }
.tools__grid h3 { margin-top: auto; padding-top: 30px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.tools__grid p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tools__grid .is-key { background: var(--dark); color: #fff; }
.tools__grid .is-key p { color: rgba(255, 255, 255, .6); }
.tools__grid .is-key em { color: var(--orange-2); }

/* quotes from the book */
.words { background: var(--bg); padding: 100px 0; }
.words__row { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.words blockquote { margin: 0; display: flex; flex-direction: column; min-height: 210px; padding: 30px 28px; border-radius: var(--r-lg); background: var(--white); }
.words blockquote p { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.words cite { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.words cite::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* who it is for */
.forwho { background: var(--white); padding: 100px 0; }
.forwho__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.forwho__grid li { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.forwho__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #f6f1ec; color: var(--orange); }
.forwho__ic svg { width: 23px; height: 23px; fill: currentColor; }
.forwho__grid h3 { margin-top: 22px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.forwho__grid p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* FAQ */
.faq { background: var(--bg); padding: 100px 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq__intro p { margin: 18px 0 28px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 26em; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--white); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 20px 24px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); transition: transform .3s cubic-bezier(.65, 0, .35, 1), background .3s; }
.faq__plus svg { width: 16px; height: 16px; fill: var(--ink); }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--orange); }
.faq details[open] .faq__plus svg { fill: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 46em; }
.faq details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* closing call to action */
.pend { background: var(--white); padding: 40px 0 100px; }
.pend__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 30px; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); background: var(--dark); color: #fff; overflow: hidden; }
.pend__card .h2 { margin-top: 18px; max-width: 13em; }
.pend__card p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .6); }
.pend__card .btn { margin-top: 28px; }
.pend__book { justify-self: center; width: min(260px, 100%); transform: rotate(-4deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }

/* phones: buy bar once the buy box has scrolled away */
.buybar { display: none; }

@media (max-width: 1023px) {
  .pbuy { min-height: 0; }
  .pbuy__grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { order: 0; width: min(100%, 560px); }
  .gallery__thumbs { flex-direction: row; justify-content: center; }
  .steps__grid { grid-template-columns: 1fr; }
  .peek__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc__grid, .faq__grid { grid-template-columns: 1fr; }
  .toc__img { display: none; }
  .tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forwho__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .words__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .peek, .toc, .tools, .words, .forwho, .faq { padding: 72px 0; }
}
@media (max-width: 760px) {
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pbuy { padding-top: 14px; }
  .gallery__main { width: 100%; border-radius: 24px; }
  .gallery__thumbs { justify-content: flex-start; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
  .gallery__thumbs button { width: 64px; flex: none; }
  .buybox__title { font-size: 64px; }
  .buybox__ctas .btn { width: 100%; justify-content: space-between; }
  .buybox__ctas .linkish { width: 100%; text-align: center; }
  /* swipeable rows on phones */
  .peek__row, .words__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 32px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .peek__row::-webkit-scrollbar, .words__row::-webkit-scrollbar { display: none; }
  .peek__row::after, .words__row::after { content: ""; flex: 0 0 calc(var(--gutter) - 12px); }
  .peek__page { flex: 0 0 74%; scroll-snap-align: start; }
  .words blockquote { flex: 0 0 82%; scroll-snap-align: start; min-height: 190px; }
  .toc__list { padding: 4px 18px; border-radius: 22px; }
  .toc__list li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .toc__tag { grid-column: 1 / -1; }
  .tools__grid { gap: 10px; }
  .tools__grid li { min-height: 0; padding: 18px 16px; border-radius: 18px; }
  .tools__grid h3 { padding-top: 18px; font-size: 15.5px; }
  .tools__grid p { font-size: 13px; }
  .forwho__grid { grid-template-columns: 1fr; gap: 10px; }
  .forwho__grid li { padding: 22px; }
  .faq summary { padding: 18px 16px 18px 20px; font-size: 16px; }
  .faq details p { padding: 0 20px 20px; }
  .pend { padding: 16px 0 72px; }
  .pend__card { grid-template-columns: 1fr; padding: 32px 22px 0; border-radius: 24px; }
  .pend__book { width: 62%; margin-bottom: -40px; }
  .buybar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 20px; border-radius: 999px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .16); transform: translateY(160%); transition: transform .4s cubic-bezier(.65, 0, .35, 1); }
  .buybar.is-on { transform: none; }
  .buybar b { display: block; font-family: var(--brand); font-size: 15px; letter-spacing: -0.02em; }
  .buybar span { font-size: 12.5px; color: var(--muted); }
  .buybar .btn { height: 46px; padding-left: 18px; gap: 10px; font-size: 14.5px; }
  .buybar .btn__arrow { width: 36px; height: 36px; }
  html.buybar-on .wa-float { transform: translateY(-72px); }
}
.steps__grid, .tools__grid, .toc__list { list-style: none; padding-left: 0; margin-left: 0; }
.toc__list { padding: 10px 30px; }
@media (max-width: 760px) { .toc__list { padding: 4px 18px; } }

/* product buy area on laptops/desktops: everything scales with the screen height so the whole buy box fits one screen */
@media (min-width: 1024px) {
  .pbuy { padding: clamp(10px, 1.8svh, 24px) 0 clamp(16px, 3svh, 40px); }
  .pbuy__grid { margin-top: clamp(8px, 1.6svh, 22px); }
  .gallery__main { width: min(100%, calc((var(--screen) - 120px) * .8)); }
  .gallery__thumbs { gap: clamp(6px, 1.1svh, 10px); }
  .gallery__thumbs button { width: clamp(52px, 7.6svh, 72px); }
  .gallery { grid-template-columns: clamp(52px, 7.6svh, 72px) minmax(0, 1fr); }
  .buybox__title { margin-top: clamp(8px, 1.6svh, 18px); font-size: min(5.6vw, 9.2svh, 92px); }
  .buybox__sub { margin-top: clamp(6px, 1.1svh, 12px); font-size: clamp(18px, 2.4svh, 23px); }
  .buybox__rating { margin-top: clamp(8px, 1.5svh, 16px); }
  .buybox__lead { margin-top: clamp(10px, 1.8svh, 18px); font-size: clamp(14.5px, 1.75svh, 16px); }
  .buybox__price { margin-top: clamp(12px, 2.2svh, 22px); }
  .buybox__price b { font-size: clamp(36px, 4.8svh, 46px); }
  .buybox__list { margin-top: clamp(10px, 2svh, 20px); gap: clamp(6px, 1svh, 10px); }
  .buybox__list li { font-size: clamp(14px, 1.65svh, 15px); }
  .buybox__ctas { margin-top: clamp(14px, 2.6svh, 26px); }
  .buybox__ctas .btn { height: clamp(50px, 6.2svh, 58px); }
  .buybox__paper { margin-top: clamp(12px, 2.2svh, 22px); }
  .buybox__trust { margin-top: clamp(12px, 2.2svh, 22px); padding-top: clamp(10px, 1.8svh, 18px); }
}

/* closing card: the two-hands photo rises from the bottom edge of the card */
.pend__card { padding-bottom: 0; align-items: end; }
.pend__text { padding-bottom: clamp(36px, 5vw, 64px); }
.pend__book { align-self: end; justify-self: center; width: min(380px, 100%); transform: none; filter: none; margin-top: -20px;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
@media (max-width: 760px) { .pend__text { padding-bottom: 0; } .pend__book { width: 86%; margin: 0 auto; } }
/* short laptop screens: the payment badges also sit in the How it works steps, so drop them here to keep the buy box on one screen */
@media (min-width: 1024px) and (max-height: 780px) { .buybox__trust { display: none; } }
@media (min-width: 1024px) and (max-width: 1180px) { .buybox__lead { display: none; } }
/* product page: private reader cards (photos only, no book pages) */
.peek__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.peek__card { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark-3); }
.peek__card img { width: 100%; height: 100%; object-fit: cover; }
.peek__card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); }
.peek__card figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.peek__card figcaption b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 500; color: #fff; }
@media (max-width: 1023px) { .peek__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .peek__card figcaption { left: 14px; right: 14px; font-size: 12.5px; } .peek__card figcaption b { font-size: 15px; } }
@media (max-width: 760px) { .peek__card { flex: 0 0 78%; scroll-snap-align: start; } .peek__card figcaption { font-size: 13.5px; } .peek__card figcaption b { font-size: 17px; } }
/* contents (laptops/desktops): the intro stays in view while the chapter list scrolls past; then the page moves on */
@media (min-width: 1024px) {
  .toc__intro { position: sticky; top: calc(64px + clamp(24px, 6svh, 64px)); }
  .toc__img { max-height: calc(var(--screen) - 420px); width: 100%; object-fit: cover; }
}
@media (min-width: 1024px) and (max-height: 700px) { .toc__img { display: none; } }
/* FAQ: the + turns into × as the answer slides open, and back as it closes */
.faq details.is-closing .faq__plus { transform: none; background: var(--soft); }
.faq details.is-closing .faq__plus svg { fill: var(--ink); }
.faq details p { transition: opacity .3s; }
.faq details.is-closing p { opacity: 0; }

/* closing card uses the desktop hero photo: its right arm leaves through the card's bottom-right corner */
.pend__card { padding-right: 0; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pend__book { justify-self: end; width: min(520px, 100%); margin: 0; -webkit-mask-image: none; mask-image: none; }
.pend__pic { display: contents; }
/* tablets and phones: the symmetric two-hands photo, centred, both sleeves on the card's bottom edge */
@media (max-width: 1023px) {
  .pend__card { padding-right: clamp(22px, 5vw, 64px); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .pend__book { grid-column: 2; grid-row: 1; }
  .pend__book { justify-self: center; width: min(360px, 100%); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
}
@media (max-width: 760px) { .pend__card { grid-template-columns: 1fr; gap: 12px; padding-right: 22px; } .pend__book { grid-column: auto; grid-row: auto; width: 84%; } }

/* product page: ratings and reviews */
.prate { background: var(--white); padding: 100px 0; }
.prate__grid { margin-top: 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
.prate__score { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 56px); border-radius: var(--r-xl); background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.prate__score::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 107, 31, .45), rgba(242, 107, 31, 0)); }
.prate__num { position: relative; font-family: var(--brand); font-weight: 700; font-size: clamp(96px, 11vw, 168px); line-height: .9; letter-spacing: -0.05em; }
.prate__stars { position: relative; display: inline-block; margin-top: 18px; font-size: 30px; letter-spacing: 4px; color: rgba(255, 255, 255, .2); }
.prate__stars span { position: absolute; inset: 0; width: var(--fill); overflow: hidden; white-space: nowrap; color: var(--orange); }
.prate__score p { position: relative; margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .65); }
.prate__score p b { color: #fff; font-weight: 500; }
.prate__facts { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.prate__facts li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.prate__facts svg { width: 16px; height: 16px; fill: var(--orange-2); }
.prate__side { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.prate__quote { margin: 0; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-xl); background: var(--soft); }
.prate__label { font-size: 14px; color: var(--muted); }
.prate__quote blockquote { margin: 26px 0 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.22; }
.prate__quote figcaption { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.prate__quote figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.prate__write { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 24px 24px 30px; border-radius: var(--r-xl); border: 1px solid var(--line); }
.prate__write h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.prate__write p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
a.buybox__rating:hover b { color: var(--orange); }
@media (max-width: 1023px) { .prate { padding: 72px 0; } .prate__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .prate__grid { margin-top: 32px; gap: 12px; }
  .prate__score, .prate__quote { border-radius: 24px; padding: 28px 22px; }
  .prate__write { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 24px; }
  .prate__write .btn { width: 100%; justify-content: space-between; }
}
.toc__list { margin: 0; } /* so the pinned intro and the list end on the same line */
/* frameworks as teasers: names and a hint, the method stays in the book */
.tools__grid--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tools__grid--teaser li { min-height: 220px; }
.tools__lock { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.tools__lock svg { width: 14px; height: 14px; fill: currentColor; }
.tools__grid .is-key .tools__lock { color: rgba(255, 255, 255, .5); }
.toc__more b { font-weight: 400; color: var(--muted); }
.toc__more em svg { width: 16px; height: 16px; fill: var(--orange); vertical-align: -2px; }
@media (max-width: 1023px) { .tools__grid--teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tools__grid--teaser { grid-template-columns: 1fr; } .tools__grid--teaser li { min-height: 0; } }
@media (min-width: 761px) { .words__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* private reader section: one screen on laptops/desktops, the cards take the height left under the heading */
@media (min-width: 1024px) {
  .peek { min-height: var(--screen); display: flex; align-items: center; padding: clamp(28px, 5svh, 64px) 0; }
  .peek > .wrap { width: 100%; }
  .peek__row--3 { margin-top: clamp(24px, 4svh, 44px); }
  .peek__card { aspect-ratio: auto; height: calc(var(--screen) - clamp(56px, 10svh, 128px) - clamp(24px, 4svh, 44px) - 150px); }
}
/* arrow circle always sits 6px inside the pill, whatever height the pill is */
.btn { padding-right: 6px; }
.btn > .btn__arrow { height: calc(100% - 12px); width: auto; aspect-ratio: 1; }
.prate__stars::before { content: "★★★★★"; }
/* phones: a compact buy box so Buy Now sits right under the photos */
@media (max-width: 760px) {
  .pbuy__grid { gap: 18px; margin-top: 10px; }
  .gallery { gap: 10px; }
  .gallery__main { aspect-ratio: 1 / 1; }
  .gallery__main img[src*="chintan-book"] { padding: 4%; }
  .buybox > .pill-label { display: none; }
  .buybox__title { margin-top: 0; font-size: 46px; }
  .buybox__sub { margin-top: 8px; font-size: 17px; line-height: 1.3; }
  .buybox__by { margin-top: 4px; font-size: 13px; }
  .buybox__rating { margin-top: 8px; font-size: 13.5px; }
  .buybox__lead { display: none; }
  .buybox__price { margin-top: 14px; gap: 10px; }
  .buybox__price b { font-size: 36px; }
  .buybox__price span { font-size: 12.5px; flex: 1; min-width: 0; }
  .buybox__list { margin-top: 12px; gap: 6px; }
  .buybox__list li { font-size: 13.5px; gap: 10px; line-height: 1.35; }
  .buybox__list svg { width: 17px; height: 17px; }
  .buybox__ctas { margin-top: 16px; gap: 10px; }
  .buybox__ctas .btn { height: 54px; }
  .buybox__paper { margin-top: 16px; font-size: 13px; }
  .buybox__trust { margin-top: 16px; padding-top: 14px; }
}
/* gallery: photos fill the card edge to edge; only the cut-out book images float with padding */
.gallery__main img[src*="/lu-"] { object-fit: cover; padding: 0; filter: none; }
@media (max-width: 760px) { .gallery__main img[src*="/lu-"] { object-position: 50% 38%; } }
/* phones: label on its own line, Amazon and Flipkart side by side under it */
@media (max-width: 760px) {
  .buybox__paper { gap: 8px 20px; }
  .buybox__paper > span:first-child { flex: 0 0 100%; }
}
@media (max-width: 760px) {
  .buybox__paper { gap: 10px; }
  .buybox__paper a { flex: 1 1 0; min-width: 0; height: 52px; padding: 0 12px; border-radius: 16px; background: #fff; border: 1px solid #e6e6e6; }
}

/* checkout closing: reverse of the opening */
.modal.is-closing .modal__backdrop { animation: fadeOut .32s ease both; }
.modal.is-closing .modal__panel { animation: panelOut .32s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes panelOut { to { opacity: 0; transform: translateY(14px) scale(.98); } }
/* phones: a full-width bottom sheet that slides up from the bottom edge, rounded only at the top */
@media (max-width: 760px) {
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-width: none; border-radius: 24px 24px 0 0; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); animation: sheetIn .42s cubic-bezier(.2, .8, .2, 1) both; }
  .modal.is-closing .modal__panel { animation: sheetOut .32s cubic-bezier(.65, 0, .35, 1) both; }
  .modal__panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #dcdcdc; }
}
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@media (max-width: 760px) { .buybox__paper > span:first-child { text-align: center; } }
/* the menu's Shop Now pill keeps white text, even when it points at the current section */
.nav__links .nav__drawer-buy a.btn, .nav__links .nav__drawer-buy a.btn.is-active { color: #fff; }
/* menu close button lives inside the sidebar, so it is there even if the header scrolls away */
.nav__drawer-close { display: none; }
@media (max-width: 760px) {
  .nav__links li.nav__drawer-close { display: block; position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px; border: 0; }
  .nav__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); transition: background .2s; }
  .nav__close:hover { background: #ebebeb; }
  .nav__close svg { width: 18px; height: 18px; fill: currentColor; }
  .nav.is-open .nav__toggle { visibility: hidden; }
}
/* rating card: plain dark, no glow */
.prate__score::before { content: none; }
/* intros beside a list (Contents, FAQ): room between the label and the heading, and between heading lines */
.faq__intro .h2, .toc__intro .h2 { margin-top: 18px; line-height: 1.12; }
/* phones: closing card = text, then the photo, then a full-width Buy Now at the bottom of the card */
@media (max-width: 760px) {
  .pend__card { gap: 0; padding-bottom: 22px; }
  .pend__text { display: contents; }
  .pend__card > .pend__text > *, .pend__card .pend__book { order: 0; }
  .pend__card .pend__book { order: 1; margin-top: 18px; }
  .pend__card .btn { order: 2; width: 100%; justify-content: space-between; margin-top: 0; }
}
@media (max-width: 760px) { .pend__card .pill-label { justify-self: start; } }
