@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;
  --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;
  --sig-mustard: #d9a441;

  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-pill: 9999px;

  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;

  --max-w: 1280px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

img { display: block; max-width: 100%; height: auto; }

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

/* NAV */
.site-nav { height: 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-brand { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }
.nav-brand span { color: var(--sig-coral); }
.nav-links { display: flex; gap: var(--sp-xl); list-style: none; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--body); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: var(--sp-sm); align-items: center; }
.btn-primary { background: var(--primary); color: var(--on-primary); font-family: var(--font); font-size: 16px; font-weight: 500; padding: 12px 24px; border-radius: var(--r-lg); border: none; cursor: pointer; display: inline-block; line-height: 1.4; transition: background 0.15s; }
.btn-primary:hover, .btn-primary:active { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; font-weight: 500; padding: 12px 24px; border-radius: var(--r-lg); border: 1px solid var(--hairline); cursor: pointer; display: inline-block; line-height: 1.4; }
.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: 2px; }

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

/* SECTION TITLES */
.section-label { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: var(--sp-sm); }
.section-title { font-size: 32px; font-weight: 400; color: var(--ink); line-height: 1.2; margin-bottom: var(--sp-md); }
.section-body { font-size: 14px; color: var(--body); line-height: 1.7; max-width: 640px; }

/* BAND */
.band { padding: var(--sp-section) 0; }
.band--soft { background: var(--surface-soft); }
.band--strong { background: var(--surface-strong); }
.band--dark { background: var(--surface-dark); }
.band--cream { background: var(--sig-cream); }
.band--coral { background: var(--sig-coral); }
.band--forest { background: var(--sig-forest); }

/* CARD GRID */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); margin-top: var(--sp-xl); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ARTICLE CARD */
.article-card { background: var(--canvas); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hairline); transition: box-shadow 0.15s; }
.article-card:hover { box-shadow: 0 4px 16px rgba(24,29,38,0.08); }
.article-card__img { aspect-ratio: 16/9; overflow: hidden; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--sp-md); }
.article-card__tag { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: var(--sp-xs); }
.article-card__title { font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: var(--sp-xs); }
.article-card__excerpt { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: var(--sp-md); }
.article-card__meta { font-size: 13px; color: var(--muted); }

/* SIGNATURE CARDS */
.sig-coral-card { background: var(--sig-coral); border-radius: var(--r-lg); padding: var(--sp-xxl); color: var(--on-primary); }
.sig-coral-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: var(--sp-md); color: var(--on-primary); }
.sig-coral-card p { font-size: 14px; line-height: 1.7; opacity: 0.9; margin-bottom: var(--sp-xl); }
.sig-forest-card { background: var(--sig-forest); border-radius: var(--r-lg); padding: var(--sp-xxl); color: var(--on-primary); }
.sig-forest-card h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: var(--sp-md); color: var(--on-primary); }
.sig-forest-card p { font-size: 14px; line-height: 1.7; opacity: 0.9; margin-bottom: var(--sp-xl); }
.btn-on-dark { background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; font-weight: 500; padding: 12px 24px; border-radius: var(--r-lg); border: none; cursor: pointer; display: inline-block; line-height: 1.4; }

/* CREAM CALLOUT */
.cream-callout { background: var(--sig-cream); border-radius: var(--r-md); padding: var(--sp-lg) var(--sp-xl); }
.cream-callout h3 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-sm); }
.cream-callout p { font-size: 14px; color: var(--body); line-height: 1.7; }

/* DARK CTA CARD */
.dark-cta-card { background: var(--surface-dark); border-radius: var(--r-lg); padding: var(--sp-xxl); text-align: center; }
.dark-cta-card h2 { font-size: 32px; font-weight: 400; color: var(--on-primary); line-height: 1.2; margin-bottom: var(--sp-md); }
.dark-cta-card p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: var(--sp-xl); }

/* DEMO GRID CARDS */
.demo-card { border-radius: var(--r-md); padding: var(--sp-md); overflow: hidden; }
.demo-card--peach { background: var(--sig-peach); }
.demo-card--mint { background: var(--sig-mint); }
.demo-card--yellow { background: var(--sig-yellow); }
.demo-card--mustard { background: var(--sig-mustard); }
.demo-card--canvas { background: var(--canvas); border: 1px solid var(--hairline); }
.demo-card__title { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-xs); }
.demo-card__text { font-size: 14px; color: var(--body); line-height: 1.6; }
.demo-card__img { border-radius: var(--r-sm); overflow: hidden; margin-bottom: var(--sp-sm); aspect-ratio: 4/3; }
.demo-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* CTA BAND LIGHT */
.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-md); line-height: 1.2; }
.cta-band-light p { font-size: 14px; color: var(--body); margin-bottom: var(--sp-xl); }

/* CONTACT FORM */
.contact-form { max-width: 560px; }
.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-family: var(--font); font-size: 14px; padding: 12px var(--sp-md); border-radius: var(--r-sm); border: 1px solid var(--hairline); 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; }

/* FOOTER */
.site-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-xxl); margin-bottom: var(--sp-xxl); }
.footer-brand p { font-size: 14px; color: var(--body); line-height: 1.7; margin-top: var(--sp-sm); max-width: 300px; }
.footer-col h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-md); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--sp-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); }
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: var(--sp-lg); display: flex; align-items: center; justify-content: space-between; 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); }

/* ARTICLE PAGE */
.article-hero { padding: var(--sp-section) 0 var(--sp-xxl); background: var(--canvas); }
.article-hero__tag { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: var(--sp-sm); }
.article-hero__title { font-size: 40px; font-weight: 400; color: var(--ink); line-height: 1.2; margin-bottom: var(--sp-md); max-width: 800px; }
.article-hero__meta { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-xl); }
.article-hero__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; max-height: 480px; }
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: var(--sp-xxl) 0 var(--sp-section); }
.article-content { max-width: 760px; }
.article-content h2 { font-size: 24px; font-weight: 500; color: var(--ink); margin: var(--sp-xl) 0 var(--sp-md); line-height: 1.35; }
.article-content h3 { font-size: 20px; font-weight: 500; color: var(--ink); margin: var(--sp-lg) 0 var(--sp-sm); line-height: 1.4; }
.article-content p { font-size: 15px; color: var(--body); line-height: 1.75; margin-bottom: var(--sp-md); }
.article-content ul, .article-content ol { margin: var(--sp-sm) 0 var(--sp-md) var(--sp-xl); }
.article-content li { font-size: 15px; color: var(--body); line-height: 1.75; margin-bottom: var(--sp-xs); }
.article-content a { color: var(--link); }
.article-sidebar { padding-left: var(--sp-xxl); }
.sidebar-box { background: var(--surface-soft); border-radius: var(--r-md); padding: var(--sp-xl); margin-bottom: var(--sp-lg); }
.sidebar-box h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-md); }
.sidebar-box ul { list-style: none; }
.sidebar-box ul li { padding: var(--sp-xs) 0; border-bottom: 1px solid var(--hairline); }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { font-size: 14px; color: var(--body); }
.sidebar-box ul li a:hover { color: var(--link); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-xxl); }

/* PAGES (about, privacy, terms) */
.page-hero { padding: var(--sp-section) 0 var(--sp-xxl); background: var(--canvas); }
.page-hero h1 { font-size: 40px; font-weight: 400; color: var(--ink); line-height: 1.2; margin-bottom: var(--sp-md); }
.page-hero p { font-size: 14px; color: var(--body); max-width: 600px; }
.page-content { padding: var(--sp-xxl) 0 var(--sp-section); }
.page-content h2 { font-size: 24px; font-weight: 500; color: var(--ink); margin: var(--sp-xl) 0 var(--sp-md); }
.page-content h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: var(--sp-lg) 0 var(--sp-sm); }
.page-content p { font-size: 15px; color: var(--body); line-height: 1.75; margin-bottom: var(--sp-md); }
.page-content ul { margin: var(--sp-sm) 0 var(--sp-md) var(--sp-xl); }
.page-content li { font-size: 15px; color: var(--body); line-height: 1.75; margin-bottom: var(--sp-xs); }
.page-content a { color: var(--link); }
.prose-max { max-width: 760px; }

/* BREADCRUMBS */
.breadcrumbs { padding: var(--sp-md) 0; font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 var(--sp-xs); }

/* COOKIE BANNER */
#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface-dark); padding: var(--sp-md) var(--sp-xxl); z-index: 999; }
#cookie-banner .cookie-inner { max-width: var(--max-w); margin: 0 auto; 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); line-height: 1.6; flex: 1; min-width: 240px; }
#cookie-banner p a { color: #7eb3ff; }
.cookie-btns { display: flex; gap: var(--sp-xs); 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(--r-xs); border: none; cursor: pointer; }
.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; }

/* INLINE STAT ROW */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); margin-top: var(--sp-xl); }
.stat-item { padding: var(--sp-xl); background: var(--canvas); border-radius: var(--r-md); border: 1px solid var(--hairline); }
.stat-item__number { font-size: 32px; font-weight: 400; color: var(--ink); line-height: 1; margin-bottom: var(--sp-xs); }
.stat-item__label { font-size: 14px; color: var(--muted); }

/* DISCLAIMER */
.disclaimer-box { background: var(--surface-soft); border-left: 3px solid var(--hairline); padding: var(--sp-md) var(--sp-lg); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: var(--sp-lg) 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* MOBILE NAV SHEET */
.nav-mobile-sheet { display: none; position: fixed; inset: 0; background: var(--canvas); z-index: 200; padding: var(--sp-xl) var(--sp-xxl); flex-direction: column; gap: var(--sp-lg); }
.nav-mobile-sheet.open { display: flex; }
.nav-mobile-sheet a { font-size: 18px; color: var(--ink); font-weight: 500; }
.nav-mobile-close { align-self: flex-end; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); margin-bottom: var(--sp-md); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { padding-left: 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-content h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sig-coral-card h2, .sig-forest-card h2, .dark-cta-card h2 { font-size: 24px; }
  .article-hero__title { font-size: 28px; }
  .band { padding: var(--sp-xxl) 0; }
  .hero-band { padding: var(--sp-xxl) 0; }
  #cookie-banner { padding: var(--sp-md); }
}
