/* CSS Variables */
:root {
    --max-width: 1500px;
    --gutter: 4vw;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-color: #1a1a1a;
    --text-secondary: #666;
    --border-color: #e5e5e5;
    --background: #f7f6f1;
    --highlight-yellow: hsl(71, 100%, 52%);
    --highlight-purple: hsl(303, 100%, 70%);
}

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

/* Base */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: var(--background);
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.small {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #000;
    border-bottom: 1px solid #000;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1vw var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo:hover {
    text-decoration: none;
}

.logo-img {
    height: 27px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    text-decoration: none;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
    transition: transform 0.3s;
}

/* Main Content - padding only, flex handled above */
main {
    padding-top: 60px;
}

/* Hero */
.hero {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    color: var(--text-color);
}

/* Sections */
.section {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Posts List Simple */
.posts-list-simple {
    font-size: 1.0625rem;
}

.posts-list-simple p {
    margin-bottom: 0.75rem;
}

.posts-list-simple a {
    text-decoration: underline;
}

.post-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Team Section */
.team-section p {
    font-size: 1.0625rem;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--text-color);
}

/* Highlights - marker style covering full text height */
.highlight-yellow {
    background-color: hsl(71, 100%, 52%);
    padding: 0 3px;
    border-radius: 2px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.highlight-purple {
    background-color: hsl(303, 100%, 70%);
    padding: 0 3px;
    border-radius: 2px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Blog Images */
.blog-image {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    display: block;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.015) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.015) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.015) 25%, transparent 25%);
    background-size: 24px 24px;
    background-position: 0 0, 12px 0, 12px -12px, 0 12px;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
}

.footer-company-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.footer-right {
    text-align: right;
}

.footer-supporters-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.footer-supporters-list {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Blog Post Page */
.blog-post {
    padding: 4rem 0;
}

.blog-post-content {
    max-width: 700px;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.blog-post-content strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-text {
        font-size: 1.125rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        flex-direction: column;
        padding: 1rem var(--gutter);
        border-bottom: none;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .header-inner {
        padding: 4.7vw var(--gutter);
    }

    .logo-img {
        height: 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-right {
        text-align: left;
    }
}
