/* GeetaVani — minimal static-site stylesheet
 * Mirrors the app's Peacock palette so the website and the app feel
 * like one product. Mobile-first; no JS, no frameworks.
 */

:root {
  --bg-deep: #060d13;       /* krishnaDeep */
  --bg-skin: #0b1520;       /* krishnaSkin */
  --bg-raised: #142233;     /* krishnaRaised */
  --text-white: #e8e0d4;    /* divyaWhite */
  --text-silver: #b8b0a4;   /* divyaSilver */
  --text-muted: #7d7568;    /* divyaMuted */
  --accent-gold: #d4a017;   /* eyeGold — sacred accent */
  --accent-green: #0d7a3e;  /* peacock feather green */
  --border-subtle: rgba(232, 224, 212, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-deep);
  color: var(--text-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Plus Jakarta Sans",
    Roboto, "Noto Sans Devanagari", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}

a:hover {
  border-bottom-color: var(--accent-gold);
}

main {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  flex: 1;
}

header.site-header {
  text-align: center;
  margin-bottom: 3rem;
}

header.site-header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

header.site-header .tagline {
  font-size: 1.125rem;
  color: var(--text-silver);
  font-style: italic;
}

article h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

article h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

article h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-white);
}

article p,
article li {
  margin-bottom: 0.75rem;
  color: var(--text-silver);
}

article ul,
article ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

article strong {
  color: var(--text-white);
  font-weight: 600;
}

article blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1.25rem 0;
  background: var(--bg-skin);
  border-radius: 0 6px 6px 0;
  color: var(--text-white);
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
}

article th,
article td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-silver);
}

article th {
  color: var(--text-white);
  font-weight: 600;
  background: var(--bg-skin);
}

.meta {
  background: var(--bg-skin);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 2rem;
  font-size: 0.9375rem;
  color: var(--text-silver);
}

.meta strong {
  color: var(--text-white);
}

.draft-banner {
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  font-size: 0.9375rem;
  text-align: center;
}

footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

footer.site-footer a {
  margin: 0 0.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.cta-row a {
  background: var(--bg-skin);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: var(--text-white);
  font-weight: 500;
}

.cta-row a:hover {
  border-color: var(--accent-gold);
}

/* Mobile tightening */
@media (max-width: 480px) {
  main {
    padding: 2rem 1.125rem 1.5rem;
  }
  article table {
    font-size: 0.8125rem;
  }
  article th,
  article td {
    padding: 0.375rem 0.5rem;
  }
}
