/* YUG's public pages (/about/, /privacy/): the app's Dharma Chakra look
   (REQUIREMENTS §24) in plain HTML. Fonts are the app's own bundled files,
   so the pages call no third party. */

@font-face { font-family: "Fraunces"; src: url("/assets/assets/google_fonts/Fraunces-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/assets/google_fonts/Fraunces-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/assets/google_fonts/Fraunces-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/assets/google_fonts/Nunito-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/assets/google_fonts/Nunito-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/assets/google_fonts/Nunito-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/assets/google_fonts/Nunito-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/assets/google_fonts/Mukta-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/assets/google_fonts/Mukta-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/assets/google_fonts/Mukta-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/assets/google_fonts/Mukta-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Tiro"; src: url("/assets/assets/google_fonts/TiroDevanagariSanskrit-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --saffron: #ff7a3d;
  --saffron-deep: #e8552b;
  --gold: #d9a441;
  --gold-deep: #b07e2b;
  --gold-pale: #f6e3b4;
  --maroon: #5c1a2b;
  --maroon-deep: #3d0f1c;
  --night: #2a1a3e;
  --navy: #24356f;
  --sage: #2e7d57;
  --cream: #fff8ef;
  --cream-deep: #fbead4;
  --surface: #fffdf8;
  --ink: #2b211f;
  --ink-muted: #7a6a63;
  --sanctum: linear-gradient(160deg, #4a1220 0%, var(--maroon-deep) 45%, var(--night) 100%);
  --cta: linear-gradient(120deg, var(--saffron), var(--saffron-deep));
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 26px;
  --gutter: clamp(18px, 5vw, 64px);
  color-scheme: light;
}

html[lang="hi"] { --body: "Mukta", "Nunito", system-ui, sans-serif; --display: "Mukta", "Fraunces", serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--maroon-deep); }

/* Bilingual: every text exists in both languages; the page shows one. */
html[lang="en"] .hi, html[lang="hi"] .en { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.topbar.solid {
  background: rgba(42, 13, 24, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 30px rgba(20, 4, 10, .35);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(255, 122, 61, .45)); }
.brand b { font-family: "Fraunces", serif; font-weight: 900; font-size: 25px; letter-spacing: .14em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 700; font-size: 15px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.lang {
  display: inline-flex; border: 1.5px solid rgba(217, 164, 65, .6); border-radius: 999px; overflow: hidden; flex: none;
}
.lang button {
  all: unset; cursor: pointer; padding: 6px 13px; font-weight: 800; font-size: 14px; color: rgba(255, 255, 255, .78);
  font-family: "Nunito", "Mukta", sans-serif;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--maroon-deep); }
.lang button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.topbar .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 460px) { .topbar .btn { display: none; } .brand b { font-size: 22px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 17px/1 "Nunito", "Mukta", sans-serif; text-decoration: none; color: #fff;
  background: var(--cta);
  box-shadow: 0 14px 34px rgba(232, 85, 43, .42), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.4), box-shadow .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 44px rgba(232, 85, 43, .5); }
.btn:focus-visible { outline: 3px solid var(--gold-pale); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--gold-pale); box-shadow: inset 0 0 0 1.5px rgba(246, 227, 180, .55); }
.btn.ghost::before { display: none; }
.btn.ghost:hover { background: rgba(246, 227, 180, .08); }
.btn svg { width: 20px; height: 20px; flex: none; }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--sanctum);
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 120px;
  min-height: min(100vh, 980px);
  display: flex; align-items: center;
}
.hero::after { /* soft paper grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .glow {
  position: absolute; width: 900px; height: 900px; right: -220px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 170, 80, .42) 0%, rgba(217, 164, 65, .16) 35%, transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-bottom: 90px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 13px/1.2 "Nunito", "Mukta", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
html[lang="hi"] .eyebrow { letter-spacing: .04em; font-size: 15px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }

.hero h1 {
  font-family: var(--display); font-weight: 900; margin: 18px 0 20px;
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.02em;
}
html[lang="hi"] .hero h1 { line-height: 1.18; letter-spacing: 0; font-weight: 800; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffd27a 0%, var(--saffron) 45%, #ffd27a 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); max-width: 34em; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: rgba(255, 255, 255, .7); font-weight: 700; font-size: 15px; }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* The painting in an arched shrine frame, the chakra turning behind it. */
.shrine { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 4 / 5; }
.shrine .chakra {
  position: absolute; inset: -22%; color: var(--gold); opacity: .55;
  animation: turn 60s linear infinite;
  filter: drop-shadow(0 0 24px rgba(217, 164, 65, .55));
}
.shrine .chakra.slow { inset: -38%; opacity: .16; animation-duration: 140s; animation-direction: reverse; }
@keyframes turn { to { transform: rotate(360deg); } }
.shrine .frame {
  position: absolute; inset: 0; border-radius: 230px 230px 28px 28px; padding: 10px;
  background: linear-gradient(160deg, #ffe3a1, var(--gold) 30%, var(--gold-deep) 70%, #ffd27a);
  box-shadow: 0 40px 90px rgba(10, 0, 4, .65), 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 70px rgba(255, 160, 70, .35);
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.shrine .frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  border-radius: 222px 222px 20px 20px;
}
.shrine .frame::after { /* inner fine line */
  content: ""; position: absolute; inset: 18px; border-radius: 214px 214px 14px 14px;
  border: 1.5px solid rgba(255, 240, 200, .7); pointer-events: none;
}
.shrine .diya { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); width: 92px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.flame { transform-origin: 50% 90%; animation: flicker 2.6s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  25% { transform: scale(.94, 1.06) rotate(-2deg); }
  50% { transform: scale(1.04, .95) rotate(1.5deg); }
  75% { transform: scale(.97, 1.04) rotate(-1deg); }
}
.badge-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 253, 248, .96); color: var(--maroon-deep); border-radius: 18px; padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-weight: 800; font-size: 14px; line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}
.badge-float small { display: block; font-weight: 700; color: var(--ink-muted); font-size: 12px; }
.badge-float .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-deep); flex: none; }
.badge-float.a { left: -8%; top: 16%; }
.badge-float.b { right: -10%; bottom: 20%; animation-delay: -3s; }
@media (max-width: 520px) { .badge-float.a { left: -2%; } .badge-float.b { right: -2%; } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Embers rising from the diya. */
.embers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.embers span {
  position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #ffe0a0, var(--saffron) 60%, transparent 70%);
  box-shadow: 0 0 10px 2px rgba(255, 140, 60, .6);
  animation: rise linear infinite; opacity: 0;
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate(var(--dx, 30px), -105vh) scale(.3); opacity: 0; }
}

/* ---------- Toran (festive bunting) ---------- */
.toran { display: flex; justify-content: center; gap: 0; height: 22px; overflow: hidden; }
.toran i { width: 24px; height: 22px; clip-path: polygon(0 0, 100% 0, 50% 100%); flex: none; }
.toran i:nth-child(4n+1) { background: var(--saffron); }
.toran i:nth-child(4n+2) { background: var(--gold); }
.toran i:nth-child(4n+3) { background: var(--sage); }
.toran i:nth-child(4n) { background: var(--saffron-deep); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
h2 {
  font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08;
  letter-spacing: -.015em; margin: 14px 0 16px; color: var(--maroon-deep);
}
html[lang="hi"] h2 { line-height: 1.25; letter-spacing: 0; font-weight: 800; }
.section-head p { color: var(--ink-muted); font-size: 18px; margin: 0; }
.dark { background: var(--sanctum); color: #fff; }
.dark h2 { color: var(--gold-pale); }
.dark .section-head p { color: rgba(255, 255, 255, .72); }

/* Story gallery: two ribbons of painted covers drifting past. */
.gallery { background: linear-gradient(180deg, var(--night) 0%, var(--maroon-deep) 100%); padding: 90px 0 100px; overflow: hidden; color: #fff; }
.gallery .section-head h2 { color: var(--gold-pale); }
.gallery .section-head p { color: rgba(255, 255, 255, .72); }
.ribbon { display: flex; gap: 26px; width: max-content; animation: drift 46s linear infinite; padding: 14px 0; }
.ribbon.rev { animation-direction: reverse; animation-duration: 95s; }
.ribbons:hover .ribbon { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.card {
  width: clamp(200px, 22vw, 270px); flex: none; border-radius: 22px; overflow: hidden; position: relative;
  background: var(--surface); box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
  border: 2px solid rgba(217, 164, 65, .75);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1.2), box-shadow .4s;
}
.card:hover { transform: translateY(-10px) rotate(-1.5deg) scale(1.04); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 40px rgba(217, 164, 65, .45); }
.card img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; background: var(--cream-deep); }
.card figcaption { position: absolute; inset: auto 0 0 0; padding: 70px 14px 14px; background: linear-gradient(transparent, rgba(30, 6, 14, .82) 45%, rgba(30, 6, 14, .96)); }
.card figcaption small { display: block; color: var(--gold); font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
html[lang="hi"] .card figcaption small { letter-spacing: .02em; font-size: 13px; }
.card figcaption b { font-family: var(--display); font-size: 17px; line-height: 1.2; color: #fff; }

/* How a part works: three steps joined by a dotted path. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 34px 28px 30px;
  border: 1.5px solid rgba(217, 164, 65, .45);
  box-shadow: 0 1px 0 #fff inset, 0 24px 50px rgba(92, 26, 43, .1);
  transition: transform .4s, box-shadow .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(92, 26, 43, .16); }
.step .num {
  position: absolute; top: -18px; left: 28px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 900 18px "Fraunces", serif; color: #fff; background: var(--cta);
  box-shadow: 0 8px 20px rgba(232, 85, 43, .4);
}
.step .icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(145deg, var(--cream-deep), #fff); box-shadow: inset 0 0 0 1.5px rgba(217, 164, 65, .45); }
.step .icon svg { width: 42px; height: 42px; }
.step h3 { font-family: var(--display); font-size: 25px; margin: 0 0 8px; color: var(--maroon-deep); line-height: 1.15; }
.step p { margin: 0; color: var(--ink-muted); }

/* Split feature: painting + text. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.flip .art { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .art { order: 0; } }
.art { position: relative; }
.art img { border-radius: 30px; box-shadow: 0 40px 80px rgba(61, 15, 28, .3); border: 8px solid #fff; transform: rotate(-2deg); }
.art::before {
  content: ""; position: absolute; inset: 7% -5% -5% 7%; border-radius: 30px; z-index: -1;
  background: repeating-linear-gradient(45deg, rgba(217, 164, 65, .35) 0 2px, transparent 2px 12px);
}
.split h2 { text-align: left; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.ticks li svg { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(217, 164, 65, .55); font-weight: 800; color: var(--maroon); font-size: 15px; }
.chip.solid { background: var(--maroon-deep); color: var(--gold-pale); border-color: var(--maroon-deep); }
.wave { display: inline-flex; gap: 4px; align-items: center; height: 26px; margin-left: 6px; vertical-align: middle; }
.wave i { width: 4px; border-radius: 2px; background: var(--saffron); animation: eq 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.45s; } .wave i:nth-child(4) { animation-delay: -.7s; } .wave i:nth-child(5) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 24px; } }

/* The verse. */
.verse { text-align: center; overflow: hidden; }
.verse .bg { position: absolute; inset: 0; background: url("img/suns.webp") center / cover; opacity: .18; filter: saturate(1.2); }
.verse .wrap { position: relative; }
.manuscript {
  max-width: 860px; margin: 0 auto; padding: clamp(36px, 6vw, 70px) clamp(22px, 5vw, 70px);
  border-radius: 28px; position: relative;
  background: linear-gradient(160deg, rgba(74, 18, 32, .92), rgba(42, 26, 62, .92));
  box-shadow: 0 0 0 1.5px rgba(217, 164, 65, .7), 0 0 0 9px rgba(217, 164, 65, .12), 0 40px 90px rgba(0, 0, 0, .5);
}
.manuscript::before, .manuscript::after {
  content: "✦"; position: absolute; color: var(--gold); font-size: 18px; top: 16px; left: 20px;
}
.manuscript::after { left: auto; right: 20px; }
.sanskrit { font-family: "Tiro", serif; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.5; color: var(--gold-pale); margin: 18px 0 22px; text-shadow: 0 0 30px rgba(255, 200, 120, .35); }
.verse .meaning { font-size: clamp(18px, 2vw, 22px); color: rgba(255, 255, 255, .88); max-width: 36em; margin: 0 auto; }
.verse .ref { margin-top: 22px; color: var(--gold); font-weight: 800; letter-spacing: .16em; font-size: 13px; text-transform: uppercase; }

/* Safety grid. */
.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .safety { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .safety { grid-template-columns: 1fr; } }
.safe {
  padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(217, 164, 65, .3);
  transition: background .3s, transform .3s, border-color .3s;
}
.safe:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); border-color: rgba(217, 164, 65, .7); }
.safe svg { width: 34px; height: 34px; margin-bottom: 12px; }
.safe h3 { margin: 0 0 6px; font-family: var(--display); color: var(--gold-pale); font-size: 21px; }
.safe p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 16px; }

/* Plans. */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1140px; margin: 0 auto; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan-kicker { display: block; font-weight: 900; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 4px; }
.plan.plus .plan-kicker { color: var(--gold); }
.plan.free .plan-kicker { color: var(--sage); }
.plan.free h3 { font-size: 24px; line-height: 1.2; }
html[lang="hi"] .plan-kicker { letter-spacing: .02em; font-size: 13px; } /* Devanagari stays joined */
.plan.quarter { border: 2px solid var(--gold); box-shadow: 0 24px 60px rgba(176, 126, 43, .18); }
.plan { border-radius: 30px; padding: 36px 32px; background: var(--surface); border: 1.5px solid rgba(217, 164, 65, .45); box-shadow: 0 24px 60px rgba(92, 26, 43, .1); }
.plan h3 { font-family: var(--display); font-size: 28px; margin: 0; color: var(--maroon-deep); }
.plan .price { font: 900 44px/1.1 "Fraunces", serif; color: var(--maroon-deep); margin: 14px 0 4px; }
.plan .price small { font: 700 16px "Nunito", "Mukta", sans-serif; color: var(--ink-muted); }
.plan .note { color: var(--ink-muted); margin: 0 0 20px; }
.plan.plus { background: var(--sanctum); color: #fff; border-color: var(--gold); position: relative; overflow: hidden; box-shadow: 0 30px 70px rgba(61, 15, 28, .45), 0 0 0 1px rgba(217, 164, 65, .6) inset; }
.plan.plus h3, .plan.plus .price { color: var(--gold-pale); }
.plan.plus .price small, .plan.plus .note { color: rgba(255, 255, 255, .7); }
.plan.plus .ribbon-tag { position: absolute; top: 22px; right: -38px; transform: rotate(45deg); background: var(--gold); color: var(--maroon-deep); font-weight: 900; font-size: 12px; letter-spacing: .1em; padding: 6px 46px; text-transform: uppercase; }
.plan .ticks li { font-size: 16px; }

/* Final call. */
.final { text-align: center; overflow: hidden; }
.final .chakra-bg { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); color: var(--gold); opacity: .1; }
.final .chakra-bg svg { width: 100%; height: 100%; animation: turn 90s linear infinite; }
.final h2 { font-size: clamp(36px, 5.6vw, 66px); }
.final p { color: rgba(255, 255, 255, .75); font-size: 19px; max-width: 32em; margin: 0 auto 34px; }

/* Footer. */
footer { background: #1d0a12; color: rgba(255, 255, 255, .65); padding: 60px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 26px 40px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--gold); }

/* Scroll reveal. */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ---------- Privacy policy ---------- */
.doc-hero { background: var(--sanctum); color: #fff; padding: calc(130px + env(safe-area-inset-top, 0px)) 0 90px; position: relative; overflow: hidden; }
.doc-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5.6vw, 64px); margin: 14px 0 12px; line-height: 1.05; }
html[lang="hi"] .doc-hero h1 { line-height: 1.25; font-weight: 800; }
.doc-hero p { color: rgba(255, 255, 255, .78); max-width: 40em; margin: 0; font-size: 18px; }
.doc-hero .chakra-corner { position: absolute; right: -160px; top: -120px; width: 520px; color: var(--gold); opacity: .14; }
.doc-hero .chakra-corner svg { animation: turn 120s linear infinite; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -50px; position: relative; z-index: 2; }
@media (max-width: 900px) { .glance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .glance { grid-template-columns: 1fr; } }
.glance div { background: var(--surface); border-radius: 22px; padding: 22px; border: 1.5px solid rgba(217, 164, 65, .5); box-shadow: 0 20px 44px rgba(92, 26, 43, .14); }
.glance svg { width: 30px; height: 30px; }
.glance b { display: block; font-family: var(--display); color: var(--maroon-deep); font-size: 19px; margin: 8px 0 4px; line-height: 1.2; }
.glance > div > span { color: var(--ink-muted); font-size: 15px; line-height: 1.45; display: block; }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding: 70px 0 110px; }
@media (max-width: 920px) { .doc { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: 100px; align-self: start; font-size: 15px; }
.toc b { display: block; font-family: var(--display); color: var(--maroon-deep); margin-bottom: 10px; font-size: 18px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--cream-deep); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-muted); font-weight: 700; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--saffron-deep); border-color: var(--saffron); }
.prose { max-width: 760px; min-width: 0; } /* lets a wide table scroll inside its box */
.doc > * { min-width: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 14px; scroll-margin-top: 100px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .n { font: 900 15px "Nunito", sans-serif; color: #fff; background: var(--cta); border-radius: 50%; width: 32px; height: 32px; display: inline-grid; place-items: center; flex: none; transform: translateY(-4px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); color: var(--maroon); font-size: 21px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3d322f; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin: 8px 0; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.prose a { color: var(--saffron-deep); font-weight: 700; }
.prose .callout { background: var(--cream-deep); border-left: 4px solid var(--gold); border-radius: 0 18px 18px 0; padding: 18px 22px; margin: 22px 0; }
.prose .callout p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(217, 164, 65, .35); vertical-align: top; }
.prose th { font-family: var(--display); color: var(--maroon-deep); background: rgba(251, 234, 212, .6); }
.table-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(217, 164, 65, .35); }
.table-scroll table { margin: 0; min-width: 560px; }
.updated { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--gold-pale); font-weight: 700; font-size: 14px; }

/* The bookshelf: the Gita open, the next stories as foil-stamped covers. */
.shelf-section { background: radial-gradient(ellipse at 50% 0%, #fff1dc 0%, var(--cream) 60%); }
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; perspective: 1400px; }
@media (max-width: 920px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
/* Five books: one row on wide screens; on two columns the last one sits centred. */
@media (min-width: 921px) { .shelf { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
@media (max-width: 920px) { .shelf > .book:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); } }
@media (max-width: 420px) { .shelf { gap: 14px; } }
.book {
  position: relative; aspect-ratio: 3 / 4.3; border-radius: 8px 22px 22px 8px; overflow: hidden; text-decoration: none; color: #fff;
  box-shadow: inset 10px 0 14px -6px rgba(0, 0, 0, .45), 0 24px 50px rgba(61, 15, 28, .28), 0 0 0 1px rgba(217, 164, 65, .35);
  transform: rotateY(-8deg); transform-origin: left center; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.book:hover { transform: rotateY(0deg) translateY(-8px); box-shadow: inset 10px 0 14px -6px rgba(0, 0, 0, .45), 0 34px 70px rgba(61, 15, 28, .38), 0 0 40px rgba(217, 164, 65, .35); }
.book::before { /* spine and foil rule */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .12) 60%, transparent);
}
.book::after { content: ""; position: absolute; inset: 12px 12px 12px 22px; border: 1.5px solid rgba(246, 227, 180, .55); border-radius: 4px 14px 14px 4px; z-index: 2; pointer-events: none; }
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(30, 6, 14, .7) 52%, rgba(30, 6, 14, .95)); }
.book.soon { background: radial-gradient(circle at 50% 32%, var(--c2), var(--c1) 70%); }
.book.soon .emblem { position: absolute; left: 50%; top: 30%; width: 38%; transform: translate(-50%, -50%); color: var(--gold-pale); opacity: .9; filter: drop-shadow(0 0 14px rgba(255, 220, 150, .45)); }
.book.soon::before { background: linear-gradient(90deg, rgba(0, 0, 0, .4), rgba(255, 255, 255, .1) 60%, transparent), repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, .04) 10px 20px); width: 100%; }
.book-title { position: relative; z-index: 3; padding: 0 22px 24px 30px; display: flex; flex-direction: column; gap: 2px; }
.book-title b { font-family: "Tiro", serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: var(--gold-pale); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.book-title > span { font-family: var(--display); font-weight: 700; font-size: 17px; }
.book-title small { color: rgba(255, 255, 255, .72); font-weight: 700; font-size: 13px; }
.book-tag { position: absolute; z-index: 3; top: 22px; right: 18px; padding: 5px 12px; border-radius: 999px; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .14); color: var(--gold-pale); border: 1px solid rgba(246, 227, 180, .5); backdrop-filter: blur(6px); }
html[lang="hi"] .book-tag { letter-spacing: 0; font-size: 13px; }
.book-tag.now { background: var(--sage); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(46, 125, 87, .45); }
.shelf-more { text-align: center; color: var(--ink-muted); font-weight: 700; margin: 34px 0 0; font-size: 17px; }
@media (max-width: 420px) { .book-title { padding: 0 14px 16px 24px; } .book-title > span { font-size: 15px; } .book-tag { top: 16px; right: 12px; font-size: 10.5px; } }

/* The app: two phones and the store buttons. */
.app-section { background: linear-gradient(180deg, var(--cream) 0%, #fdeedd 100%); overflow: hidden; }
.app-section h2 { text-align: left; }
.app-lead { color: var(--ink-muted); font-size: 18px; }
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 16px;
  background: #111; color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .22); position: relative; cursor: default;
}
.store svg { width: 30px; height: 30px; flex: none; }
.stores.big { gap: 16px; }
.stores.big .store { padding: 16px 30px 16px 22px; border-radius: 20px; gap: 14px; min-width: 284px; } /* one width, stacked or side by side */
.stores.big .store svg { width: 42px; height: 42px; }
.stores.big .store small { font-size: 13px; }
.stores.big .store b { font-size: 27px; }
.stores.on-dark { justify-content: center; }
.stores.on-dark .store { background: #0b0507; box-shadow: 0 0 0 1.5px rgba(217, 164, 65, .65), 0 18px 40px rgba(0, 0, 0, .45); }
@media (max-width: 460px) { .stores.big .store { width: 100%; justify-content: center; } }
.store small { display: block; font-size: 11.5px; font-weight: 700; opacity: .8; line-height: 1.1; }
.store b { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 20px; line-height: 1.15; }
.phones { position: relative; height: clamp(460px, 52vw, 640px); }
.phones-glow { position: absolute; inset: 10% 5%; background: radial-gradient(circle, rgba(255, 150, 70, .45), transparent 65%); filter: blur(10px); }
.phone {
  position: absolute; width: clamp(200px, 22vw, 280px); aspect-ratio: 520 / 1125; border-radius: 40px; padding: 10px;
  background: linear-gradient(145deg, #3a2a2e, #120a0c); box-shadow: 0 40px 80px rgba(61, 15, 28, .35), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; border-radius: 12px; background: #120a0c; z-index: 2; }
/* a status-bar strip above the app, so the notch sits on it, not on the app */
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; padding-top: 30px; background: #fff8ef; }
.phone.front { left: 8%; top: 4%; transform: rotate(-6deg); z-index: 2; animation: bob 7s ease-in-out infinite; }
.phone.back { right: 6%; top: 14%; transform: rotate(7deg); animation: bob 7s ease-in-out infinite; animation-delay: -3.5s; }
@media (max-width: 860px) { .phones { height: 560px; margin-top: 20px; } .phone.front { left: 4%; } .phone.back { right: 2%; } }
@media (max-width: 420px) { .phones { height: 470px; } .phone { width: 190px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .embers { display: none; }
}
