/* CelestialReads — Shared content page stylesheet
   Hybrid register: dark header/CTA bands, light readable body.
   Fonts: Cinzel (headings), Cormorant Garamond (pull text/CTA), Inter (body).
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ── Brand tokens ─────────────────────────────────────────── */
:root {
  --void:           #04020d;
  --deep:           #0a0520;
  --surface:        #110a2e;
  --surface2:       #1a1040;
  --gold:           #c9a84c;
  --gold-light:     #e8c97a;
  --purple:         #9d7be8;
  --purple-light:   #c4a8f0;
  --cr-text:        #e8e0f5;
  --cr-text-muted:  #9080b8;
  --cr-text-dim:    #5a4d7a;

  /* Light content body */
  --body-bg:        #f7f4ef;
  --body-text:      #18121e;
  --body-text-muted:#4a3d60;
  --body-link:      #5a3d9e;
  --callout-bg:     rgba(201, 168, 76, 0.06);
  --callout-border: rgba(201, 168, 76, 0.4);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--body-bg);
  color: var(--body-text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── Header band (dark) ───────────────────────────────────── */
.cr-header {
  background: var(--void);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  text-align: center;
  padding: 48px 24px 44px;
}

.cr-wordmark {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 36px;
  transition: color 0.2s;
}
.cr-wordmark:hover { color: var(--gold-light); }

.cr-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--cr-text);
  line-height: 1.35;
  letter-spacing: 0.01em;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Content body (light) ─────────────────────────────────── */
.cr-body {
  background: var(--body-bg);
  padding: 56px 24px 72px;
}

.cr-body-inner {
  max-width: 65ch;
  margin: 0 auto;
}

.cr-body p {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--body-text);
  margin-bottom: 1.5em;
}

.cr-body p:last-child { margin-bottom: 0; }

.cr-body strong {
  font-weight: 500;
  color: var(--body-text);
}

.cr-body a {
  color: var(--body-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.cr-body a:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* ── "Why this matters" callout ───────────────────────────── */
.cr-callout {
  background: var(--callout-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px 20px 22px;
  margin: 2.25em 0;
}

.cr-callout-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7em;
}

.cr-callout p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 0;
}

/* ── Questions index list ─────────────────────────────────── */
.cr-question-list {
  list-style: none;
  padding: 0;
  margin: 2em 0 2.5em;
}

.cr-question-list li {
  border-top: 1px solid rgba(90, 61, 158, 0.14);
  padding: 1.25em 0;
}

.cr-question-list li:last-child {
  border-bottom: 1px solid rgba(90, 61, 158, 0.14);
}

.cr-question-list a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--body-link);
  text-decoration: none;
  display: block;
  margin-bottom: 0.25em;
  transition: color 0.2s;
}
.cr-question-list a:hover { color: var(--gold); }

.cr-q-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body-text-muted);
  margin: 0;
}

/* ── CTA band (dark) ──────────────────────────────────────── */
.cr-cta {
  background: var(--deep);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 72px 24px;
  text-align: center;
}

.cr-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cr-cta p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--cr-text);
  margin-bottom: 2em;
}

.cr-cta-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--gold);
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.cr-cta-btn:hover {
  background: var(--gold-light);
  color: var(--void);
}

/* ── Footer band (dark) ───────────────────────────────────── */
.cr-footer {
  background: var(--void);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  text-align: center;
  padding: 32px 24px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--cr-text-muted);
}

.cr-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 12px;
}

.cr-footer a {
  color: var(--cr-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cr-footer a:hover { color: var(--gold); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .cr-header  { padding: 36px 20px 32px; }
  .cr-body    { padding: 40px 20px 56px; }
  .cr-cta     { padding: 56px 20px; }
}
