/* === SignatureINPI Blog Styles ===
   ONE file controls ALL blog pages.
   To redesign: update this file only. Zero per-page changes.
   Last updated: 2026-04-16
*/

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

:root {
    --blue-900: #0c1d36; --blue-800: #0f2b4e; --blue-700: #1a3b6e; --blue-500: #2563eb;
    --blue-400: #3b82f6; --blue-100: #dbeafe; --blue-50: #eff6ff;
    --slate-900: #0f172a; --slate-700: #334155; --slate-500: #64748b;
    --slate-300: #cbd5e1; --slate-200: #e2e8f0; --slate-100: #f1f5f9; --white: #ffffff;
    --green-600: #16a34a; --green-100: #dcfce7;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--slate-900); background: var(--white); line-height: 1.75; font-size: 18px; }

/* === NAVBAR === */
.navbar { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--slate-200); padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand svg { width: 32px; height: 32px; }
.nav-brand span { font-size: 17px; font-weight: 700; color: var(--blue-900); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-500); color: white; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue-700); }

/* === BREADCRUMBS === */
.breadcrumbs { max-width: 720px; margin: 24px auto 0; padding: 0 24px; font-size: 13px; color: var(--slate-500); }
.breadcrumbs a { color: var(--slate-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-500); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; }

/* === ARTICLE === */
.article { max-width: 720px; margin: 0 auto; padding: 32px 24px 64px; }
.article h1 { font-size: 32px; font-weight: 800; line-height: 1.2; color: var(--blue-900); margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--slate-500); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--slate-200); }

/* TL;DR box */
.tldr { background: var(--blue-50); border-left: 4px solid var(--blue-500); border-radius: 0 8px 8px 0; padding: 20px 24px; margin-bottom: 32px; }
.tldr-label { font-size: 12px; font-weight: 700; color: var(--blue-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.tldr p { font-size: 16px; color: var(--slate-700); margin: 0; }

/* TOC */
.toc { background: var(--slate-100); border-radius: 12px; padding: 20px 24px; margin-bottom: 40px; }
.toc-title { font-size: 14px; font-weight: 700; color: var(--slate-700); margin-bottom: 12px; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 15px; }
.toc a { color: var(--blue-500); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Headings */
.article h2 { font-size: 24px; font-weight: 700; color: var(--blue-900); margin: 48px 0 16px; line-height: 1.3; }
.article h3 { font-size: 20px; font-weight: 600; color: var(--blue-800); margin: 32px 0 12px; line-height: 1.3; }

/* Body text */
.article p { margin-bottom: 20px; color: var(--slate-700); }
.article strong { color: var(--slate-900); font-weight: 600; }
.article ul, .article ol { margin: 0 0 20px 24px; color: var(--slate-700); }
.article li { margin-bottom: 8px; }
.article a { color: var(--blue-500); }
.article a:hover { text-decoration: underline; }

/* Info box */
.info-box { background: var(--green-100); border-radius: 8px; padding: 16px 20px; margin: 24px 0; font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.info-box svg { flex-shrink: 0; margin-top: 2px; }

/* CTA box */
.cta-box { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); border-radius: 12px; padding: 32px; margin: 40px 0; text-align: center; }
.cta-box h3 { color: white; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 20px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--blue-900); padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.cta-stats { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.cta-stats span { font-size: 12px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 4px; }
.cta-stats svg { color: #22c55e; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.compare-table th { background: var(--slate-100); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 14px; color: var(--slate-700); }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--slate-200); }
.compare-table tr:hover { background: var(--blue-50); }

/* FAQ */
.faq-section { margin: 48px 0; }
.faq-section h2 { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-q { width: 100%; background: none; border: none; padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--slate-900); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; }
.faq-q svg { width: 18px; height: 18px; color: var(--slate-500); flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open svg { transform: rotate(180deg); color: var(--blue-500); }
.faq-a { display: none; padding: 0 0 18px; font-size: 15px; color: var(--slate-700); line-height: 1.7; }
.faq-a.visible { display: block; }

/* Related articles */
.related { margin: 48px 0; }
.related h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.related-card { border: 1px solid var(--slate-200); border-radius: 10px; padding: 20px; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; display: block; }
.related-card:hover { border-color: var(--blue-500); box-shadow: 0 2px 8px rgba(37,99,235,0.1); }
.related-card h3 { font-size: 15px; font-weight: 600; color: var(--blue-900); margin-bottom: 6px; line-height: 1.4; }
.related-card p { font-size: 13px; color: var(--slate-500); margin: 0; line-height: 1.5; }

/* Disclaimer */
.disclaimer { font-size: 12px; color: var(--slate-500); border-top: 1px solid var(--slate-200); padding-top: 24px; margin-top: 48px; }

/* === FOOTER === */
footer { background: var(--blue-900); color: rgba(255,255,255,0.7); padding: 48px 24px 24px; font-size: 14px; }
.ft-main { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.ft-brand h3 { color: white; font-size: 18px; margin-bottom: 8px; }
.ft-brand p { font-size: 13px; line-height: 1.6; }
.ft-col-title { color: white; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.ft-links { display: flex; flex-direction: column; gap: 8px; }
.ft-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; }
.ft-links a:hover { color: white; }
.ft-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 32px auto; max-width: 960px; }
.ft-bottom { max-width: 960px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.4); }
.ft-bottom-links { display: flex; gap: 16px; }
.ft-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* === MOBILE === */
@media (max-width: 768px) {
    body { font-size: 17px; }
    .article h1 { font-size: 26px; }
    .article h2 { font-size: 21px; }
    .article { padding: 24px 18px 48px; }
    .breadcrumbs { padding: 0 18px; margin-top: 16px; }
    .related-grid { grid-template-columns: 1fr; }
    .ft-main { grid-template-columns: 1fr; gap: 32px; }
    .ft-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .nav-cta { padding: 8px 14px; font-size: 13px; }
    .cta-stats { flex-direction: column; gap: 8px; }
    .compare-table { font-size: 13px; }
    .compare-table th, .compare-table td { padding: 10px 12px; }
}
