@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

*, *::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;
    --on-primary: #ffffff;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --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-size: 16px;
    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-nav {
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    line-height: 1.4;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    gap: 16px;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    font-size: 15px;
    font-weight: 500;
    color: var(--body);
}


.hero {
    padding: 80px 0 64px;
    text-align: center;
}

.hero-eyebrow {
    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 12px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--body);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-image {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.hero-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}


.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;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--body);
    max-width: 580px;
    line-height: 1.6;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--hairline);
}


.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background: 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: 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);
    border-radius: var(--rounded-pill);
    padding: 3px 10px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card-meta {
    font-size: 13px;
    color: var(--muted);
}


.features-strip {
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 48px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}


.article-header {
    padding: 64px 0 48px;
    max-width: 760px;
}

.article-header .badge {
    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 12px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 16px;
}

.article-header .meta {
    font-size: 13px;
    color: var(--muted);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding-bottom: 80px;
    align-items: start;
}

.article-body {
    max-width: 100%;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    line-height: 1.25;
    margin: 40px 0 16px;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 20px;
    color: var(--body);
    font-size: 16px;
    line-height: 1.7;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body img {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    margin: 32px 0;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: 12px 20px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.article-sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: 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;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card ul li {
    border-bottom: 1px solid var(--hairline-soft);
    padding: 10px 0;
    font-size: 14px;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li a {
    color: var(--body);
    font-size: 14px;
    line-height: 1.5;
}

.sidebar-card ul li a:hover {
    color: var(--ink);
}


.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;
    letter-spacing: -0.72px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-form {
    background: 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: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--canvas);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    height: 44px;
    transition: border-color 0.15s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
    background: var(--surface-card);
}

.form-group textarea {
    height: auto;
    min-height: 110px;
    resize: vertical;
}

.form-error {
    font-size: 13px;
    color: var(--semantic-error);
    margin-top: 4px;
    display: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--primary-active);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-success {
    display: none;
    background: #e8f5f0;
    border: 1px solid #b2dac9;
    border-radius: var(--rounded-md);
    padding: 14px 16px;
    font-size: 14px;
    color: var(--semantic-success);
    margin-top: 16px;
}


.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 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 240px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--muted);
}


.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: 560px;
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--canvas);
}

.cookie-banner p a {
    color: #f5c9b2;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.btn-cookie-reject {
    background: transparent;
    color: var(--canvas);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: 1px solid rgba(247,247,244,0.3);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}


.page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.8px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.6;
}


.content-page {
    padding: 64px 0 80px;
    max-width: 760px;
}

.content-page h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 40px 0 14px;
}

.content-page h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 10px;
}

.content-page p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 18px;
}

.content-page ul, .content-page ol {
    margin: 0 0 18px 20px;
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
}

.content-page li {
    margin-bottom: 6px;
}

.content-page a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}


.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb-sep {
    color: var(--hairline-strong);
}


@media (max-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero-image img {
        height: 240px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
