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

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

html { scroll-behavior: smooth; }

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

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

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

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.nav-menu > li > a:hover {
    color: var(--ink);
    background: var(--surface-strong);
}

.nav-dropdown { position: relative; }

.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }

.nav-arrow { font-size: 11px; color: var(--muted); transition: transform 0.2s; }

.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    min-width: 240px;
    list-style: none;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(38,37,30,0.06);
}

.nav-dropdown:hover .nav-submenu { display: block; }

.nav-submenu li a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--body);
    border-radius: var(--radius-sm);
    transition: background 0.15s, color 0.15s;
}

.nav-submenu li a:hover {
    background: var(--canvas);
    color: var(--ink);
}

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

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

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

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

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

.btn-secondary:hover { background: var(--canvas); color: var(--ink); }

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

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

.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(--radius-pill);
    margin-bottom: 20px;
}

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

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body);
    max-width: 580px;
    margin-bottom: 32px;
}

.section {
    padding: 80px 0;
}

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

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

.section-desc {
    font-size: 16px;
    color: var(--body);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 48px;
}

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

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

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

.feature-card-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
}

.feature-card-body {
    font-size: 15px;
    color: var(--body);
    line-height: 1.6;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-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;
    background: var(--surface-strong);
}

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

.article-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--primary); }

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

.article-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

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

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.article-content h1 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hairline);
}

.article-meta time { font-weight: 500; }

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

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 12px;
}

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

.article-content ul, .article-content ol {
    margin: 0 0 20px 24px;
}

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

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.article-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    border: 1px solid var(--hairline);
}

.article-img-caption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: -24px;
    margin-bottom: 32px;
}

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

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

.sidebar-card-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.88px;
    color: var(--muted);
    margin-bottom: 12px;
}

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

.sidebar-card ul li { margin-bottom: 8px; }

.sidebar-card ul li a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.sidebar-card ul li a:hover { color: var(--primary); }

.sources-list {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-top: 40px;
}

.sources-list-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.88px;
    color: var(--muted);
    margin-bottom: 12px;
}

.sources-list ol {
    margin-left: 20px;
}

.sources-list li {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
    line-height: 1.5;
}

.sources-list a { color: var(--body); text-decoration: underline; text-underline-offset: 2px; }

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

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

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

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

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

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

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

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

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

.form-error-msg {
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

.form-success {
    display: none;
    background: #e8f5f1;
    border: 1px solid #a8d5c4;
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--success);
    font-size: 15px;
    margin-top: 16px;
}

.page-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
    background: var(--canvas);
}

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

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

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

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

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 8px;
}

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

.page-content ul, .page-content ol {
    margin: 0 0 16px 24px;
}

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

.page-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.page-content a:hover { color: var(--primary-active); }

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

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

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

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

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.88px;
    color: var(--muted);
    margin-bottom: 12px;
}

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

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

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

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

.footer-legal a { font-size: 13px; color: var(--muted); }
.footer-legal a:hover { color: var(--body); }

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    max-width: 600px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 32px rgba(38,37,30,0.18);
}

.cookie-banner.visible { display: block; }

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: 14px;
    color: var(--canvas);
    line-height: 1.5;
    flex: 1;
}

.cookie-inner a { color: var(--on-primary); text-decoration: underline; }

.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--body); }
.breadcrumb span { margin: 0 6px; }

.highlight-box {
    background: var(--canvas-soft);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin: 24px 0;
}

.highlight-box p {
    font-size: 15px;
    color: var(--body-strong);
    margin: 0;
    line-height: 1.6;
}

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

.data-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--surface-strong);
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid var(--hairline);
}

.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--body);
}

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

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

@media (max-width: 768px) {
    .hero-title { font-size: 36px; letter-spacing: -1px; }
    .section-title { font-size: 28px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { display: block; padding: 10px 12px; }
    .nav-dropdown:hover .nav-submenu { display: none; }
    .nav-dropdown.open .nav-submenu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        background: var(--canvas-soft);
        margin: 4px 0 4px 12px;
    }
    .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .article-content h1 { font-size: 30px; }
    .page-hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .container { padding: 0 16px; }
    .hero-band { padding: 48px 0 40px; }
    .section { padding: 48px 0; }
}
