/* Sanvaad website: clean and minimal. Warm white, one accent, thin lines, lots of space. */
:root {
  --bg: #ece3f4;
  --ink: #1f1a2b;
  --muted: #5d4f78;
  --faint: #7d7191;
  --line: rgba(43, 33, 64, 0.10);
  --accent: #c8611f;
  --soft: #f4f1f7;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
  --sanskrit: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;
  --hindi: "Noto Sans Devanagari", "Inter", sans-serif;
  --width: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[lang="hi"] { font-family: var(--hindi); }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
/* The app's pastel aura, drifting slowly behind everything. */
.aura {
  position: fixed; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 35% at 20% 20%, #cfe3f5 0%, transparent 70%),
    radial-gradient(35% 35% at 80% 25%, #e6dcf2 0%, transparent 70%),
    radial-gradient(45% 40% at 25% 80%, #f3a6b8 0%, transparent 70%),
    radial-gradient(40% 40% at 85% 80%, #9d8fe0 0%, transparent 70%),
    radial-gradient(35% 30% at 50% 55%, #ffe1b8 0%, transparent 70%),
    #e6dcf2;
  animation: drift 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, -2%) scale(1.06) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) { .aura { animation: none; } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100% - 1040px) / 2));
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand img { width: 30px; height: 30px; }
.brand-hi { font-weight: 400; color: var(--faint); margin-left: 4px; }
.top nav { display: flex; gap: 24px; }
.top nav a { text-decoration: none; font-size: 15px; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.top nav a[aria-current="page"] { font-weight: 600; }

main { max-width: var(--width); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { text-align: center; padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.hero--small { padding: 72px 0 48px; }
.hero-icon { width: 104px; height: 104px; filter: drop-shadow(0 14px 28px rgba(20, 30, 110, 0.28)); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 600; color: var(--accent); margin: 28px 0 12px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; }
h1 span { display: block; font-family: var(--hindi); font-weight: 400; font-size: 0.42em; color: var(--faint); letter-spacing: 0; margin-top: 10px; }
.lede { font-size: 20px; max-width: 560px; margin: 0 auto 6px; color: var(--muted); }
.lede strong { color: var(--ink); font-weight: 600; }
.lede-hi { font-size: 17px; color: var(--faint); margin: 0 0 36px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; background: var(--ink); color: #fff;
}
.button--ghost { background: rgba(255, 255, 255, 0.55); color: var(--muted); cursor: default; }

/* Sections: separated by space and a hairline, no boxes */
.band { padding: 64px 0; border-bottom: 1px solid var(--line); margin: 0; }
.band:last-child { border-bottom: 0; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.5vw, 38px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 24px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
p { margin: 0 0 16px; }
.section-lede { font-size: 19px; color: var(--muted); margin-bottom: 36px; }

.cards { display: grid; gap: 28px 40px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .tag { font-family: var(--hindi); color: var(--accent); font-size: 14px; margin-bottom: 4px; }
.card .sub { font-size: 14px; color: var(--faint); margin: 0 0 8px; }

.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.num { flex: none; font-family: var(--serif); font-size: 22px; color: var(--accent); width: 24px; line-height: 1.3; }

.quote { display: block; }
.quote blockquote { margin: 0 0 40px; text-align: center; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(28px, 4.5vw, 40px); line-height: 1.2; margin: 0 0 8px; }
.quote cite { color: var(--faint); font-style: normal; font-size: 14px; }

/* Verses: centred text, a thin rule, no box */
.verses { display: grid; gap: 0; }
.verse { margin: 0; padding: 36px 0; text-align: center; border-top: 1px solid var(--line); }
.verses .verse:first-child, .quote .verse { border-top: 0; padding-top: 0; }
.verse figcaption { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.verse .sanskrit { font-family: var(--sanskrit); font-size: 23px; line-height: 1.75; margin: 0 0 16px; }
.verse .en { font-family: var(--serif); font-size: 18px; color: var(--ink); max-width: 560px; margin: 0 auto 10px; }
.verse .hi { font-size: 15px; color: var(--faint); max-width: 560px; margin: 0 auto; }
.verse--big .sanskrit { font-size: 25px; }

.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.checks li:first-child { border-top: 0; }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.link { color: var(--accent); font-weight: 500; text-decoration: none; }

.help p { color: var(--faint); text-align: center; margin: 0 auto; font-size: 14px; max-width: 620px; }
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; margin-top: 28px; }
.lines a { text-decoration: none; display: flex; flex-direction: column; }
.lines strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; }
.lines span { font-size: 14px; color: var(--faint); }

.faq details { padding: 18px 0; border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

.note p { margin: 0; color: var(--faint); font-size: 14px; }

/* Gita page */
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; text-align: center; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.facts span { font-size: 13px; color: var(--faint); }

.toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-bottom: 24px; }
.toc a { text-decoration: none; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc a span { display: inline-block; width: 30px; color: var(--accent); font-variant-numeric: tabular-nums; }
.chapter { border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.chapter:first-child { border-top: 0; }
.chapter summary { list-style: none; cursor: pointer; display: flex; gap: 20px; align-items: baseline; padding: 16px 0; }
.chapter summary::-webkit-details-marker { display: none; }
.chapter summary::after { content: "+"; margin-left: auto; color: var(--faint); }
.chapter[open] summary::after { content: "–"; }
.chapter .ch-num { font-family: var(--serif); font-size: 18px; color: var(--accent); letter-spacing: 0; }
.ch-name strong { font-weight: 500; margin-right: 10px; color: var(--ink); }
.ch-name em { font-style: normal; color: var(--faint); font-family: var(--hindi); font-size: 15px; }
.chapter > p { padding-left: 42px; }
.ch-hi { font-size: 15px; color: var(--faint) !important; }
.chapter .verse { padding: 8px 0 32px; border-top: 0; }
.ch-num { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.chapter h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 6px 0 4px; }
.ch-titles { color: var(--faint); font-size: 15px; margin: 0 0 16px; }
.chapter > p { color: var(--muted); }
.chapter details { margin: 0 0 8px; }

.chapter details p { color: var(--muted); margin-top: 10px; }
.chapter .verse { border-top: 1px solid var(--line); padding: 32px 0; }

/* Legal */
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 32px; padding: 48px max(24px, calc((100% - 1040px) / 2)) 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.foot p { margin: 10px 0 18px; color: var(--faint); font-size: 14px; }
.foot-grid > div > a:not(.brand) { display: block; text-decoration: none; color: var(--faint); font-size: 14px; margin-bottom: 6px; }
.foot-grid > div > a:not(.brand):hover { color: var(--ink); }
.foot .fine { font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 20px; margin: 24px 0 0; }

/* Phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cards.three, .cards.two, .foot-grid { grid-template-columns: 1fr; }
  .lines, .facts { grid-template-columns: repeat(2, 1fr); }
  .toc { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 14px; }
  .brand-hi { display: none; }
  .hero { padding: 64px 0 48px; }
  .band { padding: 48px 0; }
  main { padding: 0 20px; }
}

.more { margin: 22px 0 0; font-size: 15px; }

/* Our intention: centred title, English and Hindi side by side, closing line below */
.intent { text-align: center; }
.intent .eyebrow { margin-top: 0; }
.intent h2 { margin-bottom: 40px; }
.intent-cols { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
.intent-cols > div { padding: 0 36px; }
.intent-cols > div + div { border-left: 1px solid var(--line); }
.intent-cols p { color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.intent-cols p:last-child { margin-bottom: 0; }
.intent em { font-style: normal; color: var(--ink); font-weight: 500; }
.intent-close { margin-top: 44px; }
.intent-close p { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); line-height: 1.35; color: var(--ink); margin: 0 0 6px; }
.intent-close p[lang="hi"] { font-family: var(--hindi); font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); }
@media (max-width: 760px) {
  .intent-cols { grid-template-columns: 1fr; gap: 28px; }
  .intent-cols > div { padding: 0; }
  .intent-cols > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
}
