:root {
    --canvas: #f7f7f4;
    --ink: #26251e;
    --body-text: #5a5852;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --primary: #f54e00;
    --primary-active: #d04200;
    --surface-card: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --success: #1f8a65;
    --error: #cf2d56;
    --section: 80px;
    --max-width: 1200px;
    --radius-card: 12px;
    --radius-btn: 8px;
    --radius-input: 8px;
}

*, *::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-text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: var(--primary);
}

.site-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
    margin-left: auto;
    align-items: center;
}

.nav-links > li > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-text);
    padding: 7px 12px;
    border-radius: var(--radius-btn);
    display: block;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--ink);
    background: var(--hairline-soft);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 8px;
    list-style: none;
    min-width: 240px;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    padding: 9px 12px;
    border-radius: 8px;
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--body-text);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--hairline-soft);
    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: transform 0.2s, opacity 0.2s;
}

.hero {
    padding: var(--section) 0 60px;
    border-bottom: 1px solid var(--hairline);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: var(--body-text);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-card);
    border: 1px solid var(--hairline);
    margin-top: 40px;
}

.section {
    padding: var(--section) 0;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--body-text);
    max-width: 560px;
    line-height: 1.65;
}

hr.section-divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

.card-grid {
    display: grid;
    gap: 16px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    display: block;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--body-text);
    line-height: 1.65;
    flex: 1;
}

.article-card-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.article-card-link:hover {
    color: var(--primary-active);
}

.info-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 24px;
}

.info-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: block;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.3;
}

.info-card p {
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.65;
}

.article-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.article-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-hero h1 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-card);
    border: 1px solid var(--hairline);
}

.article-content {
    padding: 48px 0 var(--section);
}

.article-content-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 48px;
    align-items: start;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin: 40px 0 16px;
    line-height: 1.25;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 12px;
    line-height: 1.3;
}

.article-body p {
    font-size: 16px;
    color: var(--body-text);
    line-height: 1.75;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 16px;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 8px;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--primary-active);
}

.article-note {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    padding: 18px 22px;
    margin: 28px 0;
}

.article-note p {
    margin: 0;
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.65;
}

.article-table-wrap {
    overflow-x: auto;
    margin-bottom: 28px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.article-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--canvas);
    color: var(--ink);
    font-weight: 600;
    border: 1px solid var(--hairline);
    white-space: nowrap;
}

.article-table td {
    padding: 10px 14px;
    border: 1px solid var(--hairline);
    color: var(--body-text);
    background: var(--surface-card);
    vertical-align: top;
}

.article-sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 22px;
    margin-bottom: 16px;
}

.sidebar-box h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hairline-soft);
}

.sidebar-box li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-box a {
    font-size: 14px;
    color: var(--body-text);
    line-height: 1.4;
}

.sidebar-box a:hover {
    color: var(--primary);
}

.article-sources {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
}

.article-sources h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.article-sources ul {
    list-style: none;
    padding: 0;
}

.article-sources li {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}

.article-sources li::before {
    content: '↗';
    position: absolute;
    left: 0;
    color: var(--muted-soft);
    font-size: 11px;
    top: 2px;
}

.article-sources a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 13px;
}

.page-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-hero h1 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 16px;
    color: var(--body-text);
    line-height: 1.65;
    max-width: 560px;
}

.page-content {
    padding: 48px 0 var(--section);
}

.page-content-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 36px 0 12px;
    line-height: 1.25;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 10px;
}

.page-body p {
    font-size: 16px;
    color: var(--body-text);
    line-height: 1.75;
    margin-bottom: 18px;
}

.page-body ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.page-body li {
    font-size: 16px;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 8px;
}

.page-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hairline-soft);
}

.contact-section {
    padding: 60px 0 var(--section);
    border-top: 1px solid var(--hairline);
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-inner h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-bottom: 10px;
}

.contact-inner > p {
    font-size: 15px;
    color: var(--body-text);
    margin-bottom: 32px;
    line-height: 1.65;
}

.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-input);
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.15s;
    height: 44px;
    appearance: none;
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.form-submit-btn {
    background: var(--ink);
    color: var(--canvas);
    border: none;
    border-radius: var(--radius-btn);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    height: 44px;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
}

.form-submit-btn:hover:not(:disabled) {
    background: #1a1913;
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
    color: var(--success);
    display: none;
    padding: 12px 16px;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-input);
}

.form-message.visible {
    display: block;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 16px 24px;
    z-index: 999;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    color: #ccc8c0;
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-btn {
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    height: 36px;
    border: none;
}

.cookie-btn-accept {
    background: var(--canvas);
    color: var(--ink);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--canvas);
    border: 1px solid rgba(255,255,255,0.25);
}

.cookie-btn:hover {
    opacity: 0.85;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 48px 0 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-tagline {
    font-size: 14px;
    color: var(--body-text);
    max-width: 280px;
    line-height: 1.65;
}

.footer-nav {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--body-text);
}

.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding: 20px 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .article-content-inner {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-inner {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        padding: 12px 16px 16px;
        gap: 2px;
        align-items: stretch;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > li > a {
        padding: 10px 12px;
    }

    .nav-dropdown-menu {
        position: static;
        border: none;
        border-radius: 0;
        padding: 4px 0 4px 16px;
        background: transparent;
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .card-grid-3,
    .card-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 24px;
    }
}
