/* October17 website. One stylesheet for every page.
   Colours come from the app (src/theme.ts). Saffron is the one accent. */

@font-face { font-family: "Jakarta"; src: url(/fonts/jakarta-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/jakarta-600.woff) format("woff"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/jakarta-800.woff) format("woff"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "O17 Deva"; src: local("Noto Sans Devanagari"), local("NotoSansDevanagari-Regular"), url(/fonts/noto-deva-400.woff) format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: "O17 Deva"; src: local("Noto Sans Devanagari SemiBold"), local("NotoSansDevanagari-SemiBold"), url(/fonts/noto-deva-600.woff) format("woff"); font-weight: 500 800; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
/* Language showcase: Anek, cut down to just the letters of each headline (a few KB each). */
@font-face { font-family: "Show Deva"; src: url(/fonts/show-deva.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Beng"; src: url(/fonts/show-beng.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Telu"; src: url(/fonts/show-telu.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Taml"; src: url(/fonts/show-taml.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Gujr"; src: url(/fonts/show-gujr.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Knda"; src: url(/fonts/show-knda.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Mlym"; src: url(/fonts/show-mlym.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Guru"; src: url(/fonts/show-guru.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Show Orya"; src: url(/fonts/show-orya.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  --night: #16123A;
  --night2: #2B2580;
  --brand: #2A2370;
  --soft: #ECEBFA;
  --saffron: #F2A516;
  --saffron-deep: #B8520F;
  --orange1: #F8A73A;
  --orange2: #E5662A;
  --cream: #FFF4D6;
  --ink: #1D1A33;
  --ink-soft: #5B5873;
  --ink-faint: #6E6A88;
  --bg: #F6F7FC;
  --card: #FFFFFF;
  --line: #EEEDF6;
  --green: #17803D;
  --f: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hi: "O17 Deva", "Noto Sans Devanagari", "Jakarta", system-ui, sans-serif;
  --r: 22px;
  --shadow: 0 1px 2px rgba(22, 18, 58, .06), 0 10px 30px rgba(22, 18, 58, .08);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
html[data-ui="hi"] body { font-family: var(--f-hi); line-height: 1.75; } /* Hindi font loads only when Hindi is chosen */
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
:lang(hi) :is(h1, h2, h3), :is(h1, h2, h3):lang(hi) { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

/* English / Hindi: only the chosen language is shown */
html:not([data-ui="hi"]) [data-l="hi"], html[data-ui="hi"] [data-l="en"] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Top bar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 max(16px, env(safe-area-inset-left)); padding-top: env(safe-area-inset-top); color: var(--ink); transition: background-color .5s, color .5s, box-shadow .5s; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 247, 252, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(22, 18, 58, .06); transition: opacity .5s; }
.home .top:not(.light) { color: #fff; }
.home .top:not(.light)::before { opacity: 0; }
.home .top.scrolled:not(.light)::before { opacity: 1; background: rgba(22, 18, 58, .55); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; font-family: var(--f); }
.brand img { border-radius: 10px; }
.brand-name { font-family: var(--f); }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 99px; opacity: .85; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(127, 120, 200, .14); }
.lang-toggle { margin-left: auto; cursor: pointer; border: 1.5px solid currentColor; background: transparent; border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: .92rem; line-height: 1.3; opacity: .9; min-height: 40px; }
.lang-toggle:hover { opacity: 1; }
.lang-toggle [lang="hi"] { font-family: "Noto Sans Devanagari", system-ui, sans-serif; } /* system font: no download just for this word */
@media (min-width: 940px) { .nav { display: flex; } .lang-toggle { margin-left: 8px; } }

/* ---------- Buttons and store buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 99px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: linear-gradient(135deg, var(--orange1), var(--orange2)); color: #fff; box-shadow: 0 8px 24px rgba(229, 102, 42, .35); }
.btn-ink { background: var(--night); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-soft { background: var(--soft); color: var(--brand); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 182px; padding: 10px 20px 10px 16px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 10px 30px rgba(10, 6, 40, .25); transition: transform .25s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store .i { width: 26px; height: 26px; color: var(--brand); }
.store > span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.store b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; font-family: var(--f); }
.on-dark .store { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.on-dark .store .i { color: var(--saffron); }
.on-dark .store small { color: rgba(255, 255, 255, .75); }

/* ================= HOME ================= */

/* The sky: night, then dawn, then day, following the scroll (--p goes 0 to 1). */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--night); --p: 0; pointer-events: none; }
.sky > * { position: absolute; inset: 0; }
.sky-night { background: radial-gradient(130% 70% at 50% 108%, #3A2F8F 0%, #221B5C 40%, #16123A 75%); }
.sky-dawn { opacity: 0; background: linear-gradient(180deg, #221B5C 0%, #4A3488 26%, #9A4C8E 46%, #E0706A 64%, #F6A04A 82%, #FFD79A 100%); }
.sky-day { opacity: 0; background: linear-gradient(180deg, #FFF0D6 0%, #FCF5EC 35%, #F6F7FC 100%); }
.stars { width: 100%; height: 100%; fill: #fff; }
.sky-eve { opacity: 0; background: linear-gradient(180deg, #241D5E 0%, #6B3A86 26%, #C2527A 48%, #EE7A45 70%, #FFC46A 100%); }
.moon { inset: auto; top: 11vh; right: 14vw; left: auto; width: clamp(54px, 9vw, 92px); height: auto; opacity: 0; filter: drop-shadow(0 0 24px rgba(255, 236, 190, .55)); }
.stars .tw { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.sky .sun { --s: min(150vw, 980px); inset: auto; left: 50%; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
  background: radial-gradient(circle, #FFFBEF 0 9%, #FFE7B0 13%, rgba(255, 205, 120, .85) 19%, rgba(242, 165, 22, .5) 32%, rgba(229, 102, 42, .2) 50%, rgba(229, 102, 42, 0) 68%);
  transform: translate3d(0, 112vh, 0) scale(.75); will-change: transform; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 96px 20px 110px; --h: 0; }
.hero-logo { width: min(46vw, 210px); aspect-ratio: 1; filter: drop-shadow(0 24px 60px rgba(242, 140, 30, .45)); animation: logo-in 1.4s var(--ease) both; }
.hero-logo svg { width: 100%; height: 100%; overflow: visible; }
.hl-sun { transform: translateY(calc((1 - var(--h)) * 5px)); }
.hl-intro { animation: sun-up 2.2s .35s var(--ease) both; }
.hl-rays { opacity: calc(.25 + var(--h) * .75); transform-origin: 50px 56px; transform: scale(calc(.8 + var(--h) * .2)); }
@keyframes logo-in { from { opacity: 0; transform: translateY(18px) scale(.92); } }
@keyframes sun-up { from { transform: translateY(12px); } }
.hero h1 { font-size: clamp(2.5rem, 9.5vw, 5rem); font-weight: 800; letter-spacing: -.035em; margin: 34px 0 14px; max-width: 12ch; text-wrap: balance; animation: fade-up 1.2s .5s var(--ease) both; }
.hero h1:lang(hi), .hero h1 [lang="hi"] { letter-spacing: 0; font-size: clamp(2.2rem, 8.5vw, 4.4rem); }
.hero h1 em, .grad { font-style: normal; background: linear-gradient(100deg, #FFD166, var(--saffron) 45%, #FF8A4C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 36ch; font-size: clamp(1.05rem, 3.6vw, 1.25rem); color: rgba(255, 255, 255, .86); margin: 0 auto 30px; text-wrap: pretty; animation: fade-up 1.2s .7s var(--ease) both; }
.hero .stores { animation: fade-up 1.2s .9s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255, 255, 255, .7); font-size: .85rem; font-weight: 600; text-decoration: none; animation: fade-up 1s 1.6s both; }
.scroll-hint .i { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* Section headings */
.sec-head { max-width: 680px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 12px; }
.eyebrow:lang(hi), .eyebrow [lang="hi"] { letter-spacing: .02em; font-size: .9rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.h2 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; text-wrap: pretty; }

/* Four tabs: phone stays, the story scrolls */
.tabs { position: relative; padding: 16vh 16px 4vh; }
.tabs .sec-head { color: #fff; margin-bottom: 8vh; text-shadow: 0 2px 30px rgba(22, 18, 58, .4); }
.tabs .sub { color: rgba(255, 255, 255, .85); }
.stage { max-width: 1100px; margin: 0 auto; position: relative; }
.phone-wrap { position: sticky; top: 74px; height: 43vh; height: 43svh; display: flex; justify-content: center; z-index: 1; }
.phone { height: 100%; aspect-ratio: 9 / 19; padding: 2.4%; border-radius: 15% / 7.1%; background: linear-gradient(145deg, #2C2763, #0D0A24 60%); box-shadow: 0 40px 80px -20px rgba(10, 6, 40, .65), 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 60px rgba(242, 165, 22, .18); transform: rotate(-2deg); transition: transform 1.2s var(--ease); }
.phone.tilt-1 { transform: rotate(2deg); } .phone.tilt-2 { transform: rotate(-1deg); } .phone.tilt-3 { transform: rotate(1.5deg); }
.screen { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 12.6% / 6%; overflow: hidden; background: var(--bg); container-type: inline-size; isolation: isolate; }
.steps { position: relative; z-index: 2; }
.step-card { width: 100%; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 20px 20px 18px; box-shadow: 0 30px 60px -24px rgba(22, 18, 58, .45), 0 0 0 1px rgba(22, 18, 58, .04); }
/* Phones: the cards stack under the phone, each new one sliding over the last */
@media (max-width: 899px) {
  .phone-wrap { --ph: 38svh; height: var(--ph); }
  .step { display: contents; }
  .step-card { position: sticky; top: calc(88px + var(--ph, 38svh)); margin-top: 52svh; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .step:first-child .step-card { margin-top: 3svh; }
  .step.on .step-card { opacity: 1; pointer-events: auto; }
  .steps { --ph: 38svh; padding-bottom: 34svh; }
}
@media (max-width: 899px) and (max-height: 720px) { .phone-wrap, .steps { --ph: 31svh; } }
.no-js .step-card { opacity: 1; pointer-events: auto; }
.tab-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--soft); color: var(--brand); font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.tab-pill .i { width: 20px; height: 20px; }
.step h3 { font-size: clamp(1.4rem, 5vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 1rem; }
.step .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.step .more .i { width: 18px; height: 18px; transition: transform .25s; }
.step .more:hover .i { transform: translateX(4px); }
@media (min-width: 900px) {
  .stage { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .phone-wrap { grid-row: 1; grid-column: 1; align-self: start; top: calc(50vh - min(37vh, 340px)); height: min(74vh, 680px); }
  .steps { grid-row: 1; grid-column: 2; }
  .step { min-height: 100vh; display: flex; align-items: center; }
  .step-card { opacity: .35; transform: translateY(16px) scale(.98); transition: opacity .6s, transform .8s var(--ease); }
  .step.on .step-card { opacity: 1; transform: none; }
}

/* Inside the phone: everything is sized in "cqw" (1% of the screen width) so it scales with the phone. */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 3.6cqw; line-height: 1.35; color: var(--ink); opacity: 0; transform: translateY(3%) scale(.985); transition: opacity .55s, transform .7s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 3.2cqw 7cqw 0; height: 9cqw; font-size: 3.4cqw; font-weight: 700; color: #fff; flex: none; }
.sb i { display: inline-block; width: 12cqw; height: 2.6cqw; border-radius: 1cqw; background: linear-gradient(90deg, #fff 70%, rgba(255, 255, 255, .4) 0); }
.ah { background: linear-gradient(160deg, #3B40B8, #25217A); color: #fff; padding: 0 5cqw 5cqw; margin-top: -9cqw; padding-top: 11cqw; flex: none; }
.ah b { display: block; font-size: 7.4cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ah > span { font-size: 3.3cqw; opacity: .8; }
.sbody { flex: 1; padding: 4cqw; display: flex; flex-direction: column; gap: 3.2cqw; overflow: hidden; }
.chips2 { display: flex; gap: 2cqw; }
.chips2 > span { padding: 1.4cqw 3.6cqw; border-radius: 9cqw; background: #fff; font-weight: 700; font-size: 3.2cqw; box-shadow: 0 0 0 .3cqw var(--line) inset; }
.chips2 > span.on { background: var(--brand); color: #fff; box-shadow: none; }
.photo { position: relative; height: 47cqw; border-radius: 5cqw; overflow: hidden; background: linear-gradient(180deg, #2B2580 0%, #9A4C8E 45%, #F6A04A 80%, #FFD79A); flex: none; }
.photo svg { position: absolute; inset: auto 0 0; width: 100%; height: 60%; }
.photo .cap { position: absolute; left: 4cqw; right: 4cqw; bottom: 3.6cqw; color: #fff; }
.photo .yr { color: #FFD166; font-weight: 800; font-size: 3.2cqw; letter-spacing: .1em; }
.bar { display: block; height: 2.6cqw; border-radius: 2cqw; background: currentColor; opacity: .18; margin-top: 1.6cqw; }
.cap .bar { opacity: .85; background: #fff; }
.w90 { width: 90%; } .w70 { width: 70%; } .w55 { width: 55%; } .w40 { width: 40%; }
.mini { background: #fff; border-radius: 4.4cqw; padding: 3.4cqw 3.8cqw; display: flex; gap: 3cqw; align-items: center; box-shadow: 0 .4cqw 2cqw rgba(22, 18, 58, .06); flex: none; }
.mini .dot { width: 9cqw; height: 9cqw; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 4.6cqw; background: #FFF0D1; }
.mini .t { flex: 1; min-width: 0; }
.mini small { display: block; font-size: 2.8cqw; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.mini small:lang(hi), .mini small [lang="hi"] { letter-spacing: 0; text-transform: none; }
.mini b { font-size: 3.6cqw; font-weight: 700; }
.pan { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 2cqw; }
.pan div small { font-size: 2.7cqw; }
.tabbar { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 2.6cqw 2cqw 5cqw; background: #fff; box-shadow: 0 -.3cqw 0 var(--line); position: relative; z-index: 2; }
.tabbar > span { display: flex; flex-direction: column; align-items: center; gap: .8cqw; font-size: 2.7cqw; font-weight: 700; color: var(--ink-faint); transition: color .4s; }
.tabbar .i { width: 6.4cqw; height: 6.4cqw; stroke-width: 2; }
.tabbar > span.on { color: var(--brand); }
.tabbar > span.on .i { color: var(--saffron); }
.screens { position: relative; flex: 1; }
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.lcard { border-radius: 4.4cqw; padding: 3.6cqw; min-height: 38cqw; display: flex; flex-direction: column; gap: 1cqw; }
.lcard em { font-style: normal; font-size: 7cqw; }
.lcard b { font-size: 3.4cqw; }
.c1 { background: #EEF1FF; } .c2 { background: #E6F5EC; } .c3 { background: #FFF0D1; } .c4 { background: #F2ECFF; }
.gm { position: relative; border-radius: 5cqw; overflow: hidden; padding: 6cqw 5cqw; color: #fff; text-align: center; background: linear-gradient(180deg, #2B2580, #9A4C8E 48%, #F2A516 88%); min-height: 70cqw; display: flex; flex-direction: column; justify-content: flex-end; flex: none; }
.gm .gsun { position: absolute; left: 50%; top: 20%; width: 30cqw; height: 30cqw; margin-left: -15cqw; border-radius: 50%; background: radial-gradient(circle, #FFF7DE 0 35%, rgba(255, 214, 140, .6) 50%, transparent 70%); }
.gm b { position: relative; display: block; font-size: 8cqw; font-weight: 800; line-height: 1.15; }
.gm > span:not(.gsun) { position: relative; font-size: 3.6cqw; opacity: .9; }
.wa { display: flex; align-items: center; justify-content: center; gap: 2cqw; background: var(--green); color: #fff; font-weight: 700; border-radius: 9cqw; padding: 3cqw; font-size: 3.6cqw; flex: none; }
.wa .i { width: 4.6cqw; height: 4.6cqw; }
.city { display: inline-flex; align-items: center; gap: 1.4cqw; align-self: flex-start; background: #fff; border-radius: 9cqw; padding: 1.6cqw 3.6cqw 1.6cqw 2.6cqw; font-weight: 700; box-shadow: 0 0 0 .3cqw var(--line) inset; }
.city .i { width: 4.4cqw; height: 4.4cqw; color: var(--orange2); }
.ev { background: #fff; border-radius: 4.4cqw; padding: 3cqw; display: flex; gap: 3cqw; box-shadow: 0 .4cqw 2cqw rgba(22, 18, 58, .06); position: relative; flex: none; }
.ev .d { width: 12cqw; flex: none; border-radius: 3cqw; background: #FFF0D1; color: var(--saffron-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.6cqw 0; line-height: 1.1; }
.ev .d b { font-size: 5.4cqw; font-weight: 800; }
.ev .d small { font-size: 2.6cqw; font-weight: 700; text-transform: uppercase; }
.ev .t { flex: 1; padding-top: .6cqw; }
.ev .tag { position: absolute; right: 3cqw; top: 3cqw; font-size: 2.4cqw; font-weight: 800; color: var(--brand); background: var(--soft); border-radius: 2cqw; padding: .6cqw 1.8cqw; }

/* Tear-off calendar */
.tear-row { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.tear { position: relative; width: 108px; height: 120px; flex: none; perspective: 500px; }
.tear::before, .tear::after { content: ""; position: absolute; inset: 6px 4px -4px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.tear::after { inset: 3px 2px -2px; }
.cal { position: absolute; inset: 0; z-index: 1; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(22, 18, 58, .12); overflow: hidden; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
.cal .bind { width: 100%; height: 26px; background: linear-gradient(135deg, var(--orange1), var(--orange2)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; display: grid; place-items: center; text-transform: uppercase; }
.cal .bind:lang(hi), .cal [lang="hi"].bind { letter-spacing: 0; font-size: .8rem; }
.cal .num { font-size: 2.7rem; font-weight: 800; line-height: 1.05; margin-top: 8px; color: var(--ink); letter-spacing: -.04em; font-family: var(--f); }
.cal .wd { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.cal.fall { z-index: 3; animation: tear-off 1s cubic-bezier(.5, 0, .75, .3) forwards; }
@keyframes tear-off {
  0% { transform: rotate(0); }
  18% { transform: rotate(-6deg) translateY(2px); }
  100% { transform: translate(-40px, 220px) rotate(-38deg) rotateX(40deg); opacity: 0; }
}
.tear-btn { cursor: pointer; }
.tear-note { font-size: .92rem; color: var(--ink-soft); margin: 8px 0 0; min-height: 1.5em; }

/* Learn: cards that flip */
.flips { display: flex; gap: 10px; margin: 6px -20px 0; padding: 4px 20px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.flips::-webkit-scrollbar { display: none; }
.flip { position: relative; flex: 0 0 142px; height: 124px; scroll-snap-align: start; border: 0; padding: 0; background: none; cursor: pointer; perspective: 800px; text-align: left; border-radius: 16px; }
.flip > span { position: absolute; inset: 0; border-radius: 16px; padding: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s var(--ease); display: flex; flex-direction: column; }
.flip .front { justify-content: space-between; }
.flip .front em { font-style: normal; font-size: 1.8rem; line-height: 1; }
.flip .front b { font-size: .95rem; line-height: 1.25; }
.flip .front small { font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.flip .back { transform: rotateY(180deg); background: var(--night); color: #fff; font-size: .82rem; line-height: 1.4; justify-content: center; }
.flip .back:lang(hi), .flip .back [lang="hi"] { font-size: .84rem; line-height: 1.5; }
.flip[aria-pressed="true"] .front { transform: rotateY(-180deg); }
.flip[aria-pressed="true"] .back { transform: rotateY(0); }
@media (min-width: 900px) {
  .flips { height: 170px; margin: 18px 0 6px; padding: 0 0 0 10px; overflow: visible; }
  .flip { flex: none; width: 128px; height: 150px; margin-left: -18px; transition: transform .5s var(--ease); transform: rotate(var(--rot)) translateY(var(--y)); }
  .flip:nth-child(1) { --rot: -9deg; --y: 10px; margin-left: 0; } .flip:nth-child(2) { --rot: -3deg; --y: 0px; } .flip:nth-child(3) { --rot: 3deg; --y: 0px; } .flip:nth-child(4) { --rot: 9deg; --y: 10px; }
  .flips:hover .flip { margin-left: 4px; } .flips:hover .flip:first-child { margin-left: 0; }
  .flip:hover, .flip[aria-pressed="true"] { transform: rotate(0) translateY(-8px); z-index: 2; }
}

/* Good Morning: type a name */
.gm-try { display: grid; gap: 10px; margin-top: 4px; }
.gm-try label { font-weight: 700; font-size: .9rem; }
.gm-try input { width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #DCD9EE; background: #fff; color: var(--ink); }
.gm-try input:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(242, 165, 22, .2); }
.gm-try small { color: var(--ink-faint); font-size: .82rem; display: flex; gap: 6px; align-items: center; }
.gm-try small .i { width: 16px; height: 16px; }

/* Language showcase */
.langs { padding: 14vh 16px; }
.langs-card { position: relative; overflow: hidden; max-width: 1040px; margin: 0 auto; border-radius: 34px; padding: 56px 22px 40px; text-align: center; color: #fff; background: radial-gradient(90% 70% at 50% 120%, rgba(242, 165, 22, .45), transparent 60%), linear-gradient(170deg, #221B5C, var(--night) 70%); box-shadow: 0 50px 90px -40px rgba(22, 18, 58, .6); }
.show { position: relative; min-height: 2.9em; display: grid; place-items: center; font-size: clamp(2rem, 8.5vw, 4.2rem); font-weight: 700; line-height: 1.3; margin: 18px 0 8px; }
.show p { grid-area: 1 / 1; margin: 0; padding: 0 .1em; text-wrap: balance; display: none; }
.show p.on { display: block; animation: line-in .8s var(--ease) both; }
.show p.out { display: block; animation: line-out .5s ease-in both; }
@keyframes line-in { from { opacity: 0; transform: translateY(.4em); filter: blur(8px); } }
@keyframes line-out { to { opacity: 0; transform: translateY(-.35em); filter: blur(6px); } }
.show p:lang(en) { font-family: var(--f); font-weight: 800; letter-spacing: -.03em; }
.show :lang(bn) { font-family: "Show Beng", "Noto Sans Bengali", sans-serif; }
.show :lang(te) { font-family: "Show Telu", "Noto Sans Telugu", sans-serif; }
.show :lang(ta) { font-family: "Show Taml", "Noto Sans Tamil", sans-serif; }
.show :lang(gu) { font-family: "Show Gujr", "Noto Sans Gujarati", sans-serif; }
.show :lang(kn) { font-family: "Show Knda", "Noto Sans Kannada", sans-serif; }
.show :lang(ml) { font-family: "Show Mlym", "Noto Sans Malayalam", sans-serif; }
.show :lang(pa) { font-family: "Show Guru", "Noto Sans Gurmukhi", sans-serif; }
.show :lang(or) { font-family: "Show Orya", "Noto Sans Oriya", sans-serif; }
.show :lang(hi), .show :lang(mr) { font-family: "Show Deva", var(--f-hi); }
.show-en { font-size: .95rem; color: rgba(255, 255, 255, .6); min-height: 1.6em; margin-bottom: 26px; }
.lang-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto; }
.lang-chips button { cursor: pointer; border: 0; border-radius: 99px; padding: 8px 15px; min-height: 42px; font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.lang-chips button:hover { background: rgba(255, 255, 255, .16); }
.lang-chips button[aria-pressed="true"] { background: var(--saffron); color: var(--night); box-shadow: none; transform: translateY(-2px); }
.langs .note { margin: 28px auto 0; max-width: 40ch; color: rgba(255, 255, 255, .75); }

/* Scroll reveal (only when JavaScript runs and motion is fine) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Without JavaScript the sky stays at night, so the light sections get their own background */

/* ================= Inner pages ================= */
.page-hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 120px 20px 110px; background: linear-gradient(180deg, var(--night) 0%, #2B2580 45%, #9A4C8E 78%, #E0706A 100%); }
.page-hero::after { content: ""; position: absolute; left: 50%; bottom: -230px; width: 460px; height: 460px; margin-left: -230px; border-radius: 50%; background: radial-gradient(circle, #FFF4D6 0 14%, rgba(255, 205, 120, .8) 22%, rgba(242, 165, 22, .4) 40%, transparent 68%); animation: page-sun 2.4s var(--ease) both; }
@keyframes page-sun { from { transform: translateY(90px); opacity: .4; } }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.page-hero p { max-width: 40ch; margin: 12px auto 0; color: rgba(255, 255, 255, .86); font-size: 1.08rem; }
.prose { position: relative; z-index: 2; max-width: 760px; margin: -60px auto 72px; background: var(--card); border-radius: 28px; padding: 30px 22px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .prose { padding: 46px 52px; } }
.prose h2 { font-size: 1.35rem; font-weight: 800; margin: 36px 0 10px; letter-spacing: -.01em; }
.prose h2:first-child, .prose [data-l] > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3D3A55; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--saffron); font-weight: 800; }
.prose .updated { color: var(--ink-faint); font-size: .9rem; font-weight: 600; }
.box { background: var(--bg); border-radius: 18px; padding: 18px 20px; margin: 20px 0; }
.box.warm { background: linear-gradient(135deg, #FFF6E3, #FFEBD1); }
.box h3 { font-size: 1.05rem; margin-bottom: 6px; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: #E6F5EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rules { list-style: none; padding: 0 !important; counter-reset: r; display: grid; gap: 12px; }
.rules li { counter-increment: r; position: relative; padding: 16px 18px 16px 60px; background: var(--bg); border-radius: 18px; margin: 0; }
.rules li::before { content: counter(r); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--orange1), var(--orange2)); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--f); }
.rules b { display: block; color: var(--ink); }
.mail-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--night); color: #fff; text-decoration: none; margin: 18px 0; transition: transform .3s var(--ease); }
.mail-card:hover { transform: translateY(-2px); }
.mail-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 165, 22, .18); color: var(--saffron); flex: none; }
.mail-card small { display: block; opacity: .7; font-size: .82rem; }
.mail-card b { font-size: 1.05rem; word-break: break-all; font-family: var(--f); }
.contact-grid { display: grid; gap: 12px; margin: 18px 0; }
.contact-grid .mail-card { margin: 0; }
.contact-grid .mail-card.light { background: var(--bg); color: var(--ink); }
.contact-grid .mail-card.light .ic { background: var(--soft); color: var(--brand); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.dl dt { font-weight: 700; color: var(--ink); }
.dl dd { margin: 0; color: #3D3A55; word-break: break-word; }
.page .foot { margin-top: 0; }

/* ================= Shared-card page ================= */
.open-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 88px 18px 40px; background: linear-gradient(180deg, var(--night) 0%, #2B2580 40%, #9A4C8E 72%, #F2A04A 100%); position: relative; overflow: hidden; }
.open-page::before { content: ""; position: absolute; left: 50%; bottom: -320px; width: 640px; height: 640px; margin-left: -320px; border-radius: 50%; background: radial-gradient(circle, #FFF8E6 0 12%, rgba(255, 210, 130, .8) 22%, rgba(242, 165, 22, .35) 42%, transparent 68%); animation: page-sun 2.6s var(--ease) both; }
.open-card { position: relative; width: 100%; max-width: 400px; background: rgba(255, 255, 255, .97); border-radius: 30px; padding: 34px 24px 26px; text-align: center; box-shadow: 0 40px 80px -30px rgba(10, 6, 40, .6); animation: fade-up 1s .2s var(--ease) both; }
.open-logo { width: 84px; height: 84px; margin: -76px auto 18px; filter: drop-shadow(0 14px 30px rgba(229, 102, 42, .45)); }
.open-logo svg { width: 100%; height: 100%; }
.open-logo .hl-intro { animation: sun-up 2s .5s var(--ease) both; }
.open-card h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.open-card p { color: var(--ink-soft); margin-bottom: 22px; }
.open-card .btn { width: 100%; margin-top: 10px; }
.open-card .what { display: inline-block; margin-top: 18px; font-weight: 700; font-size: .95rem; }
.open-status { font-size: .88rem; color: var(--ink-faint); min-height: 1.4em; margin: 12px 0 0 !important; }
.open-page + .foot, .not-found + .foot { display: none; }

/* Footer */
.foot { background: var(--night); color: rgba(255, 255, 255, .78); padding: 56px 20px 28px; }
.foot-in { max-width: 1100px; margin: 0 auto; display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.1fr 2fr; } }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; font-size: .95rem; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
@media (min-width: 700px) { .foot-links { grid-template-columns: repeat(4, 1fr); } }
.foot-links h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--saffron); margin-bottom: 10px; font-weight: 800; }
.foot-links h2 [lang="hi"] { letter-spacing: 0; font-size: .9rem; text-transform: none; }
.foot-links a { display: block; color: rgba(255, 255, 255, .82); text-decoration: none; padding: 5px 0; font-size: .95rem; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-base { max-width: 1100px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* Our story page */
.chapter { position: relative; padding-left: 52px; margin-bottom: 34px; }
.chapter::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: -30px; width: 2px; background: linear-gradient(var(--saffron), rgba(242, 165, 22, 0)); }
.chapter:last-of-type::before { display: none; }
.ch-no { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--orange1), var(--orange2)); font-family: var(--f); }
.story-page .chapter h2 { margin-top: 2px; }
.story-lead { font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.story-sign { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-soft); }
.story-sign b { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.foot .stars-line { color: rgba(255, 255, 255, .6); font-size: .88rem; }

/* Questions & answers */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2370' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2px 18px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ================= One day: scenes ================= */
.scene { position: relative; padding: 16vh 16px; }
.scene-head { max-width: 700px; margin: 0 auto 40px; text-align: center; }
.scene-head .h2 { margin-top: 14px; }
.scene.evening .scene-head, .scene.dusk .scene-head, .scene.night .scene-head { color: #fff; text-shadow: 0 2px 30px rgba(22, 18, 58, .35); }
.scene.evening .sub, .scene.dusk .sub, .scene.night .sub { color: rgba(255, 255, 255, .88); }
.clock { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .85); color: var(--ink); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(22, 18, 58, .08); }
.clock.dark { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.step-card .clock { background: var(--soft); color: var(--brand); box-shadow: none; margin-bottom: 12px; }
.hero-clock { margin: 28px 0 0; animation: fade-up 1.2s .45s var(--ease) both; }
.hero h1 { margin-top: 16px; }
.center { text-align: center; }
.flip-x { transform: scaleX(-1); }
.no-js .scene.ink { background: var(--bg); }

/* The phone in Elders' View */
.screen.elder .ah b { font-size: 9.6cqw; }
.screen.elder .gm b { font-size: 11.5cqw; }
.screen.elder .gm > span:not(.gsun) { font-size: 5cqw; }
.screen.elder .wa { padding: 5cqw; font-size: 5.6cqw; }
.screen.elder .wa .i { width: 6.4cqw; height: 6.4cqw; }
.screen.elder .mini small { font-size: 3.8cqw; }
.gm b, .gm > span:not(.gsun), .wa, .ah b { transition: font-size .5s var(--ease), padding .5s var(--ease); }
.gm-try .ed-toggle { justify-self: start; }
.ed-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; border: 0; background: #fff; border-radius: 99px; padding: 8px 18px 8px 8px; min-height: 48px; font-weight: 700; box-shadow: 0 0 0 1.5px #DCD9EE inset; }
.ed-switch { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: #D6D3E8; transition: background-color .3s; }
.ed-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.ed-toggle[aria-pressed="true"] .ed-switch { background: var(--green); }
.ed-toggle[aria-pressed="true"] .ed-switch::after { transform: translateX(18px); }

/* The phone's Today screen shows the real story */
.photo .pemoji { position: absolute; right: 4cqw; top: 3cqw; font-size: 11cqw; line-height: 1; }
.photo .ptitle { display: block; font-size: 4.2cqw; line-height: 1.25; margin-top: 1cqw; }
.photo.loaded .bar { display: none; }
.photo.loaded svg { opacity: .35; }

/* 8:45 AM story card */
.story-card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(22, 18, 58, .45), 0 0 0 1px rgba(22, 18, 58, .04); }
.sc-art { position: relative; height: 150px; display: flex; align-items: flex-end; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, #3B40B8, #25217A); }
.sc-emoji { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 4.2rem; line-height: 1; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .25)); }
.sc-label { font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #FFE3A3; max-width: 70%; }
.sc-label:lang(hi), html[data-ui="hi"] .sc-label { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.sc-body { padding: 24px 22px 26px; }
@media (min-width: 700px) { .sc-body { padding: 30px 36px 32px; } .sc-art { height: 180px; padding: 22px 36px; } }
.sc-body h3 { font-size: clamp(1.4rem, 4.8vw, 1.9rem); font-weight: 800; margin-bottom: 12px; }
.sc-body > p { color: #3D3A55; font-size: 1.04rem; }
.sc-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.sc-facts span { background: var(--soft); color: var(--brand); font-weight: 700; font-size: .85rem; border-radius: 99px; padding: 6px 12px; }
.sc-dyk { background: linear-gradient(135deg, #FFF6E3, #FFEBD1); border-radius: 18px; padding: 16px 18px; margin-bottom: 18px; }
.sc-dyk b { color: var(--saffron-deep); }
.sc-dyk p { margin: 4px 0 0; color: #3D3A55; }
.quiz { border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; }
.quiz-h { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.quiz-h [lang="hi"] { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.quiz-q { font-weight: 700; font-size: 1.08rem; margin: 6px 0 12px; color: var(--ink); }
.quiz-opts { display: grid; gap: 8px; }
@media (min-width: 600px) { .quiz-opts { grid-template-columns: 1fr 1fr; } }
.quiz-opts button { text-align: left; cursor: pointer; border: 0; border-radius: 14px; padding: 12px 14px; min-height: 48px; background: var(--bg); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .3s, box-shadow .3s, transform .2s; }
.quiz-opts button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px #C9C5E6; }
.quiz-opts button.right { background: #E6F5EC; box-shadow: inset 0 0 0 2px var(--green); color: #0F5C2B; }
.quiz-opts button.wrong { background: #FDECEA; box-shadow: inset 0 0 0 2px #D9534F; color: #8A1C17; }
.quiz-opts button:disabled { cursor: default; }
.quiz-fb { margin: 12px 0 0 !important; font-weight: 700; min-height: 1.4em; }
.sc-more { margin: 18px 0 0 !important; color: var(--ink-faint); font-weight: 600; font-size: .92rem; }

/* 1:00 PM languages (the card sits on a bright sky now) */
.langs { padding-top: 14vh; }

/* 5:00 PM events */
.ev-fan { max-width: 640px; margin: 0 auto 28px; display: grid; gap: 12px; }
.evc { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 20px 40px -24px rgba(60, 20, 40, .55); }
.evc:nth-child(1) { transform: rotate(-1.2deg); } .evc:nth-child(3) { transform: rotate(1deg); }
.js .evc.rv.in:nth-child(1) { transform: rotate(-1.2deg); } .js .evc.rv.in:nth-child(3) { transform: rotate(1deg); }
.evd { flex: none; width: 60px; border-radius: 14px; background: #FFF0D1; color: var(--saffron-deep); display: flex; flex-direction: column; align-items: center; padding: 8px 0; line-height: 1.1; }
.evd b { font-size: 1.5rem; font-weight: 800; font-family: var(--f); }
.evd small { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.evt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.evt b { font-size: 1.05rem; }
.evt small { display: flex; align-items: center; gap: 4px; color: var(--ink-soft); font-size: .88rem; }
.evt small .i { width: 16px; height: 16px; color: var(--orange2); }
.evp, .evtag { flex: none; font-size: .78rem; font-weight: 800; border-radius: 10px; padding: 5px 10px; }
.evp { background: #E6F5EC; color: var(--green); }
.evtag { background: var(--soft); color: var(--brand); }

/* 7:30 PM the Kahani book */
.book { max-width: 620px; margin: 0 auto; perspective: 1400px; }
.book-pages { position: relative; min-height: 340px; }
.bpage { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: center; padding: 30px 26px; border-radius: 8px 24px 24px 8px; background: #FFFBF2; color: #3A2E22; box-shadow: inset 14px 0 18px -14px rgba(90, 60, 20, .35), 0 30px 60px -30px rgba(10, 6, 40, .7); font-size: 1.12rem; line-height: 1.75; transform-origin: 0 50%; }
.bpage:lang(hi), html[data-ui="hi"] .bpage { line-height: 1.9; }
.bpage.on { display: flex; animation: page-in .6s var(--ease) both; }
.bpage.back-in { animation-name: page-back; }
@keyframes page-in { from { opacity: 0; transform: rotateY(-22deg) translateX(14px); } }
@keyframes page-back { from { opacity: 0; transform: rotateY(18deg) translateX(-14px); } }
.bpage.cover { align-items: center; text-align: center; color: #fff; background: linear-gradient(150deg, var(--bk-from, #1D4ED8), var(--bk-to, #1E3A8A)); }
.bk-emoji { font-size: 4rem; line-height: 1; margin-bottom: 14px; }
.bk-title { font-size: 1.7rem; font-weight: 800; line-height: 1.25; max-width: 16ch; }
.bk-sub { margin-top: 10px; opacity: .8; font-size: .95rem; }
.bpage .moral-h { font-weight: 800; color: var(--saffron-deep); font-size: .95rem; margin-bottom: 6px; }
.bpage .pno { position: absolute; bottom: 12px; right: 18px; font-size: .8rem; color: #A08C70; }
.book-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.bk-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0; border-radius: 99px; padding: 10px 18px; min-height: 46px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.bk-btn.next { background: linear-gradient(135deg, var(--orange1), var(--orange2)); box-shadow: 0 8px 22px rgba(229, 102, 42, .4); }
.bk-btn:disabled { opacity: .35; cursor: default; }
.bk-btn .i { width: 18px; height: 18px; }
.bk-dots { display: flex; gap: 6px; }
.bk-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background-color .3s, transform .3s; }
.bk-dots i.on { background: #FFD166; transform: scale(1.3); }

/* 9:30 PM good night */
.gn-card { position: relative; width: 230px; margin: 0 auto 64px; border-radius: 24px; padding: 70px 16px 22px; text-align: center; color: #fff; background: linear-gradient(180deg, #0E0B2A, #2B2580); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.gn-moon { position: absolute; left: 50%; top: 18px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; box-shadow: inset -10px -4px 0 0 #FFF4D6; transform: rotate(-20deg); filter: drop-shadow(0 0 12px rgba(255, 236, 190, .6)); }
.gn-card b { display: block; font-size: 1.5rem; font-weight: 800; }
.gn-card > span:last-child { opacity: .8; font-size: .9rem; }
.promise-h { text-align: center; color: #fff; font-size: clamp(1.3rem, 4.4vw, 1.7rem); font-weight: 800; margin-bottom: 22px; }
.promises { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { background: rgba(255, 255, 255, .07); border-radius: var(--r); padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; }
.promise .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(242, 165, 22, .16); color: var(--saffron); }
.promise .ic .i { width: 24px; height: 24px; }
.promise h3 { font-size: 1.08rem; font-weight: 800; margin: 2px 0 4px; }
.promise p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .96rem; }
.get-box { max-width: 640px; margin: 80px auto 0; text-align: center; color: #fff; }
.get-box .get-logo { width: 88px; margin: 0 auto 22px; filter: drop-shadow(0 18px 40px rgba(242, 140, 30, .45)); }
.get-box .sub { color: rgba(255, 255, 255, .85); margin: 12px auto 28px; }
.get-box .fine { margin-top: 20px; color: rgba(255, 255, 255, .6); font-size: .9rem; font-weight: 600; }
.story-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #FFD166; font-weight: 700; text-decoration: none; }
.story-link .i { width: 18px; height: 18px; transition: transform .25s; }
.story-link:hover .i { transform: translateX(4px); }
.foot { background: #0E0B26; }

/* Calm mode: for people who switch off animations on their phone */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hl-sun { transform: none; }
  .hl-rays { opacity: 1; transform: none; }
  .phone, .phone[class*="tilt"] { transform: none; }
  .js .rv { opacity: 1; transform: none; }
}


