@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;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --signature-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
}

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); }

a { color: var(--link); text-decoration: none; }
a:active { color: var(--link-active); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-xxl); }

/* 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-brand { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; text-decoration: none; white-space: nowrap; }
.nav-brand span { color: var(--signature-coral); }
.nav-links { display: flex; align-items: center; gap: var(--spacing-xl); list-style: none; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--body); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: var(--spacing-md); }
.btn-primary { background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 500; padding: 10px 20px; border-radius: var(--rounded-lg); border: none; cursor: pointer; text-decoration: none; display: inline-block; line-height: 1.4; transition: background 0.15s; }
.btn-primary:active { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; padding: 10px 20px; border-radius: var(--rounded-lg); border: 1px solid var(--hairline); cursor: pointer; text-decoration: none; display: inline-block; line-height: 1.4; }
.btn-secondary:active { background: var(--surface-soft); color: var(--ink); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* 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-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.16px; color: var(--muted); text-transform: uppercase; margin-bottom: var(--spacing-md); }
.hero-content h1 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--spacing-lg); }
.hero-content p { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--body); margin-bottom: var(--spacing-xl); max-width: 480px; }
.hero-actions { display: flex; gap: var(--spacing-md); flex-wrap: wrap; }
.hero-image { border-radius: var(--rounded-lg); overflow: hidden; aspect-ratio: 4/3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* SECTION GENERAL */
section { padding: var(--spacing-section) 0; }
.section-label { font-size: 13px; font-weight: 500; letter-spacing: 0.16px; color: var(--muted); text-transform: uppercase; margin-bottom: var(--spacing-md); }
.section-title { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--spacing-lg); }
.section-subtitle { font-size: 14px; color: var(--body); max-width: 600px; margin-bottom: var(--spacing-xl); line-height: 1.6; }

/* ARTICLE CARDS GRID */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.article-card { background: var(--canvas); border-radius: var(--rounded-md); overflow: hidden; border: 1px solid var(--hairline); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.article-card:hover .article-card-img img { transform: scale(1.03); }
.article-card-body { padding: var(--spacing-md); }
.article-card-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.16px; color: var(--muted); text-transform: uppercase; margin-bottom: var(--spacing-xs); }
.article-card-title { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--spacing-xs); }
.article-card-title a { color: var(--ink); text-decoration: none; }
.article-card-title a:hover { color: var(--link); }
.article-card-meta { font-size: 13px; color: var(--muted); margin-top: var(--spacing-xs); }
.article-card-excerpt { font-size: 14px; color: var(--body); line-height: 1.5; margin-top: var(--spacing-xs); }

/* SIGNATURE CARDS */
.signature-coral { background: var(--signature-coral); color: var(--on-primary); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); }
.signature-coral h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: var(--spacing-lg); }
.signature-coral p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: var(--spacing-xl); max-width: 600px; }
.signature-forest { background: var(--signature-forest); color: var(--on-primary); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); }
.signature-forest h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: var(--spacing-lg); }
.signature-forest p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: var(--spacing-xl); max-width: 600px; }
.btn-on-dark { background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; padding: 10px 20px; border-radius: var(--rounded-lg); border: none; cursor: pointer; text-decoration: none; display: inline-block; }

/* CREAM CALLOUT */
.cream-callout { background: var(--signature-cream); border-radius: var(--rounded-md); padding: var(--spacing-xxl); }
.cream-callout h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-lg); line-height: 1.2; }
.cream-callout p { font-size: 14px; color: var(--body); line-height: 1.6; max-width: 680px; }

/* CTA BAND */
.cta-band { background: var(--surface-strong); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); text-align: center; }
.cta-band h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-lg); }
.cta-band p { font-size: 14px; color: var(--body); margin-bottom: var(--spacing-xl); max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* DEMO CARDS GRID */
.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.peach { background: var(--signature-peach); }
.demo-card.mint { background: var(--signature-mint); }
.demo-card.yellow { background: var(--signature-yellow); }
.demo-card.cream { background: var(--signature-cream); }
.demo-card h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-xs); line-height: 1.4; }
.demo-card p { font-size: 14px; color: var(--body); line-height: 1.5; }
.demo-card .demo-img { border-radius: var(--rounded-sm); overflow: hidden; margin-bottom: var(--spacing-md); aspect-ratio: 4/3; }
.demo-card .demo-img img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT FORM */
.contact-form-wrap { background: var(--surface-soft); border-radius: var(--rounded-lg); padding: var(--spacing-xxl); max-width: 560px; }
.contact-form-wrap h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-lg); }
.form-group { margin-bottom: var(--spacing-md); }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-xs); }
.form-group input, .form-group textarea { width: 100%; background: var(--canvas); color: var(--ink); font-size: 14px; font-family: inherit; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: var(--rounded-sm); 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(--spacing-section) 0 var(--spacing-xl); }
.article-hero h1 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); max-width: 800px; margin-bottom: var(--spacing-lg); }
.article-meta { font-size: 13px; color: var(--muted); margin-bottom: var(--spacing-xl); display: flex; gap: var(--spacing-lg); flex-wrap: wrap; }
.article-body { max-width: 740px; }
.article-body p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-lg); }
.article-body h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-md); margin-top: var(--spacing-xl); line-height: 1.35; }
.article-body h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-sm); margin-top: var(--spacing-lg); line-height: 1.4; }
.article-body ul, .article-body ol { padding-left: var(--spacing-xl); margin-bottom: var(--spacing-lg); }
.article-body li { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-xs); }
.article-body a { color: var(--link); }
.article-featured-img { border-radius: var(--rounded-md); overflow: hidden; margin-bottom: var(--spacing-xl); aspect-ratio: 16/9; max-width: 740px; }
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--spacing-xxl); align-items: start; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--surface-soft); border-radius: var(--rounded-md); padding: var(--spacing-xl); margin-bottom: var(--spacing-lg); }
.sidebar-card h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-md); text-transform: uppercase; letter-spacing: 0.12px; }
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: var(--spacing-sm); }
.sidebar-card ul li a { font-size: 14px; color: var(--link); line-height: 1.4; }

/* BREADCRUMB */
.breadcrumb { display: flex; gap: var(--spacing-xs); align-items: center; font-size: 13px; color: var(--muted); padding: var(--spacing-lg) 0 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb-sep { color: var(--hairline); }

/* 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 h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-md); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--spacing-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col ul li a:hover { color: var(--link); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: var(--spacing-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--spacing-md); }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: var(--spacing-lg); }
.footer-legal a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--link); }

/* ABOUT / PAGES */
.page-hero { padding: var(--spacing-section) 0 var(--spacing-xl); }
.page-hero h1 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 40px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-lg); line-height: 1.2; }
.page-hero p { font-size: 14px; color: var(--body); max-width: 600px; line-height: 1.6; }
.page-body { max-width: 740px; padding-bottom: var(--spacing-section); }
.page-body h2 { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-md); margin-top: var(--spacing-xl); line-height: 1.35; }
.page-body h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-sm); margin-top: var(--spacing-lg); }
.page-body p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-lg); }
.page-body ul, .page-body ol { padding-left: var(--spacing-xl); margin-bottom: var(--spacing-lg); }
.page-body li { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-xs); }
.page-body a { color: var(--link); }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--surface-dark); color: var(--on-primary); padding: var(--spacing-lg) var(--spacing-xxl); display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-xl); flex-wrap: wrap; }
#cookie-banner p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); max-width: 720px; }
#cookie-banner p a { color: #7eb6ff; }
.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: 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; }

/* DISCLAIMER */
.disclaimer-bar { background: var(--surface-soft); border-top: 1px solid var(--hairline); padding: var(--spacing-md) 0; }
.disclaimer-bar p { font-size: 12px; color: var(--muted); line-height: 1.5; text-align: center; max-width: 900px; margin: 0 auto; }

/* MOBILE NAV SHEET */
.nav-mobile-sheet { display: none; position: fixed; inset: 0; z-index: 200; background: var(--canvas); flex-direction: column; padding: var(--spacing-xl); overflow-y: auto; }
.nav-mobile-sheet.open { display: flex; }
.nav-mobile-close { align-self: flex-end; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); margin-bottom: var(--spacing-xl); }
.nav-mobile-links { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-lg); }
.nav-mobile-links a { font-size: 18px; color: var(--ink); text-decoration: none; font-weight: 400; }

/* STATS ROW */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
.stat-item { text-align: center; padding: var(--spacing-xl); }
.stat-num { font-family: 'Inter Display', 'Inter', sans-serif; font-size: 40px; font-weight: 400; color: var(--ink); line-height: 1.1; margin-bottom: var(--spacing-xs); }
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .articles-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); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}
@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-lg); }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .articles-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1, .page-hero h1, .article-hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .signature-coral h2, .signature-forest h2, .cream-callout h2, .cta-band h2 { font-size: 24px; }
  .signature-coral, .signature-forest, .cream-callout { padding: var(--spacing-xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #cookie-banner { padding: var(--spacing-md); flex-direction: column; align-items: flex-start; }
  .hero-band { padding: var(--spacing-xxl) 0; }
  section { padding: var(--spacing-xxl) 0; }
}
