/* ============================================
   binom.courses - Design System v1.1
   Dashboard/Tool-first SaaS Style
   ============================================ */

:root {
  --primary: #10B981;
  --primary-hover: #059669;
  --primary-light: #D1FAE5;
  --primary-dark: #065F46;
  --secondary: #1E293B;
  --hero-bg: #0F172A;
  --hero-bg-end: #1E293B;
  --content-bg: #F8FAFC;
  --text: #1E293B;
  --text-light: #475569;
  --muted: #64748B;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --border-dark: #334155;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --success: #10B981;
  --success-light: #D1FAE5;
  --nav-bg: #0F172A;
  --footer-bg: #0F172A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--content-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.5rem; }
table { border-collapse: collapse; width: 100%; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 0.875rem; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.nav { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); border-bottom: 1px solid rgba(255,255,255,0.08); height: var(--nav-height); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: #fff; text-decoration: none; }
.nav-logo img { width: 32px; height: 32px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links a { color: #CBD5E1; font-size: 0.875rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius); transition: all 0.2s; text-decoration: none; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff !important; padding: 8px 18px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; transition: background 0.2s; text-decoration: none; }
.nav-cta:hover { background: var(--primary-hover); color: #fff !important; }
.nav-hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 8px; }
.nav-mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: var(--nav-bg); z-index: 99; padding: 24px; flex-direction: column; gap: 8px; overflow-y: auto; }
.nav-mobile.active { display: flex; }
.nav-mobile a { color: #CBD5E1; font-size: 1rem; font-weight: 500; padding: 14px 16px; border-radius: var(--radius); text-decoration: none; transition: all 0.2s; }
.nav-mobile a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.hero { background: linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-end) 100%); padding: 80px 0 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 20%, rgba(16,185,129,0.12) 0%, transparent 60%); }
.hero-inner { position: relative; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 48px; }
.hero-content { flex: 1; }
.hero h1 { font-size: 2.75rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero h1 .highlight { color: var(--primary); }
.hero-subtitle { font-size: 1.15rem; color: #94A3B8; line-height: 1.6; margin-bottom: 32px; max-width: 540px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; color: #94A3B8; font-weight: 500; }
.hero-image { flex: 1; max-width: 520px; }
.hero-image img { border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hero .cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; border: none; transition: all 0.2s; text-decoration: none; cursor: pointer; }
.cta-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #CBD5E1; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 500; border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s; text-decoration: none; cursor: pointer; }
.cta-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.trust-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--muted); font-weight: 500; }

.section { padding: 60px 0; }
.section-dark { background: var(--hero-bg); padding: 60px 0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #94A3B8; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.section-header p { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

.breadcrumbs { padding: 16px 0; font-size: 0.8rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; }
.breadcrumbs .current { color: var(--text); font-weight: 500; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 0; }
.article-main { min-width: 0; }
.article-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); align-self: start; }

.article-content h2 { font-size: 1.6rem; font-weight: 700; margin: 40px 0 16px; color: var(--text); letter-spacing: -0.01em; }
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; color: var(--text); }
.article-content p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 16px; color: var(--text-light); }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-content img { border-radius: var(--radius); margin: 24px 0; border: 1px solid var(--border); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all 0.2s; }
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 22px; height: 22px; color: var(--primary); }
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

.comparison-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card-bg); }
.comparison-table { width: 100%; font-size: 0.9rem; }
.comparison-table th { background: var(--hero-bg); color: #fff; padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.comparison-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #F1F5F9; }
.comparison-table .check { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.comparison-table .cross { color: var(--danger); font-size: 1.1rem; }
.comparison-table .highlight-col { background: rgba(16,185,129,0.06); }
.comparison-table .winner { background: var(--primary-light); font-weight: 600; color: var(--primary-dark); }

.sidebar-toc { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-toc h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 16px; }
.sidebar-toc ul { list-style: none; padding: 0; }
.sidebar-toc li { margin-bottom: 6px; }
.sidebar-toc a { font-size: 0.85rem; color: var(--text-light); text-decoration: none; display: block; padding: 6px 10px; border-radius: var(--radius-sm); border-left: 2px solid transparent; transition: all 0.2s; }
.sidebar-toc a:hover { color: var(--primary); border-left-color: var(--primary); background: rgba(16,185,129,0.04); }
.sidebar-cta { margin-top: 20px; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--hero-bg), var(--secondary)); text-align: center; }
.sidebar-cta p { color: #94A3B8; font-size: 0.85rem; margin-bottom: 12px; }
.sidebar-cta a { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; padding: 10px 20px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.sidebar-cta a:hover { background: var(--primary-hover); color: #fff; }

.faq { padding: 40px 0; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--card-bg); overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--text); background: none; border: none; width: 100%; text-align: left; font-family: var(--font); transition: color 0.2s; }
.faq-question:hover { color: var(--primary); }
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--muted); transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 20px 18px; color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

.cta-banner { background: linear-gradient(135deg, var(--hero-bg), var(--secondary)); padding: 48px 0; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 1.75rem; margin-bottom: 12px; }
.cta-banner p { color: #94A3B8; font-size: 1.05rem; margin-bottom: 24px; }

.related { padding: 40px 0; border-top: 1px solid var(--border); }
.related h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-decoration: none; transition: all 0.2s; }
.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.related-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.related-card p { font-size: 0.8rem; color: var(--muted); }

.pro-tip { background: var(--warning-light); border-left: 4px solid var(--warning); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; }
.pro-tip strong { color: #92400E; }
.pro-tip p { color: #78350F; font-size: 0.9rem; margin-bottom: 0; }
.info-box { background: #EFF6FF; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; }
.info-box strong { color: #1E40AF; }
.info-box p { color: #1E3A5F; font-size: 0.9rem; margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 24px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

.footer { background: var(--footer-bg); padding: 60px 0 30px; color: #94A3B8; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-top: 12px; }
.footer-logo { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94A3B8; font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 20px; max-width: var(--max-width); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-bottom a { color: #94A3B8; text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }

.calculator { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; max-width: 500px; margin: 24px auto; }
.calculator label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.calculator input, .calculator select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: var(--font); margin-bottom: 16px; background: var(--content-bg); color: var(--text); }
.calculator input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.calculator button { width: 100%; padding: 12px; border: none; background: var(--primary); color: #fff; font-size: 1rem; font-weight: 600; border-radius: var(--radius); cursor: pointer; transition: background 0.2s; }
.calculator button:hover { background: var(--primary-hover); }
.calculator-result { margin-top: 16px; padding: 16px; background: var(--success-light); border-radius: var(--radius); text-align: center; font-weight: 600; color: var(--primary-dark); display: none; }

.spoke-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spoke-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-decoration: none; display: block; transition: all 0.2s; }
.spoke-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.spoke-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.spoke-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.spoke-card .arrow { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; }

.how-it-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 28px 20px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1rem; }
.step-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--muted); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 32px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); }
.stat-number { font-size: 2.25rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: #94A3B8; margin-top: 4px; }

@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-badges { justify-content: center; }
  .hero .cta-group { justify-content: center; }
  .hero-image { max-width: 100%; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 50px 0 40px; }
  .card-grid { grid-template-columns: 1fr; }
  .spoke-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-it-works { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .cta-banner h2 { font-size: 1.4rem; }
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero .cta-group { flex-direction: column; align-items: center; }
  .cta-primary, .cta-secondary { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media print {
  .nav, .nav-mobile, .footer, .cta-banner, .sidebar-cta, .faq, .related, .cta-primary, .cta-secondary, .cta-outline, .hero-badges, .hero .cta-group { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .hero { background: #fff !important; padding: 20px 0 !important; }
  .hero h1 { color: #000 !important; font-size: 1.5rem !important; }
  .hero-subtitle { color: #333 !important; }
  .hero-image { display: none; }
  .section-dark { background: #fff !important; padding: 30px 0 !important; }
  .section-dark h2, .section-dark h3, .section-dark p { color: #000 !important; }
  .article-content { font-size: 11pt; line-height: 1.5; }
  .card, .spoke-card, .related-card { break-inside: avoid; border: 1px solid #ccc; }
  .comparison-table-wrap { break-inside: avoid; }
  .pro-tip, .info-box { break-inside: avoid; }
  img { max-width: 100% !important; }
}
/* Search-led guide additions, August 2026 */
.seo-visual{min-height:270px;display:flex;align-items:center;justify-content:center;gap:10px;padding:28px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:linear-gradient(145deg,rgba(16,185,129,.18),rgba(59,130,246,.1))}
.visual-node{padding:14px 16px;border:1px solid rgba(255,255,255,.25);border-radius:9px;background:#1e293b;color:#e2e8f0;font-weight:700;text-align:center}.visual-node.active{background:#10b981;color:#052e24}.visual-arrow{color:#94a3b8;font-size:22px}.updated{font-size:.9rem;color:#64748b}.sidebar-toc>a{display:block;padding:7px 0;color:#475569;text-decoration:none}.sidebar-toc>a:hover{color:#059669}.related-pages{margin:32px 0;padding:24px;border:1px solid #dbeafe;border-left:4px solid #3b82f6;border-radius:8px;background:#eff6ff}.related-pages p{margin-bottom:0}
@media(max-width:700px){.seo-visual{min-height:auto;flex-direction:column}.visual-arrow{transform:rotate(90deg)}}

/* ------------------------------------------------------------------ *
 * v5 additions: FAQ accordion, source lists, step cards, code blocks,
 * spoke grids and in-article CTA banner. Appended rather than merged so
 * the original cascade is untouched.
 * ------------------------------------------------------------------ */

/* FAQ accordion (native details/summary - no JS) */
.faq-list { margin: 20px 0 8px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card-bg); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: none; }
.faq-list summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 0.98rem; list-style: none; position: relative; padding-right: 48px; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; line-height: 1; color: var(--primary); font-weight: 400; }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list summary:hover { background: #F8FAFC; }
.faq-answer-inner { padding: 0 20px 18px; }
.faq-answer-inner p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Source list */
.src-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.src-list li { font-size: 0.88rem; color: var(--muted); padding: 10px 14px; background: #F8FAFC; border: 1px solid var(--border); border-radius: var(--radius); }
.src-list a { font-weight: 500; }

/* Step cards used inside .steps (left-aligned, numbered badge) */
.article-content .steps { counter-reset: none; list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.article-content .steps .step-card { display: flex; gap: 16px; text-align: left; align-items: flex-start; padding: 20px 22px; }
.article-content .steps .step-card .step-number { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; }
.article-content .steps .step-card h3 { font-size: 1rem; margin: 4px 0 6px; text-align: left; }
.article-content .steps .step-card p { font-size: 0.92rem; text-align: left; margin-bottom: 8px; }
.article-content .steps .step-card p:last-child { margin-bottom: 0; }

/* Spoke grid */
.spoke-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.spoke-card { display: block; background: var(--card-bg); border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.spoke-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.spoke-card h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 6px; color: var(--text); }
.spoke-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.spoke-more { font-size: 0.82rem; font-weight: 600; color: var(--primary-dark); }

/* In-article CTA banner (the section version keeps its own full-bleed style) */
.article-content .cta-banner { border-radius: var(--radius-lg); padding: 32px 28px; margin: 36px 0; }
.article-content .cta-banner h2 { margin-top: 0; }
.article-content .cta-banner p.text-sm { margin-top: 14px; margin-bottom: 0; font-size: 0.8rem; }
.article-content .cta-banner p.text-sm a { color: #94A3B8; text-decoration: underline; }

/* Code and pre */
.article-content code { background: #F1F5F9; border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: 0.86em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #0F172A; word-break: break-word; }
.article-content pre { background: var(--hero-bg); color: #E2E8F0; padding: 16px 18px; border-radius: var(--radius); overflow-x: auto; margin: 18px 0; font-size: 0.84rem; line-height: 1.6; }
.article-content pre code { background: none; border: none; color: inherit; padding: 0; font-size: inherit; white-space: pre; }

/* Info box / pro tip refinements */
.article-content .info-box p:last-child { margin-bottom: 0; }
.article-content .pro-tip p:last-child { margin-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding: 14px 0 2px; }
.breadcrumbs .sep { margin: 0 8px; color: #CBD5E1; }
.breadcrumbs .current { color: var(--text); font-weight: 500; }

/* Footer columns */
.footer-col h4 { color: #fff; font-size: 0.92rem; margin-bottom: 12px; }
.footer-col a { display: block; color: #94A3B8; font-size: 0.86rem; padding: 4px 0; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-brand p { color: #94A3B8; font-size: 0.86rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 20px; }
.footer-bottom p { color: #94A3B8; font-size: 0.84rem; margin-bottom: 6px; }
.footer-bottom a { color: #CBD5E1; }

/* Tables inside article content get the comparison treatment by default */
.article-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.article-content table b { color: var(--primary-dark); }

@media (max-width: 900px) {
  .spoke-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article-content .steps .step-card { flex-direction: column; gap: 10px; }
  .faq-list summary { font-size: 0.94rem; padding: 14px 44px 14px 16px; }
  .faq-answer-inner { padding: 0 16px 16px; }
}

/* Hero imagery */
.hero-image img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.35); display: block; }

/* CSS-only mobile navigation (no JS dependency) */
.nav-mob { display: none; position: relative; }
.nav-mob > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 9px; border-radius: var(--radius); }
.nav-mob > summary::-webkit-details-marker { display: none; }
.nav-mob > summary span { display: block; height: 2px; background: #E2E8F0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mob[open] > summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mob[open] > summary span:nth-child(2) { opacity: 0; }
.nav-mob[open] > summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mob-panel { position: absolute; right: 0; top: 48px; min-width: 220px; background: var(--nav-bg, #0F172A); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 10px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 20px 40px rgba(0,0,0,.45); z-index: 120; }
.nav-mob-panel a { color: #CBD5E1; font-size: 0.95rem; font-weight: 500; padding: 11px 14px; border-radius: var(--radius); text-decoration: none; }
.nav-mob-panel a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-mob-panel .nav-cta { background: var(--primary); color: #fff; text-align: center; margin-top: 6px; font-weight: 600; }

@media (max-width: 768px) {
  .nav-mob { display: block; }
}

/* Search-intent conversion banners */
.conversion-strip { background: #ECFDF5; border-bottom: 1px solid #A7F3D0; }
.conversion-strip-inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 22px; }
.conversion-strip-copy { display: flex; align-items: flex-start; gap: 14px; }
.conversion-strip-badge { flex: 0 0 auto; background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; border-radius: 999px; padding: 5px 10px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.conversion-strip strong { display: block; color: #0F172A; font-size: 1rem; margin-bottom: 3px; }
.conversion-strip p { margin: 0; color: #475569; font-size: .9rem; line-height: 1.5; }
.conversion-strip .cta-primary { white-space: nowrap; }
.conversion-strip-note { display: block; margin-top: 4px; color: #64748B; font-size: .72rem; text-align: center; }
@media (max-width: 760px) {
  .conversion-strip-inner { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .conversion-strip-copy { flex-direction: column; gap: 8px; }
  .conversion-strip .cta-primary { width: 100%; }
}
