@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;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;
  --bg: #ffffff;
  --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
  font-feature-settings: "calt";
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.44;
  letter-spacing: 0.18px;
  color: var(--near-black);
  background: var(--bg);
  font-feature-settings: "calt";
}

a { color: var(--near-black); text-decoration: none; font-feature-settings: "calt"; }
a:hover { color: var(--dark-green); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(14,15,12,0.10);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--near-black);
  letter-spacing: -0.5px;
  font-feature-settings: "calt";
  white-space: nowrap;
}
.site-logo span { color: var(--dark-green); }

/* NAV */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--near-black);
  padding: 8px 12px;
  border-radius: 9999px;
  transition: background 0.18s;
  font-feature-settings: "calt";
}
.site-nav a:hover { background: rgba(211,242,192,0.4); color: var(--near-black); }
.site-nav a.active { background: var(--light-mint); color: var(--dark-green); }
.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 0.938rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  font-feature-settings: "calt";
  white-space: nowrap;
}
.header-cta:hover { transform: scale(1.05); color: var(--dark-green); background: var(--wise-green); }
.header-cta:active { transform: scale(0.95); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--near-black); margin: 4px 0; border-radius: 2px; transition: 0.2s; }

/* HERO */
.hero {
  padding: 80px 0 60px;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-green);
  background: var(--light-mint);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  font-feature-settings: "calt";
}
.hero h1 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--near-black);
  margin-bottom: 24px;
  font-feature-settings: "calt";
  letter-spacing: -1px;
}
.hero-desc {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  font-feature-settings: "calt";
  text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); color: var(--dark-green); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,51,0,0.08);
  color: var(--near-black);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  font-feature-settings: "calt";
  text-decoration: none;
}
.btn-secondary:hover { transform: scale(1.05); color: var(--near-black); }
.btn-secondary:active { transform: scale(0.95); }

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
  aspect-ratio: 4/3;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* STATS STRIP */
.stats-strip {
  background: var(--light-surface);
  padding: 32px 0;
  border-top: 1px solid rgba(14,15,12,0.08);
  border-bottom: 1px solid rgba(14,15,12,0.08);
}
.stats-inner { display: flex; gap: 0; flex-wrap: wrap; }
.stat-item {
  flex: 1 1 200px;
  padding: 0 32px;
  border-right: 1px solid rgba(14,15,12,0.10);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--near-black);
  line-height: 1;
  font-feature-settings: "calt";
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray);
  margin-top: 4px;
}

/* SECTION TITLES */
.section-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--near-black);
  font-feature-settings: "calt";
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--warm-dark);
  margin-top: 12px;
  line-height: 1.55;
}

/* ARTICLES GRID */
.articles-section { padding: 72px 0; }
.section-head { margin-bottom: 40px; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
  background: var(--bg);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); }
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark-green);
  background: var(--light-mint);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--near-black);
  margin-bottom: 10px;
  font-feature-settings: "calt";
  letter-spacing: -0.2px;
}
.card-title a:hover { color: var(--dark-green); }
.card-excerpt {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}
.card-meta {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-top: 12px;
}
.card-read-more:hover { color: var(--near-black); }

/* FEATURES */
.features-section { padding: 72px 0; background: var(--light-surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--bg);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--ring-shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--light-mint);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.375rem;
}
.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 10px;
  font-feature-settings: "calt";
  letter-spacing: -0.2px;
}
.feature-text {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.6;
}

/* CONTACT FORM */
.contact-section { padding: 72px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--light-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail-text {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.5;
}
.contact-detail-text strong { font-weight: 600; color: var(--near-black); }

.contact-form {
  background: var(--light-surface);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--ring-shadow);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 6px;
  font-feature-settings: "calt";
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(14,15,12,0.18);
  border-radius: 10px;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--near-black);
  background: var(--bg);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  font-feature-settings: "calt";
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--dark-green);
  box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}
.form-textarea { height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  font-feature-settings: "calt";
}
.form-submit:hover { transform: scale(1.02); }
.form-submit:active { transform: scale(0.98); }

/* ARTICLE PAGE */
.article-hero { padding: 48px 0 0; }
.article-breadcrumb {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-breadcrumb a { color: var(--dark-green); font-weight: 600; }
.article-header { max-width: 760px; }
.article-header .card-tag { margin-bottom: 16px; font-size: 0.875rem; }
.article-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--near-black);
  margin-bottom: 20px;
  font-feature-settings: "calt";
  letter-spacing: -0.5px;
}
.article-meta {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gray);
  margin-bottom: 32px;
}
.article-featured-img {
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--ring-shadow);
  max-height: 440px;
}
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding-bottom: 72px;
}
.article-body { min-width: 0; }
.article-body p {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.7;
  margin-bottom: 20px;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--near-black);
  margin: 36px 0 14px;
  font-feature-settings: "calt";
  letter-spacing: -0.3px;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--near-black);
  margin: 28px 0 10px;
  font-feature-settings: "calt";
}
.article-body ul, .article-body ol {
  margin: 16px 0 20px 20px;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.7;
  margin-bottom: 6px;
}
.article-body a { color: var(--dark-green); text-decoration: underline; font-weight: 600; }
.article-body a:hover { color: var(--near-black); }
.article-body blockquote {
  border-left: 4px solid var(--wise-green);
  padding: 16px 24px;
  background: var(--light-mint);
  border-radius: 0 16px 16px 0;
  margin: 24px 0;
}
.article-body blockquote p { margin-bottom: 0; font-weight: 600; }
.article-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box {
  background: var(--light-surface);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--ring-shadow);
}
.sidebar-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 14px;
  font-feature-settings: "calt";
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark-green);
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 10px;
  transition: background 0.18s;
  line-height: 1.3;
}
.sidebar-links a:hover { background: var(--light-mint); }
.sidebar-links a span { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--gray); margin-top: 2px; }

/* SIMPLE PAGE (about, privacy, terms) */
.simple-page { padding: 56px 0 80px; }
.simple-page .page-header { max-width: 640px; margin-bottom: 40px; }
.simple-page h1 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--near-black);
  margin-bottom: 14px;
  font-feature-settings: "calt";
  letter-spacing: -0.5px;
}
.simple-page .page-intro {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.6;
}
.simple-page-content { max-width: 800px; }
.simple-page-content h2 {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--near-black);
  margin: 32px 0 12px;
  font-feature-settings: "calt";
  letter-spacing: -0.3px;
}
.simple-page-content p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.7;
  margin-bottom: 16px;
}
.simple-page-content ul { margin: 12px 0 16px 20px; list-style: disc; }
.simple-page-content li {
  font-size: 1rem;
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.7;
  margin-bottom: 6px;
}
.simple-page-content a { color: var(--dark-green); text-decoration: underline; font-weight: 600; }

/* FOOTER */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-logo { color: #fff; margin-bottom: 14px; display: block; font-size: 1.125rem; }
.footer-brand .site-logo span { color: var(--wise-green); }
.footer-brand p {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--wise-green); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-bottom a:hover { color: var(--wise-green); }
.footer-disclaimer {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 760px;
  background: var(--near-black);
  color: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  flex-wrap: wrap;
}
#cookie-banner p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
#cookie-banner p a { color: var(--wise-green); font-weight: 600; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--wise-green);
  color: var(--dark-green);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  font-feature-settings: "calt";
}
.cookie-accept:hover { transform: scale(1.05); }
.cookie-reject {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  font-feature-settings: "calt";
}
.cookie-reject:hover { transform: scale(1.05); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(14,15,12,0.10);
  padding: 16px 24px 24px;
  z-index: 99;
  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 16px;
  border-radius: 12px;
  transition: background 0.18s;
}
.mobile-nav a:hover { background: var(--light-mint); color: var(--dark-green); }

/* RELATED ARTICLES */
.related-section { padding: 56px 0; background: var(--light-surface); }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; max-height: 280px; aspect-ratio: unset; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}
@media (max-width: 576px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: block; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 2.25rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(14,15,12,0.10); padding: 16px 0; }
  .stat-item:last-child { border-bottom: none; }
  #cookie-banner { bottom: 12px; left: 12px; right: 12px; width: auto; transform: none; }
}
