:root {
  --bloom: #7C4FD4;
  --deep: #2E1A72;
  --glow: #A07EE8;
  --teal: #4BACC8;
  --gold: #F0B94A;
  --bg: #F8F5FF;
  --surface: #FFFFFF;
  --text: #1E1440;
  --muted: #6B5F8A;
  --border: rgba(124, 79, 212, 0.14);
}

html { scroll-behavior: smooth; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV (shared with main site) */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-logo span { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--deep); letter-spacing: -0.01em; }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--bloom); }

.btn {
  display: inline-block;
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--bloom); color: white; }
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,79,212,0.3); }

/* BREADCRUMB */
.breadcrumb {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--bloom); }
.breadcrumb span { margin: 0 0.4rem; }

/* HUB HEADER */
.hub-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--bloom);
  margin-bottom: 0.8rem;
}
.hub-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.hub-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* DISCLAIMER BOX */
.disclaimer {
  max-width: 760px;
  margin: 1.75rem auto 0;
  padding: 1.1rem 1.4rem;
  background: rgba(240, 185, 74, 0.1);
  border: 1px solid rgba(240, 185, 74, 0.35);
  border-radius: 14px;
  font-size: 0.86rem;
  color: #6B5420;
  line-height: 1.6;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.disclaimer svg {
  width: 18px; height: 18px;
  stroke: #B8860B;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}
.disclaimer strong { color: #5A4418; }

/* ARTICLE CARD GRID */
.article-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(124,79,212,0.12);
  border-color: rgba(124,79,212,0.3);
}
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.7rem;
}
.article-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.article-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.article-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* ARTICLE PAGE */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}
.article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 600;
  color: var(--deep);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 1rem;
}
.byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.tldr {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--bloom);
  border-radius: 14px;
  margin-bottom: 1.75rem;
}
.tldr p { font-size: 0.98rem; color: var(--text); line-height: 1.7; }
.tldr strong { color: var(--deep); }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--deep);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep);
  margin: 1.75rem 0 0.75rem;
}
.article-body p { margin-bottom: 1.25rem; color: var(--text); }
.article-body p.lead-muted { color: var(--muted); }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.3rem; }
.article-body li { margin-bottom: 0.6rem; color: var(--text); }
.article-body a { color: var(--bloom); text-decoration: underline; text-decoration-color: rgba(124,79,212,0.3); }
.article-body a:hover { text-decoration-color: var(--bloom); }
.article-body a.btn-primary,
.article-body a.btn-primary:hover { color: white; text-decoration: none; }
.article-body strong { color: var(--deep); font-weight: 600; }

.callout {
  background: linear-gradient(135deg, rgba(124,79,212,0.06), rgba(75,172,200,0.06));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 1.75rem 0;
}
.callout .callout-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bloom);
  margin-bottom: 0.5rem;
  display: block;
}
.callout p:last-child { margin-bottom: 0; }

/* MID-ARTICLE APP CTA */
.app-cta {
  max-width: 760px;
  margin: 2.5rem auto;
  padding: 2rem 1.75rem;
  background: linear-gradient(140deg, #1A0D50 0%, #3A2090 45%, #1E5A90 100%);
  border-radius: 22px;
  text-align: center;
}
.app-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.6rem;
}
.app-cta p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 1.3rem; line-height: 1.6; }
.app-cta .btn-primary { padding: 0.8rem 1.75rem; }

/* FAQ-style accordion reuse (simple list) */
.article-body .qa-item { margin-bottom: 1.5rem; }
.article-body .qa-item h3 { margin-top: 0; }

/* FULL DISCLAIMER (article footer) */
.full-disclaimer {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1.5rem 1.75rem;
  background: rgba(240, 185, 74, 0.08);
  border: 1px solid rgba(240, 185, 74, 0.3);
  border-radius: 16px;
  font-size: 0.86rem;
  color: #6B5420;
  line-height: 1.7;
}
.full-disclaimer strong { color: #5A4418; }

/* RELATED ARTICLES */
.related {
  max-width: 760px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}
.related h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 1rem;
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-link {
  display: block;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--deep);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: all 0.2s;
}
.related-link:hover { border-color: var(--bloom); transform: translateY(-2px); }

/* FOOTER (shared) */
footer { background: #0D0A22; padding: 3rem 2rem 2.5rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-logo img { width: 30px; height: 30px; border-radius: 8px; }
.footer-logo span { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: white; }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.07); }
.footer-copy { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer-copy a { color: rgba(255,255,255,0.65); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .article-grid { grid-template-columns: 1fr; padding: 2rem 1.25rem 4rem; }
  .related-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
  .breadcrumb, .hub-header, .article-header, .tldr, .disclaimer, .app-cta, .full-disclaimer, .related { padding-left: 1.25rem; padding-right: 1.25rem; }
}
