*, *::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;
    --font-sans: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --section: 80px;
}

html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--body); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; height: auto; }

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

/* HEADER */
.site-header { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.site-logo { font-family: var(--font-sans); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); padding: 6px 10px; border-radius: var(--rounded-sm); transition: color .15s, background .15s; }
.nav-link:hover { color: var(--ink); background: var(--surface-strong); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* HERO */
.hero { padding: 80px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; color: var(--ink); background: var(--surface-strong); border-radius: var(--rounded-pill); padding: 4px 10px; margin-bottom: 24px; }
.hero-title { font-size: 52px; font-weight: 400; line-height: 1.1; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 20px; }
.hero-desc { font-size: 16px; color: var(--body); line-height: 1.6; margin-bottom: 32px; max-width: 480px; }
.hero-meta { font-size: 13px; color: var(--muted); }
.hero-image { border-radius: var(--rounded-lg); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 4/3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* SECTIONS */
.section { padding: var(--section) 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; letter-spacing: -0.72px; color: var(--ink); line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--body); line-height: 1.6; max-width: 600px; }

/* ARTICLE CARDS */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.article-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); overflow: hidden; transition: border-color .2s; }
.article-card:hover { border-color: var(--hairline-strong); }
.article-card-image { aspect-ratio: 16/9; overflow: hidden; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-image img { transform: scale(1.02); }
.article-card-body { padding: 20px 24px 24px; }
.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: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 10px; }
.article-card-excerpt { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 16px; }
.article-card-meta { font-size: 13px; color: var(--muted-soft); }

/* FEATURE BLOCKS */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 24px; }
.feature-card-icon { width: 40px; height: 40px; background: var(--surface-strong); border-radius: var(--rounded-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; }
.feature-card-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feature-card-text { font-size: 14px; color: var(--body); line-height: 1.55; }

/* INFO BAND */
.info-band { background: var(--ink); color: var(--canvas); padding: var(--section) 0; }
.info-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.info-band-title { font-size: 36px; font-weight: 400; letter-spacing: -0.72px; color: var(--canvas); line-height: 1.2; margin-bottom: 16px; }
.info-band-text { font-size: 16px; color: var(--muted-soft); line-height: 1.6; margin-bottom: 20px; }
.info-band-list { list-style: none; }
.info-band-list li { font-size: 15px; color: var(--muted-soft); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; gap: 10px; }
.info-band-list li::before { content: '—'; color: var(--primary); flex-shrink: 0; }

/* ARTICLE PAGE */
.article-page { padding: 64px 0 80px; }
.article-page-inner { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article-header { margin-bottom: 32px; }
.article-label { font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.article-title { font-size: 42px; font-weight: 400; letter-spacing: -1px; color: var(--ink); line-height: 1.15; margin-bottom: 16px; }
.article-meta { font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.article-cover { border-radius: var(--rounded-lg); overflow: hidden; border: 1px solid var(--hairline); margin-bottom: 40px; }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article-content h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.325px; color: var(--ink); margin: 40px 0 16px; }
.article-content h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 12px; }
.article-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 20px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content figure { margin: 32px 0; }
.article-content figure img { border-radius: var(--rounded-lg); border: 1px solid var(--hairline); width: 100%; }
.article-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-content blockquote { border-left: 3px solid var(--primary); padding: 16px 20px; margin: 28px 0; background: var(--canvas-soft); border-radius: 0 var(--rounded-md) var(--rounded-md) 0; }
.article-content blockquote p { color: var(--ink); font-size: 16px; margin: 0; }
.article-sidebar { position: sticky; top: 88px; }
.sidebar-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 20px 24px; margin-bottom: 20px; }
.sidebar-title { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sidebar-link { display: block; font-size: 14px; color: var(--body); padding: 7px 0; border-bottom: 1px solid var(--hairline-soft); }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary); }

/* PAGE HEADER */
.page-header { padding: 60px 0 40px; border-bottom: 1px solid var(--hairline); margin-bottom: 60px; }
.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.15; }
.page-content { max-width: 720px; padding-bottom: 80px; }
.page-content h2 { font-size: 26px; font-weight: 400; color: var(--ink); margin: 40px 0 14px; }
.page-content h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 24px 0 10px; }
.page-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 18px; }
.page-content ul { padding-left: 24px; margin-bottom: 18px; }
.page-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }
.page-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* CONTACT FORM */
.contact-section { padding: var(--section) 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info-title { font-size: 36px; font-weight: 400; letter-spacing: -0.72px; color: var(--ink); margin-bottom: 16px; }
.contact-info-text { font-size: 16px; color: var(--body); line-height: 1.6; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 12px; font-size: 15px; color: var(--body); }
.contact-detail strong { color: var(--ink); min-width: 70px; }
.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); border: 1px solid var(--hairline-strong); border-radius: var(--rounded-md); font-family: var(--font-sans); font-size: 16px; padding: 12px 16px; height: 44px; transition: border-color .15s; }
.form-group textarea { height: auto; min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted-soft); }
.form-message { display: none; margin-top: 16px; font-size: 15px; padding: 12px 16px; border-radius: var(--rounded-md); }
.form-message.success { background: #e8f5f0; color: var(--success); border: 1px solid #b3ddd0; }
.form-loading { display: none; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--on-primary); font-family: var(--font-sans); font-size: 14px; font-weight: 500; height: 40px; padding: 0 18px; border: none; border-radius: var(--rounded-md); cursor: pointer; transition: background .15s; }
.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-family: var(--font-sans); font-size: 14px; font-weight: 500; height: 40px; padding: 0 18px; border: 1px solid var(--hairline-strong); border-radius: var(--rounded-md); cursor: pointer; transition: border-color .15s; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-submit { width: 100%; height: 44px; }

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--hairline); margin: 0; }

/* BREADCRUMB */
.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(--primary); }
.breadcrumb-sep { color: var(--muted-soft); }

/* FOOTER */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; }
.footer-brand { font-size: 16px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 10px; }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.55; }
.footer-heading { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 12px; }
.footer-link { display: block; font-size: 14px; color: var(--body); padding: 4px 0; }
.footer-link:hover { color: var(--primary); }
.footer-text { font-size: 14px; color: var(--body); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--hairline); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 20px 0; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--muted); }

/* COOKIE */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); z-index: 200; border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { font-size: 14px; color: var(--muted-soft); flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* SCHEMA / hidden */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title { font-size: 42px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .article-page-inner { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .info-band-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 32px; letter-spacing: -0.5px; }
    .section-title { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .article-title { font-size: 30px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; }
    .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 12px 0; }
    .site-nav.is-open { display: flex; }
    .nav-toggle { display: flex; }
    .header-inner { position: relative; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .footer-inner { grid-template-columns: 1fr; }
    .info-band-title { font-size: 26px; }
    .page-header-title { font-size: 30px; }
}
