*, *::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;
    --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;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background-color: 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;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--body);
    padding: 6px 12px;
    border-radius: var(--rounded-md);
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.nav-link--active {
    color: var(--ink);
    background: var(--surface-strong);
}

.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-band {
    background: var(--canvas);
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline);
}

.hero-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.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);
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 24px;
}

.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: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-meta {
    font-size: 13px;
    color: var(--muted);
}

.hero-img {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    overflow: hidden;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
    margin-bottom: 48px;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--hairline);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--hairline-strong);
}

.article-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.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);
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 12px;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

.article-card-date {
    font-size: 13px;
    color: var(--muted);
}

.article-card-link {
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
}

.info-card-num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

.info-card-text {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.bg-soft {
    background: var(--canvas-soft);
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info-title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-info-text {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    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: 8px;
}

.form-input {
    display: block;
    width: 100%;
    background: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.15s;
    outline: none;
}

.form-input:focus {
    border-color: var(--ink);
}

.form-input.error {
    border-color: var(--error);
}

.form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

.form-error.visible {
    display: block;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border: none;
    border-radius: var(--rounded-md);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-active);
    color: var(--on-primary);
}

.btn-full {
    width: 100%;
    display: block;
    height: 44px;
    font-size: 15px;
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    display: none;
}

.form-status.loading {
    display: block;
    background: var(--surface-strong);
    color: var(--muted);
}

.form-status.success {
    display: block;
    background: #eaf7f3;
    color: var(--success);
    border: 1px solid #c0e8da;
}

.article-page {
    padding: 60px 0 80px;
}

.article-page .container {
    max-width: 860px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--hairline);
}

.article-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 16px;
}

.article-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 16px;
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-cover {
    width: 100%;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    margin-bottom: 40px;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 0;
}

.article-body ul li,
.article-body ol li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    padding: 4px 0 4px 20px;
    position: relative;
}

.article-body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.article-body ol {
    counter-reset: ol-counter;
}

.article-body ol li {
    counter-increment: ol-counter;
}

.article-body ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    color: var(--muted);
    font-weight: 600;
}

.article-body figure {
    margin: 32px 0;
}

.article-body figure img {
    width: 100%;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
}

.article-body figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.4;
}

.article-body .highlight-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: var(--rounded-md);
    padding: 20px 24px;
    margin: 32px 0;
}

.article-body .highlight-box p {
    margin-bottom: 0;
    font-size: 15px;
}

.article-body a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--primary);
}

.article-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: 10px 16px;
    transition: border-color 0.15s;
}

.article-nav-link:hover {
    border-color: var(--hairline-strong);
    color: var(--ink);
}

.page-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.page-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--body);
}

.page-content {
    padding: 48px 0 80px;
    max-width: 800px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 12px;
}

.page-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.page-content ul {
    margin-bottom: 16px;
}

.page-content ul li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    padding: 3px 0 3px 20px;
    position: relative;
}

.page-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.page-updated {
    font-size: 13px;
    color: var(--muted);
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    max-width: 260px;
}

.footer-heading {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--ink);
}

.footer-text {
    font-size: 14px;
    color: var(--body);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.footer-disclaimer {
    font-size: 13px;
    color: var(--muted-soft);
    max-width: 480px;
    text-align: right;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    max-width: 640px;
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    box-shadow: none;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    color: var(--canvas);
}

.cookie-text a {
    color: var(--canvas);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary);
    color: var(--on-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: none;
    border-radius: var(--rounded-md);
    cursor: pointer;
    height: 36px;
    transition: background 0.15s;
}

.btn-cookie-accept:hover {
    background: var(--primary-active);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--canvas);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--rounded-md);
    cursor: pointer;
    height: 36px;
    transition: border-color 0.15s;
}

.btn-cookie-reject:hover {
    border-color: rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
    .hero-band .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px;
        gap: 4px;
        margin-left: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-inner {
        position: relative;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .article-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-disclaimer {
        text-align: left;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
