/* ═══════════════════════════════════════════════════════════════════
   NakshatraZone — Heritage Design System
   Warm devotional aesthetic: parchment, gold, maroon, miniature-art.
   Used by all /heritage templates. No Tailwind.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Earth & parchment */
  --hz-bg-deep:      #6d4118;
  --hz-bg-earth:     #8a5a26;
  --hz-bg-earth-2:   #9a6a30;
  --hz-parchment:    #f6eeda;
  --hz-parchment-2:  #efe3c8;
  --hz-parchment-3:  #e7d8b6;

  /* Ink & accents */
  --hz-ink:          #3f2f1e;
  --hz-ink-soft:     #6b5639;
  --hz-ink-faint:    #94805f;
  --hz-gold:         #c9962e;
  --hz-gold-bright:  #e3b64f;
  --hz-gold-deep:    #a67717;
  --hz-maroon:       #7b2d26;
  --hz-maroon-deep:  #5e1f1a;
  --hz-olive:        #5d5a33;
  --hz-success:      #3e6b3a;

  /* Type */
  --hz-font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --hz-font-serif:   'Cormorant Garamond', Georgia, 'Noto Serif', serif;
  --hz-font-body:    'Mulish', 'Lato', 'Noto Sans', -apple-system, sans-serif;
  --hz-font-indic:   'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans', sans-serif;

  /* Shape */
  --hz-radius:       10px;
  --hz-radius-lg:    18px;
  --hz-shadow-soft:  0 6px 24px rgba(46, 26, 5, 0.25);
  --hz-shadow-deep:  0 18px 60px rgba(30, 16, 2, 0.45);
  --hz-border-gold:  1px solid rgba(201, 150, 46, 0.55);
}

/* ── Reset-ish base ─────────────────────────────────────────────── */
.hz * , .hz *::before, .hz *::after { box-sizing: border-box; }
html.hz-root { scroll-behavior: smooth; }
body.hz {
  margin: 0;
  font-family: var(--hz-font-body);
  color: var(--hz-ink);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(255, 214, 140, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 110% 20%, rgba(60, 28, 4, 0.35), transparent 55%),
    linear-gradient(175deg, var(--hz-bg-earth-2) 0%, var(--hz-bg-earth) 45%, var(--hz-bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
/* subtle paper grain over the earth background */
body.hz::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hz a { color: var(--hz-gold-deep); text-decoration: none; }
.hz img { max-width: 100%; }
/* never let stray wide content force a zoomed-out mobile layout */
html.hz-root, body.hz { overflow-x: clip; }

.hz-container { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ── Typography helpers ─────────────────────────────────────────── */
.hz-display {
  font-family: var(--hz-font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.hz-eyebrow {
  font-family: var(--hz-font-body);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hz-gold-bright);
}

/* ── Header / Nav ───────────────────────────────────────────────── */
.hz-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(58, 33, 8, 0.92), rgba(58, 33, 8, 0.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227, 182, 79, 0.25);
}
.hz-nav {
  display: flex; align-items: center; gap: 26px;
  max-width: 1280px; margin: 0 auto; padding: 12px 22px;
}
.hz-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--hz-font-display); font-size: 1.22rem; font-weight: 700;
  color: var(--hz-gold-bright) !important; white-space: nowrap;
}
.hz-brand .om { font-size: 1.5rem; line-height: 1; }
.hz-brand small { display: block; font-family: var(--hz-font-body); font-size: 0.6rem; letter-spacing: 0.28em; color: #d9c49a; font-weight: 600; }
.hz-nav-links { display: flex; gap: 4px; align-items: center; margin: 0 auto; }
.hz-nav-links a {
  color: #f0e3c8; font-size: 0.92rem; font-weight: 600;
  padding: 9px 14px; border-radius: 8px; transition: background 0.18s, color 0.18s;
}
.hz-nav-links a:hover, .hz-nav-links a.active { background: rgba(227, 182, 79, 0.14); color: var(--hz-gold-bright); }
.hz-nav-cta {
  font-family: var(--hz-font-body); font-weight: 700; font-size: 0.9rem;
  color: #2d1a04 !important; background: linear-gradient(180deg, var(--hz-gold-bright), var(--hz-gold));
  padding: 10px 22px; border-radius: 999px; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.hz-lang select {
  background: rgba(0,0,0,0.25); color: #f0e3c8; border: 1px solid rgba(227,182,79,0.35);
  border-radius: 8px; padding: 7px 10px; font-size: 0.85rem; font-family: var(--hz-font-body);
}
.hz-menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.hz-menu-btn span { display: block; width: 24px; height: 2px; background: var(--hz-gold-bright); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .hz-nav { gap: 12px; }
  .hz-nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(48, 27, 6, 0.98); padding: 10px 16px 16px;
    border-bottom: 1px solid rgba(227, 182, 79, 0.25);
  }
  .hz-nav-links.open { display: flex; }
  .hz-menu-btn { display: block; }
}
/* phone: the whole header row must fit 320px — brand shrinks, tagline goes */
@media (max-width: 640px) {
  .hz-nav { gap: 8px; padding: 10px 12px; }
  .hz-brand { font-size: 0.95rem; gap: 6px; flex: 0 1 auto; min-width: 0; margin-right: auto; }
  .hz-brand > span:not(.om) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hz-brand .om { font-size: 1.25rem; }
  .hz-brand small { display: none; }
  .hz-lang { flex-shrink: 0; }
  .hz-lang select { max-width: 78px; padding: 6px 4px; font-size: 0.78rem; }
  .hz-nav-cta { flex-shrink: 0; padding: 8px 14px; font-size: 0.82rem; }
}

/* ── Hero split (calculator pages) ──────────────────────────────── */
.hz-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; padding: 64px 0 40px; }
.hz-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: #fdf6e3; margin: 10px 0 22px; text-shadow: 0 2px 18px rgba(40, 20, 0, 0.4); }
.hz-hero .hz-lede { color: #f3e7cb; font-size: 1.04rem; line-height: 1.85; max-width: 56ch; }
.hz-hero .hz-lede strong { color: var(--hz-gold-bright); }
@media (max-width: 900px) { .hz-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 34px; } }

/* Trust stat tiles */
.hz-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; max-width: 640px; }
.hz-stat {
  background: rgba(43, 24, 4, 0.45); border: 1px solid rgba(227, 182, 79, 0.3);
  border-radius: var(--hz-radius); padding: 18px 12px; text-align: center;
}
.hz-stat b { display: block; font-family: var(--hz-font-display); font-size: 1.3rem; color: var(--hz-gold-bright); margin-bottom: 4px; }
.hz-stat span { font-size: 0.8rem; color: #ead9b5; font-weight: 600; letter-spacing: 0.04em; }
@media (max-width: 560px) { .hz-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .hz-stat { padding: 12px 6px; } .hz-stat b { font-size: 1.05rem; } .hz-stat span { font-size: 0.68rem; } }

/* ── Form card ──────────────────────────────────────────────────── */
.hz-form-card {
  position: relative;
  background: linear-gradient(180deg, var(--hz-parchment) 0%, var(--hz-parchment-2) 100%);
  border-radius: var(--hz-radius-lg);
  box-shadow: var(--hz-shadow-deep);
  padding: 34px 32px 30px;
}
.hz-form-card::before {
  content: ''; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid rgba(166, 119, 23, 0.4); border-radius: 12px;
}
.hz-form-card h2 {
  font-family: var(--hz-font-display); text-align: center; font-size: 1.5rem;
  color: var(--hz-maroon); margin: 0 0 4px;
}
.hz-form-card .hz-form-sub { text-align: center; font-size: 0.87rem; color: var(--hz-ink-soft); margin: 0 0 22px; }
.hz-field { margin-bottom: 16px; position: relative; }
.hz-field label {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--hz-ink-soft); margin-bottom: 6px;
}
.hz-field input, .hz-field select {
  width: 100%; min-width: 0; padding: 12px 14px; font-size: 0.98rem; font-family: var(--hz-font-body);
  color: var(--hz-ink); background: rgba(255, 252, 243, 0.85);
  border: 1px solid rgba(107, 86, 57, 0.35); border-radius: var(--hz-radius);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.hz-field input:focus, .hz-field select:focus {
  border-color: var(--hz-gold); box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.18);
}
.hz-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hz-field .hz-hint { font-size: 0.74rem; color: var(--hz-ink-faint); margin-top: 5px; }

/* Twin-person form (Kundli Milan) */
.hz-form-card.wide { max-width: 860px; margin: 0 auto; }
.hz-milan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
@media (max-width: 700px) { .hz-milan-grid { grid-template-columns: minmax(0, 1fr); } }
.hz-person-form { border: 1px solid rgba(166, 119, 23, 0.35); border-radius: var(--hz-radius); padding: 18px 16px 6px; position: relative; }
.hz-person-form legend, .hz-person-form .pf-title {
  font-family: var(--hz-font-display); font-weight: 700; font-size: 1.02rem; color: var(--hz-maroon);
  display: flex; align-items: center; gap: 8px; margin: -32px 0 12px; background: var(--hz-parchment);
  width: fit-content; padding: 2px 10px; border: 1px solid rgba(166, 119, 23, 0.35); border-radius: 999px;
}

/* City autocomplete dropdown */
.hz-city-results {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
  background: #fffcf3; border: 1px solid rgba(107, 86, 57, 0.35); border-radius: var(--hz-radius);
  box-shadow: var(--hz-shadow-soft); max-height: 235px; overflow-y: auto; display: none;
}
.hz-city-results.open { display: block; }
.hz-city-item { padding: 11px 14px; cursor: pointer; font-size: 0.9rem; border-bottom: 1px solid rgba(107, 86, 57, 0.12); }
.hz-city-item:last-child { border-bottom: 0; }
.hz-city-item:hover, .hz-city-item.hl { background: rgba(201, 150, 46, 0.14); }
.hz-city-item small { display: block; color: var(--hz-ink-faint); font-size: 0.76rem; margin-top: 2px; }

/* Gold CTA */
.hz-btn-gold {
  display: block; width: 100%; border: 0; cursor: pointer;
  font-family: var(--hz-font-body); font-weight: 800; font-size: 1.02rem; letter-spacing: 0.04em;
  color: #2d1a04; padding: 15px 20px; border-radius: var(--hz-radius);
  background: linear-gradient(180deg, var(--hz-gold-bright) 0%, var(--hz-gold) 55%, var(--hz-gold-deep) 100%);
  box-shadow: 0 6px 18px rgba(90, 55, 5, 0.45), inset 0 1px 0 rgba(255, 240, 200, 0.7);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hz-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(90, 55, 5, 0.55), inset 0 1px 0 rgba(255, 240, 200, 0.7); }
.hz-btn-gold:disabled { opacity: 0.65; cursor: wait; transform: none; }
.hz-btn-outline {
  display: inline-block; cursor: pointer; font-weight: 700; font-size: 0.92rem;
  color: var(--hz-maroon); background: transparent; padding: 11px 22px;
  border: 1.5px solid var(--hz-maroon); border-radius: var(--hz-radius);
  transition: background 0.15s, color 0.15s;
}
.hz-btn-outline:hover { background: var(--hz-maroon); color: #fdf3df; }

/* ── Ornaments ──────────────────────────────────────────────────── */
.hz-divider { display: flex; align-items: center; gap: 12px; color: var(--hz-gold-deep); margin: 14px 0; }
.hz-divider::before, .hz-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(166, 119, 23, 0.55), transparent); }
.hz-diamond { display: inline-block; width: 7px; height: 7px; background: var(--hz-gold); transform: rotate(45deg); }

/* ── Price tag (₹299 / ₹599 pattern) ────────────────────────────── */
.hz-price { display: inline-flex; align-items: baseline; gap: 10px; }
.hz-price .was { color: var(--hz-ink-faint); text-decoration: line-through; font-size: 0.95em; }
.hz-price .now { font-family: var(--hz-font-display); font-weight: 800; font-size: 1.5em; color: var(--hz-maroon); }
.hz-off-badge {
  display: inline-block; font-size: 0.68em; font-weight: 800; letter-spacing: 0.06em;
  color: #fdf3df; background: linear-gradient(180deg, #9c3b31, var(--hz-maroon-deep));
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
}

/* ── Section blocks below hero ──────────────────────────────────── */
.hz-section { padding: 46px 0; }
.hz-section-title { text-align: center; color: #fdf6e3; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 30px; }
.hz-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .hz-cards-3 { grid-template-columns: 1fr; } }
.hz-info-card {
  background: linear-gradient(180deg, rgba(246, 238, 218, 0.97), rgba(239, 227, 200, 0.97));
  border-radius: var(--hz-radius-lg); padding: 26px 24px; box-shadow: var(--hz-shadow-soft);
  border-top: 3px solid var(--hz-gold);
}
.hz-info-card h3 { font-family: var(--hz-font-display); color: var(--hz-maroon); margin: 0 0 10px; font-size: 1.12rem; }
.hz-info-card p { font-size: 0.92rem; line-height: 1.75; color: var(--hz-ink-soft); margin: 0; }

/* ── Service tiles (home) ───────────────────────────────────────── */
.hz-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .hz-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hz-services { grid-template-columns: minmax(0, 1fr); } }
.hz-service {
  display: block; text-align: center; padding: 26px 18px 22px;
  background: linear-gradient(180deg, rgba(246, 238, 218, 0.97), rgba(239, 227, 200, 0.97));
  border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow-soft);
  border-top: 3px solid var(--hz-gold); transition: transform 0.16s, box-shadow 0.16s;
}
.hz-service:hover { transform: translateY(-3px); box-shadow: var(--hz-shadow-deep); }
.hz-service .svc-icon {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  border: 2px double var(--hz-gold-deep);
  background: radial-gradient(circle at 35% 30%, #fbf3dd, #eeddb4);
}
.hz-service h3 { font-family: var(--hz-font-display); color: var(--hz-maroon); font-size: 1.05rem; margin: 0 0 6px; }
.hz-service p { font-size: 0.84rem; line-height: 1.6; color: var(--hz-ink-soft); margin: 0 0 10px; }
.hz-service .svc-link { font-size: 0.8rem; font-weight: 800; color: var(--hz-gold-deep); letter-spacing: 0.04em; }

/* ── Report product cards (home store window) ───────────────────── */
.hz-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .hz-products { grid-template-columns: minmax(0, 1fr); } }
.hz-product {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--hz-parchment), var(--hz-parchment-2));
  border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow-deep);
  padding: 28px 26px 24px;
}
.hz-product::before { content: ''; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(166, 119, 23, 0.35); border-radius: 12px; }
.hz-product .prod-badge {
  position: absolute; top: 18px; right: -34px; transform: rotate(38deg); z-index: 2;
  background: linear-gradient(180deg, #9c3b31, var(--hz-maroon-deep)); color: #fdf3df;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; padding: 5px 40px;
}
.hz-product h3 { font-family: var(--hz-font-display); color: var(--hz-maroon); font-size: 1.28rem; margin: 0 0 2px; position: relative; }
.hz-product .prod-sub { font-size: 0.84rem; color: var(--hz-ink-soft); margin: 0 0 14px; position: relative; }
.hz-product .hz-unlock-list { margin: 0 0 16px; position: relative; }
.hz-product .prod-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; }
.hz-product .hz-btn-gold { width: auto; padding: 12px 26px; font-size: 0.94rem; }

/* ── Step tiles (how it works) ──────────────────────────────────── */
.hz-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 940px; margin: 0 auto; }
@media (max-width: 760px) { .hz-steps { grid-template-columns: minmax(0, 1fr); } }
.hz-step { text-align: center; padding: 10px 14px; }
.hz-step .step-no {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hz-font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--hz-gold-bright); border: 2px double rgba(227, 182, 79, 0.75);
  background: rgba(43, 24, 4, 0.45);
}
.hz-step h3 { font-family: var(--hz-font-display); color: #fdf6e3; font-size: 1.02rem; margin: 0 0 6px; }
.hz-step p { font-size: 0.86rem; line-height: 1.65; color: #ead9b5; margin: 0; }

/* ── Testimonials ───────────────────────────────────────────────── */
.hz-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .hz-quotes { grid-template-columns: minmax(0, 1fr); } }
.hz-quote {
  background: rgba(43, 24, 4, 0.45); border: 1px solid rgba(227, 182, 79, 0.3);
  border-radius: var(--hz-radius-lg); padding: 22px 20px;
}
.hz-quote .q-stars { color: var(--hz-gold-bright); letter-spacing: 0.15em; margin-bottom: 8px; font-size: 0.85rem; }
.hz-quote p { font-size: 0.9rem; line-height: 1.75; color: #f0e3c8; margin: 0 0 12px; font-style: italic; }
.hz-quote .q-name { font-size: 0.8rem; font-weight: 700; color: var(--hz-gold-bright); letter-spacing: 0.06em; }

/* ── FAQ accordion ──────────────────────────────────────────────── */
.hz-faq { max-width: 780px; margin: 0 auto; }
.hz-faq details {
  background: rgba(246, 238, 218, 0.96); border-radius: var(--hz-radius);
  margin-bottom: 10px; box-shadow: var(--hz-shadow-soft); overflow: hidden;
}
.hz-faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px;
  font-family: var(--hz-font-display); font-weight: 700; font-size: 0.98rem; color: var(--hz-maroon);
  display: flex; align-items: center; gap: 10px;
}
.hz-faq summary::before { content: '✦'; color: var(--hz-gold-deep); font-size: 0.8rem; flex-shrink: 0; }
.hz-faq summary::-webkit-details-marker { display: none; }
.hz-faq details p { margin: 0; padding: 0 18px 16px 40px; font-size: 0.88rem; line-height: 1.75; color: var(--hz-ink-soft); }

/* ── Report product page ────────────────────────────────────────── */
.hz-prod-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding: 56px 0 30px; }
@media (max-width: 900px) { .hz-prod-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 30px; } }
.hz-prod-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); color: #fdf6e3; margin: 10px 0 16px; text-shadow: 0 2px 18px rgba(40, 20, 0, 0.4); }
.hz-prod-hero .hz-lede { color: #f3e7cb; font-size: 1.02rem; line-height: 1.85; }
.hz-prod-price-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 6px; }
.hz-prod-price-row .hz-price .now { color: var(--hz-gold-bright); }
.hz-prod-price-row .hz-price .was { color: #c9b38a; }
/* fanned sample pages */
.hz-samples { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; }
.hz-samples img {
  width: 46%; max-width: 230px; border-radius: 6px; border: 1px solid rgba(227, 182, 79, 0.5);
  box-shadow: 0 18px 50px rgba(20, 8, 0, 0.55);
  background: #fff;
}
.hz-samples img:nth-child(1) { transform: rotate(-7deg) translateX(26%); z-index: 1; }
.hz-samples img:nth-child(2) { transform: translateY(-4%); z-index: 2; }
.hz-samples img:nth-child(3) { transform: rotate(7deg) translateX(-26%); z-index: 1; }
.hz-samples img:hover { z-index: 3; transform: scale(1.06); transition: transform 0.2s; }
/* chapter checklist grid */
.hz-chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) { .hz-chapter-grid { grid-template-columns: minmax(0, 1fr); } }
.hz-chapter-item {
  display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; line-height: 1.6;
  background: rgba(246, 238, 218, 0.96); border-radius: var(--hz-radius); padding: 13px 15px;
  box-shadow: var(--hz-shadow-soft); color: var(--hz-ink-soft);
}
.hz-chapter-item::before { content: '✦'; color: var(--hz-gold-deep); flex-shrink: 0; }
.hz-chapter-item b { color: var(--hz-maroon); }

/* ── Legal / content article (policy, terms, contact) ───────────── */
.hz-legal-wrap { padding: 44px 22px 20px; }
.hz-legal {
  max-width: 820px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, var(--hz-parchment), var(--hz-parchment-2));
  border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow-deep);
  padding: 40px 42px 44px; color: var(--hz-ink-soft);
  font-size: 0.94rem; line-height: 1.8;
}
@media (max-width: 640px) { .hz-legal { padding: 28px 20px 32px; } }
.hz-legal::before { content: ''; position: absolute; inset: 10px; pointer-events: none; border: 1px solid rgba(166, 119, 23, 0.35); border-radius: 12px; }
.hz-legal > * { position: relative; }
.hz-legal h1 {
  font-family: var(--hz-font-display); color: var(--hz-maroon);
  font-size: 1.9rem; margin: 10px 0 6px;
}
.hz-legal h2 {
  font-family: var(--hz-font-display); color: var(--hz-maroon);
  font-size: 1.18rem; margin: 34px 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(166, 119, 23, 0.35);
}
.hz-legal h3 { font-family: var(--hz-font-display); color: var(--hz-ink); font-size: 1.02rem; margin: 20px 0 8px; }
.hz-legal p { margin: 0 0 14px; }
.hz-legal ul { margin: 0 0 14px; padding-left: 22px; }
.hz-legal li { margin-bottom: 6px; }
.hz-legal a { color: var(--hz-gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hz-legal a:hover { color: var(--hz-maroon); }
.hz-legal strong { color: var(--hz-ink); }
.hz-legal table { width: 100%; border-collapse: collapse; font-size: 0.86rem; margin: 0 0 16px; }
.hz-legal th { background: linear-gradient(180deg, var(--hz-maroon), var(--hz-maroon-deep)); color: #fdf3df; text-align: left; padding: 8px 10px; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; }
.hz-legal td { border-bottom: 1px solid rgba(166, 119, 23, 0.28); padding: 8px 10px; }

/* ── Footer ─────────────────────────────────────────────────────── */
.hz-footer {
  position: relative; z-index: 1; margin-top: 60px;
  background: linear-gradient(180deg, rgba(40, 22, 4, 0.6), rgba(28, 15, 2, 0.92));
  border-top: 1px solid rgba(227, 182, 79, 0.25);
  color: #d9c49a; font-size: 0.86rem;
}
.hz-footer-inner { max-width: 1180px; margin: 0 auto; padding: 40px 22px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.hz-footer h4 { font-family: var(--hz-font-display); color: var(--hz-gold-bright); font-size: 0.98rem; margin: 0 0 12px; }
.hz-footer a { display: block; color: #d9c49a; padding: 4px 0; }
.hz-footer a:hover { color: var(--hz-gold-bright); }
.hz-footer-bottom { border-top: 1px solid rgba(227, 182, 79, 0.15); text-align: center; padding: 16px; color: #a88f66; font-size: 0.78rem; }
@media (max-width: 760px) { .hz-footer-inner { grid-template-columns: 1fr; gap: 22px; } }

/* ── WhatsApp float ─────────────────────────────────────────────── */
.hz-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); transition: transform 0.15s;
}
.hz-wa:hover { transform: scale(1.07); }
.hz-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ── Modal shell (auth / unlock) ────────────────────────────────── */
.hz-modal-overlay {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(20, 10, 0, 0.72); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 18px;
}
.hz-modal-overlay.open { display: flex; }
.hz-modal {
  width: 100%; max-width: 430px; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--hz-parchment), var(--hz-parchment-2));
  border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow-deep);
  padding: 30px 28px; position: relative;
}
.hz-modal::before { content: ''; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(166, 119, 23, 0.35); border-radius: 12px; }
.hz-modal h3 { font-family: var(--hz-font-display); color: var(--hz-maroon); text-align: center; margin: 0 0 6px; font-size: 1.3rem; }
.hz-modal .hz-modal-sub { text-align: center; font-size: 0.85rem; color: var(--hz-ink-soft); margin: 0 0 20px; }
.hz-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 2; background: none; border: 0;
  font-size: 1.5rem; color: var(--hz-ink-soft); cursor: pointer; line-height: 1;
}
.hz-modal .hz-switch-link { text-align: center; font-size: 0.84rem; margin-top: 14px; color: var(--hz-ink-soft); }
.hz-modal .hz-switch-link a { font-weight: 700; cursor: pointer; }
.hz-form-error { color: var(--hz-maroon); font-size: 0.84rem; text-align: center; min-height: 1.2em; margin: 8px 0 0; font-weight: 600; }
.hz-form-ok { color: var(--hz-success); }

/* Unlock panel contents */
.hz-unlock-list { list-style: none; padding: 0; margin: 14px 0 18px; }
.hz-unlock-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.88rem; color: var(--hz-ink-soft); padding: 5px 0; line-height: 1.5; }
.hz-unlock-list li::before { content: '✦'; color: var(--hz-gold-deep); flex-shrink: 0; }
.hz-unlock-price-box {
  text-align: center; background: rgba(255, 252, 243, 0.8); border: var(--hz-border-gold);
  border-radius: var(--hz-radius); padding: 16px 12px; margin-bottom: 18px;
}

/* ── Loading (consulting the ephemeris) ─────────────────────────── */
.hz-loading { display: none; text-align: center; padding: 70px 20px; position: relative; z-index: 1; }
.hz-loading.open { display: block; }
.hz-loading .hz-loading-book {
  width: 90px; height: 120px; margin: 0 auto 26px; border-radius: 6px 12px 12px 6px;
  background: linear-gradient(115deg, var(--hz-maroon-deep) 0%, var(--hz-maroon) 55%, #93443a 100%);
  box-shadow: 0 14px 40px rgba(20, 8, 0, 0.55), inset 4px 0 0 rgba(0,0,0,0.3);
  position: relative; animation: hz-book-glow 2.2s ease-in-out infinite;
}
.hz-loading .hz-loading-book::before {
  content: 'ॐ'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: var(--hz-gold-bright); text-shadow: 0 0 18px rgba(227, 182, 79, 0.8);
}
.hz-loading .hz-loading-book::after {
  content: ''; position: absolute; inset: 7px 7px 7px 10px; border: 1px solid rgba(227, 182, 79, 0.5); border-radius: 4px 8px 8px 4px;
}
@keyframes hz-book-glow {
  0%, 100% { transform: translateY(0); box-shadow: 0 14px 40px rgba(20, 8, 0, 0.55), 0 0 30px rgba(227, 182, 79, 0.25); }
  50% { transform: translateY(-8px); box-shadow: 0 24px 54px rgba(20, 8, 0, 0.6), 0 0 55px rgba(227, 182, 79, 0.5); }
}
.hz-loading h3 { font-family: var(--hz-font-display); color: #fdf6e3; font-size: 1.35rem; margin: 0 0 8px; }
.hz-loading p { color: #ead9b5; font-size: 0.92rem; min-height: 1.4em; margin: 0; }

/* ── Header account menu ─────────────────────────────────────── */
.hz-account { position: relative; }
.hz-account-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 220px; padding: 10px 0;
  background: linear-gradient(180deg, var(--hz-parchment), var(--hz-parchment-2));
  border: 1px solid rgba(166, 119, 23, 0.5); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(20, 10, 2, 0.45);
}
.hz-account-menu.open { display: block; }
.hz-account-menu .hz-account-email {
  padding: 4px 16px 10px; font-size: 0.78rem; color: var(--hz-ink-faint);
  border-bottom: 1px dashed rgba(166, 119, 23, 0.4); margin-bottom: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hz-account-menu a {
  display: block; padding: 9px 16px; font-size: 0.9rem; font-weight: 700;
  color: var(--hz-ink); text-decoration: none;
}
.hz-account-menu a:hover { background: rgba(201, 150, 46, 0.14); color: var(--hz-maroon); }

/* ── Login / Register modal ──────────────────────────────────── */
.hz-login-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(24, 12, 2, 0.66); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.hz-login-overlay.open { display: flex; }
.hz-login-modal {
  position: relative; width: 100%; max-width: 400px;
  background: linear-gradient(180deg, var(--hz-parchment) 0%, var(--hz-parchment-2) 100%);
  border: 1px solid rgba(166, 119, 23, 0.55); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 30px 28px 22px; text-align: center;
  animation: hzModalIn 0.35s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes hzModalIn { from { opacity: 0; transform: translateY(22px) scale(0.96); } to { opacity: 1; transform: none; } }
.hz-login-modal::before {
  content: ''; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid rgba(166, 119, 23, 0.35); border-radius: 9px;
}
.hz-login-om {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--hz-maroon);
  border: 2.5px double var(--hz-gold-deep);
  background: radial-gradient(circle at 35% 30%, #fbf3dd, #eeddb4);
}
.hz-login-modal h3 { font-family: var(--hz-font-display); font-size: 1.4rem; color: var(--hz-maroon); margin: 0 0 4px; }
.hz-login-sub { font-size: 0.85rem; color: var(--hz-ink-soft); margin: 0 0 18px; }
.hz-login-modal form { text-align: left; }
.hz-login-modal .hz-btn-gold { width: 100%; margin-top: 4px; }
.hz-login-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  background: none; border: none; font-size: 1rem; color: var(--hz-ink-faint);
  cursor: pointer; padding: 4px 6px;
}
.hz-login-close:hover { color: var(--hz-maroon); }
.hz-login-switch { font-size: 0.85rem; color: var(--hz-ink-soft); margin: 14px 0 0; }
.hz-login-switch a { color: var(--hz-maroon); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ── OTP modal extras ─────────────────────────────────────────── */
.hz-otp-sent { font-size: 0.86rem; color: var(--hz-ink-soft); margin: 0 0 14px; text-align: center; }
.hz-otp-sent b { color: var(--hz-maroon); }
.hz-otp-input {
  text-align: center; letter-spacing: 0.5em; font-size: 1.3rem !important;
  font-weight: 700; font-family: var(--hz-font-display) !important;
  padding-left: 0.5em !important;
}
.hz-login-legal { font-size: 0.72rem; color: var(--hz-ink-faint); margin: 14px 0 0; line-height: 1.6; }
.hz-login-legal a { color: var(--hz-maroon); text-decoration: underline; text-underline-offset: 2px; }
