/* Blog post styles — ai-automation-roi */

/* Article-specific styles */
.article-prose { max-width: 720px; margin: 0 auto; }
.article-prose h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0A0A0B;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10,10,11,0.08);
}
.article-prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-prose h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0A0A0B;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(10,10,11,0.7);
  margin-bottom: 1.25rem;
}
.article-prose ul, .article-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.article-prose li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(10,10,11,0.7);
  margin-bottom: 0.5rem;
}
.article-prose strong { color: #0A0A0B; font-weight: 600; }
.article-prose a {
  color: #7C3AED;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124,58,237,0.3);
  transition: text-decoration-color 0.2s;
}
.article-prose a:hover { text-decoration-color: #7C3AED; }
.article-prose blockquote {
  border-left: 3px solid #7C3AED;
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: rgba(124,58,237,0.03);
  border-radius: 0 12px 12px 0;
}
.article-prose blockquote p { margin-bottom: 0; font-style: italic; }

/* Definition / Quick Answer box */
.quick-answer {
  background: rgba(124,58,237,0.04);
  border: 1px solid rgba(124,58,237,0.12);
  border-left: 4px solid #7C3AED;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}
.quick-answer p { margin-bottom: 0; font-size: 1.1rem; line-height: 1.7; color: rgba(10,10,11,0.7); }
.quick-answer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7C3AED;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* Formula box */
.formula-box {
  background: #0A0A0B;
  color: #F7F6F2;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}
.formula-box .formula-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.5);
  margin-bottom: 12px;
}
.formula-box .formula-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #D4FF4F;
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(10,10,11,0.08);
}
.data-table thead { background: #0A0A0B; }
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #F7F6F2;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  font-family: 'Inter', system-ui, sans-serif;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(10,10,11,0.06);
  color: rgba(10,10,11,0.7);
  line-height: 1.5;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(124,58,237,0.02); }
.data-table .row-label { font-weight: 600; color: #0A0A0B; }

/* Stat cards row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px dashed rgba(10,10,11,0.15);
  border-radius: 12px;
  transition: all 0.25s ease;
}
.stat-box:hover { border-color: #7C3AED; background: rgba(124,58,237,0.03); transform: translateY(-2px); }
.stat-box .stat-val {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.5rem;
  color: #7C3AED;
  line-height: 1;
}
.stat-box .stat-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10,10,11,0.45);
  margin-top: 8px;
}

/* Worked example */
.worked-example {
  background: rgba(10,10,11,0.03);
  border: 1px solid rgba(10,10,11,0.08);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 1.5rem 0 2rem;
}
.worked-example h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7C3AED;
  margin-bottom: 12px;
}
.worked-example p { font-size: 0.95rem; line-height: 1.7; color: rgba(10,10,11,0.7); margin-bottom: 8px; }
.worked-example p:last-child { margin-bottom: 0; }
.worked-example .result {
  font-weight: 700;
  color: #0A0A0B;
  font-size: 1.05rem;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(10,10,11,0.08);
}

/* Timeline */
.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10,10,11,0.06);
}
.timeline-row:last-child { border-bottom: none; }
.timeline-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7C3AED;
  padding-top: 2px;
}
.timeline-desc h4 {
  font-weight: 600;
  color: #0A0A0B;
  font-size: 1rem;
  margin-bottom: 4px;
}
.timeline-desc p { font-size: 0.9rem; line-height: 1.6; color: rgba(10,10,11,0.6); margin-bottom: 0; }

/* ROI killer cards */
.killer-card {
  padding: 1.25rem 1.5rem;
  border: 1px dashed rgba(10,10,11,0.15);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: all 0.25s ease;
}
.killer-card:hover { border-color: #7C3AED; background: rgba(124,58,237,0.03); }
.killer-card h4 {
  font-weight: 700;
  color: #0A0A0B;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.killer-card p { font-size: 0.95rem; line-height: 1.6; color: rgba(10,10,11,0.6); margin-bottom: 0; }

/* FAQ */
.faq-block details {
  border-bottom: 1px solid rgba(10,10,11,0.08);
}
.faq-block details:last-child { border-bottom: none; }
.faq-block summary {
  padding: 1.25rem 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0A0A0B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-block summary .faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #7C3AED;
  transition: transform 0.2s ease;
}
.faq-block details[open] summary .faq-icon { transform: rotate(45deg); }
.faq-block .faq-body {
  padding: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(10,10,11,0.65);
}

/* Author bio */
.author-bio {
  background: rgba(10,10,11,0.03);
  border: 1px solid rgba(10,10,11,0.06);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .stat-row { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .data-table { font-size: 0.8rem; }
  .data-table th, .data-table td { padding: 8px 10px; }
  .formula-box .formula-text { font-size: 0.85rem; }
}