/* ============================================================
   RAISING ANGELS — Global Stylesheet
   Modern Spiritual Light Design — 2026
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Lato', Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a2e;
  background-color: #fafaf8;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2d1b5e;
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; margin-top: 2.5rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-top: 1.8rem; color: #3d2b6b; }

p { margin-bottom: 1.3em; color: #2a2a3e; }

a { color: #6b46c1; text-decoration: none; border-bottom: 1px solid rgba(107,70,193,0.25); transition: color 0.2s, border-color 0.2s; }
a:hover { color: #4c2fa0; border-bottom-color: #4c2fa0; }

strong { font-weight: 700; color: #1a1a2e; }
em { font-style: italic; }

ul, ol { padding-left: 1.6em; margin-bottom: 1.3em; }
li { margin-bottom: 0.5em; color: #2a2a3e; }

/* --- Layout --- */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Site Header / Navigation --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e4f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(45,27,94,0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2d1b5e;
  text-decoration: none;
  border: none;
  letter-spacing: 0.02em;
}

.site-logo span { color: #c9a84c; }

.site-nav { display: flex; gap: 28px; align-items: center; }

.site-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d2b6b;
  border: none;
  transition: color 0.2s;
}

.site-nav a:hover { color: #c9a84c; }

.site-nav .nav-cta {
  background: #2d1b5e;
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  font-size: 0.85rem;
}

.site-nav .nav-cta:hover { background: #c9a84c; color: #fff; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #2d1b5e; margin: 5px 0; transition: 0.3s; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.82rem;
  color: #888;
  border-bottom: 1px solid #f0ebff;
  margin-bottom: 0;
}

.breadcrumb a { color: #6b46c1; border: none; font-size: 0.82rem; }
.breadcrumb span { margin: 0 6px; color: #bbb; }

/* --- Article Hero --- */
.article-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid #f0ebff;
  margin-bottom: 40px;
}

.article-hero .number-badge {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #2d1b5e;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #2d1b5e;
}

.article-hero .lead {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 28px;
}

.article-meta {
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 28px;
}

.article-meta a { color: #6b46c1; border: none; font-size: 0.82rem; }

/* --- At a Glance Box --- */
.at-a-glance {
  background: #f0ebff;
  border-left: 4px solid #6b46c1;
  border-radius: 0 8px 8px 0;
  padding: 22px 26px;
  margin-bottom: 32px;
}

.at-a-glance h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b46c1;
  margin-bottom: 14px;
  margin-top: 0;
}

.at-a-glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.at-a-glance-item { display: flex; flex-direction: column; gap: 2px; }
.at-a-glance-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #888; font-weight: 700; }
.at-a-glance-item .value { font-size: 0.95rem; color: #1a1a2e; font-weight: 400; }

/* --- Quick Summary Table --- */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.summary-table th {
  background: #2d1b5e;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0ebff;
  color: #2a2a3e;
  vertical-align: top;
}

.summary-table tr:nth-child(even) td { background: #faf8ff; }
.summary-table tr:last-child td { border-bottom: none; }

.summary-table td:first-child {
  font-weight: 700;
  color: #3d2b6b;
  width: 38%;
}

/* --- Content Article --- */
.article-content { padding-bottom: 60px; }

.article-content section { margin-bottom: 2.5rem; }

/* Highlight / callout box */
.callout {
  background: #faf8ff;
  border: 1px solid #e0d8f5;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 1.8rem 0;
}

.callout p { margin-bottom: 0; color: #3d2b6b; font-style: italic; }

/* Key takeaways */
.key-takeaways {
  background: #fafaf8;
  border: 1px solid #e8e4f0;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 2rem 0;
}

.key-takeaways h2 { margin-top: 0; font-size: 1.3rem; }
.key-takeaways ul { margin-bottom: 0; }
.key-takeaways li { padding: 4px 0; }

/* FAQ section */
.faq-section { margin: 2.5rem 0; }
.faq-item { border-bottom: 1px solid #f0ebff; padding: 18px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; color: #2d1b5e; margin-top: 0; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; color: #444; font-size: 0.97rem; }

/* Related numbers grid */
.related-numbers { margin: 3rem 0 1rem; }
.related-numbers h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.related-card {
  display: block;
  background: #fff;
  border: 1px solid #e8e4f0;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  border-bottom: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.related-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(45,27,94,0.1); border-color: #c9a84c; }

.related-card .num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: #2d1b5e; display: block; line-height: 1.2; }
.related-card .desc { font-size: 0.72rem; color: #888; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; display: block; }

/* Topic-hub cards use a title + summary rather than a number + label. Keep
   both elements block-level so adjacent inline elements never merge together. */
.related-card strong {
  color: #1a1a2e;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}

.related-card strong + span {
  color: #6b46c1;
  display: block;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Complete directory page */
.directory-hero { max-width: 880px; }
.directory-hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.directory-quick-links { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.directory-quick-links > span { color: #666; font-size: 0.88rem; margin-right: 2px; }
.directory-quick-links a { background: #f0ebff; border: 1px solid #e0d8f5; border-radius: 999px; color: #5b3dab; font-size: 0.9rem; font-weight: 700; line-height: 1; padding: 8px 11px; text-decoration: none; }
.directory-quick-links a:hover { background: #6b46c1; border-color: #6b46c1; color: #fff; }
.directory-featured-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.directory-featured-card { background: #fff; border: 1px solid #e8e4f0; border-radius: 10px; color: #1a1a2e; display: flex; flex-direction: column; min-height: 178px; padding: 20px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.directory-featured-card:hover { border-color: #c9a84c; box-shadow: 0 4px 16px rgba(45,27,94,0.1); transform: translateY(-2px); }
.directory-featured-card .num { color: #6b46c1; font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 14px; }
.directory-featured-card strong { color: #2d1b5e; font-size: 1rem; line-height: 1.35; margin-bottom: 8px; }
.directory-featured-card strong + span { color: #555; font-size: 0.9rem; line-height: 1.55; }
.directory-number-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
@media (max-width: 620px) { .directory-featured-grid { grid-template-columns: 1fr 1fr; } .directory-featured-card { min-height: 155px; padding: 16px; } .directory-featured-card .num { font-size: 1.7rem; } .directory-hero__actions { align-items: stretch; flex-direction: column; } }

/* Topic cluster pathway */
.topic-path {
  background: #faf8ff;
  border-left: 3px solid #c9a84c;
  border-radius: 0 8px 8px 0;
  color: #3d2b6b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  padding: 14px 18px;
}

.topic-path strong { color: #2d1b5e; }
.topic-path a { font-weight: 700; }

/* --- Affiliate / CTA Blocks --- */
.affiliate-block {
  background: linear-gradient(135deg, #2d1b5e 0%, #1a0f3c 100%);
  border-radius: 12px;
  padding: 32px 36px;
  margin: 2.5rem 0;
  color: #fff;
  text-align: center;
}

.affiliate-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  margin-top: 0;
  margin-bottom: 10px;
}

.affiliate-block p { color: rgba(255,255,255,0.85); margin-bottom: 20px; font-size: 0.97rem; }

.affiliate-block .trust-note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 12px; margin-bottom: 0; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover { transform: translateY(-1px); border: none; }

.btn--gold { background: #c9a84c; color: #1a0f3c; }
.btn--gold:hover { background: #e0be65; color: #1a0f3c; }

.btn--white { background: #fff; color: #2d1b5e; }
.btn--white:hover { background: #f0ebff; color: #2d1b5e; }

.btn--purple { background: #6b46c1; color: #fff; }
.btn--purple:hover { background: #5a38a8; color: #fff; }

/* App CTA block */
.cta-app {
  background: #faf8ff;
  border: 2px solid #e0d8f5;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 2.5rem 0;
  text-align: center;
}

.cta-app h3 { color: #2d1b5e; margin-top: 0; font-size: 1.3rem; }
.cta-app p { color: #555; margin-bottom: 18px; }

/* Browser-based numerology calculators */
.calculator-panel {
  background: #faf8ff;
  border: 1px solid #e0d8f5;
  border-radius: 12px;
  padding: 30px;
}
.calculator-panel h2 { margin-top: 0; }
.calculator-form { max-width: 520px; }
.calculator-form label { color: #2d1b5e; display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.calculator-form input { background: #fff; border: 1px solid #cfc5e8; border-radius: 6px; color: #1a1a2e; font: inherit; margin-bottom: 8px; padding: 12px 14px; width: 100%; }
.calculator-form input:focus { border-color: #6b46c1; box-shadow: 0 0 0 3px rgba(107,70,193,0.12); outline: none; }
.form-help { color: #666; font-size: 0.85rem; line-height: 1.5; }
.form-error { color: #a32929; font-weight: 700; margin-top: 12px; }
.calculator-result { background: #fff; border-left: 4px solid #c9a84c; border-radius: 0 8px 8px 0; margin-top: 28px; padding: 24px; }
.result-label { color: #6b46c1; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; margin-bottom: 4px; text-transform: uppercase; }
.result-number { color: #2d1b5e; font-family: 'Playfair Display', Georgia, serif; font-size: 4rem; font-weight: 700; line-height: 1; margin-bottom: 12px; }
.calculator-result h3 { margin-top: 0; }
.calculator-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.text-link { font-weight: 700; }

/* Contact page */
.eyebrow { color: #6b46c1; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.11em; margin-bottom: 10px; text-transform: uppercase; }
.contact-hero { margin-bottom: 32px; }
.contact-panel { background: #fff; border: 1px solid #e8e4f0; border-radius: 12px; box-shadow: 0 6px 24px rgba(45,27,94,0.06); margin-bottom: 32px; overflow: hidden; }
.contact-panel__intro { background: #faf8ff; border-bottom: 1px solid #e8e4f0; padding: 26px 30px; }
.contact-panel__intro h2 { font-size: 1.35rem; margin-top: 0; }
.contact-panel__intro p:last-child { margin-bottom: 0; }
.contact-form { padding: 30px; }
.contact-form__field { margin-bottom: 22px; }
.contact-form label { color: #2d1b5e; display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; }
.contact-form input, .contact-form select, .contact-form textarea { background: #fff; border: 1px solid #cfc5e8; border-radius: 6px; color: #1a1a2e; font: inherit; padding: 12px 14px; width: 100%; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #6b46c1; box-shadow: 0 0 0 3px rgba(107,70,193,0.12); outline: none; }
.contact-form__honeypot { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.contact-form__privacy { color: #666; font-size: 0.82rem; line-height: 1.55; margin: 16px 0 0; }
.contact-note { border-top: 1px solid #e8e4f0; margin-bottom: 60px; padding-top: 28px; }
.contact-note h2 { font-size: 1.35rem; margin-top: 0; }
.contact-note p { font-size: 0.95rem; }
.contact-thanks { margin: 72px auto 96px; max-width: 620px; text-align: center; }
.contact-thanks h1 { font-size: 2.2rem; }
.contact-thanks p { font-size: 1.08rem; }
.contact-thanks__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 28px; }

/* --- Site Footer --- */
.site-footer {
  background: #1a0f3c;
  color: rgba(255,255,255,0.75);
  padding: 52px 20px 28px;
  margin-top: 60px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.site-footer__brand .logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #fff; font-weight: 700; display: block; margin-bottom: 12px; }
.site-footer__brand .logo span { color: #c9a84c; }
.site-footer__brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.site-footer__col h4 { font-family: 'Lato', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #c9a84c; margin-bottom: 14px; font-weight: 700; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a { color: rgba(255,255,255,0.65); font-size: 0.88rem; border: none; transition: color 0.2s; }
.site-footer__col a:hover { color: #fff; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .article-hero .number-badge { font-size: 3.5rem; }
  .at-a-glance-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid #e8e4f0; gap: 16px; }
  .nav-toggle { display: block; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .affiliate-block { padding: 24px 20px; }
  .container { padding: 0 16px; }
  .calculator-panel { padding: 22px; }
  .contact-panel__intro, .contact-form { padding: 22px; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-table { font-size: 0.88rem; }
  .calculator-actions { align-items: flex-start; flex-direction: column; }
  .contact-thanks { margin: 56px auto 72px; }
  .contact-thanks h1 { font-size: 1.8rem; }
}
