/* Base Styles for Content Pages (Press Release, Blog, Solution Brief, Newsletter) */

:root {
    --bg-black: #000000;
    --bg-dark: #1d1d1f;
    --bg-gray: #f5f5f7;
    --text-white: #f5f5f7;
    --text-gray: #86868b;
    --text-dark: #1d1d1f;
    --accent-blue: #2997ff;
    --nav-height: 52px;
    --font-sf: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-sf-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sf);
    font-size: 17px;
    line-height: 1.47059;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    color: #1d1d1f;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation for Content Pages */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.global-nav li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.global-nav li a:hover {
    color: #fff;
    text-decoration: none;
}

/* Hamburger Menu Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 20px;
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 1px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-brand {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    position: absolute;
    left: 20px;
}

/* Mobile Navigation */
@media (max-width: 734px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-brand {
        position: static;
    }
    
    .global-nav {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--nav-height);
        padding: 0 20px;
    }
    
    .global-nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 10px 0 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 14px;
    }
    
    .global-nav ul li a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .global-nav.nav-open ul {
        display: flex;
    }
    
    .global-nav.nav-open .hamburger-line:first-child {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .global-nav.nav-open .hamburger-line:last-child {
        transform: rotate(-45deg) translate(2px, -2px);
    }
}

/* Container */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Typography Classes */
.typography-headline {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.003em;
    line-height: 1.08;
    color: var(--text-dark);
}

.typography-headline-reduced {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.002em;
    line-height: 1.1;
}

.typography-body {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

.typography-body-tight {
    font-size: 17px;
    line-height: 1.23536;
    font-weight: 600;
    letter-spacing: -0.022em;
}

.typography-label {
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text-gray);
}

/* Newsroom Specific Styles */
.newsroom-header {
    background: #f5f5f7;
    padding: 12px 0;
    border-bottom: 1px solid #d2d2d7;
    margin-top: var(--nav-height);
}

.newsroom-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsroom-header a {
    color: var(--accent-blue);
    font-size: 14px;
}

.article-meta {
    text-align: center;
    padding: 60px 0 40px;
}

.article-meta .typography-label {
    margin-bottom: 20px;
}

.article-content {
    max-width: 630px;
    margin: 0 auto;
    padding: 0 22px;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 21px;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

.article-image {
    margin: 40px 0;
}

.article-image img {
    width: 100%;
    border-radius: 12px;
}

.article-image figcaption {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 12px;
    text-align: center;
}

blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Share Icons */
.share-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 30px 0;
}

.share-icons a {
    width: 32px;
    height: 32px;
    background: #e8e8ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    font-size: 14px;
    text-decoration: none;
}

.share-icons a:hover {
    background: #d2d2d7;
}

/* Solution Brief Specific */
.brief-hero {
    background: #f5f5f7;
    padding: 80px 0;
    text-align: center;
    margin-top: var(--nav-height);
}

.brief-section {
    padding: 80px 0;
}

.brief-section.dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

.brief-section.dark h2,
.brief-section.dark h3 {
    color: var(--text-white);
}

.problem-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.problem-box ul {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
}

.problem-box li {
    margin-bottom: 12px;
    color: #555;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
}

.feature-card h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card ul {
    list-style: disc;
    padding-left: 20px;
}

.feature-card li {
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.audience-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 8px;
}

.audience-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.outcomes-bar {
    background: #1d1d1f;
    padding: 60px 0;
    text-align: center;
}

.outcomes-bar h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 40px;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

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

.outcome-item .number {
    font-size: 48px;
    font-weight: 700;
    color: #ff6b35;
}

.outcome-item .label {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
}

/* Blog/Story Specific */
.story-header {
    text-align: center;
    padding: 100px 0 60px;
    margin-top: var(--nav-height);
}

.story-header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.003em;
    max-width: 800px;
    margin: 0 auto 20px;
}

.story-header p {
    font-size: 19px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 22px 80px;
}

.story-content p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 1.5em;
    color: #333;
}

.story-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

.story-content h3 {
    font-size: 21px;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

.story-content ul {
    padding-left: 20px;
    margin-bottom: 1.5em;
}

.story-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.pull-quote {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    margin: 60px 0;
    color: var(--text-dark);
}

.image-container {
    margin: 50px 0;
}

.image-container img {
    width: 100%;
    border-radius: 18px;
}

.caption {
    font-size: 13px;
    color: #6e6e73;
    margin-top: 12px;
    text-align: center;
}

/* Newsletter Specific */
body:has(.newsletter-container) {
    background: #fbfbfd;
}

.newsletter-container {
    max-width: 100%;
    margin: 0;
    padding-top: var(--nav-height);
    position: relative;
    min-height: 100vh;
    background: #fbfbfd;
}

.email-header {
    background: linear-gradient(135deg, #1d1d1f 0%, #333 100%);
    padding: 40px;
    text-align: center;
}

.email-body {
    background: #fff;
    max-width: 800px;
    margin: 40px auto;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* Footer for content pages */
.page-footer {
    background: #f5f5f7;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid #d2d2d7;
}

.page-footer p {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .typography-headline {
        font-size: 32px;
    }
    
    .story-header h1 {
        font-size: 32px;
    }
    
    .feature-grid,
    .audience-grid,
    .outcomes-grid {
        grid-template-columns: 1fr;
    }
    
    .global-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
    }
    
    .global-nav li a {
        font-size: 11px;
    }
}
