*, *::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;
}

a {
    color: inherit;
    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;
    height: 64px;
    display: flex;
    align-items: center;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 64px;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    line-height: 1.4;
    border-radius: var(--rounded-sm);
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link--active {
    color: var(--ink);
}

.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-band {
    padding: 80px 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
}

.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-headline {
    font-size: 72px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -2.16px;
    max-width: 780px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 48px;
}

.hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    margin-top: 48px;
}

.section {
    padding: 80px 0;
}

.section + .section {
    border-top: 1px solid var(--hairline-soft);
}

.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: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--body);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 48px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
}

.feature-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--primary);
}

.feature-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 8px;
}

.feature-card__body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

.article-card__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    display: inline-block;
    padding-bottom: 2px;
}

.article-card__link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px;
}

.article-content h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}

.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: 18px;
    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: 20px;
}

.article-content ul,
.article-content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.article-content a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.article-content a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.article-tag {
    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);
}

.article-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    margin-bottom: 40px;
}

.article-divider {
    border: none;
    border-top: 1px solid var(--hairline-soft);
    margin: 40px 0;
}

.info-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;
}

.info-box__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-box p {
    margin-bottom: 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin: 32px 0;
}

.related-articles {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 48px;
    margin-top: 48px;
}

.related-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.11px;
    margin-bottom: 24px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
}

.related-list a {
    display: block;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.related-list a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline-soft);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
}

.page-content {
    max-width: 800px;
    padding: 64px 24px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-content ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

.page-content li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.contact-form-section {
    padding: 80px 0;
    background: var(--canvas);
    border-top: 1px solid var(--hairline-soft);
}

.contact-form-wrap {
    max-width: 560px;
}

.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);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    height: 44px;
    outline: none;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    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;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: var(--primary-active);
    color: var(--on-primary);
}

.btn-primary:active {
    background: var(--primary-active);
}

.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 500;
}

.form-message--success {
    background: #d4f0e6;
    color: var(--success);
    border: 1px solid #a8dfc9;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-links li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-disclaimer {
    color: var(--muted-soft);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--canvas);
    padding: 20px 24px;
    z-index: 1000;
    display: none;
}

.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-text a {
    color: var(--canvas);
    border-bottom: 1px solid rgba(247,247,244,0.4);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    height: 36px;
    line-height: 1;
}

.cookie-btn--accept {
    background: var(--primary);
    color: var(--on-primary);
}

.cookie-btn--reject {
    background: transparent;
    color: var(--canvas);
    border: 1px solid rgba(247,247,244,0.3);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.stat-item {
    background: var(--surface-card);
    padding: 28px 24px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .hero-headline { font-size: 56px; letter-spacing: -1.4px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 0;
    }
    .nav-menu.is-open { display: flex; }
    .nav-link { padding: 12px 24px; }
    .nav-toggle { display: flex; }
    .site-header { position: relative; }
    .hero-headline { font-size: 36px; letter-spacing: -0.9px; }
    .section-title { font-size: 28px; }
    .article-content h1 { font-size: 32px; }
    .page-header h1 { font-size: 32px; }
    .stats-row { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .related-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-band { padding: 48px 0; }
    .section { padding: 48px 0; }
    .card-grid { grid-template-columns: 1fr; }
    .card-grid--2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-headline { font-size: 32px; }
    .article-content { padding: 48px 24px; }
}
