*, *::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 { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--canvas);
    color: var(--body);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    line-height: 1.4;
    transition: color 0.15s;
}

.nav-menu a:hover { color: var(--ink); }

.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: all 0.2s;
}

.hero-band {
    padding: 80px 24px;
    background: var(--canvas);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-band h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2.16px;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: 20px;
}

.hero-band .hero-sub {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    margin-top: 48px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 20px;
}

.section {
    padding: 80px 0;
}

.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;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 48px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.feature-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--rounded-md);
    margin-bottom: 4px;
}

.feature-card .card-meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
}

.feature-card .card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-top: auto;
}

.feature-card .card-link:hover { color: var(--primary-active); }

.divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    transition: border-color 0.15s;
    text-decoration: none;
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.article-hero {
    padding: 64px 0 48px;
}

.article-hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: 20px;
}

.article-hero .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article-hero img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
}

.article-body {
    max-width: 720px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 48px 0 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 20px;
    list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 8px;
}

.article-body strong { color: var(--ink); font-weight: 600; }

.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary-active); }

.article-body blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--canvas-soft);
    border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
}

.article-body blockquote p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.info-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}

.info-box .info-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.info-box p { margin-bottom: 0; }

.layout-two-col {
    display: grid;
    grid-template-columns: 720px 1fr;
    gap: 48px;
    align-items: start;
}

.sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-card ul { list-style: none; margin: 0; }

.sidebar-card li {
    font-size: 14px;
    color: var(--body);
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.sidebar-card li:last-child { border-bottom: none; }

.sidebar-card a { color: var(--body); }
.sidebar-card a:hover { color: var(--primary); }

.contact-section {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 48px;
    max-width: 600px;
}

.contact-section h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.325px;
}

.contact-section p {
    color: var(--body);
    margin-bottom: 32px;
}

.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);
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    outline: none;
    transition: border-color 0.15s;
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    margin-top: 16px;
}

.form-message.success {
    background: #e8f5f1;
    color: var(--success);
    border: 1px solid #b8ddd4;
    display: block;
}

.form-message.error-msg {
    background: #fde8ed;
    color: var(--error);
    border: 1px solid #f5bdc9;
    display: block;
}

.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 64px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--muted);
}

.prose h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin: 48px 0 16px;
}

.prose h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
}

.prose p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 720px;
}

.prose ul {
    margin: 0 0 20px 20px;
    list-style: disc;
}

.prose li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 8px;
    max-width: 720px;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; margin: 0; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--canvas);
    z-index: 999;
    padding: 20px 24px;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    color: var(--canvas-soft);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--muted-soft); }

@media (max-width: 1100px) {
    .layout-two-col {
        grid-template-columns: 1fr;
    }
    .sidebar-card { position: static; }
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px 24px;
        gap: 16px;
    }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero-band h1 { font-size: 36px; letter-spacing: -1px; }
    .article-hero h1 { font-size: 32px; letter-spacing: -0.7px; }
    .section-title { font-size: 28px; }
    .card-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .contact-section { padding: 32px 24px; }
    .page-header h1 { font-size: 32px; }
}

@media (max-width: 640px) {
    .hero-band { padding: 48px 16px; }
    .container { padding: 0 16px; }
    .hero-band h1 { font-size: 32px; }
    .section { padding: 56px 0; }
}
