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

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

:root {
    --primary: #181d26;
    --primary-active: #0d1218;
    --canvas: #ffffff;
    --surface-soft: #f8fafc;
    --surface-strong: #e0e2e6;
    --surface-dark: #181d26;
    --surface-dark-elevated: #1d1f25;
    --hairline: #dddddd;
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --on-primary: #ffffff;
    --link: #1b61c9;
    --link-active: #1a3866;
    --sig-coral: #aa2d00;
    --sig-forest: #0a2e0e;
    --sig-cream: #f5e9d4;
    --sig-peach: #fcab79;
    --sig-mint: #a8d8c4;
    --sig-yellow: #f4d35e;
    --r-xs: 2px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 12px;
    --sp-xs: 8px;
    --sp-sm: 12px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-xxl: 48px;
    --sp-section: 96px;
    --max-w: 1280px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--body); background: var(--canvas); -webkit-font-smoothing: antialiased; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-xxl); }

.btn-primary { display: inline-block; background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 500; line-height: 1.4; padding: 16px 24px; border-radius: var(--r-lg); border: none; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover, .btn-primary:active { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { display: inline-block; background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.4; padding: 16px 24px; border-radius: var(--r-lg); border: 1px solid var(--hairline); cursor: pointer; transition: border-color 0.15s; }
.btn-secondary:hover { border-color: var(--muted); color: var(--ink); }

.top-nav { position: sticky; top: 0; z-index: 100; background: var(--canvas); border-bottom: 1px solid var(--hairline); height: 64px; }
.top-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.nav-logo:hover { color: var(--ink); }
.nav-links { display: flex; gap: var(--sp-lg); align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: var(--sp-sm); align-items: center; }
.nav-actions a { font-size: 14px; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: var(--sp-xs); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 1px; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); z-index: 99; padding: var(--sp-xl); overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-size: 18px; font-weight: 400; color: var(--ink); padding: var(--sp-md) 0; border-bottom: 1px solid var(--hairline); }

.hero-band { padding: var(--sp-section) 0; background: var(--canvas); }
.hero-band .container { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-band h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-lg); }
.hero-band .hero-sub { font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--body); margin-bottom: var(--sp-xl); }
.hero-actions { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }
.hero-category { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-md); }

.section-band { padding: var(--sp-section) 0; }
.section-title { font-size: 24px; font-weight: 400; line-height: 1.35; letter-spacing: 0.12px; color: var(--ink); margin-bottom: var(--sp-lg); }
.section-body { font-size: 14px; color: var(--body); max-width: 640px; margin-bottom: var(--sp-xl); }

.sig-coral-card { background: var(--sig-coral); color: var(--on-primary); border-radius: var(--r-lg); padding: var(--sp-xxl); }
.sig-coral-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: var(--sp-md); }
.sig-coral-card p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: var(--sp-xl); }

.sig-forest-card { background: var(--sig-forest); color: var(--on-primary); border-radius: var(--r-lg); padding: var(--sp-xxl); }
.sig-forest-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: var(--sp-md); }
.sig-forest-card p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: var(--sp-xl); }

.dark-card { background: var(--surface-dark); color: var(--on-primary); border-radius: var(--r-lg); padding: var(--sp-xxl); }
.dark-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: var(--sp-md); }
.dark-card p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: var(--sp-xl); }

.cream-callout { background: var(--sig-cream); border-radius: var(--r-md); padding: var(--sp-lg); }
.cream-callout h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-sm); }
.cream-callout p { font-size: 14px; color: var(--body); }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }

.article-card { background: var(--canvas); border-radius: var(--r-md); padding: var(--sp-md); border: 1px solid var(--hairline); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-md); margin-bottom: var(--sp-md); }
.article-card .cat-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-xs); display: block; }
.article-card h3 { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--sp-sm); }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--link); }
.article-card p { font-size: 14px; color: var(--body); margin-bottom: var(--sp-sm); }
.article-card .meta { font-size: 13px; color: var(--muted); }

.demo-card { border-radius: var(--r-md); padding: var(--sp-md); }
.demo-card.peach { background: var(--sig-peach); }
.demo-card.mint { background: var(--sig-mint); }
.demo-card.yellow { background: var(--sig-yellow); }
.demo-card h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-xs); }
.demo-card p { font-size: 14px; color: var(--body); }
.demo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: var(--sp-sm); }

.cta-band-light { background: var(--surface-strong); border-radius: var(--r-lg); padding: var(--sp-xxl); text-align: center; }
.cta-band-light h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-lg); }

.form-contact { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--sp-xxl); max-width: 560px; }
.form-contact h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-xl); }
.form-group { margin-bottom: var(--sp-md); }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-xs); }
.form-group input, .form-group textarea { width: 100%; background: var(--canvas); color: var(--ink); font-size: 14px; border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 12px 16px; height: 44px; font-family: inherit; }
.form-group textarea { height: auto; min-height: 100px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #458fff; }

.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--sp-section) 0 var(--sp-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-xl); margin-bottom: var(--sp-xl); }
.footer-brand .logo { font-size: 18px; font-weight: 500; color: var(--ink); display: block; margin-bottom: var(--sp-md); }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-md); }
.footer-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: var(--sp-sm); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: var(--sp-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-md); }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom-links { display: flex; gap: var(--sp-lg); }
.footer-bottom-links a { font-size: 13px; color: var(--muted); }

.page-hero { padding: var(--sp-xxl) 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-hero .container { max-width: 800px; margin: 0 auto; }
.page-hero .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-md); }
.page-hero .breadcrumb a { color: var(--link); }
.page-hero h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-md); }
.page-hero .meta { font-size: 13px; color: var(--muted); }

.article-body { max-width: 800px; margin: 0 auto; padding: var(--sp-section) var(--sp-xxl); }
.article-body h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-top: var(--sp-xxl); margin-bottom: var(--sp-md); }
.article-body h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.article-body p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-md); }
.article-body ul, .article-body ol { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-md); padding-left: var(--sp-xl); }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body img { width: 100%; border-radius: var(--r-md); margin: var(--sp-xl) 0; }
.article-body a { color: var(--link); }
.article-body blockquote { border-left: 3px solid var(--hairline); padding-left: var(--sp-lg); color: var(--muted); font-style: italic; margin: var(--sp-xl) 0; }
.article-img-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: -12px; margin-bottom: var(--sp-xl); }

.content-page { max-width: 800px; margin: 0 auto; padding: var(--sp-section) var(--sp-xxl); }
.content-page h1 { font-size: 40px; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-xl); }
.content-page h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-top: var(--sp-xxl); margin-bottom: var(--sp-md); }
.content-page h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.content-page p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-md); }
.content-page ul { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-md); padding-left: var(--sp-xl); list-style: disc; }
.content-page a { color: var(--link); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: var(--surface-dark); padding: var(--sp-lg) var(--sp-xxl); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-lg); flex-wrap: wrap; }
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,0.85); max-width: 680px; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.btn-cookie-accept { background: var(--link); color: #fff; font-size: 13.12px; font-weight: 600; padding: 12px 10px; border-radius: var(--r-xs); border: none; cursor: pointer; white-space: nowrap; }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.7); font-size: 13.12px; font-weight: 600; padding: 12px 10px; border-radius: var(--r-xs); border: 1px solid rgba(255,255,255,0.3); cursor: pointer; white-space: nowrap; }

.divider { height: 1px; background: var(--hairline); margin: var(--sp-section) 0; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-section { margin-top: var(--sp-section); }
.mb-section { margin-bottom: var(--sp-section); }

@media (max-width: 1024px) {
    .container { padding: 0 var(--sp-lg); }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --sp-section: 64px; }
    .container { padding: 0 var(--sp-md); }
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: block; }
    .hero-band h1 { font-size: 28px; }
    .hero-band .hero-sub { font-size: 16px; }
    .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .sig-coral-card, .sig-forest-card, .dark-card { padding: var(--sp-xl); }
    .sig-coral-card h2, .sig-forest-card h2, .dark-card h2 { font-size: 24px; }
    .article-body, .content-page { padding: var(--sp-xl) var(--sp-md); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .form-contact { padding: var(--sp-xl); }
    .page-hero h1 { font-size: 28px; }
}
