/* SentraCheck blog — shared styles */
:root {
    --sc-navy: #1F2A44;
    --sc-slate: #5B6C8F;
    --sc-offwhite: #F5F7FA;
    --sc-teal: #2F7A78;
    --sc-teal-dark: #245E5C;
    --sc-teal-light: #4A9694;
    --sc-amber: #C59A2E;
    --sc-text-dark: #1C2433;
    --olive: var(--sc-teal);
    --olive-dark: var(--sc-teal-dark);
    --charcoal: var(--sc-text-dark);
    --slate: var(--sc-slate);
    --taupe: #D1D5DB;
    --bg-cream: var(--sc-offwhite);
    --bg-cream-alt: #EBEEF2;
    --band-sage: var(--sc-navy);
    --card-cream: #FFFFFF;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg-cream);
    color: var(--slate);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 72px;
    background: rgba(245,247,250,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--taupe);
}
.nav-content {
    max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-icon { width: 2rem; height: 2rem; color: var(--olive); }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--charcoal); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--slate); text-decoration: none; font-weight: 500;
    font-size: 0.9rem; transition: color 0.15s;
    border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--olive); border-bottom-color: var(--olive); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; border-radius: 0.75rem;
    text-decoration: none; transition: all 0.15s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-dark); }
.btn-secondary { background: transparent; border-color: var(--taupe); color: var(--charcoal); }
.btn-secondary:hover { border-color: var(--olive); color: var(--olive); }
.btn-text { background: transparent; color: var(--slate); padding: 0.75rem 1rem; }
.btn-text:hover { color: var(--olive); }
.btn-large { padding: 1rem 2rem; font-size: 1rem; }
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--charcoal); transition: all 0.15s; }
.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--bg-cream); padding: 2rem; flex-direction: column;
    gap: 1.5rem; z-index: 999; overflow-y: auto;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--charcoal); text-decoration: none; font-size: 1.125rem; font-weight: 500; }
.mobile-cta { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
@media (max-width: 1024px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-cream-alt); }
.section-dark { background: var(--band-sage); color: white; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--charcoal); margin-bottom: 0.75rem; }
.section-header p { color: var(--slate); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* Page hero */
.page-hero { padding: 8rem 1.5rem 4rem; text-align: center; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--charcoal);
    letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1.25rem;
}
.page-hero p {
    font-size: 1.125rem; color: var(--slate); max-width: 660px;
    margin: 0 auto 2rem; line-height: 1.7;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(47,122,120,0.1); border: 1px solid rgba(47,122,120,0.3);
    padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem;
    font-weight: 600; color: var(--olive); margin-bottom: 1.5rem;
}
.post-hero {
    background: var(--band-sage); color: white;
    padding: 8rem 1.5rem 3.5rem;
}
.post-hero .pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem;
    font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 1.25rem;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.post-hero h1 {
    color: white; font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.02em;
}
.post-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* Cards */
.card { background: white; border: 1px solid var(--taupe); border-radius: 1rem; padding: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Article cards (blog index) */
.post-card {
    background: white; border: 1px solid var(--taupe); border-radius: 1rem;
    padding: 1.75rem; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    text-decoration: none; display: flex; flex-direction: column;
}
.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31,42,68,0.08);
    border-color: var(--olive);
}
.post-card .post-meta {
    font-size: 0.78rem; color: var(--olive); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem;
}
.post-card h3 {
    font-size: 1.2rem; font-weight: 700; color: var(--charcoal);
    margin-bottom: 0.6rem; line-height: 1.3;
}
.post-card p { color: var(--slate); font-size: 0.92rem; line-height: 1.6; }
.post-card .read-more {
    margin-top: 1rem; color: var(--olive); font-weight: 600; font-size: 0.875rem;
}

/* Table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.5rem 0; }
.data-table th { background: var(--band-sage); color: white; padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--taupe); }
.data-table tr:nth-child(even) td { background: var(--bg-cream-alt); }
.data-table .yes { color: #065F46; font-weight: 700; }
.data-table .no { color: #B91C1C; font-weight: 700; }
.data-table .partial { color: #92400E; font-weight: 600; }

/* Prose */
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--charcoal); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.15rem; font-weight: 700; color: var(--sc-navy); margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1.25rem; color: var(--charcoal); line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; color: var(--charcoal); line-height: 1.65; }
.prose strong { color: var(--sc-navy); }
.prose a { color: var(--olive); }
.callout {
    background: var(--bg-cream-alt); border-left: 4px solid var(--olive);
    border-radius: 0 0.5rem 0.5rem 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.callout-danger { border-left-color: #DC2626; background: #FEF2F2; }
.callout-success { border-left-color: #059669; background: #ECFDF5; }
.callout p { margin: 0; color: var(--charcoal); font-size: 0.95rem; }

/* Footer */
.footer { background: var(--band-sage); color: rgba(255,255,255,0.8); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-brand .logo-icon { color: var(--sc-teal-light); }
.footer-brand .logo-text { color: white; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; line-height: 1.6; }
.footer-desc a { color: rgba(255,255,255,0.75); }
.footer-contact { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-top: 0.75rem; }
.footer-contact a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer h5 {
    color: white; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer ul a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* Related posts */
.related-posts { padding: 4rem 0; background: var(--bg-cream-alt); }
.related-posts h2 {
    text-align: center; font-size: 1.75rem; font-weight: 700;
    color: var(--charcoal); margin-bottom: 2rem;
}
