:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #7c5cff;
  --accent-glow: rgba(124, 92, 255, 0.15);
  --accent-secondary: #ff6b8a;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(124, 92, 255, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta-row {
  margin-bottom: 2rem;
}

.hero-cta-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.hero-cta-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 240px;
  line-height: 1.4;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: rgba(124, 92, 255, 0.25);
}

.problem-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 720px;
  margin: 0 auto;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-row {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.2rem;
  flex-shrink: 0;
  width: 2rem;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.closing-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 2rem;
}

.closing-text p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  flex-grow: 1;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--fg);
}

/* ===== BLOG MAIN ===== */
.blog-main {
  padding-top: 4rem;
}

/* ===== BLOG HEADER ===== */
.blog-header {
  position: relative;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.blog-header-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.blog-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  margin-top: 1.5rem;
}

/* ===== ARTICLE LIST ===== */
.article-list {
  padding: 4rem 2rem 6rem;
}

.article-list-inner {
  max-width: 960px;
  margin: 0 auto;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.article-card--featured {
  grid-column: 1 / -1;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.15s;
}

.article-card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  transform: translateY(-2px);
}

.article-card-link {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.article-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(124, 92, 255, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.article-tag--linked {
  text-decoration: none;
  transition: border-color 0.15s;
}

.article-tag--linked:hover {
  border-color: var(--accent);
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.article-card--featured .article-card-title {
  font-size: 1.8rem;
}

.article-card-subtitle {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}

.meta-dot {
  color: var(--fg-muted);
  opacity: 0.4;
}

.article-card-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
}

.empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--fg-muted);
  font-size: 1.1rem;
}

/* ===== ARTICLE MAIN ===== */
.article-main {
  padding-top: 4rem;
}

/* ===== ARTICLE FULL ===== */
.article-full-header {
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.article-full-header-inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-full-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.75rem;
  color: var(--fg);
}

.article-full-subtitle {
  font-size: 1.2rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.article-full-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg-muted);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.share-btn:hover {
  border-color: rgba(124, 92, 255, 0.4);
  color: var(--fg);
}

.share-buttons--large .share-btn {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
}

/* ===== ARTICLE BODY ===== */
.article-body {
  padding: 3rem 2rem 4rem;
}

.article-body-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--fg);
}

.article-body-inner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
  color: var(--fg);
}

.article-body-inner h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.75rem;
  color: var(--fg);
}

.article-body-inner p {
  margin-bottom: 1.4rem;
  color: var(--fg);
}

.article-body-inner ul,
.article-body-inner ol {
  margin: 0 0 1.4rem 1.5rem;
  padding: 0;
}

.article-body-inner li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-body-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body-inner a:hover {
  color: var(--fg);
}

.article-body-inner blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-surface);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--fg-muted);
}

.article-body-inner strong {
  font-weight: 600;
  color: var(--fg);
}

.article-body-inner code {
  font-family: monospace;
  font-size: 0.9em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15em 0.4em;
}

/* "What This Means For You" callout box — use <div class="callout"> in body_html */
.article-body-inner .callout {
  background: var(--bg-card);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.article-body-inner .callout-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ===== ARTICLE FOOTER ===== */
.article-full-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  background: var(--bg-surface);
}

.article-full-footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-share-prompt p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
  padding: 4rem 2rem 6rem;
  border-top: 1px solid var(--border);
}

.related-articles-inner {
  max-width: 960px;
  margin: 0 auto;
}

.related-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card--small .article-card-title {
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 4rem 1.5rem 3rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .feature-number {
    width: auto;
  }

  .hero-stat {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .stat-label {
    max-width: 100%;
  }

  .problem,
  .features,
  .closing {
    padding: 4rem 1.5rem;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card--featured {
    grid-column: 1;
  }

  .article-card--featured .article-card-title {
    font-size: 1.4rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .blog-header {
    padding: 3rem 1.5rem 2.5rem;
  }

  .article-full-header {
    padding: 3rem 1.5rem 2rem;
  }

  .article-body {
    padding: 2rem 1.5rem 3rem;
  }
}