@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

:root {
    --canvas: #f5f1ec;
    --surface-1: #ffffff;
    --surface-2: #ede9e3;
    --hairline: #d3cec6;
    --hairline-soft: #e8e3dc;
    --ink: #111111;
    --ink-muted: #626260;
    --ink-subtle: #7b7b78;
    --ink-tertiary: #9c9fa5;
    --inverse-canvas: #000000;
    --inverse-ink: #ffffff;
    --accent: #2e5c2e;
    --accent-light: #4a8c4a;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-xxl: 24px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--canvas);
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--ink);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-muted);
    padding: 6px 10px;
    border-radius: var(--rounded-md);
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--ink);
    background: var(--surface-2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--rounded-md);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.hero {
    padding: 96px 0 80px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.4px;
    color: var(--ink);
    max-width: 760px;
    margin: 0 auto 24px;
}

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    letter-spacing: -0.1px;
}

.hero-image-card {
    background: var(--surface-1);
    border-radius: var(--rounded-xl);
    border: 1px solid var(--hairline);
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

.hero-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--surface-2);
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-lead {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 640px;
    margin-bottom: 48px;
    letter-spacing: -0.1px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    transition: box-shadow 0.15s;
}

.card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card-image {
    border-radius: var(--rounded-md);
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 16/9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-eyebrow {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 10px;
}

.card-title a {
    color: var(--ink);
    text-decoration: none;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-muted);
}

.card-meta {
    font-size: 12px;
    color: var(--ink-tertiary);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline-soft);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.two-col-reverse {
    direction: rtl;
}

.two-col-reverse > * {
    direction: ltr;
}

.content-image {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xl);
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.content-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.content-text ul,
.content-text ol {
    padding-left: 20px;
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.content-text li {
    margin-bottom: 6px;
}

.article-header {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 64px;
}

.article-header .eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.4px;
    color: var(--ink);
    max-width: 800px;
    margin-bottom: 20px;
}

.article-header .lead {
    font-size: 20px;
    line-height: 1.4;
    color: var(--ink-muted);
    max-width: 680px;
    letter-spacing: -0.2px;
}

.article-meta {
    font-size: 13px;
    color: var(--ink-tertiary);
    margin-top: 20px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
    padding-bottom: 96px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 48px 0 16px;
    color: var(--ink);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 32px 0 12px;
    color: var(--ink);
}

.article-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
    color: #333;
}

.article-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.article-content .fact-box {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-left: 4px solid var(--accent);
    border-radius: var(--rounded-md);
    padding: 20px 24px;
    margin: 32px 0;
}

.article-content .fact-box p {
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: 15px;
}

.article-content .article-image {
    border-radius: var(--rounded-xl);
    overflow: hidden;
    margin: 32px 0;
    background: var(--surface-1);
    border: 1px solid var(--hairline);
}

.article-content .article-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.article-content .article-image figcaption {
    padding: 12px 16px;
    font-size: 12px;
    color: var(--ink-tertiary);
    border-top: 1px solid var(--hairline-soft);
}

.article-sidebar {
    position: sticky;
    top: 72px;
}

.sidebar-card {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--ink);
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 14px;
}

.sidebar-card li:last-child {
    border-bottom: none;
}

.sidebar-card a {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.sidebar-card a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.sources-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
}

.sources-section h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--ink);
}

.sources-section ol {
    font-size: 13px;
    color: var(--ink-tertiary);
    padding-left: 20px;
}

.sources-section li {
    margin-bottom: 6px;
}

.sources-section a {
    color: var(--ink-muted);
}

.form-section {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xl);
    padding: 48px;
    max-width: 640px;
    margin: 0 auto;
}

.form-section h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-section p {
    color: var(--ink-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    outline: none;
    transition: border-color 0.15s;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    display: none;
    padding: 14px 18px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    margin-top: 16px;
}

.form-status.success {
    background: #f0faf0;
    border: 1px solid #b3d9b3;
    color: #2a5f2a;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    text-decoration: none;
    line-height: 1.2;
    min-height: 40px;
}

.btn-primary {
    background: var(--ink);
    color: var(--inverse-ink);
}

.btn-primary:hover {
    background: #222;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--surface-1);
    color: var(--ink);
    border: 1px solid var(--hairline);
}

.btn-secondary:hover {
    background: var(--surface-2);
}

.breadcrumb {
    font-size: 13px;
    color: var(--ink-tertiary);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--ink-tertiary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 64px;
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -1.0px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 600px;
}

.page-content {
    max-width: 800px;
    padding-bottom: 96px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin: 40px 0 12px;
    color: var(--ink);
}

.page-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
    color: #333;
    line-height: 1.6;
}

.page-content li {
    margin-bottom: 6px;
    font-size: 16px;
}

.related-articles {
    background: var(--surface-2);
    padding: 64px 0;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 32px;
}

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

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 13px;
    color: var(--ink-subtle);
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

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

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

.footer-col a {
    font-size: 13px;
    color: var(--ink-subtle);
    text-decoration: none;
    transition: color 0.15s;
}

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

.footer-col address {
    font-style: normal;
    font-size: 13px;
    color: var(--ink-subtle);
    line-height: 1.6;
}

.footer-col address a {
    color: var(--ink-subtle);
}

.footer-bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--ink-tertiary);
    margin-bottom: 6px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--inverse-canvas);
    color: var(--inverse-ink);
    padding: 20px 24px;
    z-index: 999;
    display: none;
}

.cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: 14px;
    color: #ccc;
    flex: 1;
    min-width: 260px;
}

.cookie-inner a {
    color: #ccc;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-buttons .btn-primary {
    background: var(--inverse-ink);
    color: var(--inverse-canvas);
}

.cookie-buttons .btn-secondary {
    background: transparent;
    color: #ccc;
    border-color: #555;
}

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}

@media (max-width: 768px) {
    .cards-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 24px;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { display: block; }
    .hero { padding: 64px 0 48px; }
    .hero-image-card img { height: 220px; }
    .section { padding: 64px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-section { padding: 32px 24px; }
    .cookie-inner { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; letter-spacing: -0.8px; }
    .article-header h1 { font-size: 28px; letter-spacing: -0.5px; }
}
