*, *::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;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
}

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

.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--rounded-sm);
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--ink);
    background: var(--surface-strong);
    text-decoration: none;
}

.nav-link--active {
    color: var(--ink);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.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: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    max-width: 780px;
    margin-bottom: 20px;
}

.hero-subhead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-image-wrap {
    margin-top: 48px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    max-height: 420px;
}

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

.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 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: 12px;
}

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

.section-subhead {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 48px;
}

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

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

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

.feature-card__icon {
    font-size: 24px;
    margin-bottom: 16px;
    display: block;
}

.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;
    transition: border-color 0.15s ease;
}

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

.article-card__title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.2px;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 20px;
}

.article-card__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.article-card__link:hover {
    text-decoration: underline;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.article-content h1 {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hairline);
    flex-wrap: wrap;
}

.article-meta__date,
.article-meta__topic {
    font-size: 13px;
    color: var(--muted);
}

.article-meta__topic {
    background: var(--surface-strong);
    padding: 4px 10px;
    border-radius: var(--rounded-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
}

.article-hero-img {
    width: 100%;
    border-radius: var(--rounded-lg);
    margin-bottom: 32px;
    border: 1px solid var(--hairline);
}

.article-body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    line-height: 1.25;
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--primary-active);
}

.article-body figure {
    margin: 32px 0;
}

.article-body figure img {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    width: 100%;
}

.article-body figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.4;
}

.article-body .info-box {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: var(--rounded-md);
    padding: 20px 24px;
    margin: 32px 0;
}

.article-body .info-box p {
    margin-bottom: 0;
    font-size: 15px;
}

.article-sidebar {
    padding-top: 4px;
}

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

.sidebar-card__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-card__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-card__link {
    font-size: 14px;
    color: var(--body-strong);
    text-decoration: none;
    line-height: 1.4;
}

.sidebar-card__link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.page-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.page-header__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.page-header__title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-header__desc {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
}

.page-body {
    max-width: 760px;
    padding: 48px 0 80px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
}

.page-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 14px;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 28px;
    margin-bottom: 10px;
}

.page-body p {
    margin-bottom: 18px;
}

.page-body ul {
    padding-left: 24px;
    list-style: disc;
    margin-bottom: 18px;
}

.page-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.contact-form-wrap h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 24px;
}

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

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

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

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder {
    color: var(--muted-soft);
}

.form-btn {
    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;
    font-family: inherit;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.form-btn:hover {
    background: var(--primary-active);
}

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

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    display: none;
}

.form-message--success {
    background: #e6f4ef;
    color: var(--semantic-success);
    border: 1px solid #b3dece;
}

.form-message--error {
    background: #fce8ec;
    color: var(--semantic-error);
    border: 1px solid #f5b8c4;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 0;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 240px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
    line-height: 1.4;
}

.footer-link:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
}

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

.footer-disclaimer {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--hairline-soft);
    font-size: 12px;
}

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

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

.cookie-banner-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: #d8d6cf;
    line-height: 1.5;
}

.cookie-link {
    color: #d8d6cf;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s ease;
}

.cookie-btn--accept {
    background: var(--primary);
    color: var(--on-primary);
}

.cookie-btn--reject {
    background: transparent;
    color: #d8d6cf;
    border: 1px solid #4a4940;
}

.cookie-btn:hover {
    opacity: 0.85;
}

.articles-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

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

@media (max-width: 1024px) {
    .hero-headline {
        font-size: 42px;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 32px;
        letter-spacing: -0.8px;
    }
    .hero-band {
        padding: 48px 0;
    }
    .section {
        padding: 48px 0;
    }
    .section-heading {
        font-size: 28px;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        padding: 12px 24px 16px;
        gap: 2px;
        align-items: flex-start;
    }
    .nav-menu.is-open {
        display: flex;
    }
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-layout {
        padding: 40px 24px;
    }
    .article-content h1 {
        font-size: 30px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 28px;
    }
    .page-header__title {
        font-size: 30px;
    }
    .contact-form-wrap {
        padding: 20px;
    }
}
