@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;
    --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 { 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; line-height: 1.5; -webkit-font-smoothing: antialiased; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-active); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; height: 64px; display: flex; align-items: center; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-logo { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; text-decoration: none; }
.site-logo span { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color 0.15s; }
.site-nav a:hover { color: var(--primary); }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: all 0.2s; }

.nav-mobile { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; z-index: 99; flex-direction: column; gap: 4px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--hairline-soft); text-decoration: none; }
.nav-mobile a:last-child { border-bottom: none; }

.hero { padding: 80px 0; background: var(--canvas); }
.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 h1 { font-size: 72px; font-weight: 400; line-height: 1.1; letter-spacing: -2.16px; color: var(--ink); max-width: 800px; margin-bottom: 24px; }
.hero-sub { font-size: 16px; color: var(--body); max-width: 560px; margin-bottom: 40px; line-height: 1.6; }
.hero-img { margin-top: 48px; border-radius: var(--rounded-lg); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 16/7; object-fit: cover; width: 100%; }

.section { padding: 80px 0; }
.section-alt { background: var(--canvas-soft); }
.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-sub { font-size: 16px; color: var(--body); max-width: 600px; line-height: 1.6; margin-bottom: 48px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 24px; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--rounded-md); margin-bottom: 16px; border: 1px solid var(--hairline-soft); }
.card-label { font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card h3 { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--body); line-height: 1.6; }
.card-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--primary); text-decoration: none; }
.card-link:hover { color: var(--primary-active); }

.article-card { display: flex; gap: 24px; padding: 24px; background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); margin-bottom: 16px; }
.article-card-img { width: 200px; flex-shrink: 0; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--rounded-md); border: 1px solid var(--hairline-soft); }
.article-card-body { flex: 1; }
.article-card-body .card-label { margin-bottom: 6px; }
.article-card-body h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.11px; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.article-card-body p { font-size: 15px; color: var(--body); line-height: 1.6; margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--muted); }

.article-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--hairline); margin-bottom: 48px; }
.article-hero h1 { font-size: 48px; font-weight: 400; line-height: 1.15; letter-spacing: -1.2px; color: var(--ink); max-width: 780px; margin-bottom: 16px; }
.article-hero-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.article-hero-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--rounded-lg); border: 1px solid var(--hairline); margin-top: 32px; }

.article-body { max-width: 720px; }
.article-body p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 24px; }
.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.4; margin-top: 32px; margin-bottom: 12px; }
.article-body ul, .article-body ol { margin-left: 24px; margin-bottom: 24px; }
.article-body li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }
.article-body a { color: var(--primary); }
.article-body blockquote { border-left: 3px solid var(--hairline-strong); padding-left: 20px; margin: 32px 0; color: var(--muted); font-size: 17px; font-style: italic; line-height: 1.6; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 20px; margin-bottom: 16px; }
.sidebar-box h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sidebar-box a { display: block; font-size: 14px; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--hairline-soft); text-decoration: none; }
.sidebar-box a:last-child { border-bottom: none; }
.sidebar-box a:hover { color: var(--primary); }

.form-section { padding: 80px 0; background: var(--canvas-soft); }
.form-wrap { max-width: 560px; }
.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); border: 1px solid var(--hairline-strong); border-radius: var(--rounded-md); padding: 12px 16px; font-size: 15px; color: var(--ink); font-family: inherit; height: 44px; transition: border-color 0.15s; }
.form-group textarea { height: auto; min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--ink); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted-soft); }
.form-submit { background: var(--ink); color: var(--canvas); font-size: 14px; font-weight: 500; padding: 12px 20px; height: 44px; border: none; border-radius: var(--rounded-md); cursor: pointer; transition: background 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.form-submit:hover { background: var(--primary); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: var(--rounded-md); font-size: 14px; }
.form-msg.success { background: #e8f5f0; color: var(--success); border: 1px solid #b8ddd0; display: block; }

.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); margin-bottom: 48px; }
.page-hero h1 { font-size: 48px; font-weight: 400; line-height: 1.2; letter-spacing: -1.2px; color: var(--ink); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--muted); max-width: 560px; }

.page-body { max-width: 720px; padding-bottom: 80px; }
.page-body p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 20px; }
.page-body h2 { font-size: 22px; font-weight: 600; color: var(--ink); margin-top: 40px; margin-bottom: 12px; }
.page-body ul { margin-left: 20px; margin-bottom: 20px; }
.page-body li { font-size: 15px; color: var(--body); line-height: 1.7; margin-bottom: 4px; }

.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--body); line-height: 1.6; margin-top: 8px; max-width: 240px; }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--body); text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--hairline-soft); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--muted); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: var(--canvas); padding: 16px 24px; z-index: 200; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { font-size: 14px; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-banner p a { color: #f7f7f4; text-decoration: underline; }
.cookie-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.btn-accept { background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 500; padding: 10px 18px; height: 40px; border: none; border-radius: var(--rounded-md); cursor: pointer; }
.btn-accept:hover { background: var(--primary-active); }
.btn-reject { background: transparent; color: var(--canvas); font-size: 14px; font-weight: 500; padding: 10px 18px; height: 40px; border: 1px solid rgba(247,247,244,0.3); border-radius: var(--rounded-md); cursor: pointer; }
.btn-reject:hover { border-color: rgba(247,247,244,0.6); }

.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--muted-soft); }

.divider { border: none; border-top: 1px solid var(--hairline); margin: 0; }

.tag-pill { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; background: var(--surface-strong); color: var(--ink); padding: 4px 10px; border-radius: var(--rounded-pill); }

@media (max-width: 1024px) {
    .hero h1 { font-size: 56px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .nav-hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 26px; }
    .cards-grid { grid-template-columns: 1fr; }
    .article-card { flex-direction: column; }
    .article-card-img { width: 100%; }
    .article-hero h1 { font-size: 30px; }
    .page-hero h1 { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: 1; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
}
