@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --near-black: #0e0f0c;
  --wise-green: #9fe870;
  --dark-green: #163300;
  --light-mint: #e2f6d5;
  --pastel-green: #cdffad;
  --warm-dark: #454745;
  --gray: #868685;
  --light-surface: #e8ebe6;
  --white: #ffffff;
  --off-white: #f9faf7;
  --ring: rgba(14,15,12,0.12);
  --font-display: 'Inter', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  --radius-card: 16px;
  --radius-large: 30px;
  --radius-section: 40px;
  --radius-pill: 9999px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: 0.18px;
  color: var(--near-black);
  background: var(--white);
  font-feature-settings: "calt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--dark-green);
  text-decoration: none;
  font-feature-settings: "calt";
}

a:hover {
  color: var(--dark-green);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.85;
  color: var(--near-black);
  font-feature-settings: "calt";
  letter-spacing: normal;
}

h1 { font-size: clamp(2.5rem, 6vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
h4 { font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.396px; }

p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: 0.18px;
  font-feature-settings: "calt";
  margin-bottom: 1em;
}

ul, ol {
  padding-left: 1.5em;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--ring);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--near-black);
  text-decoration: none;
  font-feature-settings: "calt";
  letter-spacing: -0.396px;
}

.logo span {
  color: var(--dark-green);
}

.main-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 4px;
  align-items: center;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--near-black);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.108px;
  font-feature-settings: "calt";
  transition: background 0.15s;
}

.main-nav a:hover {
  background: rgba(211,242,192,0.4);
  text-decoration: none;
}

.main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--ring);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(14,15,12,0.1);
  flex-direction: column;
  min-width: 260px;
  padding: 8px;
  z-index: 200;
}

.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
  display: flex;
}

.main-nav .dropdown li a {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.938rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.108px;
  font-feature-settings: "calt";
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s;
}

.btn:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: var(--wise-green);
  color: var(--dark-green);
}

.btn-secondary {
  background: rgba(22,51,0,0.08);
  color: var(--near-black);
}

.hero {
  background: var(--off-white);
  padding: 80px 0 64px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 32px;
  line-height: 1.44;
}

.hero-meta {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 24px;
}

.hero-image {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--ring) 0px 0px 0px 1px;
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-title {
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 16px;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--warm-dark);
  max-width: 640px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-large);
  border: 1px solid var(--ring);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14,15,12,0.1);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-badge {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.396px;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 1rem;
  color: var(--warm-dark);
  margin-bottom: 20px;
}

.card-meta {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-large);
  border: 1px solid var(--ring);
  padding: 32px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--light-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.396px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: var(--warm-dark);
  margin-bottom: 0;
}

.highlight-band {
  background: var(--near-black);
  color: var(--white);
  padding: 80px 0;
}

.highlight-band h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.highlight-band p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: 32px;
}

.flora-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.flora-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--ring) 0px 0px 0px 1px;
}

.flora-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.flora-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(14,15,12,0.8));
  color: var(--white);
  padding: 16px 12px 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-form-section {
  background: var(--off-white);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--warm-dark);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail a {
  color: var(--dark-green);
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-section);
  border: 1px solid var(--ring);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--near-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ring);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--near-black);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--wise-green);
  box-shadow: 0 0 0 3px rgba(159,232,112,0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  background: var(--light-mint);
  color: var(--dark-green);
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

.article-hero {
  padding: 64px 0 48px;
  background: var(--off-white);
}

.article-hero h1 {
  margin-bottom: 20px;
}

.article-hero .lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-dark);
  max-width: 760px;
  line-height: 1.5;
}

.article-meta {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--gray);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.article-meta span {
  font-weight: 600;
}

.article-image-hero {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-section);
  margin: 48px 0;
  box-shadow: var(--ring) 0px 0px 0px 1px;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-body h2 {
  font-size: 2.5rem;
  margin: 48px 0 20px;
}

.article-body h3 {
  font-size: 1.75rem;
  margin: 36px 0 16px;
}

.article-body p {
  margin-bottom: 20px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-body a {
  color: var(--dark-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body .callout {
  background: var(--light-mint);
  border-left: 4px solid var(--wise-green);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.article-body .callout p {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--dark-green);
}

.article-body figure {
  margin: 40px 0;
}

.article-body figure img {
  width: 100%;
  border-radius: var(--radius-large);
  box-shadow: var(--ring) 0px 0px 0px 1px;
}

.article-body figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--gray);
  text-align: center;
}

.page-hero {
  padding: 64px 0 48px;
  background: var(--off-white);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--warm-dark);
  max-width: 640px;
}

.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-body h2 {
  font-size: 2rem;
  margin: 40px 0 16px;
}

.page-body h3 {
  font-size: 1.5rem;
  margin: 28px 0 12px;
}

.page-body p, .page-body li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--warm-dark);
}

.page-body ul, .page-body ol {
  margin-bottom: 20px;
}

.page-body li {
  margin-bottom: 6px;
}

.page-body a {
  color: var(--dark-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .logo span {
  color: var(--wise-green);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer-links h3, .footer-contact h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wise-green);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--wise-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom .disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--near-black);
  color: var(--white);
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  max-width: 720px;
}

.cookie-banner a {
  color: var(--wise-green);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.related-articles {
  padding: 64px 0;
  background: var(--off-white);
}

.related-articles h2 {
  margin-bottom: 40px;
}

.updated-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.toc {
  background: var(--off-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--ring);
  padding: 24px;
  margin-bottom: 40px;
}

.toc h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--near-black);
}

.toc ol {
  margin-bottom: 0;
  padding-left: 1.5em;
}

.toc li {
  margin-bottom: 6px;
}

.toc a {
  font-size: 0.9375rem;
  color: var(--dark-green);
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .flora-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ring);
    padding: 16px 24px;
    z-index: 99;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
  }
  .main-nav .has-dropdown:hover .dropdown,
  .main-nav .has-dropdown:focus-within .dropdown {
    display: flex;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-image img { height: 280px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
  .flora-grid { grid-template-columns: 1fr 1fr; }
  .article-image-hero { height: 240px; border-radius: var(--radius-large); }
}
