@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;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-mint: #a8d8c4;
  --signature-peach: #fcab79;
  --signature-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
  --max-width: 1280px;
}

html { 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:active { color: #1a3866; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* TOP NAV */
.top-nav { position: sticky; top: 0; z-index: 100; height: 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.top-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }
.nav-logo span { color: var(--signature-coral); }
.nav-menu { display: flex; align-items: center; gap: var(--spacing-xl); }
.nav-menu a { font-size: 14px; font-weight: 400; color: var(--body); }
.nav-actions { display: flex; align-items: center; gap: var(--spacing-md); }
.btn-primary { display: inline-flex; align-items: center; background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 500; line-height: 1.4; padding: 16px 24px; border-radius: var(--rounded-lg); border: none; cursor: pointer; }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { display: inline-flex; align-items: center; background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.4; padding: 15px 24px; border-radius: var(--rounded-lg); border: 1px solid var(--hairline); cursor: pointer; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); }

/* HERO */
.hero-band { padding: var(--spacing-section) 0; background: var(--canvas); }
.hero-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xxl); align-items: center; }
.hero-content { max-width: 560px; }
.hero-content h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--spacing-lg); }
.hero-content p { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: var(--spacing-xl); max-width: 460px; }
.hero-actions { display: flex; gap: var(--spacing-md); flex-wrap: wrap; }
.hero-image { border-radius: var(--rounded-lg); overflow: hidden; }
.hero-image img { width: 100%; height: 380px; object-fit: cover; }

/* SIGNATURE CARDS */
.signature-coral-card { background: var(--signature-coral); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); color: var(--on-primary); }
.signature-coral-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: var(--spacing-md); }
.signature-coral-card p { font-size: 14px; line-height: 1.6; margin-bottom: var(--spacing-xl); opacity: 0.9; max-width: 520px; }
.signature-forest-card { background: var(--signature-forest); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); color: var(--on-primary); }
.signature-forest-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: var(--spacing-md); }
.signature-forest-card p { font-size: 14px; line-height: 1.6; margin-bottom: var(--spacing-xl); opacity: 0.9; }
.hero-card-dark { background: var(--surface-dark); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); color: var(--on-primary); }
.hero-card-dark h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: var(--spacing-md); }
.hero-card-dark p { font-size: 14px; line-height: 1.6; margin-bottom: var(--spacing-xl); opacity: 0.85; max-width: 560px; }
.btn-secondary-on-dark { display: inline-flex; align-items: center; background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; padding: 15px 24px; border-radius: var(--rounded-lg); border: none; cursor: pointer; }

/* CREAM CALLOUT */
.cream-callout { background: var(--signature-cream); border-radius: var(--rounded-md); padding: var(--spacing-lg); }

/* SECTION */
.section { padding: var(--spacing-section) 0; }
.section-title { font-size: 24px; font-weight: 400; color: var(--ink); letter-spacing: 0.12px; margin-bottom: var(--spacing-xl); }
.section-body { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: var(--spacing-xl); max-width: 720px; }

/* ARTICLE CARDS GRID */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.article-card { background: var(--canvas); border-radius: var(--rounded-md); padding: var(--spacing-md); border: 1px solid var(--hairline); }
.article-card-thumb { border-radius: var(--rounded-md); overflow: hidden; margin-bottom: var(--spacing-md); }
.article-card-thumb img { width: 100%; height: 180px; object-fit: cover; }
.article-card-tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--spacing-xs); }
.article-card h3 { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--spacing-xs); }
.article-card p { font-size: 14px; color: var(--body); line-height: 1.5; margin-bottom: var(--spacing-md); }
.article-card-meta { font-size: 13px; color: var(--muted); }
.article-card a.read-link { font-size: 14px; color: var(--link); font-weight: 500; }

/* DEMO GRID CARDS */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.demo-card { border-radius: var(--rounded-md); padding: var(--spacing-md); }
.demo-card-mint { background: var(--signature-mint); }
.demo-card-peach { background: var(--signature-peach); }
.demo-card-yellow { background: var(--signature-yellow); }
.demo-card h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-xs); }
.demo-card p { font-size: 14px; color: var(--body); line-height: 1.5; }

/* CTA BAND LIGHT */
.cta-band-light { background: var(--surface-strong); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-xl); }
.cta-band-light h2 { font-size: 32px; font-weight: 400; color: var(--ink); max-width: 480px; }

/* CONTACT FORM */
.contact-form-wrap { background: var(--surface-soft); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); max-width: 520px; }
.contact-form-wrap h3 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-xl); }
.form-row { margin-bottom: var(--spacing-md); }
.form-row label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-xs); }
.form-row input, .form-row textarea { width: 100%; background: var(--canvas); color: var(--ink); font-size: 14px; font-family: inherit; border: 1px solid var(--hairline); border-radius: var(--rounded-sm); padding: 12px 16px; height: 44px; }
.form-row textarea { height: auto; min-height: 100px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: #458fff; }
.btn-submit { background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 500; padding: 16px 32px; border-radius: var(--rounded-lg); border: none; cursor: pointer; width: 100%; }
.btn-submit:active { background: var(--primary-active); }

/* ARTICLE PAGE */
.article-hero { padding: var(--spacing-section) 0 var(--spacing-xl); }
.article-hero .container { max-width: 840px; }
.article-breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: var(--spacing-lg); }
.article-breadcrumb a { color: var(--muted); }
.article-hero h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--spacing-lg); }
.article-meta { font-size: 14px; color: var(--muted); margin-bottom: var(--spacing-xxl); }
.article-body { max-width: 720px; }
.article-body h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin: var(--spacing-xxl) 0 var(--spacing-md); }
.article-body h3 { font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--spacing-xl) 0 var(--spacing-sm); }
.article-body p { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: var(--spacing-md); }
.article-body ul { padding-left: var(--spacing-lg); margin-bottom: var(--spacing-md); }
.article-body ul li { font-size: 14px; color: var(--body); line-height: 1.7; list-style: disc; margin-bottom: 6px; }
.article-body a { color: var(--link); }
.article-img { border-radius: var(--rounded-md); overflow: hidden; margin: var(--spacing-xl) 0; }
.article-img img { width: 100%; height: 360px; object-fit: cover; }
.article-img figcaption { font-size: 13px; color: var(--muted); padding: var(--spacing-xs) 0; }

/* PAGE BODY */
.page-body { padding: var(--spacing-section) 0; }
.page-body .container { max-width: 840px; }
.page-body h1 { font-size: 40px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-xl); }
.page-body h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--spacing-xxl) 0 var(--spacing-md); }
.page-body p { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: var(--spacing-md); }
.page-body ul { padding-left: var(--spacing-lg); margin-bottom: var(--spacing-md); }
.page-body ul li { font-size: 14px; color: var(--body); line-height: 1.7; list-style: disc; margin-bottom: 6px; }
.page-last-updated { font-size: 13px; color: var(--muted); margin-bottom: var(--spacing-xxl); }

/* FOOTER */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--spacing-section) 0 var(--spacing-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--spacing-xxl); margin-bottom: var(--spacing-xxl); }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: var(--spacing-md); max-width: 280px; }
.footer-col h5 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-md); }
.footer-col ul li { margin-bottom: var(--spacing-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: var(--spacing-lg); display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-md); flex-wrap: wrap; }
.footer-bottom p { font-size: 14px; color: var(--muted); }
.footer-legal-links { display: flex; gap: var(--spacing-xl); }
.footer-legal-links a { font-size: 14px; color: var(--muted); }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface-dark); color: var(--on-primary); padding: var(--spacing-md) var(--spacing-xxl); display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-xl); z-index: 999; }
.cookie-banner p { font-size: 14px; line-height: 1.5; opacity: 0.9; max-width: 700px; }
.cookie-banner a { color: #7eb3f5; }
.cookie-actions { display: flex; gap: var(--spacing-sm); flex-shrink: 0; }
.btn-cookie-accept { background: var(--link); color: var(--on-primary); 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: var(--on-primary); font-size: 13.12px; font-weight: 600; padding: 12px 10px; border-radius: var(--rounded-xs); border: 1px solid rgba(255,255,255,0.3); cursor: pointer; white-space: nowrap; }
.cookie-banner.hidden { display: none; }

/* DISCLAIMER */
.disclaimer-bar { background: var(--surface-soft); border-bottom: 1px solid var(--hairline); padding: 10px 0; }
.disclaimer-bar p { font-size: 12px; color: var(--muted); text-align: center; }

/* RELATED ARTICLES */
.related-section { padding: var(--spacing-section) 0; background: var(--surface-soft); }

/* 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; gap: var(--spacing-xl); }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-md); }
  .nav-menu { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-open .nav-menu { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); padding: var(--spacing-xxl); gap: var(--spacing-xl); z-index: 99; }
  .article-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-light { flex-direction: column; align-items: flex-start; }
  .hero-content h1 { font-size: 28px; }
  .article-hero h1 { font-size: 28px; }
  .signature-coral-card h2, .signature-forest-card h2, .hero-card-dark h2 { font-size: 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: var(--spacing-md); }
}
