:root {
    --canvas: #f5f1ec;
    --surface: #ffffff;
    --surface-2: #ede9e3;
    --ink: #111111;
    --ink-muted: #626260;
    --ink-subtle: #7b7b78;
    --hairline: #d3cec6;
    --accent: #ff5600;
    --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-muted); }

img { max-width: 100%; height: auto; display: block; }

.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

@media (max-width: 768px) {
    .container-xl { padding: 0 20px; }
}

.site-header {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 56px;
    display: flex;
    align-items: center;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 56px;
}

.nav-brand {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-brand:hover { color: var(--ink-muted); }

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown {
    position: relative;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-muted);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: background 0.15s, color 0.15s;
    display: block;
}

.nav-link:hover { background: var(--surface); color: var(--ink); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    min-width: 200px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--ink-muted);
    border-radius: var(--radius-md);
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover { background: var(--canvas); color: var(--ink); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 20px;
    }
    .nav-menu.open { display: block; }
    .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
    .nav-dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 4px 0 4px 12px;
    }
}

.hero {
    padding: 80px 0 64px;
    background: var(--canvas);
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.hero-headline {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-subhead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 580px;
    margin-bottom: 48px;
}

.hero-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--hairline);
    margin-top: 56px;
}

.hero-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero { padding: 48px 0 40px; }
    .hero-image-card img { height: 260px; }
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.section-headline {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-subhead {
    font-size: 18px;
    color: var(--ink-muted);
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 48px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.card-eyebrow {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 8px;
    text-transform: none;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 12px;
}

.card-body {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.card-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 1px;
    transition: border-color 0.15s, color 0.15s;
}

.card-link:hover { border-color: var(--ink); color: var(--ink); }

.feature-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
}

.feature-number {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-subtle);
    margin-bottom: 12px;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.feature-text {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

.article-header {
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 64px;
}

.article-meta {
    font-size: 13px;
    color: var(--ink-subtle);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-title {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: -1.2px;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 20px;
    max-width: 800px;
}

.article-lead {
    font-size: 18px;
    color: var(--ink-muted);
    line-height: 1.55;
    max-width: 680px;
}

.article-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 1px solid var(--hairline);
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .article-header { padding: 32px 0 32px; margin-bottom: 40px; }
    .article-hero-img { height: 240px; }
}

.article-content {
    max-width: 760px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--ink);
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.2px;
    line-height: 1.3;
    color: var(--ink);
    margin: 32px 0 12px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-muted);
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 0 0 20px 24px;
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.7;
}

.article-content li { margin-bottom: 6px; }

.article-content strong { color: var(--ink); font-weight: 500; }

.article-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--ink-muted); }

.article-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    margin: 32px 0;
}

.info-box {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 32px 0;
}

.info-box-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.info-box p {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 14px;
}

.comparison-table th {
    background: var(--surface);
    border: 1px solid var(--hairline);
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: var(--ink);
}

.comparison-table td {
    border: 1px solid var(--hairline);
    padding: 12px 16px;
    color: var(--ink-muted);
    vertical-align: top;
}

.comparison-table tr:nth-child(even) td { background: var(--canvas); }

.contact-section {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin: 80px 0;
}

@media (max-width: 768px) {
    .contact-section { padding: 32px 24px; margin: 48px 0; }
}

.contact-title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 15px;
    color: var(--ink-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--ink);
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    min-height: 44px;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    background: var(--ink);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font);
    border-radius: var(--radius-md);
    cursor: pointer;
    min-height: 44px;
    transition: background 0.15s;
}

.btn-primary:hover { background: #333; }
.btn-primary:disabled { background: var(--ink-subtle); cursor: not-allowed; }

.form-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 16px;
    display: none;
}

.form-alert.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.form-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.page-header {
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 56px;
}

.page-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--ink-muted);
    line-height: 1.5;
    max-width: 580px;
}

.prose {
    max-width: 720px;
    padding-bottom: 80px;
}

.prose h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin: 40px 0 12px;
    letter-spacing: -0.3px;
}

.prose h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    margin: 28px 0 10px;
}

.prose p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-muted);
    margin-bottom: 18px;
}

.prose ul, .prose ol {
    margin: 0 0 18px 24px;
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.7;
}

.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink-muted); }

.breadcrumb-nav {
    padding: 16px 0;
    font-size: 13px;
    color: var(--ink-subtle);
}

.breadcrumb-nav a { color: var(--ink-subtle); }
.breadcrumb-nav a:hover { color: var(--ink); }
.breadcrumb-sep { margin: 0 8px; }

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 56px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hairline);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.footer-brand {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 13px;
    color: var(--ink-subtle);
    line-height: 1.6;
}

.footer-heading {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul a {
    font-size: 13px;
    color: var(--ink-subtle);
    transition: color 0.15s;
}

.footer-col ul a:hover { color: var(--ink); }

.footer-bottom {
    padding: 24px 0;
    font-size: 12px;
    color: var(--ink-subtle);
    line-height: 1.6;
}

.footer-bottom p + p { margin-top: 6px; }
.footer-disclaimer { color: var(--ink-subtle); opacity: 0.8; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--hairline);
    padding: 20px 32px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.cookie-text {
    flex: 1;
    min-width: 240px;
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.cookie-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    border-radius: var(--radius-md);
    cursor: pointer;
    min-height: 40px;
    transition: background 0.15s;
}

.btn-cookie-accept:hover { background: #333; }

.btn-cookie-reject {
    background: var(--canvas);
    color: var(--ink);
    border: 1px solid var(--hairline);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    border-radius: var(--radius-md);
    cursor: pointer;
    min-height: 40px;
    transition: background 0.15s;
}

.btn-cookie-reject:hover { background: var(--surface-2); }

@media (max-width: 600px) {
    .cookie-banner { padding: 16px 20px; gap: 16px; }
    .cookie-buttons { width: 100%; }
    .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
}

.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 3px 8px;
}

.accent-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 6px;
}

.related-articles {
    padding: 56px 0;
    border-top: 1px solid var(--hairline);
    margin-top: 56px;
}

.related-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 32px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

.stats-strip {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    margin: 56px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-strip { grid-template-columns: 1fr; padding: 28px 24px; margin: 40px 0; }
}

.stat-number {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.4;
}

.sources-box {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 48px;
}

.sources-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.sources-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sources-box li {
    font-size: 13px;
    color: var(--ink-subtle);
    padding: 4px 0;
}

.sources-box a {
    color: var(--ink-subtle);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sources-box a:hover { color: var(--ink); }
