/*
  InterviewMesh Blog — Shared Dark Theme
  Loaded AFTER each page's inline <style> to override CSS variables and
  apply the marketing-site dark aesthetic uniformly across all blog pages.
  ─────────────────────────────────────────────────────────────────────── */

/* ── Google Fonts (JetBrains Mono — matches marketing site) ── */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Override every variable used by blog pages → marketing dark palette ── */
:root {
  /* Backgrounds */
  --bg:          #000000;
  --bg-1:        #0c0d10;
  --bg-2:        #111316;
  --card:        #0e1013;
  --card-hover:  #131519;
  --paper:       #000000;   /* HelloInterview article uses --paper */
  --paper-2:     #0c0d10;   /* HelloInterview article uses --paper-2 */

  /* Text */
  --ink:         #f0f0ee;
  --ink-soft:    #b2b8c0;
  --muted:       #6b7480;
  --dim:         #4a5260;
  --text:        #f0f0ee;
  --text-secondary: #b2b8c0;

  /* Borders & dividers */
  --rule:        rgba(255, 255, 255, 0.08);
  --border:      rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.07);

  /* Accents */
  --accent:       #00D4AA;
  --accent-soft:  rgba(0, 212, 170, 0.12);
  --accent-2:     #00D4AA;
  --teal:         #00D4AA;
  --teal-dim:     rgba(0, 212, 170, 0.10);
  --green:        #00D4AA;
  --gold:         #F5A623;
  --amber:        #F5A623;
  --rose:         #FF6B8A;
  --red:          #FF6B8A;
  --highlight:    rgba(0, 212, 170, 0.12);

  /* Nav */
  --header-bg:   rgba(7, 8, 10, 0.88);
}

/* ── Base ── */
html {
  background: #000000;
  color-scheme: dark;
}

body {
  background: #000000 !important;
  color: #f0f0ee !important;
}

/* Kill the HelloInterview article's paper-texture gradient and grain overlay */
body::before { display: none !important; }
.grain { display: none !important; }

/* ── NAV ── */
nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(7, 8, 10, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(18px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.1) !important;
}

/* Masthead (HelloInterview article uses .masthead instead of nav) */
.masthead {
  background: rgba(7, 8, 10, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.masthead-top {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  color: #6b7480 !important;
}

.masthead-title { color: #f0f0ee !important; }
.masthead-sub { color: #6b7480 !important; }

.nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 40px !important;
  height: 72px !important;
  font-family: 'JetBrains Mono', monospace !important;
}

/* Logo — match marketing site: bold mono, no italic */
.nav-logo {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 1.2rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: #f0f0ee !important;
  text-decoration: none !important;
}

.nav-logo span {
  color: #00D4AA !important;
  font-style: normal !important;
}

/* Nav links */
.nav-links a,
.nav-link,
.nav-link-btn {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #6b7480 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  transition: color 0.2s, background 0.2s !important;
  text-decoration: none !important;
}

.nav-links a:hover,
.nav-link:hover {
  color: #f0f0ee !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transform: none !important;
}

/* nav-cta is a flex container (matching landing page structure) */
.nav-cta {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* btn-primary — matches .lp .btn-primary on the landing page exactly */
.btn-primary {
  position: relative !important;
  background: rgba(0, 212, 170, 0.06) !important;
  border: 1px solid rgba(0, 212, 170, 0.35) !important;
  border-radius: 6px !important;
  padding: 9px 22px !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #00D4AA !important;
  letter-spacing: 0.08em !important;
  font-family: 'JetBrains Mono', monospace !important;
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.06) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.btn-primary::before {
  content: '> ';
  color: rgba(0, 212, 170, 0.5) !important;
  font-weight: 400 !important;
}

.btn-primary:hover {
  background: rgba(0, 212, 170, 0.1) !important;
  border-color: rgba(0, 212, 170, 0.6) !important;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.12) !important;
  color: #00f0c0 !important;
}

/* Site nav (added by us during blog build, not the original .masthead) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(7, 8, 10, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

/* ── Article typography ── */
article p strong { color: #f0f0ee !important; }

article a {
  color: #00D4AA !important;
  border-bottom-color: rgba(0, 212, 170, 0.3) !important;
  text-decoration: none !important;
}

article a:hover {
  color: #f0f0ee !important;
  border-bottom-color: rgba(240, 240, 238, 0.3) !important;
}

/* Section dividers */
section {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* Drop cap */
.lede::first-letter { color: #00D4AA !important; }

/* ── Headers ── */
h1, h2, h3, h4, h5, h6 {
  color: #f0f0ee;
}

h1.headline,
h1.headline em,
.hero-headline,
.section-title,
.article-h,
.blog-title,
.masthead-title {
  color: #f0f0ee !important;
}

h2.section-h { color: #f0f0ee !important; }
h2.section-h em { color: #00D4AA !important; }
h2.section-h .num { color: #00D4AA !important; }
h3.tool-h { color: #f0f0ee !important; }

/* ── Blockquote / pull quote ── */
blockquote.pull {
  border-left-color: #00D4AA !important;
  color: #f0f0ee !important;
}

blockquote.pull cite { color: #6b7480 !important; }

/* ── TOC ── */
.toc {
  background: #0c0d10 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.toc ol li {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.toc ol li a { color: #f0f0ee !important; }
.toc ol li a:hover {
  color: #00D4AA !important;
  border-bottom-color: #00D4AA !important;
}

/* ── Tag pill ── */
.article-tag,
.tag-row .pill {
  background: rgba(0, 212, 170, 0.15) !important;
  color: #00D4AA !important;
}

/* ── Article cards (blog index) ── */
.article-card { color: #f0f0ee !important; }
.article-card:hover .article-h { color: #00D4AA !important; }
.article-dek { color: #6b7480 !important; }
.article-read-more {
  color: #00D4AA !important;
  border-bottom-color: #00D4AA !important;
}
.articles-label { color: #6b7480 !important; }
.blog-kicker { color: #00D4AA !important; }
.blog-desc { color: #6b7480 !important; }

/* ── Coming-soon cards ── */
.cs-card {
  background: #0c0d10 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

.cs-card-tag { color: #6b7480 !important; }
.cs-card-title { color: #b2b8c0 !important; }

.cs-badge {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #6b7480 !important;
}

/* ── Comparison table ── */
table { border-color: rgba(255, 255, 255, 0.08) !important; }

thead tr,
.compare-table thead tr {
  background: #111316 !important;
}

th {
  background: #111316 !important;
  color: #6b7480 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

td {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f0f0ee !important;
}

tr:nth-child(even) td { background: #0c0d10 !important; }
tr:hover td { background: #111316 !important; }

/* ── Profile cards (HelloInterview article) ── */
.profile-card {
  background: #0c0d10 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

.profile-card.alt { background: #111316 !important; }

.profiles {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.profile-name { color: #f0f0ee !important; }
.profile-tagline { color: #b2b8c0 !important; }
.profile-domain { color: #6b7480 !important; }
.profile-tag { color: #00D4AA !important; }
.profile-card.alt .profile-tag { color: #F5A623 !important; }

/* ── Verdict card (HelloInterview article) ── */
.verdict-card {
  background: #0c0d10 !important;
  border: 1px solid rgba(0, 212, 170, 0.2) !important;
  color: #f0f0ee !important;
}


/* ═══════════════════════════════════════════════════════════════
   APPEND TO blog.css — dark-theme styles for new components
   added to top-5-ai-interview-tools-comparison.html
   (verdict CTA, transcript block, inline CTAs, matrix footnote,
   integrity stat grid, takeaway CTA)
   ═══════════════════════════════════════════════════════════════ */

/* ── Verdict card CTA row ── */
.verdict-cta {
  margin-top: 20px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.verdict-cta-note {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  color: #6b7480 !important;
  text-transform: none !important;
}

/* ── Transcript demonstration block ── */
.transcript {
  margin: 40px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #0c0d10 !important;
  padding: 32px !important;
}

.transcript-turn {
  margin-bottom: 24px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.08) !important;
}

.transcript-turn:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.transcript-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  color: #6b7480 !important;
  margin-bottom: 10px !important;
}

.transcript-ai .transcript-label { color: #00D4AA !important; }
.transcript-user .transcript-label { color: #F5A623 !important; }

.transcript-text {
  font-family: 'Fraunces', serif !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 300 !important;
  color: #f0f0ee !important;
}

.transcript-text em {
  background: rgba(0, 212, 170, 0.14) !important;
  color: #00D4AA !important;
  padding: 1px 6px !important;
  font-style: italic !important;
  border-radius: 2px !important;
}

/* Annotation row inside transcript */
.transcript-note {
  background: #111316 !important;
  border-left: 2px solid #00D4AA !important;
  padding: 18px 20px !important;
  margin-top: 8px !important;
}

.transcript-note .transcript-label {
  color: #00D4AA !important;
}

.transcript-note .transcript-text {
  font-family: 'Inter Tight', -apple-system, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #b2b8c0 !important;
  font-weight: 400 !important;
}

/* ── Inline CTA blocks ── */
.cta-inline {
  margin: 40px 0 !important;
  padding: 32px !important;
  text-align: center !important;
  border: 1px solid rgba(0, 212, 170, 0.2) !important;
  background: #0c0d10 !important;
}

.cta-inline-note {
  display: block !important;
  margin-top: 14px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #6b7480 !important;
}

/* ── Matrix footnote ── */
.matrix-footnote {
  margin-top: 20px !important;
  padding: 16px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #b2b8c0 !important;
}

.matrix-footnote a {
  color: #00D4AA !important;
  font-style: normal !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 212, 170, 0.4) !important;
  margin-left: 6px !important;
  padding-bottom: 1px !important;
  transition: color 0.15s, border-color 0.15s !important;
}

.matrix-footnote a:hover {
  color: #00f0c0 !important;
  border-bottom-color: #00D4AA !important;
}

/* ── Integrity stat grid (§04) ── */
.integrity-stat {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  margin: 40px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #0c0d10 !important;
}

.integrity-stat-cell {
  padding: 36px 24px !important;
  text-align: center !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.integrity-stat-cell:last-child {
  border-right: none !important;
}

.integrity-stat-num {
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: 64px !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #00D4AA !important;
  margin-bottom: 12px !important;
}

.integrity-stat-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  color: #6b7480 !important;
}

/* ── Takeaway CTA block ── */
.takeaway-cta {
  margin-top: 32px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.btn-large {
  padding: 14px 32px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.takeaway-cta-meta {
  margin-top: 18px !important;
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.takeaway-cta-meta span {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  color: #6b7480 !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #0c0d10 !important;
  text-transform: none !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .integrity-stat {
    grid-template-columns: 1fr !important;
  }
  .integrity-stat-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .integrity-stat-cell:last-child {
    border-bottom: none !important;
  }
  .integrity-stat-num {
    font-size: 48px !important;
  }
}

@media (max-width: 600px) {
  .transcript {
    padding: 24px 20px !important;
  }
  .transcript-text {
    font-size: 16px !important;
  }
  .cta-inline {
    padding: 24px 20px !important;
  }
  .verdict-cta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .takeaway-cta-meta {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .takeaway-cta-meta span {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── FOOTER ── */
footer {
  background: #000000 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  overflow: hidden !important;
  margin-top: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  content-visibility: auto !important;
  contain-intrinsic-size: auto 600px !important;
}

.footer-wordmark {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 1000 !important;
  font-style: italic !important;
  font-size: clamp(4rem, 10.5vw, 12rem) !important;
  line-height: 1.85 !important;
  letter-spacing: -0.001em !important;
  color: rgba(255,255,255,0.10) !important;
  padding: 3vw 0 1vw !important;
  user-select: none !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  transform: scaleY(2.95) !important;
  transform-origin: center !important;
}

.footer-grid {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 48px 32px 32px !important;
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1fr !important;
  gap: 40px !important;
  border-top: 0.5px solid rgba(255,255,255,0.06) !important;
}

.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.footer-brand-desc {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.35) !important;
  line-height: 1.6 !important;
  max-width: 280px !important;
}

.footer-col-title {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.30) !important;
  margin-bottom: 14px !important;
}

.footer-col-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.footer-bottom {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 16px 32px 28px !important;
  border-top: 0.5px solid rgba(255,255,255,0.06) !important;
}

a.footer-logo,
.footer-logo {
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0 !important;
  color: rgba(255,255,255,0.45) !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  font-style: normal !important;
  border-bottom: none !important;
}

a.footer-logo:hover,
.footer-logo:hover { color: #f0f0ee !important; }

.footer-link-btn {
  padding: 0 !important;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.40) !important;
  transition: color 0.2s !important;
  background: transparent !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.footer-link-btn:hover {
  color: #f0f0ee !important;
  border-bottom: none !important;
}

.footer-copy {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.30) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .footer-wordmark { font-size: clamp(2rem, 12vw, 4.5rem) !important; padding: 8vw 0 5vw !important; }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
  .footer-brand { grid-column: 1 / -1 !important; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-inner { padding: 0 20px !important; }
}

.verdict-label { color: #F5A623 !important; }
.verdict-text { color: #f0f0ee !important; }
.verdict-text strong { color: #F5A623 !important; }

.verdict-stamp {
  background: #00D4AA !important;
  color: #000000 !important;
}

/* ── Scoring tables (HelloInterview article) ── */
.scoring-table,
.score-row {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.score-label { color: #b2b8c0 !important; }
.score-winner { color: #00D4AA !important; }

/* ── Callout / highlight boxes ── */
.callout,
.takeaway,
.insight,
.highlight-box {
  background: #0c0d10 !important;
  border-left-color: #00D4AA !important;
  color: #f0f0ee !important;
}

/* ── Share section ── */
.share-section,
.share-block,
.share-box {
  background: #0c0d10 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f0f0ee !important;
}

/* Share buttons */
.share-btn {
  background: #111316 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f0f0ee !important;
}

.share-btn:hover { border-color: #00D4AA !important; color: #00D4AA !important; }

/* ── Related articles block ── */
.related-section,
.related-block {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #f0f0ee !important;
}

.related-card,
.related-link {
  background: #0c0d10 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  color: #f0f0ee !important;
}

.related-card:hover { border-color: rgba(0, 212, 170, 0.3) !important; }

/* ── CTA banner ── */
.cta-banner,
.final-cta,
.cta-section {
  background: #0c0d10 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner h2,
.final-cta h2 { color: #f0f0ee !important; }

.cta-banner h2 em,
.final-cta h2 em { color: #00D4AA !important; }

.cta-banner p,
.final-cta p { color: #6b7480 !important; font-style: normal !important; }

/* Buttons — article CTA only (has both .btn AND .btn-primary classes) */
.btn.btn-primary {
  background: #00D4AA !important;
  color: #000000 !important;
  border-color: transparent !important;
}

.btn-primary:hover { opacity: 0.87 !important; }

.btn-secondary,
.btn.btn-secondary {
  background: transparent !important;
  color: #f0f0ee !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.4) !important; }



/* ── Byline / meta ── */
.byline,
.tag-row,
.article-meta,
.tool-meta,
.post-meta {
  color: #6b7480 !important;
}

.byline strong,
.tool-meta strong { color: #f0f0ee !important; }

/* ── Dek / sub-headline ── */
.dek,
.hero-deck,
.section-deck {
  color: #b2b8c0 !important;
}

/* ── Section numbers / eyebrows ── */
.section-num span:first-child,
.kicker { color: #00D4AA !important; }

/* Kicker line */
.kicker::before { background: #00D4AA !important; }

/* ── InArticle line rules ── */
.lede::after,
.hero-byline {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #6b7480 !important;
}

/* ── Scrollbar styling ── */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   EDITORIAL DESIGN SYSTEM — structural classes for all blog posts
   using the hellointerview-style editorial layout.
   These use CSS variables; dark overrides are applied above.
   ═══════════════════════════════════════════════════════════════ */

/* ── Body font ── */
body {
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Masthead ── */
.masthead {
  padding: 24px 0 16px;
}
.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.vol { font-weight: 700; }
.masthead-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-style: italic;
  padding: 18px 0;
}
.masthead-title .amp {
  font-style: italic;
  font-weight: 200;
}
.masthead-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

/* ── Hero ── */
.hero {
  padding: 64px 0 48px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
}
.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
}
.hero-deck {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  max-width: 60ch;
  margin-bottom: 0;
}
.hero-byline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ── Verdict card ── */
.verdict-card {
  padding: 32px;
  position: relative;
  margin-top: 32px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--rule);
}
.verdict-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.6;
}
.verdict-text {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 300;
}
.verdict-stamp {
  position: absolute;
  top: -14px;
  right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 5px 12px;
  letter-spacing: 0.2em;
  transform: rotate(2deg);
  text-transform: uppercase;
}

/* ── Sections ── */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-num span:nth-child(2) { opacity: 0.5; }
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
}
.section-deck {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  max-width: 58ch;
  margin-bottom: 48px;
  line-height: 1.5;
}
.section-body p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.4em;
}
.section-body p:last-child { margin-bottom: 0; }
.section-body p strong { font-weight: 600; }
.section-body blockquote.pull { margin: 2em 0; }

/* ── Profile cards ── */
.profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 32px;
}
.profile-card {
  padding: 36px 32px;
  background: var(--ink);
  color: var(--paper);
  border-right: 1px solid var(--rule);
}
.profile-card:last-child { border-right: none; }
.profile-card.alt {
  background: var(--paper-2);
  color: var(--ink);
}
.profile-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
}
.profile-name {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}
.profile-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.profile-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.profile-card.alt .profile-tagline {
  border-bottom-color: rgba(0,0,0,0.1);
}
.profile-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  font-size: 13px;
}
.meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255,255,255,0.1);
}
.profile-card.alt .meta-row {
  border-bottom-color: rgba(0,0,0,0.08);
}
.meta-row:last-child { border-bottom: none; }
.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-top: 2px;
  opacity: 0.5;
}

/* ── Pros / Cons ── */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}
.pc-block {
  border-top: 2px solid var(--rule);
  padding-top: 16px;
}
.pc-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.pc-title.pros { color: var(--green); }
.pc-title.cons { color: var(--red); }
.pc-list { list-style: none; }
.pc-list li {
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 14px;
  line-height: 1.55;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
}
.pc-list li:last-child { border-bottom: none; }
.pc-list.pros li::before {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--green);
}
.pc-list.cons li::before {
  content: '−';
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--red);
}

/* ── Matrix table ── */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  margin-top: 4px;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 660px;
}
.matrix thead th {
  text-align: left;
  padding: 16px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--paper-2);
}
.matrix thead th:first-child { width: 28%; }
.matrix tbody tr { border-bottom: 1px solid var(--rule); }
.matrix tbody td {
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.45;
}
.matrix tbody td:first-child {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
}
.matrix .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
  font-weight: 600;
}
.matrix .tag.win  { background: var(--green); color: #000; }
.matrix .tag.lose { background: var(--red);   color: #fff; }
.matrix .tag.tie  { background: var(--gold);  color: #000; }

/* ── Value grid ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 40px;
}
.value-cell {
  background: var(--paper-2);
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.value-cell:nth-child(3n) { border-right: none; }
.value-cell:nth-last-child(-n+3) { border-bottom: none; }
.value-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.value-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.value-headline {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}
.value-body {
  font-size: 13px;
  line-height: 1.55;
}

/* ── Takeaway ── */
.takeaway {
  padding: 80px 0 96px;
  border-bottom: none !important;
}
.takeaway-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.takeaway-pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.28;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}
.takeaway-pull strong {
  font-weight: 600;
  font-style: normal;
  color: var(--accent);
}
.takeaway-body p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.takeaway-body p:last-child { margin-bottom: 0; }
.takeaway-body p strong { font-weight: 600; }
.takeaway-body a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ── Blockquote / pull quote ── */
blockquote.pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  border-left: 3px solid var(--accent);
  padding: 10px 20px;
  margin: 2em 0;
}

/* ── Related posts ── */
.related {
  padding: 48px 0 64px;
  border-top: 1px solid var(--rule);
  border-bottom: none;
}
.related-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.5;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.related-card {
  padding: 24px 20px;
  text-decoration: none;
  display: block;
  background: var(--paper);
}
.related-card:hover { background: var(--paper-2); }
.related-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.5;
}
.related-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

/* ── Dark mode extras for editorial classes ── */
.value-cell {
  background: #0c0d10 !important;
}
.related-card {
  background: #000000 !important;
}
.related-card:hover {
  background: #0c0d10 !important;
}
.related-grid {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.related-title { color: #6b7480 !important; opacity: 1 !important; }
.related-card h3 { color: #f0f0ee !important; }
.related-tag { color: #6b7480 !important; opacity: 1 !important; }
.related-card:hover h3 { color: #00D4AA !important; }

.profile-card {
  background: #0c0d10 !important;
  color: #f0f0ee !important;
  border-right-color: rgba(255,255,255,0.07) !important;
}
.profile-card.alt {
  background: #111316 !important;
  color: #f0f0ee !important;
}
.profile-card .profile-tagline {
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
.profile-card.alt .profile-tagline {
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
.profiles { border-color: rgba(255,255,255,0.08) !important; background: none !important; }

.verdict-card {
  background: #0c0d10 !important;
  border-color: rgba(0,212,170,0.2) !important;
  color: #f0f0ee !important;
}
.verdict-label { color: #F5A623 !important; opacity: 1 !important; }
.verdict-text { color: #f0f0ee !important; }
.verdict-text strong { color: #F5A623 !important; }
.verdict-stamp { background: #00D4AA !important; color: #000 !important; }

.masthead { background: transparent !important; border-bottom-color: rgba(255,255,255,0.12) !important; }
.masthead-top { border-bottom-color: rgba(255,255,255,0.1) !important; color: #6b7480 !important; }
.masthead-sub { color: #6b7480 !important; border-top-color: rgba(255,255,255,0.08) !important; }
.masthead-title { color: #f0f0ee !important; }

.hero { border-bottom-color: rgba(255,255,255,0.1) !important; }
.hero-headline { color: #f0f0ee !important; }
.hero-deck { color: #b2b8c0 !important; }
.hero-byline { border-top-color: rgba(255,255,255,0.08) !important; color: #6b7480 !important; }

.section-title { color: #f0f0ee !important; }
.section-deck { color: #b2b8c0 !important; }
.section-num span:nth-child(2) { color: #6b7480 !important; opacity: 1 !important; }

section { border-bottom-color: rgba(255,255,255,0.08) !important; }
.proscons .pc-block { border-top-color: rgba(255,255,255,0.1) !important; }
.pc-list li { border-bottom-color: rgba(255,255,255,0.07) !important; color: #b2b8c0 !important; }
.meta-row { border-bottom-color: rgba(255,255,255,0.07) !important; }
.meta-val { color: #b2b8c0 !important; }

.matrix-wrap { border-color: rgba(255,255,255,0.1) !important; }
.matrix thead th { background: #0c0d10 !important; color: #6b7480 !important; border-color: rgba(255,255,255,0.08) !important; }
.matrix tbody td { color: #b2b8c0 !important; border-color: rgba(255,255,255,0.07) !important; }
.matrix tbody td:first-child { color: #f0f0ee !important; }
.matrix tbody tr:nth-child(even) td { background: #0a0b0e !important; }

.takeaway-pull { color: #f0f0ee !important; border-left-color: #00D4AA !important; }
.takeaway-pull strong { color: #00D4AA !important; }
.takeaway-body p { color: #b2b8c0 !important; }
.takeaway-body a { color: #00D4AA !important; }

.value-num { color: #00D4AA !important; }
.value-label { color: #6b7480 !important; }
.value-headline { color: #f0f0ee !important; }
.value-body { color: #b2b8c0 !important; }
.value-cell { border-color: rgba(255,255,255,0.07) !important; }

blockquote.pull { border-left-color: #00D4AA !important; color: #b2b8c0 !important; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .profiles { grid-template-columns: 1fr; }
  .profile-card { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .profile-card:last-child { border-bottom: none; }
  .proscons { grid-template-columns: 1fr; gap: 32px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .takeaway-grid { grid-template-columns: 1fr; gap: 32px; }
  .masthead-title { font-size: clamp(36px, 11vw, 72px); }
}
@media (max-width: 600px) {
  .container, .container-wide { padding: 0 20px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule) !important; }
  .value-cell:last-child { border-bottom: none !important; }
  .matrix-wrap { margin: 0 -20px; border-left: none; border-right: none; }
  .hero-headline { font-size: clamp(26px, 8vw, 40px); }
  section { padding: 56px 0; }
  .takeaway { padding: 56px 0 72px; }
}

/* ── Back-to-blog bar ── */
.back-to-blog-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px 0;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7480;
  text-decoration: none;
  transition: color 0.15s;
}

.back-to-blog:hover {
  color: #00D4AA;
}

/* ── HelloInterview article: sections that use var(--ink) as background ──
   After fixing load order, --ink becomes #f0f0ee (light). These sections
   intentionally inverted the palette (dark bg sections), so they need
   explicit dark overrides. ── */
.revenue {
  background: #0c0d10 !important;
  color: #f0f0ee !important;
}
.revenue .section-title { color: #f0f0ee !important; }
.verdict-final p { color: #b2b8c0 !important; }

.integrity {
  background: #0c0d10 !important;
  color: #f0f0ee !important;
}
.integrity-title { color: #f0f0ee !important; }

.candidate-strip {
  background: #111316 !important;
  color: #f0f0ee !important;
}

/* ── Selection highlight ── */
::selection { background: #00D4AA; color: #04110e; }


/* ═══════════════════════════════════════════════════════════════
   APPEND TO blog.css — dark-theme styles for blog INDEX page
   (the published-articles list at /blog)
   Overrides the light cream/red inline <style> block in index.html
   so it matches the marketing site's dark editorial palette.
   ═══════════════════════════════════════════════════════════════ */

/* ── Body baseline — fix font stack on index ── */
body {
  font-family: 'Inter Tight', -apple-system, sans-serif !important;
  background: #000000 !important;
  color: #f0f0ee !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ── Container width on index — match marketing site ── */
.container {
  max-width: 1200px !important;
  padding: 0 32px !important;
}

/* ── BLOG HEADER ── */
.blog-header {
  padding: 80px 0 56px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.blog-kicker {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: #00D4AA !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.blog-kicker::before {
  content: '' !important;
  width: 24px !important;
  height: 1px !important;
  background: #00D4AA !important;
}

.blog-title {
  font-family: 'Fraunces', 'Instrument Serif', serif !important;
  font-size: clamp(42px, 6vw, 72px) !important;
  font-weight: 300 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  color: #f0f0ee !important;
  margin-bottom: 24px !important;
}

.blog-title em {
  color: #00D4AA !important;
  font-style: italic !important;
  font-weight: 300 !important;
}

.blog-desc {
  font-family: 'Fraunces', serif !important;
  font-weight: 300 !important;
  font-style: italic !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
  color: #b2b8c0 !important;
  max-width: 60ch !important;
}

/* ── ARTICLES LIST ── */
.articles {
  padding: 64px 0 !important;
}

.articles-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #6b7480 !important;
  margin-bottom: 40px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.article-card {
  display: block !important;
  text-decoration: none !important;
  color: #f0f0ee !important;
  padding: 40px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: opacity 0.2s !important;
}

.article-card:hover {
  background: transparent !important;
}

.article-card:hover .article-h {
  color: #00D4AA !important;
}

.article-card:hover .article-read-more {
  color: #00f0c0 !important;
  border-bottom-color: #00f0c0 !important;
}

.article-meta {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #6b7480 !important;
  margin-bottom: 14px !important;
  flex-wrap: wrap !important;
}

.article-tag {
  background: rgba(0, 212, 170, 0.12) !important;
  color: #00D4AA !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  border: 1px solid rgba(0, 212, 170, 0.25) !important;
}

.article-h {
  font-family: 'Fraunces', 'Instrument Serif', serif !important;
  font-size: clamp(24px, 3.5vw, 36px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
  color: #f0f0ee !important;
  margin-bottom: 14px !important;
  transition: color 0.15s !important;
}

.article-dek {
  font-family: 'Fraunces', serif !important;
  font-weight: 300 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #b2b8c0 !important;
  max-width: 70ch !important;
  margin-bottom: 22px !important;
}

.article-read-more {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #00D4AA !important;
  border-bottom: 1px solid rgba(0, 212, 170, 0.4) !important;
  padding-bottom: 2px !important;
  font-weight: 500 !important;
  transition: all 0.15s !important;
}

/* ── COMING SOON CARDS ── */
.coming-soon-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  margin-top: 56px !important;
  padding-top: 48px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.coming-soon-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #6b7480 !important;
  margin-bottom: 24px !important;
  grid-column: 1 / -1 !important;
}

.cs-card {
  padding: 24px !important;
  background: #0c0d10 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
}

.cs-card-tag {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #6b7480 !important;
  margin-bottom: 10px !important;
}

.cs-card-title {
  font-family: 'Fraunces', 'Instrument Serif', serif !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #b2b8c0 !important;
}

.cs-badge {
  display: inline-block !important;
  margin-top: 14px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #6b7480 !important;
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
}

/* ── CTA BANNER (dark with teal accent, not red) ── */
.cta-banner {
  background: #0c0d10 !important;
  color: #f0f0ee !important;
  padding: 80px 0 !important;
  text-align: center !important;
  margin-top: 80px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.cta-banner h2 {
  font-family: 'Fraunces', 'Instrument Serif', serif !important;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  color: #f0f0ee !important;
  margin-bottom: 20px !important;
}

.cta-banner h2 em {
  color: #00D4AA !important;
  font-style: italic !important;
  font-weight: 300 !important;
}

.cta-banner p {
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  color: #b2b8c0 !important;
  max-width: 50ch !important;
  margin: 0 auto 32px !important;
  line-height: 1.5 !important;
}

/* CTA banner buttons — match marketing site btn-primary exactly */
.cta-banner .btn {
  display: inline-block !important;
  padding: 12px 28px !important;
  text-decoration: none !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.cta-banner .btn-primary {
  background: rgba(0, 212, 170, 0.06) !important;
  border: 1px solid rgba(0, 212, 170, 0.35) !important;
  color: #00D4AA !important;
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.06) !important;
}

.cta-banner .btn-primary::before {
  content: '> ' !important;
  color: rgba(0, 212, 170, 0.5) !important;
  font-weight: 400 !important;
}

.cta-banner .btn-primary:hover {
  background: rgba(0, 212, 170, 0.1) !important;
  border-color: rgba(0, 212, 170, 0.6) !important;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.12) !important;
  color: #00f0c0 !important;
}

.cta-banner .btn-secondary {
  background: transparent !important;
  color: #b2b8c0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  margin-left: 12px !important;
}

.cta-banner .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #f0f0ee !important;
}

/* ── Responsive for index ── */
@media (max-width: 700px) {
  .coming-soon-grid {
    grid-template-columns: 1fr !important;
  }
  .blog-header {
    padding: 56px 0 40px !important;
  }
  .articles {
    padding: 48px 0 !important;
  }
  .article-card {
    padding: 32px 0 !important;
  }
  .cta-banner {
    padding: 56px 0 !important;
  }
  .cta-banner .btn-secondary {
    margin-left: 0 !important;
    margin-top: 12px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   APPEND TO blog.css — fix divider stacking on blog index +
   separate CTA banner from footer (no more gray-on-gray merge)
   ═══════════════════════════════════════════════════════════════ */

/* ── FIX 1: Remove redundant dividers on blog index ──
   The blog-header already has a bottom border. The articles-label
   immediately below adds a second one. The first article-card's
   top edge sits right after, creating a third visual line.
   Solution: keep ONE divider — drop the header's, drop the label's,
   and let the first article-card's top border be the only rule. */

.blog-header {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.articles-label {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 32px !important;
}

/* Give the first article-card a top border so the list has a
   clean opening rule (replaces the removed ones above) */
.article-card:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Tighten the spacing now that the dividers are gone */
.articles {
  padding: 48px 0 64px !important;
}

/* ── FIX 2: CTA banner should be pure black (matches body),
   not #0c0d10 which reads as gray and merges with the footer.
   The footer keeps its #0c0d10 — that's what gives the page
   its bottom anchor. The CTA becomes a clean black band with
   subtle hairline rules above and below. ── */

.cta-banner {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 0 !important;
}

/* ── FIX 3: Footer background matches landing page (#000000 = --bg) ── */

footer {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  margin-top: 0 !important;
}

/* ── FIX 4: Optional polish — kill any extra section dividers
   that might be stacking elsewhere on the index ── */

.container > .blog-header + .container,
.container + .container {
  border-top: none !important;
}

