@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;
  --hairline: #dddddd;
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --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-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.6;
  color: var(--body);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:active { color: #1a3866; }

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

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

/* TOP NAV */
.top-nav {
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo 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;
}

.nav-links a:active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: var(--spacing-md); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.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;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary-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;
  text-decoration: none;
}

.btn-legal {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* HERO BAND */
.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: var(--spacing-lg);
}

.hero-band p {
  font-size: 18px;
  font-weight: 400;
  color: var(--body);
  max-width: 580px;
  margin-bottom: var(--spacing-xl);
}

.hero-btn-row { display: flex; gap: var(--spacing-md); align-items: center; flex-wrap: wrap; }

/* SECTION BANDS */
.section-white { padding: var(--spacing-section) 0; background: var(--canvas); }
.section-soft { padding: var(--spacing-section) 0; background: var(--surface-soft); }
.section-cream { padding: var(--spacing-section) 0; background: var(--signature-cream); }
.section-dark { padding: var(--spacing-section) 0; background: var(--surface-dark); color: var(--on-primary); }
.section-strong { padding: var(--spacing-section) 0; background: var(--surface-strong); }

.section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.section-dark .section-title { color: var(--on-primary); }

.section-subtitle {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.12px;
  margin-bottom: var(--spacing-md);
}

.section-lead {
  font-size: 14px;
  color: var(--body);
  max-width: 640px;
  margin-bottom: var(--spacing-xl);
}

.section-dark .section-lead { color: rgba(255,255,255,0.75); }

/* SIGNATURE CARDS */
.signature-coral-card {
  background: var(--signature-coral);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
}

.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;
  opacity: 0.85;
  margin-bottom: var(--spacing-xl);
  max-width: 520px;
}

.signature-forest-card {
  background: var(--signature-forest);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
}

.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;
  opacity: 0.85;
  margin-bottom: var(--spacing-xl);
  max-width: 520px;
}

/* CARD GRIDS */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 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 {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-body { padding: var(--spacing-md); }

.article-card-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  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);
  text-decoration: none;
  display: block;
}

.article-card-title:active { 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);
  margin-top: var(--spacing-xs);
  line-height: 1.5;
}

/* DEMO GRID CARDS */
.demo-card {
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  overflow: hidden;
}

.demo-card img { border-radius: var(--rounded-sm); margin-bottom: var(--spacing-sm); }
.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-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* ARTICLE PAGE */
.article-hero {
  padding: var(--spacing-section) 0 var(--spacing-xxl);
  background: var(--canvas);
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: var(--spacing-md);
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
}

.article-body { max-width: 760px; }

.article-body h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-md);
}

.article-body h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.article-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.article-body ul, .article-body ol {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.article-body li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 4px;
}

.article-body a { color: var(--link); }

.article-img-full {
  width: 100%;
  border-radius: var(--rounded-md);
  margin: var(--spacing-xl) 0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-img-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: calc(-1 * var(--spacing-md));
  margin-bottom: var(--spacing-xl);
}

/* 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);
  flex-wrap: wrap;
}

.cta-band-light h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  max-width: 560px;
}

/* CONTACT FORM */
.contact-form {
  background: var(--surface-soft);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  max-width: 560px;
}

.contact-form h3 {
  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: 6px;
}

.form-input {
  width: 100%;
  height: 44px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  border-radius: var(--rounded-sm);
  border: 1px solid var(--hairline);
  outline: none;
}

.form-input:focus { border-color: #458fff; }

.form-success {
  display: none;
  background: var(--signature-mint);
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  font-size: 14px;
  color: var(--ink);
  margin-top: var(--spacing-md);
}

/* PAGE HERO (for pages) */
.page-hero {
  padding: var(--spacing-section) 0 var(--spacing-xxl);
  background: var(--canvas);
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.page-hero p {
  font-size: 18px;
  color: var(--body);
  max-width: 560px;
}

/* CONTENT PAGE BODY */
.content-body {
  max-width: 760px;
  padding-bottom: var(--spacing-section);
}

.content-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-md);
}

.content-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.content-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.content-body ul { padding-left: var(--spacing-lg); margin-bottom: var(--spacing-md); }
.content-body li { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: 4px; }
.content-body a { color: var(--link); }

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--spacing-lg);
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a { color: var(--muted); }

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0;
}

.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);
  max-width: 280px;
  line-height: 1.6;
  margin-top: var(--spacing-sm);
}

.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 li { margin-bottom: var(--spacing-xs); }
.footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col a:active { color: var(--ink); }

.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-bottom-links { display: flex; gap: var(--spacing-lg); }
.footer-bottom-links a { font-size: 13px; color: var(--muted); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  right: var(--spacing-lg);
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  z-index: 999;
  max-width: 900px;
  margin: 0 auto;
  right: 50%;
  transform: translateX(50%);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

.cookie-banner p { font-size: 14px; opacity: 0.85; max-width: 560px; }
.cookie-banner a { color: #7eb8f7; }

.cookie-actions { display: flex; gap: var(--spacing-sm); flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--rounded-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

/* ABOUT TEAM / STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.stat-item {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
}

.stat-number {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 14px; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-md); }
  .hero-band { padding: var(--spacing-xxl) 0; }
  .hero-band h1 { font-size: 28px; }
  .hero-band p { font-size: 16px; }
  .section-title { font-size: 24px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band-light { flex-direction: column; align-items: flex-start; }
  .cta-band-light h2 { font-size: 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    background: var(--canvas);
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--spacing-xl);
    z-index: 99;
    gap: var(--spacing-lg);
  }
  .mobile-menu a {
    font-size: 18px;
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    left: var(--spacing-md);
    right: var(--spacing-md);
    transform: none;
  }
  .article-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  .signature-coral-card h2 { font-size: 24px; }
  .signature-forest-card h2 { font-size: 24px; }
}
