/* ----- shared styles for Zuvaa legal/doc pages ----- */
:root{
  --bg:            #050403;
  --bg-elev:       #0A0908;
  --surface:       #120E0B;
  --ink:           #F4EBE0;
  --ink-muted:     rgba(244,235,224,0.62);
  --ink-faint:     rgba(244,235,224,0.32);
  --stroke:        rgba(244,235,224,0.09);
  --stroke-hi:     rgba(244,235,224,0.18);
  --amber:         #E87A3A;
  --amber-hi:      #FFB066;
  --tamil-red:     #D23B3B;
  --dusk-violet:   #A68AC9;
  --moss:          #8FB573;
  --night-blue:    #6BA4C9;

  --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;
  --wm:    'Montserrat', var(--sans);

  --radius: 18px;
  --radius-lg: 24px;
}

*,*::before,*::after{ box-sizing:border-box; }
html, body { margin:0; padding:0; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing:antialiased; }
body{
  font-family: var(--sans);
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(232,122,58,0.08), transparent 60%),
    radial-gradient(1300px 800px at 12% 18%, rgba(166,138,201,0.08), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(107,164,201,0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
}

/* ---------- top nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(to bottom, rgba(5,4,3,0.78), rgba(5,4,3,0.55) 70%, rgba(5,4,3,0));
}
.nav-inner{
  max-width: 1240px; margin: 0 auto;
  padding: 18px 28px;
  display: flex; align-items:center; justify-content: space-between;
  gap: 24px;
}
.wordmark{
  font-family: var(--wm);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  user-select: none;
}
.wordmark .dot{
  display:inline-block; width: 6px; height:6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber), 0 0 28px rgba(232,122,58,0.6);
  margin: 0 0 4px 6px; vertical-align: middle;
}
.nav-links{
  display: flex; align-items: center; gap: 24px;
  font-size: 13px; color: var(--ink-muted);
}
.nav-links a{
  color: inherit; text-decoration: none; transition: color .25s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a.active{ color: var(--amber-hi); }

/* ---------- doc hero ---------- */
.doc-hero{
  max-width: 820px; margin: 0 auto;
  padding: 72px 28px 24px;
  text-align: center;
}
.doc-eyebrow{
  font-size: 11px; font-weight: 500;
  color: var(--amber-hi);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.doc-title{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.doc-title em{ font-style: italic; color: var(--amber-hi); }
.doc-meta{
  color: var(--ink-faint);
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
}

/* ---------- draft banner ---------- */
.draft-banner{
  max-width: 820px; margin: 28px auto 0;
  padding: 0 28px;
}
.draft-banner-inner{
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(232,122,58,0.07);
  border: 1px solid rgba(232,122,58,0.28);
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.draft-banner-inner strong{
  color: var(--amber-hi);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  margin-right: 10px;
}

/* ---------- article body ---------- */
article.doc{
  max-width: 720px; margin: 0 auto;
  padding: 32px 28px 88px;
}
article.doc h2{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2; letter-spacing: -0.01em;
  margin: 56px 0 14px;
  color: var(--ink);
  scroll-margin-top: 80px;
}
article.doc h2:first-of-type{ margin-top: 16px; }
article.doc h3{
  font-family: var(--serif); font-weight: 400;
  font-size: 21px; letter-spacing: -0.005em;
  margin: 32px 0 10px;
  color: var(--ink);
}
article.doc p, article.doc ul{
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
article.doc ul{ padding-left: 22px; }
article.doc li{ margin: 6px 0; }
article.doc li::marker{ color: var(--ink-faint); }
article.doc strong{ color: var(--ink); font-weight: 600; }
article.doc em{ color: var(--ink); font-style: italic; }
article.doc a{
  color: var(--amber-hi);
  text-decoration: underline;
  text-decoration-color: rgba(255,176,102,0.4);
  text-underline-offset: 3px;
}
article.doc a:hover{ text-decoration-color: var(--amber-hi); }

article.doc .tbd{
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--amber-hi);
  background: rgba(232,122,58,0.08);
  padding: 1px 7px;
  border-radius: 5px;
  border: 1px solid rgba(232,122,58,0.22);
  letter-spacing: 0.05em;
}

article.doc .callout{
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(244,235,224,0.04);
  border: 1px solid var(--stroke);
  color: var(--ink-muted);
  font-size: 14px;
}
article.doc .callout strong{ color: var(--amber-hi); }

article.doc hr{
  border: none;
  border-top: 1px solid var(--stroke);
  margin: 56px 0;
}

/* ---------- footer ---------- */
footer{
  border-top: 1px solid var(--stroke);
  padding: 36px 28px 48px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
}
.footer-inner{
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 24px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  color: var(--ink-faint); font-size: 12px;
}
.footer-links{ display:flex; gap: 22px; flex-wrap: wrap; }
.footer-links a{ color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover{ color: var(--ink); }
