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

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --primary: #f54e00;
    --primary-active: #d04200;
    --on-primary: #ffffff;
    --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 {
    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-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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-color: 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;
    gap: 32px;
}

.wordmark {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.wordmark:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    line-height: 1.4;
    transition: color 0.15s;
}

.main-nav a:hover {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

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

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

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.hero-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

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

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

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

.section {
    padding: 80px 0;
}

.section-head {
    margin-bottom: 48px;
}

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

.section-head p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 600px;
}

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

.article-card {
    background-color: 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: 24px;
}

.article-card-body .section-label {
    margin-bottom: 12px;
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 10px;
}

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

.article-card-meta {
    font-size: 13px;
    color: var(--muted);
}

.info-band {
    background-color: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    divide: horizontal;
}

.info-item {
    padding: 48px 32px;
    border-right: 1px solid var(--hairline);
}

.info-item:last-child {
    border-right: none;
}

.info-item h3 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
}

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

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

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

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}

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

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

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

.contact-info h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    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 span {
    font-size: 14px;
    color: var(--body);
}

.contact-detail strong {
    color: var(--ink);
}

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

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

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

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

.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

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

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

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

.field-error.visible {
    display: block;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ink);
    color: var(--canvas);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--rounded-md);
    padding: 12px 20px;
    height: 44px;
    cursor: pointer;
    transition: background-color 0.15s;
    width: 100%;
}

.btn-primary:hover {
    background-color: #1a1914;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    display: none;
    background-color: #f0faf6;
    border: 1px solid var(--semantic-success);
    border-radius: var(--rounded-md);
    padding: 16px;
    font-size: 14px;
    color: var(--semantic-success);
    margin-top: 16px;
    text-align: center;
}

.form-success.visible {
    display: block;
}

.site-footer {
    background-color: 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-brand p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
}

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

.footer-bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.footer-legal {
    display: flex;
    gap: 20px;
}

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

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

.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: 16px;
}

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

.page-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
}

.article-body {
    padding: 64px 0;
}

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

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    line-height: 1.3;
    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: 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: 6px;
}

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

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

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

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

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

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

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

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

.text-page {
    padding: 64px 0;
    max-width: 760px;
}

.text-page h1 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    margin-bottom: 8px;
}

.text-page .page-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
}

.text-page h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 14px;
}

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

.text-page ul {
    margin: 0 0 16px 24px;
}

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

.text-page a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.text-page a:hover {
    color: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    padding: 64px 0;
}

.about-content h1 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    margin-bottom: 24px;
}

.about-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 36px;
    margin-bottom: 12px;
}

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

.about-content ul {
    margin: 0 0 16px 24px;
}

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

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-img {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.about-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

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

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

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

.cookie-text {
    font-size: 14px;
    color: var(--canvas-soft);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--canvas);
    border-bottom: 1px solid rgba(247,247,244,0.4);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: var(--rounded-md);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    height: 36px;
}

.btn-cookie-reject {
    background-color: transparent;
    color: var(--canvas-soft);
    border: 1px solid rgba(247,247,244,0.3);
    border-radius: var(--rounded-md);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    height: 36px;
}

.disclaimer-band {
    background-color: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    padding: 16px 0;
}

.disclaimer-band p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a {
        padding: 12px 24px;
        border-bottom: 1px solid var(--hairline-soft);
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-item {
        border-right: none;
        border-bottom: 1px solid var(--hairline);
        padding: 32px 24px;
    }
    .info-item:last-child {
        border-bottom: none;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hero-text h1 {
        font-size: 32px;
        letter-spacing: -0.7px;
    }
    .section-head h2 {
        font-size: 26px;
    }
    .page-hero h1 {
        font-size: 30px;
    }
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .hero-band {
        padding: 48px 0;
    }
    .section {
        padding: 48px 0;
    }
}
