/* ═══════════════════════════════════════════
   COMMON LAYOUT & STRUCTURAL STYLES
═══════════════════════════════════════════ */

/* Utilities */
.bg-off-white {
    background-color: var(--bg-off-white);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.section {
    padding: 96px 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-off-white);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    transition: box-shadow .3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    height: 46px;
    width: auto;
    display: block;
}

.logo-accent {
    color: var(--color-accent-teal);
}

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

.nav-links a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
}

/* ═══════════════════════════════════════════
   FOOTER (inverted teal surface for brand contrast)
═══════════════════════════════════════════ */
.footer {
    background-color: var(--text-main);
    padding: 64px 24px 32px;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.25rem;
    color: #fff;
}

.footer-logo .logo-accent {
    color: var(--color-accent-teal);
}

.footer-tagline {
    color: rgba(255, 255, 255, .78);
    font-size: .9375rem;
    margin-top: 8px;
}

.footer-deploy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .8125rem;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, .65);
}

.footer-deploy i {
    color: #F6821F;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav h4 {
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 4px;
}

.footer-nav a {
    font-size: .9375rem;
    color: rgba(255, 255, 255, .85);
    transition: color .2s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 24px;
    font-size: .875rem;
    color: rgba(255, 255, 255, .65);
}

/* ═══════════════════════════════════════════
   LAYOUT RESPONSIVE OVERRIDES
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 16px;
    }

    .nav-links {
        display: none;
    }
}
