@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&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;
    --hairline: #dddddd;
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --on-primary: #ffffff;
    --link: #1b61c9;
    --sig-coral: #aa2d00;
    --sig-forest: #0a2e0e;
    --sig-cream: #f5e9d4;
    --sig-peach: #fcab79;
    --sig-mint: #a8d8c4;
    --sig-yellow: #f4d35e;
    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --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.25; color: var(--body); background: var(--canvas); }

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

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

/* TOP NAV */
.top-nav { position: sticky; top: 0; z-index: 100; background: var(--canvas); border-bottom: 1px solid var(--hairline); height: 64px; display: flex; align-items: center; }
.top-nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }
.nav-logo span { color: var(--sig-coral); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--body); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.btn-primary { background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 500; padding: 12px 24px; border-radius: var(--rounded-lg); border: none; cursor: pointer; display: inline-block; line-height: 1.4; }
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); text-decoration: none; }
.btn-secondary { background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; padding: 12px 24px; border-radius: var(--rounded-lg); border: 1px solid var(--hairline); cursor: pointer; display: inline-block; line-height: 1.4; }
.btn-secondary:hover { color: var(--ink); text-decoration: none; border-color: #9297a0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.2s; }

/* HERO */
.hero-band { padding: var(--section) 0; background: var(--canvas); }
.hero-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 20px; }
.hero-h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: 20px; }
.hero-sub { font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--body); margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { border-radius: var(--rounded-md); overflow: hidden; }
.hero-img img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--rounded-md); }

/* BREADCRUMB */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb span { margin: 0 6px; }

/* SECTION BANDS */
.section-band { padding: var(--section) 0; }
.section-band.soft { background: var(--surface-soft); }
.section-band.strong { background: var(--surface-strong); }
.section-title { font-size: 24px; font-weight: 400; line-height: 1.35; letter-spacing: 0.12px; color: var(--ink); margin-bottom: 12px; }
.section-sub { font-size: 14px; color: var(--body); line-height: 1.6; max-width: 600px; margin-bottom: 48px; }

/* ARTICLE CARDS GRID */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--canvas); border-radius: var(--rounded-md); padding: 16px; border: 1px solid var(--hairline); transition: border-color 0.15s; }
.article-card:hover { border-color: #9297a0; }
.article-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.article-tag { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 8px; }
.article-card-title { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.article-card-title a { color: var(--ink); }
.article-card-title a:hover { color: var(--link); text-decoration: none; }
.article-card-excerpt { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 14px; }
.article-meta { font-size: 13px; color: var(--muted); }

/* SIGNATURE CARDS */
.sig-coral-card { background: var(--sig-coral); color: var(--on-primary); border-radius: var(--rounded-lg); padding: 48px; }
.sig-coral-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: 16px; }
.sig-coral-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 500px; }
.sig-forest-card { background: var(--sig-forest); color: var(--on-primary); border-radius: var(--rounded-lg); padding: 48px; }
.sig-forest-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: 16px; }
.sig-forest-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 500px; }
.sig-dark-card { background: var(--surface-dark); color: var(--on-primary); border-radius: var(--rounded-lg); padding: 48px; }
.sig-dark-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: 16px; }
.sig-dark-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 560px; }
.btn-on-dark { background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; padding: 12px 24px; border-radius: var(--rounded-lg); border: none; cursor: pointer; display: inline-block; line-height: 1.4; }
.btn-on-dark:hover { color: var(--ink); text-decoration: none; background: #f0f0f0; }

/* TWO-COL SIG GRID */
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* DEMO CARDS */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo-card { border-radius: var(--rounded-md); padding: 16px; }
.demo-card.peach { background: var(--sig-peach); }
.demo-card.mint { background: var(--sig-mint); }
.demo-card.yellow { background: var(--sig-yellow); }
.demo-card-label { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: 8px; }
.demo-card-text { font-size: 14px; color: var(--body); line-height: 1.5; }
.demo-card-img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }

/* CREAM CALLOUT */
.cream-callout { background: var(--sig-cream); border-radius: var(--rounded-md); padding: 24px; }
.cream-callout h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.cream-callout p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* CTA BAND */
.cta-band { background: var(--surface-strong); border-radius: var(--rounded-lg); padding: 48px; text-align: center; }
.cta-band h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.cta-band p { font-size: 16px; color: var(--body); margin-bottom: 28px; }

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--ink); }
.form-group input, .form-group textarea { font-family: inherit; font-size: 14px; color: var(--ink); background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--rounded-sm); padding: 12px 16px; height: 44px; outline: none; transition: border-color 0.15s; }
.form-group input:focus, .form-group textarea:focus { border-color: #458fff; }
.form-group textarea { height: auto; min-height: 100px; resize: vertical; }

/* ARTICLE PAGE */
.article-hero { padding: var(--section) 0 48px; background: var(--canvas); }
.article-hero h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: 16px; max-width: 780px; }
.article-hero-meta { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--rounded-md); margin-bottom: 48px; }
.article-body { max-width: 760px; }
.article-body h2 { font-size: 24px; font-weight: 400; line-height: 1.35; color: var(--ink); margin: 40px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin: 28px 0 10px; }
.article-body p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 18px; }
.article-body li { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.article-body a { color: var(--link); }
.article-body blockquote { border-left: 3px solid var(--sig-coral); padding: 16px 20px; margin: 24px 0; background: var(--surface-soft); border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0; font-style: italic; color: var(--body); }
.article-inline-img { width: 100%; border-radius: var(--rounded-md); margin: 28px 0; }
.article-caption { font-size: 13px; color: var(--muted); margin-top: -20px; margin-bottom: 28px; }

/* RELATED ARTICLES */
.related-section { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--hairline); }
.related-section h2 { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 24px; }

/* PAGE (about/privacy/terms) */
.page-hero { padding: 64px 0 40px; background: var(--canvas); }
.page-hero h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--body); line-height: 1.6; max-width: 600px; }
.page-body { max-width: 760px; padding: 48px 0 var(--section); }
.page-body h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: 36px 0 12px; }
.page-body h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: 24px 0 8px; }
.page-body p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.page-body ul { padding-left: 20px; margin-bottom: 16px; }
.page-body li { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.page-body a { color: var(--link); }

/* FOOTER */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--section) 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 280px; margin-top: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); }
.footer-col ul li a:hover { color: var(--link); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--hairline); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--muted); }
.footer-legal a:hover { color: var(--link); text-decoration: none; }

/* COOKIE BANNER */
#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--surface-dark); padding: 20px 48px; border-top: 1px solid rgba(255,255,255,0.1); }
#cookie-banner.active { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
#cookie-banner p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; flex: 1; min-width: 280px; }
#cookie-banner a { color: #7eaeff; }
.cookie-buttons { display: flex; gap: 12px; }
.btn-cookie-accept { background: var(--link); color: #fff; font-size: 13.12px; font-weight: 600; padding: 12px 10px; border-radius: var(--rounded-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(--rounded-xs); border: 1px solid rgba(255,255,255,0.25); cursor: pointer; white-space: nowrap; }

/* COMPANY INFO STRIP */
.company-strip { background: var(--surface-soft); border-top: 1px solid var(--hairline); padding: 24px 0; }
.company-strip .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.company-strip span { font-size: 13px; color: var(--muted); }
.company-strip a { color: var(--link); font-size: 13px; }

/* DISCLAIMER */
.disclaimer-bar { background: var(--sig-cream); border-top: 1px solid rgba(0,0,0,0.08); padding: 14px 0; }
.disclaimer-bar p { font-size: 13px; color: var(--muted); text-align: center; }

/* NAV MOBILE MENU */
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); z-index: 99; flex-direction: column; padding: 32px 48px; gap: 24px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 400; color: var(--ink); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-links, .nav-right { display: none; }
    .hamburger { display: flex; }
    .hero-band .container { grid-template-columns: 1fr; gap: 32px; }
    .hero-img { order: -1; }
    .hero-img img { height: 240px; }
    .hero-h1 { font-size: 28px; }
    .article-grid { grid-template-columns: 1fr; }
    .sig-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
    .section-title { font-size: 20px; }
    .article-hero h1 { font-size: 28px; }
    .page-hero h1 { font-size: 28px; }
    .sig-coral-card, .sig-forest-card, .sig-dark-card { padding: 32px 24px; }
    .sig-coral-card h2, .sig-forest-card h2, .sig-dark-card h2 { font-size: 24px; }
    #cookie-banner.active { padding: 20px 24px; }
    .form-row { grid-template-columns: 1fr; }
}
