@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/notosansdevanagari-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 750;
  font-display: swap;
  src: url(../fonts/playfair-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 750;
  font-display: swap;
  src: url(../fonts/playfair-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #1b1f4b;
  --body: #484761;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --saffron: #f28c28;
  --gold: #d4a017;
  --rust: #843f19;
  --line: #e9dccb;
  --heading: "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --devanagari: "Noto Sans Devanagari", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--paper); color: var(--body); font: 1rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0 0 .65em; color: var(--ink); font-family: var(--heading); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 8vw, 5.55rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.35em; }
:focus-visible { outline: 3px solid #9b4b12; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2rem, 75rem); margin-inline: auto; }
.measure { max-width: 72ch; }
.skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 10; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 5; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; min-height: 4.6rem; padding-block: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; color: var(--ink); font: 700 1.22rem var(--heading); text-decoration: none; white-space: nowrap; }
.brand img { flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: .2rem .85rem; width: 100%; }
.site-nav a { color: var(--ink); text-decoration: none; padding: .45rem .18rem; font-size: .9rem; font-weight: 600; }
.site-nav a:hover, .site-nav [aria-current] { color: var(--rust); text-decoration: underline; }
.menu-toggle { margin-left: auto; }
.nav-download { margin-left: auto; }
.menu-toggle:not([hidden]) ~ .nav-download { margin-left: 0; }
.button, .chip { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .95rem; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: white; font-size: .9rem; font-weight: 700; text-decoration: none; line-height: 1.3; }
.button:hover, .chip:hover { background: #31386e; color: white; }
.button-primary { background: var(--saffron); color: var(--ink); }
.button-primary:hover { background: #ffad5c; color: var(--ink); }
.button-outline, .chip { border-color: #c8b6a4; background: var(--paper); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: white; }
.actions, .filters { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.eyebrow { margin-bottom: .8rem; color: var(--rust); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 88% 40%, #ffe6c8, transparent 62%), var(--cream); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; align-items: center; gap: 2rem; padding-block: clamp(3rem, 8vw, 7rem); }
.hero h1 { margin-bottom: .32em; }
.hero h1 em { color: #9a4b22; font-weight: 600; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 55ch; }
.hero-copy .actions { margin: 1.55rem 0 1rem; }
.hero-note { font-size: .9rem; color: var(--body); }
.chat-demo { position: relative; z-index: 0; overflow: hidden; padding: clamp(1rem, 3vw, 2.2rem); border: 1px solid #696b91; border-radius: 1.65rem; background: linear-gradient(145deg,#302f62,var(--ink) 72%); color: #fff7ec; box-shadow: 0 24px 45px #1b1f4b30; }
.chat-demo::before { content: ""; position: absolute; z-index: -1; width: 22rem; height: 22rem; inset: -8rem -7rem auto auto; background: url("../images/mandala.svg") center/contain no-repeat; opacity: .2; pointer-events: none; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.25rem; border-bottom: 1px solid #d4a01775; }
.chat-head strong, .chat-head small { display: block; }
.chat-head small, .chat-demo figcaption { color: #f0dcf6; font-size: .85rem; }
figure.chat-demo { margin: 0; }
.bubble { width: fit-content; max-width: 94%; padding: .8rem 1rem; margin-block: 1rem; border-radius: 1rem; font-size: .95rem; }
.bubble-user { margin-left: auto; background: #ffdcad; color: var(--ink); border-bottom-right-radius: .25rem; animation: appear .55s ease both; }
.bubble-reply { background: #fff8ec; color: var(--ink); border-bottom-left-radius: .25rem; animation: appear .65s .35s ease both; }
.bubble span { display: block; font-weight: 750; font-size: .82rem; margin-bottom: .3rem; }
.chat-demo figcaption { margin-top: 1.15rem; }
@keyframes appear { from { opacity: 0; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.tint { background: var(--cream); }
.section-intro { max-width: 66ch; margin-bottom: 1.5rem; }
.kids-feature { display: grid; align-items: center; gap: 1.5rem; }
.kids-feature img { display: block; width: min(100%, 22rem); border-radius: 1.1rem; }
.daily-feature { display: grid; align-items: center; gap: 1.5rem; }
.daily-art { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--paper); }
.daily-art img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.daily-art figcaption { padding: .7rem 1rem; font-size: .9rem; }
.daily-question { color: var(--ink); font: 650 clamp(1.3rem, 3vw, 1.8rem)/1.4 var(--heading); }
.daily-account { margin-top: 1rem; }
.daily-account > a { display: inline-block; margin-top: .65rem; }
.daily-account .status:empty { min-height: 0; margin: 0; }
.grid { display: grid; gap: 1rem; }
.card { min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 1.1rem; padding: clamp(1.1rem, 2.6vw, 1.65rem); }
.card > :last-child, .measure > :last-child { margin-bottom: 0; }
.label { display: inline-block; color: var(--rust); font-size: .85rem; font-weight: 750; margin-bottom: .6rem; }
.card-link { display: block; text-decoration: none; color: var(--body); }
.card-link:hover { border-color: #b97a4c; }
.card-link strong { color: var(--ink); display: block; margin-bottom: .35rem; font: 700 1.25rem var(--heading); }
.inner-hero { padding-block: 1.15rem clamp(2.4rem, 6vw, 4.4rem); background: radial-gradient(ellipse at 100% 0, #ffe2bc, transparent 70%), var(--cream); border-bottom: 1px solid var(--line); }
.inner-hero h1 { font-size: clamp(2.65rem, 6vw, 4.5rem); margin-bottom: .35em; }
.breadcrumbs { margin-bottom: clamp(1.4rem, 4vw, 3rem); font-size: .9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--rust); }
.toc { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; margin-top: 1.3rem; }
blockquote { margin: 0 0 1rem; color: var(--ink); font: 650 1.28rem/1.45 var(--heading); }
.quote-card { display: flex; flex-direction: column; }
.quote-card .actions { margin-top: auto; padding-top: .5rem; }
details { border-bottom: 1px solid var(--line); padding-block: .8rem; }
summary { color: var(--ink); cursor: pointer; font-weight: 750; min-height: 2rem; }
details[open] summary { margin-bottom: .75rem; }
.verse { color: var(--ink); font: 600 clamp(1.07rem, 2.2vw, 1.38rem)/1.85 var(--devanagari); }
.verse, .iast { white-space: pre-line; }
.iast { font-style: italic; }
:lang(hi), :lang(sa-Deva) { font-family: var(--devanagari); }
label { display: block; font-weight: 750; color: var(--ink); }
input, textarea { display: block; width: 100%; border: 1px solid #a89c8a; border-radius: .55rem; background: white; color: var(--ink); padding: .6rem .7rem; margin: .28rem 0 1rem; }
textarea { min-height: 8rem; resize: vertical; }
.status { color: var(--rust); font-weight: 650; min-height: 1.6em; margin-block: .7rem; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 35rem; border-collapse: collapse; text-align: left; }
th, td { padding: .8rem; border: 1px solid var(--line); vertical-align: top; }
thead { color: white; background: var(--ink); }
tbody th { color: var(--ink); }
.download { background: var(--ink); color: #fff2e1; }
.download h2, .download a:not(.button) { color: white; }
.download .eyebrow { color: #ffbe82; }
.site-footer { padding: 3rem 0 6rem; border-top: 1px solid var(--line); background: var(--cream); }
.footer-grid { display: grid; gap: 1.4rem; }
.footer-links { display: grid; gap: .35rem 1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.site-footer small { display: block; margin-top: 1.4rem; }
.float { position: fixed; z-index: 4; inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) auto; box-shadow: 0 8px 26px #1b1f4b42; }
@media (min-width: 42rem) {
  .kids-feature { grid-template-columns: minmax(0, 22rem) minmax(0, 38rem); gap: clamp(1.5rem, 5vw, 4rem); }
  .daily-feature { grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
  .wrap { width: min(100% - 3.5rem,75rem); }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr .85fr; }
}
@media (min-width: 60rem) {
  .bar { flex-wrap: nowrap; justify-content: space-between; }
  .site-nav { width: auto; justify-content: center; }
  .nav-download { margin-left: 0; }
  .hero-layout { grid-template-columns: 1.06fr .94fr; gap: clamp(2rem,6vw,6.5rem); }
  .grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 30rem) {
  .bar { gap: .5rem; }
  .bar .brand { font-size: 1rem; }
  .bar .brand img { width: 30px; height: 30px; }
  .bar .button { font-size: .78rem; padding-inline: .625rem; }
  .float { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
