/* Shared styles for the blog-best-of page family. Extracted verbatim from identical inline blocks. */
body{background:#ffffff;}
/* ===== ARTICLE ===== */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.article-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
}

.article-h1 {
  font-family: 'Sora', sans-serif;
  font-weight:800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.article-intro {
  font-size: 1.125rem;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.article-body h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  color: var(--ink-2);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.article-body ul, .article-body ol {
  color: var(--ink-2);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body li { margin-bottom: 0.5rem; }

.callout {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.callout p {
  font-family: 'Sora', sans-serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}

.stat-callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
  box-shadow: 0 4px 24px rgba(16, 15, 10, 0.08);
}

.stat-callout p {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.stat-callout strong { color: var(--accent); font-weight: 500; }

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.tool-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-2);
}

.cta-callout {
  background: var(--ink);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.cta-callout p {
  color: rgba(247, 244, 238, 0.7);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cta-callout strong { color: var(--bg); }

.cta-callout a {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}

.cta-callout a:hover { opacity: 0.9; }

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(16, 15, 10, 0.08);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.875rem;
}

.compare-table th {
  background: var(--ink);
  color: var(--bg);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.875rem 1rem;
  text-align: left;
}

.compare-table th:first-child { border-radius: 11px 0 0 0; }
.compare-table th:last-child { border-radius: 0 11px 0 0; }

.compare-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  vertical-align: top;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.compare-table tr:nth-child(even) td { background: var(--bg); }

.badge {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green { background: #D4F5D4; color: #1A6B1A; }
.badge-yellow { background: #FFF3CD; color: #7A5A00; }
.badge-red { background: #FFE0D9; color: #9B2C10; }

/* Tool section cards */
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 24px rgba(16, 15, 10, 0.08);
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tool-card-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.tool-card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tool-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.tool-card ul {
  color: var(--ink-2);
  padding-left: 1.25rem;
  font-size: 0.9rem;
}

.tool-card li { margin-bottom: 0.35rem; }

.flow-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.flow-box-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.flow-box p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.flow-box p:last-child { margin-bottom: 0; }

.dark-cta {
  background: var(--ink);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0 2rem;
}

.dark-cta h2 {
  font-family: 'Sora', sans-serif;
  font-weight:800;
  font-size: 2rem;
  color: var(--bg);
  margin-bottom: 1rem;
}

.dark-cta p { color: rgba(247, 244, 238, 0.6); margin-bottom: 2rem; }

.dark-cta a {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.15s;
}

.dark-cta a:hover { opacity: 0.9; }

/* FAQ */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(16, 15, 10, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(16, 15, 10, 0.25);
}

.scroll-top.visible { opacity: 1; }
.scroll-top:hover { background: var(--accent); }

/* ===== FOOTER ===== */
footer { background: var(--ink); padding: 3rem 0; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Sora', sans-serif;
  font-weight:800;
  font-size: 1.25rem;
  color: var(--bg);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 0.8rem; color: var(--muted-on-dark); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-links a {
  color: rgba(247, 244, 238, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--bg); }

.footer-right { text-align: right; }

.footer-email {
  color: rgba(247, 244, 238, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}

.footer-email:hover { color: var(--bg); }
.footer-copy { font-size: 0.8rem; color: var(--muted-on-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links { align-items: flex-start; }
  .footer-right { text-align: left; }

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

  .compare-table th,
  .compare-table td { font-size: 0.8rem; padding: 0.65rem 0.75rem; }
}

/* btn-cta used in article body */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.15s;
}

.btn-cta:hover { opacity: 0.9; }
  
