/* ─── PROVAN INSIGHTS — SHARED ARTICLE STYLES ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a0f;
    --bg-card: rgba(255,255,255,0.025);
    --bg-card-hover: rgba(255,255,255,0.045);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --blue: #3a8fd4;
    --blue-light: #6bb0e6;
    --blue-lighter: #9cc8ef;
    --blue-dark: #2a6fa8;
    --blue-glow: rgba(58,143,212,0.15);
    --blue-subtle: rgba(58,143,212,0.08);
    --red: #ef4444;
    --amber: #f59e0b;
    --green: #22c55e;
    --text-primary: #e8e8ec;
    --text-secondary: #8a8a9a;
    --text-muted: #55556a;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; }
::selection { background: rgba(58,143,212,0.3); color: #fff; }

/* ─── NAV ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 12px 0;
    background: rgba(5,5,8,0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-logo-text { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: 3.5px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--blue-light); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 9px 20px; border-radius: 6px; font-weight: 600 !important; transition: all 0.2s !important; }
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ─── ARTICLE LAYOUT ─── */
.article-wrapper { max-width: 780px; margin: 0 auto; padding: 120px 40px 80px; }

.article-meta {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px; font-size: 13px; color: var(--text-secondary);
}
.article-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; background: var(--blue-subtle);
    border: 1px solid rgba(58,143,212,0.15); border-radius: 100px;
    font-size: 11px; font-weight: 600; color: var(--blue-light);
    letter-spacing: 0.5px; text-transform: uppercase;
}
.article-date { color: var(--text-muted); }

.article-wrapper h1 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 700;
    line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 24px;
}
.article-wrapper h1 .accent {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.article-intro {
    font-size: 18px; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
}

/* ─── ARTICLE CONTENT ─── */
.article-content h2 {
    font-size: 24px; font-weight: 700; letter-spacing: -0.5px;
    margin: 56px 0 20px; padding-top: 32px; border-top: 1px solid var(--border);
}
.article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-content h3 { font-size: 18px; font-weight: 600; margin: 32px 0 12px; }
.article-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.article-content strong { color: var(--text-primary); font-weight: 600; }
.article-content a { color: var(--blue-light); text-decoration: none; border-bottom: 1px solid rgba(107,176,230,0.3); transition: border-color 0.2s; }
.article-content a:hover { border-color: var(--blue-light); }

.article-content ul, .article-content ol {
    margin: 0 0 20px 24px; color: var(--text-secondary); font-size: 16px; line-height: 1.8;
}
.article-content li { margin-bottom: 8px; }

/* Callout boxes */
.callout {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 24px 28px; margin: 28px 0;
}
.callout.warning { border-left: 3px solid var(--red); }
.callout.info { border-left: 3px solid var(--blue); }
.callout.success { border-left: 3px solid var(--green); }
.callout.amber { border-left: 3px solid var(--amber); }
.callout-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.callout.warning .callout-title { color: var(--red); }
.callout.info .callout-title { color: var(--blue-light); }
.callout.success .callout-title { color: var(--green); }
.callout.amber .callout-title { color: var(--amber); }
.callout p { font-size: 15px; margin-bottom: 0; }
.callout p + p { margin-top: 12px; }

/* Clause reference */
.clause-ref {
    display: inline-block; font-family: monospace; font-size: 13px;
    background: var(--blue-subtle); color: var(--blue-light);
    padding: 2px 8px; border-radius: 4px; font-weight: 500;
}

/* Data table */
.article-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-table th { text-align: left; padding: 12px 16px; background: var(--bg-card); color: var(--text-primary); font-weight: 600; border-bottom: 1px solid var(--border); }
.article-table td { padding: 12px 16px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.article-table tr:hover td { background: var(--bg-card); }

/* ─── CTA SECTION ─── */
.article-cta {
    margin-top: 64px; padding: 48px 40px; text-align: center;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
}
.article-cta h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.article-cta p { font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; }
.btn-primary,
.article-content .btn-primary,
.article-cta .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff; padding: 14px 28px;
    border-radius: 8px; font-weight: 600; font-size: 15px;
    text-decoration: none; border-bottom: none; transition: all 0.2s;
}
.btn-primary:hover,
.article-content .btn-primary:hover,
.article-cta .btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); border-bottom: none; }
.btn-secondary,
.article-content .btn-secondary,
.article-cta .btn-secondary {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-secondary); font-size: 14px; text-decoration: none;
    border-bottom: none; margin-top: 16px; transition: color 0.2s;
}
.btn-secondary:hover,
.article-content .btn-secondary:hover,
.article-cta .btn-secondary:hover { color: var(--text-primary); border-bottom: none; }

/* ─── RELATED ARTICLES ─── */
.related-section { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--border); }
.related-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 24px; color: var(--text-primary); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 24px; text-decoration: none; transition: all 0.2s;
}
.related-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.related-card .tag { font-size: 11px; font-weight: 600; color: var(--blue-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.related-card h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 8px; }
.related-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── FOOTER ─── */
.footer { padding: 60px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-logo img { height: 24px; width: auto; opacity: 0.5; }
.footer-logo span { font-size: 16px; font-weight: 700; color: var(--text-muted); letter-spacing: 3px; }
.footer-left p { font-size: 13px; color: var(--text-muted); }
.footer-right { text-align: right; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); font-style: italic; margin-bottom: 8px; }
.footer-right p { font-size: 12px; color: var(--text-muted); }
.footer-right a { color: var(--text-muted); text-decoration: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .article-wrapper { padding: 100px 20px 60px; }
    .article-wrapper h1 { font-size: 28px; letter-spacing: -1px; }
    .article-intro { font-size: 16px; }
    .article-content h2 { font-size: 20px; }
    .article-cta { padding: 32px 24px; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; gap: 24px; }
    .footer-right { text-align: center; }
    .article-meta { flex-wrap: wrap; gap: 8px; }
}
