@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

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

:root {
    --canvas: #f5f1ec;
    --surface: #ffffff;
    --surface-2: #ede9e3;
    --ink: #111111;
    --ink-muted: #626260;
    --ink-subtle: #7b7b78;
    --ink-tertiary: #9c9fa5;
    --hairline: #d3cec6;
    --accent: #ff5600;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background-color: var(--canvas); color: var(--ink); line-height: 1.5; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 56px;
    display: flex;
    align-items: center;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
.nav-logo {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.3px;
}
.nav-logo:hover { text-decoration: none; }
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}
.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: all 0.2s;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 48px 0; }

.display-xl { font-size: 72px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; }
.display-lg { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; }
.display-md { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; }
.headline { font-size: 28px; font-weight: 500; line-height: 1.20; letter-spacing: -0.5px; }
.card-title-text { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.3px; }
.subhead { font-size: 20px; font-weight: 400; line-height: 1.40; letter-spacing: -0.2px; }
.body-lg { font-size: 18px; font-weight: 400; line-height: 1.50; letter-spacing: -0.1px; }
.eyebrow { font-size: 14px; font-weight: 500; line-height: 1.30; color: var(--ink-muted); }

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

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

.hero { padding: 96px 0 80px; }
.hero-eyebrow { margin-bottom: 16px; }
.hero-title { margin-bottom: 24px; }
.hero-lead { max-width: 600px; color: var(--ink-muted); margin-bottom: 0; }
.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 48px;
    border: 1px solid var(--hairline);
}
.hero-image img { width: 100%; height: 440px; object-fit: cover; display: block; }

.section-title { margin-bottom: 8px; }
.section-lead { color: var(--ink-muted); font-size: 18px; line-height: 1.55; max-width: 560px; margin-bottom: 48px; }

.article-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.article-card:hover { border-color: #b8b3ab; text-decoration: none; }
.article-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.article-card-meta { font-size: 12px; color: var(--ink-subtle); }
.article-card-title { font-size: 20px; font-weight: 500; line-height: 1.30; letter-spacing: -0.3px; color: var(--ink); }
.article-card-excerpt { font-size: 14px; color: var(--ink-muted); line-height: 1.60; flex: 1; }
.article-card-link { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink); display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.20;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    font-family: inherit;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { opacity: 0.82; text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { background: var(--surface-2); text-decoration: none; }

.article-page-header { padding: 64px 0 48px; }
.article-page-header .breadcrumb { margin-bottom: 24px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--ink); text-decoration: none; }
.breadcrumb-sep { color: var(--ink-subtle); }

.article-body { max-width: 760px; }
.article-body p { font-size: 16px; line-height: 1.75; color: var(--ink); margin-bottom: 24px; }
.article-body h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.25; margin: 48px 0 16px; color: var(--ink); }
.article-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.30; margin: 32px 0 12px; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 24px; }
.article-body li { font-size: 16px; line-height: 1.75; margin-bottom: 8px; }
.article-body a { color: var(--ink); text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); }
.article-body table th { background: var(--surface-2); padding: 12px 16px; font-weight: 500; font-size: 14px; text-align: left; border-bottom: 1px solid var(--hairline); }
.article-body table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--hairline); background: var(--surface); }
.article-body table tr:last-child td { border-bottom: none; }

.article-img { border-radius: var(--radius-xl); overflow: hidden; margin: 40px 0; border: 1px solid var(--hairline); }
.article-img img { width: 100%; height: 380px; object-fit: cover; display: block; }
.article-img figcaption { font-size: 12px; color: var(--ink-subtle); padding: 10px 16px; background: var(--surface); }

.info-block { background: var(--surface-2); border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px 0; border-left: 3px solid var(--hairline); }
.info-block p { margin: 0; font-size: 15px; color: var(--ink-muted); line-height: 1.65; }

.divider { height: 1px; background: var(--hairline); }

.form-section {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--hairline);
}
.form-section-title { margin-bottom: 8px; }
.form-section-desc { color: var(--ink-muted); font-size: 16px; margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    font-family: inherit;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.2s;
    min-height: 44px;
}
.form-control:focus { border-color: var(--ink); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-disclaimer { font-size: 13px; color: var(--ink-subtle); margin-top: 8px; }
.form-message {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 16px;
}
.form-message.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 12px; display: block; }
.footer-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }
.footer-col-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--ink-muted); }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: var(--ink-subtle); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: var(--ink-subtle); }
.footer-legal a:hover { color: var(--ink-muted); text-decoration: none; }

#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 640px;
    width: calc(100% - 40px);
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}
#cookie-banner p { font-size: 14px; line-height: 1.55; flex: 1; }
#cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie-accept {
    background: #fff;
    color: var(--ink);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-cookie-reject {
    background: transparent;
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.35);
    cursor: pointer;
    white-space: nowrap;
}

.page-header { padding: 64px 0 48px; }
.page-body { max-width: 760px; }
.page-body p { font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.page-body h2 { font-size: 24px; font-weight: 500; margin: 40px 0 12px; letter-spacing: -0.3px; }
.page-body h3 { font-size: 18px; font-weight: 500; margin: 28px 0 8px; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 20px; }
.page-body li { font-size: 16px; line-height: 1.75; margin-bottom: 6px; }
.page-body a { color: var(--ink); text-decoration: underline; }
.page-updated { font-size: 13px; color: var(--ink-subtle); margin-top: 8px; }

.mt-4 { margin-top: 32px; }
.mt-8 { margin-top: 64px; }
.mb-4 { margin-bottom: 32px; }
.color-muted { color: var(--ink-muted); }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .display-xl { font-size: 56px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 64px 0; }
    .section-sm { padding: 32px 0; }
    .display-xl { font-size: 36px; letter-spacing: -1px; }
    .display-lg { font-size: 28px; letter-spacing: -0.6px; }
    .display-md { font-size: 24px; letter-spacing: -0.3px; }
    .headline { font-size: 22px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal { justify-content: center; }
    .nav-links {
        display: none;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        padding: 16px 20px;
        gap: 16px;
    }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .hero { padding: 48px 0 40px; }
    .hero-image img { height: 240px; }
    .form-section { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .article-page-header { padding: 40px 0 32px; }
    .article-img img { height: 240px; }
    #cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .cookie-btns { width: 100%; }
    .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
    .page-header { padding: 40px 0 32px; }
    .nav-inner { padding: 0 20px; }
}
