  :root {
    --bg: #FBF7F1; --surface: #FFFFFF; --surface-soft: #FDF3E7;
    --surface-muted: #F4EDE2; --ink: #1B1510; --text: #2A2217;
    --text-muted: #6B6052; --text-faint: #9A907F;
    --primary: #E87722; --primary-deep: #C85A0E;
    --primary-soft: #FFE6CE; --primary-tint: #FFF3E5;
    --border: rgba(60,50,30,0.08); --border-strong: rgba(60,50,30,0.14);
    --divider: rgba(60,50,30,0.06);
    --shadow-sm: 0 1px 2px rgba(60,40,20,0.04), 0 4px 14px rgba(60,40,20,0.05);
    --shadow-lg: 0 2px 6px rgba(60,40,20,0.06), 0 16px 40px rgba(60,40,20,0.09);
    --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
    --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 800px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

  .nav { position: sticky; top: 0; z-index: 50; background: rgba(251,247,241,0.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 0.5px solid var(--divider); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; max-width: 800px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--primary-soft); display: grid; place-items: center; }
  .brand-name { display: flex; flex-direction: column; line-height: 1.1; }
  .brand-name b { font-size: 14px; font-weight: 700; color: var(--ink); }
  .brand-name span { font-size: 9.5px; color: var(--text-muted); letter-spacing: 0.4px; text-transform: uppercase; }
  .btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(232,119,34,0.3); transition: transform .12s; cursor: pointer; }
  .btn:hover { transform: translateY(-1px); }

  .breadcrumb { padding: 16px 0 0; font-size: 13px; color: var(--text-muted); }
  .breadcrumb a { transition: color .15s; }
  .breadcrumb a:hover { color: var(--primary-deep); }
  .breadcrumb .sep { margin: 0 6px; opacity: 0.5; }

  /* Language switcher */
  .lang-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
  .lang-switch a { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-muted); border: 0.5px solid var(--border); transition: all .15s; }
  .lang-switch a:hover { border-color: var(--primary); color: var(--primary-deep); background: var(--primary-tint); }
  .lang-switch a.lang-active { background: var(--primary-soft); color: var(--primary-deep); border-color: var(--primary-soft); font-weight: 600; }

  .verse-header { padding: 24px 0 0; }
  .verse-eyebrow { font-size: 11px; font-weight: 700; color: var(--primary-deep); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
  .verse-title { font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: 1.1; letter-spacing: -0.02em; }
  .verse-summary { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.3vw, 17px); color: var(--text-muted); margin: 0 0 4px; line-height: 1.5; }
  .verse-speaker { font-size: 12px; color: var(--text-faint); margin-top: 8px; }
  .verse-speaker strong { color: var(--primary-deep); font-weight: 600; }

  .sloka-card { margin: 28px 0; border-radius: 24px; background: radial-gradient(ellipse at top, var(--primary-tint) 0%, var(--bg) 60%); border: 0.5px solid var(--border-strong); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 36px); position: relative; overflow: hidden; text-align: center; }
  .sloka-om { position: absolute; right: -20px; bottom: -30px; font-family: var(--deva); font-size: 280px; line-height: 1; color: rgba(232,119,34,0.06); transform: rotate(-8deg); user-select: none; pointer-events: none; }
  .sloka-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep); font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 20px; }
  .sloka-sanskrit { font-family: var(--deva); font-size: clamp(20px, 3vw, 26px); line-height: 1.6; color: var(--ink); position: relative; z-index: 1; }
  .sloka-sanskrit div { margin-bottom: 4px; }

  .section-block { margin: 32px 0; padding-top: 24px; border-top: 0.5px solid var(--divider); }
  .section-label { font-size: 11px; font-weight: 700; color: var(--primary-deep); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
  .transliteration { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--text); line-height: 1.65; }
  .transliteration div { margin-bottom: 4px; }

  .wbw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .wbw-item { padding: 12px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 12px; text-align: center; transition: border-color .15s, background .15s; }
  .wbw-item:hover { border-color: var(--primary); background: var(--primary-tint); }
  .wbw-sa { display: block; font-family: var(--deva); font-size: 16px; color: var(--primary-deep); line-height: 1.3; margin-bottom: 4px; }
  .wbw-tr { display: block; font-family: var(--serif); font-style: italic; font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
  .wbw-en { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }

  .gated-section { margin: 32px 0; border-radius: 20px; background: var(--surface); border: 1px solid var(--border-strong); overflow: hidden; }
  .gated-top { padding: 20px 24px 0; }
  .gated-preview { padding: 0 24px; position: relative; height: 80px; overflow: hidden; }
  .gated-preview-text { font-size: 15px; line-height: 1.6; color: var(--text); }
  .gated-preview::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(180deg, transparent 0%, var(--surface) 100%); pointer-events: none; }
  .gated-cta { padding: 16px 24px 24px; text-align: center; }
  .gated-cta .lock-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--primary-soft); display: grid; place-items: center; margin: 0 auto 10px; }
  .gated-cta h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0 0 6px; font-weight: 600; }
  .gated-cta p { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }
  .gated-ctas { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .store-sm { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: #111; color: #fff; border-radius: 10px; font-size: 12px; font-weight: 600; transition: transform .12s, box-shadow .12s; }
  .store-sm:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
  .store-sm svg { flex-shrink: 0; }

  .verse-nav { display: flex; justify-content: space-between; gap: 12px; margin: 40px 0; padding-top: 24px; border-top: 0.5px solid var(--divider); }
  .verse-nav a { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink); transition: all .15s; }
  .verse-nav a:hover { border-color: var(--primary); background: var(--primary-tint); }
  .verse-nav .next { margin-left: auto; }

  .cta-banner { margin: 32px 0; padding: 32px; border-radius: 20px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; position: relative; overflow: hidden; }
  .cta-banner .cta-om { position: absolute; right: -30px; bottom: -20px; font-family: var(--deva); font-size: 200px; line-height: 1; color: rgba(255,255,255,0.08); user-select: none; pointer-events: none; }
  .cta-banner h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 8px; position: relative; z-index: 1; }
  .cta-banner p { font-size: 14px; opacity: 0.88; margin: 0 0 20px; max-width: 400px; position: relative; z-index: 1; }
  .cta-banner .cta-badges { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
  .store-badge-lg { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #000; color: #fff; border-radius: 12px; font-size: 13px; font-weight: 600; transition: transform .12s, box-shadow .12s; }
  .store-badge-lg:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
  .store-badge-lg .sb-sub { font-size: 9px; opacity: 0.7; letter-spacing: 0.3px; display: block; line-height: 1; }
  .store-badge-lg .sb-main { font-size: 15px; font-weight: 700; display: block; line-height: 1.1; margin-top: 2px; }

  /* Context paragraph */
  .context-block { margin: 32px 0; padding: 24px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 16px; }
  .context-block h2 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
  .context-block p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin: 0; }

  /* Chapter info box */
  .ch-info-box { margin: 32px 0; padding: 20px 24px; background: var(--surface-muted); border-radius: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .ch-info-num { width: 48px; height: 48px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 20px; flex-shrink: 0; }
  .ch-info-text { flex: 1; min-width: 200px; }
  .ch-info-text h3 { font-family: var(--serif); font-size: 16px; color: var(--ink); margin: 0 0 2px; font-weight: 600; }
  .ch-info-text span { font-size: 13px; color: var(--text-muted); }
  .ch-info-link { font-size: 13px; font-weight: 600; color: var(--primary-deep); display: flex; align-items: center; gap: 4px; }
  .ch-info-link:hover { text-decoration: underline; }

  /* Quote card */
  .quote-card { margin: 32px 0; padding: 28px 32px; border-radius: 20px; background: radial-gradient(ellipse at top left, var(--primary-tint) 0%, var(--bg) 50%); border: 0.5px solid var(--border); text-align: center; position: relative; box-shadow: -2px -2px 8px rgba(255,255,255,0.6), 6px 8px 24px rgba(60,40,20,0.08); }
  .quote-card .quote-mark { font-family: var(--serif); font-size: 48px; color: var(--primary-soft); line-height: 1; margin-bottom: 8px; }
  .quote-card blockquote { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.5; margin: 0 0 12px; font-weight: 500; }
  .quote-card cite { font-size: 13px; color: var(--text-muted); font-style: normal; }

  /* Related verses */
  .related-section { margin: 32px 0; padding-top: 24px; border-top: 0.5px solid var(--divider); }
  .related-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
  @media (min-width: 600px) { .related-grid { grid-template-columns: 1fr 1fr; } }
  .related-card { padding: 16px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 14px; transition: all .15s; display: block; }
  .related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
  .related-card-ref { font-size: 11px; font-weight: 700; color: var(--primary-deep); letter-spacing: 0.5px; text-transform: uppercase; }
  .related-card-sum { font-size: 14px; color: var(--text); margin-top: 4px; line-height: 1.45; }
  .related-card-ch { font-size: 11px; color: var(--text-faint); margin-top: 6px; }

  /* FAQ */
  .faq-section { margin: 32px 0; padding-top: 24px; border-top: 0.5px solid var(--divider); }
  .faq-list { background: var(--surface); border: 0.5px solid var(--border); border-radius: 16px; overflow: hidden; }
  details.faq { border-bottom: 0.5px solid var(--divider); }
  details.faq:last-child { border-bottom: 0; }
  details.faq summary { list-style: none; padding: 16px 20px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary::after { content: '+'; color: var(--primary); font-size: 20px; font-weight: 300; line-height: 1; transition: transform .2s; flex-shrink: 0; }
  details.faq[open] summary::after { transform: rotate(45deg); }
  details.faq .faq-a { margin: 0; padding: 0 20px 16px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

  /* Brand mark in nav */
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--primary-soft); display: grid; place-items: center; flex-shrink: 0; }
  .brand-om { font-family: serif; font-size: 20px; font-weight: bold; color: var(--primary-deep); line-height: 1; }

  /* Share buttons */
  .share-section { margin: 32px 0; padding-top: 24px; border-top: 0.5px solid var(--divider); }
  .share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
  .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 0.5px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-family: inherit; transition: all .15s; text-decoration: none; }
  .share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  .share-btn.whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
  .share-btn.twitter:hover { background: #000; color: #fff; border-color: #000; }
  .share-btn.copy:hover { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-deep); }

  /* Improved prev/next nav */
  .nav-label { display: block; font-size: 11px; color: var(--text-faint); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
  .nav-ref { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 2px; }

  /* Full footer */
  .site-footer { padding: 48px 0 32px; font-size: 13px; color: var(--text-muted); border-top: 0.5px solid var(--divider); }
  .footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 28px; border-bottom: 0.5px solid var(--divider); }
  @media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
  .footer-brand .brand { margin-bottom: 0; }
  .footer-desc { font-size: 13px; color: var(--text-muted); max-width: 280px; margin: 12px 0 0; line-height: 1.5; }
  .footer-col b { display: block; font-size: 11px; color: var(--ink); font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 12px; }
  .footer-col a { display: block; padding: 3px 0; font-size: 13px; color: var(--text-muted); transition: color .15s; }
  .footer-col a:hover { color: var(--ink); }
  .footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-faint); }
  .footer-om { color: var(--primary); font-family: var(--deva); font-size: 14px; }

  /* Mobile sticky app download banner */
  .mobile-app-bar {
    display: none !important;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: rgba(27,21,16,0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    align-items: center; gap: 10px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
  }
  .mobile-app-bar .mab-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--primary-soft); display: grid; place-items: center; flex-shrink: 0; }
  .mobile-app-bar .mab-icon span { font-family: serif; font-size: 18px; font-weight: bold; color: var(--primary-deep); }
  .mobile-app-bar .mab-text { flex: 1; min-width: 0; }
  .mobile-app-bar .mab-title { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
  .mobile-app-bar .mab-sub { font-size: 10px; color: rgba(255,255,255,0.6); }
  .mobile-app-bar .mab-btn { padding: 8px 16px; border-radius: 999px; border: 0; background: var(--primary-deep); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; }
  .mobile-app-bar .mab-close { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 18px; padding: 4px; cursor: pointer; line-height: 1; }
  @media (max-width: 768px) { .mobile-app-bar { display: flex !important; } body { padding-bottom: 60px; } }
