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

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

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --on-primary: #ffffff;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --semantic-success: #1f8a65;
    --semantic-error: #cf2d56;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
}

html { scroll-behavior: smooth; }

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

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

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

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

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.site-logo span {
    color: var(--primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 6px 12px;
    border-radius: var(--rounded-sm);
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
    color: var(--ink);
    background: var(--surface-strong);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.hero {
    padding: 80px 0 80px;
    background: var(--canvas);
}

.hero-inner {
    max-width: 760px;
}

.hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    padding: 4px 10px;
    border-radius: var(--rounded-pill);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--body);
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-meta {
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
}

.section {
    padding: 80px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.72px;
    margin-bottom: 48px;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

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

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    transition: border-color 0.15s;
}

.article-card:hover {
    border-color: var(--hairline-strong);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 20px 24px 24px;
}

.article-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.article-card-title {
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

.article-card-desc {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 16px;
}

.article-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    padding-bottom: 1px;
    transition: border-color 0.15s, color 0.15s;
}

.article-card-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

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

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

.fact-card-num {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.fact-card-label {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
}

.info-band {
    padding: 80px 0;
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
}

.info-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-band-text h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-band-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.info-band-text p:last-child { margin-bottom: 0; }

.info-band-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.info-band-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-detail-item {
    font-size: 14px;
    color: var(--body);
}

.contact-detail-item strong {
    color: var(--ink);
    font-weight: 600;
}

.form-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 32px;
}

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

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

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

.form-input:focus {
    border-color: var(--ink);
}

.form-input::placeholder {
    color: var(--muted-soft);
}

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
    font-family: inherit;
}

.btn-primary:hover { background: var(--primary-active); }

.btn-secondary {
    background: var(--surface-card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
    font-family: inherit;
}

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

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

.form-status.success {
    background: #e8f5f0;
    color: var(--semantic-success);
    border: 1px solid #b8dfd1;
    display: block;
}

.form-status.error {
    background: #fceef1;
    color: var(--semantic-error);
    border: 1px solid #f0b8c3;
    display: block;
}

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

.article-hero-inner {
    max-width: 760px;
}

.article-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.article-hero h1 {
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.article-hero-lead {
    font-size: 18px;
    color: var(--body);
    line-height: 1.6;
    max-width: 640px;
}

.article-body {
    padding: 48px 0 80px;
}

.article-content {
    max-width: 760px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.325px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.article-content li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 6px;
}

.article-content strong {
    color: var(--body-strong);
    font-weight: 600;
}

.article-content a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    transition: border-color 0.15s;
}

.article-content a:hover { border-color: var(--primary); }

.article-img-block {
    margin: 32px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-img-block img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.article-img-caption {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 16px;
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.data-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 16px;
    border-bottom: 2px solid var(--hairline);
    background: var(--canvas-soft);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--body);
    vertical-align: top;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table td:first-child { color: var(--ink); font-weight: 500; }

.info-box {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--ink);
    border-radius: var(--rounded-md);
    padding: 16px 20px;
    margin: 24px 0;
}

.info-box p {
    font-size: 15px;
    color: var(--body);
    margin-bottom: 0 !important;
}

.related-articles {
    padding: 48px 0 80px;
    border-top: 1px solid var(--hairline);
}

.related-articles h2 {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.11px;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.related-card:hover { border-color: var(--hairline-strong); }

.related-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

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

.page-hero h1 {
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
}

.page-body {
    padding: 48px 0 80px;
    max-width: 760px;
}

.page-body h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-top: 40px;
    margin-bottom: 14px;
}

.page-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-body ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.page-body li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 4px;
}

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

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 24px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    max-width: 240px;
}

.footer-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

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

.footer-link {
    font-size: 14px;
    color: var(--body);
    margin-bottom: 8px;
    transition: color 0.15s;
}

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

.footer-text {
    font-size: 14px;
    color: var(--body);
}

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

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    z-index: 1000;
    padding: 20px 24px;
}

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

.cookie-text {
    font-size: 14px;
    color: var(--canvas);
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .info-band-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
    .section-title { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
    .footer-bottom .container { flex-direction: column; align-items: flex-start; }
    .article-hero h1 { font-size: 30px; letter-spacing: -0.5px; }
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 12px 24px;
        gap: 4px;
    }
    .site-nav.open { display: flex; }
    .site-header { position: relative; }
    .article-img-block img { height: 220px; }
    .info-band-image img { height: 220px; }
}

@media (max-width: 640px) {
    .hero { padding: 48px 0; }
    .section { padding: 48px 0; }
    .hero h1 { font-size: 30px; }
}
