@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;
  --sig-coral: #aa2d00;
  --sig-forest: #0a2e0e;
  --sig-cream: #f5e9d4;
  --sig-peach: #fcab79;
  --sig-mint: #a8d8c4;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --section: 96px;
}

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:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* 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-brand {
  font-family: 'Inter Display', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-brand 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);
  text-decoration: none;
}
.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: 10px 20px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}
.btn-primary:hover { background: var(--primary-active); text-decoration: none; color: var(--on-primary); }
.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}
.btn-secondary:hover { border-color: #b0b5be; text-decoration: none; color: var(--ink); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

/* 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-text h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* SECTION HEADINGS */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 14px;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ARTICLE CARDS GRID */
.section-articles { padding: var(--section) 0; background: var(--canvas); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--canvas);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
}
.article-card-title:hover { color: var(--link); text-decoration: none; }
.article-card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.article-card-meta {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

/* SIGNATURE CORAL CARD */
.sig-coral-card {
  background: var(--sig-coral);
  border-radius: var(--r-lg);
  padding: 48px;
  color: var(--on-primary);
}
.sig-coral-card h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sig-coral-card p { font-size: 14px; line-height: 1.6; max-width: 560px; margin-bottom: 32px; opacity: 0.9; }
.btn-on-dark {
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-on-dark:hover { background: #f0f0f0; text-decoration: none; color: var(--ink); }

/* SIGNATURE FOREST CARD */
.sig-forest-band {
  padding: var(--section) 0;
  background: var(--canvas);
}
.sig-forest-card {
  background: var(--sig-forest);
  border-radius: var(--r-lg);
  padding: 48px;
  color: var(--on-primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sig-forest-card h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sig-forest-card p { font-size: 14px; line-height: 1.6; opacity: 0.9; }
.sig-forest-card img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* CREAM CALLOUT */
.cream-band {
  padding: var(--section) 0;
  background: var(--canvas);
}
.cream-callout {
  background: var(--sig-cream);
  border-radius: var(--r-md);
  padding: 24px;
}
.cream-callout h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}
.cream-callout p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* DEMO GRID / SPECIES CARDS */
.species-band { padding: var(--section) 0; background: var(--surface-soft); }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.demo-card {
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--hairline);
}
.demo-card.peach { background: var(--sig-peach); border-color: transparent; }
.demo-card.mint { background: var(--sig-mint); border-color: transparent; }
.demo-card img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; margin-bottom: 12px; }
.demo-card h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.demo-card p { font-size: 14px; color: var(--body); line-height: 1.5; }

/* CONTACT FORM BAND */
.contact-band { padding: var(--section) 0; background: var(--canvas); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}
.contact-info p { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; }
.contact-detail strong { font-size: 14px; font-weight: 500; color: var(--ink); min-width: 70px; }
.contact-detail span, .contact-detail a { font-size: 14px; color: var(--body); line-height: 1.5; }
.contact-form { background: var(--surface-soft); border-radius: var(--r-lg); padding: 32px; }
.contact-form h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  height: 44px;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: #458fff; }
.form-group textarea { height: 100px; resize: vertical; }
.form-submit { width: 100%; }

/* CTA LIGHT BAND */
.cta-band-light {
  padding: var(--section) 0;
  background: var(--canvas);
}
.cta-band-light-inner {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: 48px;
  text-align: center;
}
.cta-band-light-inner h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}
.cta-band-light-inner p { font-size: 14px; color: var(--body); margin-bottom: 32px; line-height: 1.6; }

/* ARTICLE PAGE */
.article-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
}
.article-hero-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.article-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--sig-cream);
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 100px;
}
.article-hero h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-hero-lead {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 32px;
}
.article-hero-img {
  border-radius: var(--r-md);
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.article-layout {
  padding: 48px 0 var(--section);
  background: var(--canvas);
}
.article-layout .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.article-body h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 32px 0 12px;
  line-height: 1.35;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 24px 0 10px;
}
.article-body p { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body li { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 4px; }
.article-body a { color: var(--link); }
.article-body img { border-radius: var(--r-md); margin: 24px 0; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--hairline);
}
.sidebar-card h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { margin-bottom: 8px; }
.sidebar-card ul li a { font-size: 14px; color: var(--link); }

/* ABOUT / PAGES */
.page-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
}
.page-hero h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero p { font-size: 14px; color: var(--body); max-width: 600px; line-height: 1.6; }
.page-content {
  padding: 0 0 var(--section);
  background: var(--canvas);
}
.page-content h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 32px 0 12px;
}
.page-content h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: 20px 0 8px; }
.page-content p { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 14px; }
.page-content ul, .page-content ol { margin: 0 0 14px 20px; }
.page-content li { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 4px; }
.page-content a { color: var(--link); }

/* CORAL BAND WRAPPER */
.coral-band { padding: var(--section) 0; background: var(--canvas); }

/* 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: 32px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }
.footer-legal {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal p { font-size: 13px; color: var(--muted); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: var(--muted); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: 13px; line-height: 1.5; max-width: 700px; opacity: 0.9; }
#cookie-banner p a { color: #7baeff; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--link);
  color: #fff;
  font-size: 13.12px;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: var(--r-xs);
  border: none;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}
.disclaimer-band {
  background: var(--sig-cream);
  padding: 16px 0;
  border-top: 1px solid #e0d5c0;
}
.disclaimer-band p { font-size: 12px; color: var(--muted); line-height: 1.5; text-align: center; }

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

/* 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; }
  .sig-forest-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-layout .container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--canvas);
    z-index: 99;
    padding: 32px 20px;
    flex-direction: column;
    gap: 24px;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a { font-size: 18px; color: var(--ink); text-decoration: none; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 28px; }
  .section-head h2 { font-size: 24px; }
  .articles-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sig-coral-card { padding: 28px; }
  .sig-coral-card h2 { font-size: 24px; }
  .sig-forest-card { padding: 28px; }
  .article-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  #cookie-banner { padding: 16px 20px; }
  .cta-band-light-inner { padding: 28px; }
  .cta-band-light-inner h2 { font-size: 24px; }
}
