/* =================================================================
   LOCAL GROWTH INSIGHTS — SHARED STYLES
   Used across all pages for consistency
   ================================================================= */

:root {
    --ink: #0A0E12;
    --ink-2: #1A1F26;
    --ink-3: #4A5360;
    --ink-4: #7A8290;
    --paper: #FAFAF7;
    --paper-2: #F2F1EC;
    --line: #D9D7CE;
    --accent: #0F3F2E;
    --accent-2: #C2410C;
    --highlight: #FEF3C7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Geist', sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ======== NAVIGATION ======== */
nav {
    border-bottom: 1px solid var(--line);
    background: rgba(250, 250, 247, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    font-family: 'Geist Mono', monospace;
    font-size: 13px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: var(--ink-3);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
    background: var(--ink);
    color: var(--paper);
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.15s;
}

.nav-cta:hover {
    background: var(--ink-2);
    color: var(--paper) !important;
}

@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ======== TYPOGRAPHY ======== */
h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    font-weight: 500;
}

.section-label {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    font-weight: 500;
}

.lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-3);
    max-width: 680px;
    margin-bottom: 48px;
}

p { margin-bottom: 16px; color: var(--ink-3); }
p strong { color: var(--ink); font-weight: 500; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

/* ======== BUTTONS ======== */
.btn-primary {
    background: var(--ink);
    color: var(--paper);
    padding: 16px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.15s, background 0.15s;
    border: 1px solid var(--ink);
    cursor: pointer;
    font-family: 'Geist', sans-serif;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    color: var(--paper);
}

.btn-primary .arrow {
    transition: transform 0.2s;
    font-family: 'Geist Mono', monospace;
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-secondary {
    color: var(--ink);
    padding: 16px 8px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    transition: border-color 0.15s;
    display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ======== SECTIONS ======== */
section { padding: 80px 0; }
section.tight { padding: 60px 0; }

/* ======== PAGE HEADER (for non-home pages) ======== */
.page-header {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--line);
}

.page-header h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    max-width: 800px;
}

.page-header p {
    font-size: 19px;
    color: var(--ink-3);
    max-width: 640px;
    margin-top: 16px;
}

/* ======== FOOTER ======== */
footer {
    background: var(--ink);
    color: var(--ink-4);
    padding: 60px 0 40px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand .logo {
    color: var(--paper);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--ink-4);
    max-width: 320px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--paper);
    font-size: 13px;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--ink-4);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--paper); }

.footer-bottom {
    border-top: 1px solid #2A3138;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.footer-bottom a { color: var(--ink-4); text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

/* ======== ANIMATIONS ======== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease backwards;
}

/* Utility classes */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.mono { font-family: 'Geist Mono', monospace; }
