@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

: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;
  --bg: #f9faf8;
  --ring: rgba(14,15,12,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: 0.18px;
  color: var(--near-black);
  background: var(--bg);
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; border-radius: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.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: 68px;
}
.site-logo {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--near-black);
  line-height: 0.85;
  letter-spacing: -0.5px;
  font-feature-settings: "calt" 1;
}
.site-logo span {
  display: inline-block;
  background: var(--wise-green);
  color: var(--dark-green);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

/* NAV */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--near-black);
  padding: 6px 14px;
  border-radius: 9999px;
  transition: background 0.15s;
  font-feature-settings: "calt" 1;
}
.site-nav a:hover {
  background: rgba(211,242,192,0.4);
  text-decoration: none;
}
.site-nav a.active { background: var(--light-mint); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  font-feature-settings: "calt" 1;
  letter-spacing: -0.108px;
  text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); text-decoration: none; }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(22,51,0,0.08);
  color: var(--near-black);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  font-feature-settings: "calt" 1;
  text-decoration: none;
}
.btn-secondary:hover { transform: scale(1.05); text-decoration: none; }
.btn-secondary:active { transform: scale(0.95); }

/* HERO */
.hero {
  background: var(--white);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--ring);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
  font-feature-settings: "calt" 1;
}
.hero-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.85;
  color: var(--near-black);
  margin-bottom: 24px;
  font-feature-settings: "calt" 1;
}
.hero-desc {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--warm-dark);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring) 0px 0px 0px 1px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* SECTION TITLES */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-green);
  background: var(--light-mint);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
  font-feature-settings: "calt" 1;
}
.section-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--near-black);
  margin-bottom: 12px;
  font-feature-settings: "calt" 1;
}
.section-sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.5;
  max-width: 560px;
}

/* ARTICLES GRID */
.articles-section { padding: 64px 0; }
.articles-header { margin-bottom: 40px; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 30px;
  border: 1px solid var(--ring);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14,15,12,0.1);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-green);
  background: var(--light-mint);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
  font-feature-settings: "calt" 1;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.23;
  color: var(--near-black);
  margin-bottom: 10px;
  letter-spacing: -0.39px;
  font-feature-settings: "calt" 1;
}
.card-excerpt {
  font-size: 0.9rem;
  color: var(--warm-dark);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 20px;
}
.card-meta {
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ring);
  padding-top: 14px;
}
.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link::after { content: " →"; }
.card-link:hover { text-decoration: underline; }

/* FEATURED SECTION */
.featured-section {
  background: var(--near-black);
  padding: 64px 0;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.featured-label {
  display: inline-block;
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
  font-feature-settings: "calt" 1;
}
.featured-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 16px;
  font-feature-settings: "calt" 1;
}
.featured-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}
.featured-img {
  border-radius: 30px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* INFO STRIP */
.info-strip {
  background: var(--light-mint);
  padding: 40px 0;
  border-top: 1px solid rgba(22,51,0,0.12);
  border-bottom: 1px solid rgba(22,51,0,0.12);
}
.info-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.info-item {}
.info-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-green);
  line-height: 0.9;
  margin-bottom: 6px;
  font-feature-settings: "calt" 1;
}
.info-desc {
  font-size: 0.875rem;
  color: var(--warm-dark);
  font-weight: 600;
}

/* CONTACT FORM */
.contact-section { padding: 64px 0; background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  background: var(--bg);
  border-radius: 30px;
  border: 1px solid var(--ring);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 6px;
  font-feature-settings: "calt" 1;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 10px 16px;
  border: 1px solid rgba(14,15,12,0.18);
  border-radius: 10px;
  background: var(--white);
  color: var(--near-black);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-feature-settings: "calt" 1;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--dark-green);
  box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-btn {
  display: inline-flex;
  align-items: center;
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  font-feature-settings: "calt" 1;
  letter-spacing: -0.108px;
  width: 100%;
  justify-content: center;
}
.form-btn:hover { transform: scale(1.02); }
.form-btn:active { transform: scale(0.98); }

.contact-info {}
.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--near-black);
  margin-bottom: 20px;
  font-feature-settings: "calt" 1;
}
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--light-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-text {
  font-size: 0.95rem;
  color: var(--warm-dark);
  line-height: 1.5;
}
.contact-text strong {
  display: block;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 2px;
}

/* ARTICLE PAGE */
.article-page { padding: 64px 0; }
.article-header { margin-bottom: 40px; }
.article-breadcrumb {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.article-breadcrumb a { color: var(--dark-green); font-weight: 600; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--near-black);
  margin-bottom: 16px;
  font-feature-settings: "calt" 1;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-cover {
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
  border-radius: 30px;
  margin-bottom: 40px;
}
.article-content { max-width: 720px; }
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--near-black);
  margin: 36px 0 14px;
  line-height: 1;
  font-feature-settings: "calt" 1;
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--near-black);
  margin: 24px 0 10px;
  font-feature-settings: "calt" 1;
}
.article-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-dark);
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  margin: 16px 0 18px 24px;
}
.article-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-dark);
  margin-bottom: 6px;
}
.article-content a { color: var(--dark-green); font-weight: 600; }
.article-content a:hover { text-decoration: underline; }
.article-content blockquote {
  border-left: 4px solid var(--wise-green);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--light-mint);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--warm-dark);
}
.article-inline-img {
  border-radius: 16px;
  margin: 28px 0;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* STATIC PAGES */
.static-page { padding: 64px 0; }
.static-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--near-black);
  margin-bottom: 24px;
  font-feature-settings: "calt" 1;
}
.static-page h2 {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--near-black);
  margin: 32px 0 12px;
  font-feature-settings: "calt" 1;
}
.static-page p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--warm-dark);
  margin-bottom: 16px;
}
.static-page ul, .static-page ol {
  margin: 12px 0 16px 24px;
}
.static-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--warm-dark);
  margin-bottom: 6px;
}
.page-updated {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ring);
}

/* FOOTER */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  font-feature-settings: "calt" 1;
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  font-feature-settings: "calt" 1;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--wise-green); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--near-black);
  color: var(--white);
  padding: 20px 24px;
  z-index: 999;
  display: none;
  border-top: 2px solid var(--wise-green);
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
  min-width: 240px;
}
.cookie-text a { color: var(--wise-green); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--wise-green);
  color: var(--dark-green);
  border: none;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s;
}
.cookie-accept:hover { transform: scale(1.05); }
.cookie-reject {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s;
}
.cookie-reject:hover { transform: scale(1.05); }

/* DISCLAIMER */
.disclaimer-bar {
  background: rgba(22,51,0,0.06);
  border-bottom: 1px solid rgba(22,51,0,0.1);
  padding: 8px 0;
}
.disclaimer-bar p {
  font-size: 0.78rem;
  color: var(--warm-dark);
  text-align: center;
  line-height: 1.4;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  display: block;
  transition: 0.2s;
}

/* MOBILE NAV OVERLAY */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--ring);
  z-index: 99;
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--near-black);
  padding: 10px 14px;
  border-radius: 12px;
  font-feature-settings: "calt" 1;
}
.mobile-nav a:hover { background: var(--light-mint); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-inner { grid-template-columns: 1fr; }
  .featured-img { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .articles-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
}
