@font-face { font-family: 'Mukta'; font-weight: 400; font-display: swap; src: url(/fonts/Mukta-Regular.woff) format('woff'); }
@font-face { font-family: 'Mukta'; font-weight: 600; font-display: swap; src: url(/fonts/Mukta-SemiBold.woff) format('woff'); }
@font-face { font-family: 'Mukta'; font-weight: 700; font-display: swap; src: url(/fonts/Mukta-Bold.woff) format('woff'); }
@font-face { font-family: 'Mukta'; font-weight: 800; font-display: swap; src: url(/fonts/Mukta-ExtraBold.woff) format('woff'); }
/* Headings: Sura Bold (every jodakshar joins, Marathi digits). */
@font-face { font-family: 'Display'; font-display: swap; src: url(/fonts/Sura-Bold.woff) format('woff'); }
:root {
  --maroon: #5B0F1A; --maroon2: #8E1B2C; --deep: #2E050C; --kumkum: #B3122E; --saffron: #E8731C;
  --gold: #C9962B; --gold2: #E9B949; --gold3: #FFE7A8; --cream: #FFF6E6; --paper: #FFFBF3;
  --ink: #2A1410; --muted: #7A5A48; --line: #EBD8B5; --green: #2E7D32;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-synthesis: none; font-family: 'Mukta', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.gold-text { background: linear-gradient(180deg, #FFF1B8 0%, #F4C45A 45%, #C98A1B 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  /* the gradient only paints inside the box; give tall matras (ि, ी) room above the line */
  padding-top: .28em; padding-bottom: .06em; }

/* toran strip */
.toran { height: 46px; background-repeat: repeat-x; background-size: auto 46px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 800; font-size: 19px; color: #3A1300; padding: 15px 26px; border-radius: 999px;
  background: linear-gradient(180deg, #FFE08A 0%, #F4B73A 55%, #E39A12 100%);
  box-shadow: 0 6px 0 #9C5A08, 0 12px 28px rgba(0,0,0,.25); transition: transform .12s ease, box-shadow .12s ease; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #9C5A08, 0 6px 14px rgba(0,0,0,.25); }
.btn small { font-weight: 600; font-size: 14px; opacity: .8; }
.btn.block { width: 100%; }

/* hero */
.hero { background: radial-gradient(90% 70% at 50% 20%, #A3233A 0%, var(--maroon) 55%, var(--deep) 100%); color: var(--cream); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 34px; padding-bottom: 60px; }
.hero .k { font-weight: 700; letter-spacing: .12em; color: var(--gold2); font-size: 15px; }
.hero h1 { font-family: 'Display', serif; font-weight: 400; font-size: clamp(54px, 9vw, 92px); line-height: 1.15; margin: 0 0 2px; }
.hero .yr { font-family: 'Display', serif; font-size: clamp(30px, 5vw, 44px); color: var(--gold2); }
.hero p.sub { font-size: 20px; color: #FBE3C2; margin: 14px 0 22px; max-width: 520px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pill { border: 1px solid rgba(233,185,73,.55); background: rgba(255,231,168,.08); color: var(--gold3); border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: 15px; }
.price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.price { font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }

.trust { margin-top: 16px; font-size: 14.5px; color: #F1CFAE; display: flex; gap: 14px; flex-wrap: wrap; }
.trust span::before { content: '✓ '; color: var(--gold2); font-weight: 800; }

/* booklet: stacked pages; the top leaf turns around its left edge (the spine) */
.book { position: relative; width: min(330px, 74vw); aspect-ratio: 9 / 16; max-width: 100%; margin: 0 auto; }
.book::before, .book::after { content: ''; position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; background: #EAD6B0; }
.book::before { transform: translate(9px, 9px); background: #D9C29A; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.book::after { transform: translate(4.5px, 4.5px); }
.leaves { position: absolute; inset: 0; z-index: 1; perspective: 1800px; perspective-origin: 0% 50%; }
.leaf { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; }
.leaf .face { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf .front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leaf .back { transform: rotateY(180deg); background: linear-gradient(90deg, #E9D5AE, #FBF1DE 70%, #F3E3C4); }
.leaf .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,20,10,0) 0%, rgba(60,20,10,.35) 100%); opacity: 0; }
/* fade the faces, never the leaf: opacity on a preserve-3d element flattens it and shows the page mirrored */
.leaf.turning { animation: turn 1.5s cubic-bezier(.45,.05,.3,1) forwards; }
.leaf.turning .face { animation: fade 1.5s ease forwards; }
.leaf.turning .shade { animation: shade 1.5s ease forwards; }
@keyframes turn { 0% { transform: rotateY(0); } 100% { transform: rotateY(-180deg); } }
@keyframes fade { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes shade { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 1; } }
.spine { position: absolute; top: 0; bottom: 0; left: 0; width: 18px; z-index: 50; pointer-events: none; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(40,10,5,.45), rgba(40,10,5,0)); }
.glow-diya { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); width: 260px; height: 120px; background: radial-gradient(closest-side, rgba(255,200,90,.35), transparent); pointer-events: none; }

/* countdown */
.count { background: var(--maroon); color: var(--gold3); text-align: center; padding: 14px 16px; font-weight: 700; font-size: 17px; border-top: 1px solid rgba(233,185,73,.3); }
.count b { color: #fff; font-size: 22px; }

/* sections */
section { padding: 64px 0; }
.sec-k { color: var(--saffron); font-weight: 800; letter-spacing: .1em; font-size: 14px; text-align: center; }
.sec-h { font-family: 'Display', serif; font-weight: 400; color: var(--maroon); font-size: clamp(32px, 5vw, 46px); text-align: center; line-height: 1.15; margin: 4px 0 10px; }
.sec-p { text-align: center; color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto 34px; }

/* numbers grid */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.num { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; text-align: center; box-shadow: 0 3px 0 #F1E2C6; }
.num b { display: block; font-family: 'Display', serif; font-weight: 400; font-size: 48px; line-height: 1; color: var(--kumkum); }
.num .t { font-weight: 800; font-size: 18px; color: var(--maroon); margin-top: 8px; line-height: 1.25; }
.num .d { font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* peek strip */
.peek { background: linear-gradient(180deg, var(--cream), #FBE6C4); }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 22px; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { height: 8px; } .strip::-webkit-scrollbar-thumb { background: #E3C48E; border-radius: 8px; }
.shot { flex: 0 0 auto; width: 230px; scroll-snap-align: center; }
.shot img { border-radius: 18px; box-shadow: 0 14px 30px rgba(91,15,26,.22); background: #fff; }
.shot.a4 { width: 290px; } .shot.a4 img { border-radius: 8px; }
.shot .c { font-weight: 700; font-size: 15px; color: var(--maroon); margin-top: 10px; text-align: center; line-height: 1.3; }
.hint { text-align: center; color: var(--muted); font-size: 14px; }

/* greetings */
.greets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.greets img { border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* who */
.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.who div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; font-size: 17px; }
.who b { color: var(--maroon); display: block; font-size: 18px; margin-bottom: 2px; }

/* steps */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: h; }
.how div { background: #fff; border-radius: 20px; padding: 22px; border: 1px solid var(--line); position: relative; }
.how div::before { counter-increment: h; content: counter(h, devanagari); position: absolute; top: -16px; left: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--kumkum); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.how b { display: block; font-size: 19px; color: var(--maroon); margin: 6px 0 4px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; color: var(--maroon); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--saffron); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 0 14px; font-size: 16.5px; color: #4a2c20; }

/* final cta */
.final { background: radial-gradient(90% 90% at 50% 0%, #A3233A 0%, var(--maroon) 55%, var(--deep) 100%); color: var(--cream); text-align: center; }
.final h2 { font-family: 'Display', serif; font-weight: 400; font-size: clamp(36px, 6vw, 56px); line-height: 1.15; }
.final p { color: #FBE3C2; font-size: 19px; margin: 10px auto 26px; max-width: 560px; }

footer { background: var(--deep); color: #C9A68C; text-align: center; padding: 26px 16px 100px; font-size: 14px; }
footer a { color: var(--gold2); }

/* sticky buy bar (mobile) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(46,5,12,.96); backdrop-filter: blur(8px); border-top: 1px solid rgba(233,185,73,.35);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform .25s ease; }
.buybar.show { transform: none; }
.buybar .p { color: #fff; font-weight: 800; font-size: 22px; line-height: 1.1; }
.buybar .p small { display: block; color: #E8C9AE; font-weight: 600; font-size: 12.5px; }
.buybar .btn { padding: 11px 20px; font-size: 17px; box-shadow: 0 4px 0 #9C5A08; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 22px; gap: 34px; }
  .hero p.sub { margin-left: auto; margin-right: auto; font-size: 18px; }
  .pills, .price-row, .trust { justify-content: center; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .num b { font-size: 40px; }
  .greets { grid-template-columns: repeat(3, 1fr); }
  .who, .how { grid-template-columns: 1fr; }
  .how { gap: 26px; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { .leaf.turning, .leaf.turning .face, .leaf.turning .shade { animation: none; } html { scroll-behavior: auto; } }
@media (min-width: 861px) { .buybar { display: none; } footer { padding-bottom: 30px; } }

/* UPI pay sheet: bottom sheet on phones, centred card on desktop */
[hidden] { display: none !important; }
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(30, 5, 10, .62); backdrop-filter: blur(3px); }
.sheet-card { position: relative; width: 100%; max-width: 460px; max-height: 94vh; overflow-y: auto; background: var(--paper); border-radius: 24px 24px 0 0;
  padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0,0,0,.35); animation: sheet-up .28s ease-out; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); color: var(--maroon); font-size: 24px; line-height: 1; cursor: pointer; }
.ps-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.ps-head img { width: 54px; border-radius: 6px; box-shadow: 0 4px 10px rgba(91,15,26,.25); }
.ps-t { font-family: 'Display', serif; font-size: 22px; color: var(--maroon); line-height: 1.2; }
.ps-p { font-weight: 800; font-size: 26px; color: var(--kumkum); line-height: 1.1; }
.ps-code { font-size: 13.5px; color: var(--muted); }
.ps-code b { color: var(--ink); letter-spacing: .06em; }
.ps-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0 4px; }
.ps-n { width: 32px; height: 32px; border-radius: 50%; background: var(--kumkum); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.ps-body > b { display: block; font-size: 18px; color: var(--maroon); margin-bottom: 8px; }
.ps-body p { font-size: 15.5px; color: #4a2c20; margin-bottom: 10px; }
.ps-body .btn { font-size: 17px; padding: 13px 18px; box-shadow: 0 4px 0 #9C5A08; }
.btn.wa { background: linear-gradient(180deg, #3BD671, #1FAF54); color: #05310F; box-shadow: 0 4px 0 #13803B; }
.ps-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 12px 0 8px; text-align: center; font-size: 13.5px; color: var(--muted); }
.ps-qr #ps-qr { width: 196px; height: 196px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.ps-qr svg { width: 100%; height: 100%; display: block; }
.ps-vpa { font-size: 14.5px; color: #4a2c20; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ps-vpa code { font-family: ui-monospace, Menlo, monospace; background: var(--cream); padding: 2px 8px; border-radius: 6px; font-size: 14px; word-break: break-all; }
.ps-vpa button { border: 1px solid var(--gold); background: #fff; color: var(--maroon); border-radius: 999px; padding: 3px 12px; font-family: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.ps-card { display: block; text-align: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--maroon); font-weight: 700; font-size: 15px; text-decoration: none; }
@media (min-width: 861px) { .sheet { align-items: center; } .sheet-card { border-radius: 24px; } }
.ps-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ps-apps a { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; min-height: 70px; padding: 10px 6px; border-radius: 14px; background: #fff; border: 1.5px solid var(--gold);
  color: var(--maroon); font-weight: 800; font-size: 15px; text-decoration: none; text-align: center; box-shadow: 0 3px 0 #E7CFA5; }
.ps-apps a:active { transform: translateY(2px); box-shadow: 0 1px 0 #E7CFA5; }

.app-logo { width: 26px; height: 26px; display: block; }
.minis { display: inline-flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px 7px; margin-right: 4px; }
.app-mini { width: 17px; height: 17px; display: block; }
/* Google Pay and Paytm are wordmarks: wider box, trimmed vertical air */
.app-logo.paytm { width: 62px; height: 26px; }
.app-mini.paytm { width: 34px; height: 14px; }
.minis { align-items: center; overflow: hidden; height: 25px; }

/* step 2: spelled out for first-time WhatsApp/UPI users */
.ps-how { margin: 0 0 10px; padding-left: 0; list-style: none; counter-reset: h; }
.ps-how li { counter-increment: h; position: relative; padding: 6px 0 6px 30px; font-size: 16px; line-height: 1.45; color: #3d2218; border-bottom: 1px dashed var(--line); }
.ps-how li:last-child { border-bottom: 0; }
.ps-how li::before { content: counter(h, devanagari); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #E3F7EA; color: #13803B; font-weight: 800; font-size: 13.5px; display: grid; place-items: center; }
.ps-how b.g { color: #13803B; }
.ps-back { background: #E3F7EA; color: #0E5A2A; border: 1.5px solid #3BD671; border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: 15.5px; margin-bottom: 10px; }
.ps-point { text-align: center; font-weight: 800; font-size: 16px; color: #13803B; margin-bottom: 6px; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.btn.wa { font-size: 18px; padding: 15px 18px; gap: 10px; }
.wa-logo { width: 24px; height: 24px; flex: none; }
.btn.wa.pulse { animation: wa-pulse 1s ease-out 3; }
@keyframes wa-pulse { 0% { box-shadow: 0 4px 0 #13803B, 0 0 0 0 rgba(59,214,113,.7); } 100% { box-shadow: 0 4px 0 #13803B, 0 0 0 16px rgba(59,214,113,0); } }
@media (prefers-reduced-motion: reduce) { .ps-point, .btn.wa.pulse { animation: none; } }

/* compact sheet: both steps fit one phone screen */
.sheet-card { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.ps-head { gap: 10px; padding: 0 40px 10px 0; }
.ps-head img { width: 38px; }
.ps-t { font-size: 19px; }
.ps-t .ps-p { font-family: 'Mukta', sans-serif; font-weight: 800; font-size: 19px; color: var(--kumkum); }
.ps-code { font-size: 12.5px; }
.ps-step { padding: 10px 0 2px; gap: 10px; grid-template-columns: 28px minmax(0, 1fr); }
.ps-n { width: 28px; height: 28px; font-size: 15px; }
.ps-body > b { font-size: 17px; margin-bottom: 6px; }
.ps-apps a { min-height: 60px; padding: 7px 4px; gap: 3px; font-size: 14px; }
.ps-vpa { margin-top: 8px; font-size: 13.5px; }
.ps-qrtoggle { display: block; margin: 6px auto 0; border: 0; background: none; color: var(--maroon); font-family: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; }
.ps-how li { padding: 3px 0 3px 28px; font-size: 15.5px; border-bottom: 0; }
.ps-how li::before { top: 5px; width: 20px; height: 20px; font-size: 12.5px; }
.ps-point { font-size: 15px; margin: 2px 0 4px; }
.btn.wa { padding: 13px 16px; }
.ps-card { margin-top: 10px; padding-top: 8px; }
.sheet-card { max-height: 97vh; max-height: 97dvh; }
@media (max-height: 600px) {
  .ps-step { padding-top: 7px; }
  .ps-apps a { min-height: 54px; padding: 5px 4px; }
  .ps-how li { padding: 2px 0 2px 28px; font-size: 15px; }
  .ps-head { padding-bottom: 7px; }
}
