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

:root {
  --near-black: #0e0f0c;
  --wise-green: #9fe870;
  --dark-green: #163300;
  --light-mint: #e2f6d5;
  --pastel-green: #cdffad;
  --positive-green: #054d28;
  --warm-dark: #454745;
  --gray: #868685;
  --light-surface: #e8ebe6;
  --white: #ffffff;
  --bg: #f9fbf7;
  --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--dark-green); }

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

/* HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(14,15,12,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  font-feature-settings: "calt";
  color: var(--near-black);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-accent {
  background: var(--wise-green);
  color: var(--dark-green);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 18px;
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 9999px;
  color: var(--near-black);
  transition: background 0.2s;
  font-feature-settings: "calt";
}

.site-nav a:hover {
  background: rgba(211,242,192,0.4);
  color: var(--dark-green);
}

.site-nav a.active {
  background: var(--light-mint);
  color: var(--dark-green);
}

.nav-cta {
  background: var(--wise-green) !important;
  color: var(--dark-green) !important;
  padding: 8px 18px !important;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 0.2s !important;
}

.nav-cta:hover {
  transform: scale(1.05);
  background: var(--wise-green) !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  background: var(--white);
  padding: 80px 24px 72px;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  font-feature-settings: "calt";
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: -2px;
  font-feature-settings: "calt";
  color: var(--near-black);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--dark-green);
  background: var(--wise-green);
  padding: 0 12px;
  border-radius: 16px;
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--warm-dark);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wise-green);
  color: var(--dark-green);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-feature-settings: "calt";
  transition: transform 0.2s;
  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-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-feature-settings: "calt";
  transition: transform 0.2s;
  text-decoration: none;
}

.btn-secondary:hover { transform: scale(1.05); color: var(--near-black); }
.btn-secondary:active { transform: scale(0.95); }

/* HERO IMAGE */
.hero-image {
  margin-top: 56px;
  border-radius: 30px;
  overflow: hidden;
  max-height: 460px;
  box-shadow: var(--ring-shadow);
}

.hero-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* SECTIONS */
.section {
  padding: 72px 24px;
}

.section-alt {
  background: var(--white);
}

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

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--dark-green);
  margin-bottom: 12px;
  font-feature-settings: "calt";
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: -1.5px;
  color: var(--near-black);
  margin-bottom: 16px;
  font-feature-settings: "calt";
}

.section-desc {
  font-size: 17px;
  color: var(--warm-dark);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ARTICLES GRID */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}

.article-card:hover { transform: scale(1.02); }

.article-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-tag {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
  font-feature-settings: "calt";
}

.article-card h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  font-feature-settings: "calt";
}

.article-card p {
  font-size: 15px;
  color: var(--warm-dark);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 20px;
}

.article-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-card-link:hover { color: var(--positive-green); }

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--ring-shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--wise-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.feature-card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  font-feature-settings: "calt";
}

.feature-card p {
  font-size: 15px;
  color: var(--warm-dark);
  line-height: 1.55;
}

/* IMAGE SPLIT */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
}

.split-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.split-content {}

.split-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.95;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  font-feature-settings: "calt";
}

.split-content p {
  font-size: 17px;
  color: var(--warm-dark);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* STATS BAR */
.stats-bar {
  background: var(--near-black);
  padding: 48px 24px;
  color: var(--white);
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: var(--wise-green);
  font-feature-settings: "calt";
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* CONTACT FORM */
.contact-section {
  background: var(--near-black);
  padding: 72px 24px;
  color: var(--white);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-title {
  color: var(--white);
  margin-bottom: 12px;
}

.contact-inner .section-desc {
  color: rgba(255,255,255,0.65);
}

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  padding: 36px;
  text-align: left;
  margin-top: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  font-feature-settings: "calt";
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-feature-settings: "calt";
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--wise-green);
  box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* FOOTER */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.65);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-feature-settings: "calt";
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--wise-green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ARTICLE PAGE */
.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px;
}

.article-header {
  margin-bottom: 40px;
}

.article-tag {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.article-header h1 {
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.95;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  font-feature-settings: "calt";
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--gray);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 44px;
  box-shadow: var(--ring-shadow);
}

.article-body h2 {
  font-weight: 900;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 40px 0 14px;
  font-feature-settings: "calt";
}

.article-body h3 {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 28px 0 10px;
  font-feature-settings: "calt";
}

.article-body p {
  font-size: 17px;
  line-height: 1.7;
  color: #2a2b28;
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.article-body li {
  font-size: 17px;
  line-height: 1.7;
  color: #2a2b28;
  margin-bottom: 6px;
}

.article-body a {
  color: var(--dark-green);
  text-decoration: underline;
  text-decoration-color: var(--wise-green);
}

.article-body a:hover { color: var(--positive-green); }

.article-body blockquote {
  border-left: 4px solid var(--wise-green);
  padding: 16px 24px;
  background: var(--light-mint);
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
  font-size: 17px;
  color: var(--dark-green);
  font-weight: 600;
}

.article-img-inline {
  width: 100%;
  border-radius: 16px;
  margin: 28px 0;
  box-shadow: var(--ring-shadow);
  max-height: 380px;
  object-fit: cover;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  padding: 20px 24px;
  max-width: 820px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--dark-green); }
.breadcrumb .sep { color: var(--gray); }

/* RELATED ARTICLES */
.related-section {
  background: var(--white);
  padding: 56px 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

/* PAGE CONTENT */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}

.page-content h1 {
  font-weight: 900;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
  font-feature-settings: "calt";
}

.page-content h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 36px 0 12px;
  font-feature-settings: "calt";
}

.page-content p, .page-content li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--warm-dark);
  margin-bottom: 14px;
}

.page-content ul, .page-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--near-black);
  color: var(--white);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 8px 40px rgba(14,15,12,0.35);
  z-index: 9999;
  display: none;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.cookie-text a {
  color: var(--wise-green);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-accept {
  background: var(--wise-green);
  color: var(--dark-green);
  border: none;
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}

.cookie-accept:hover { transform: scale(1.05); }

.cookie-reject {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}

.cookie-reject:hover { transform: scale(1.05); }

/* ABOUT PAGE */
.about-hero {
  background: var(--near-black);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.about-hero h1 {
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--white);
  font-feature-settings: "calt";
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* DISCLAIMER BADGE */
.disclaimer {
  background: var(--light-mint);
  border-left: 4px solid var(--wise-green);
  border-radius: 0 12px 12px 0;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--dark-green);
  margin: 24px 0;
  line-height: 1.6;
}

/* LAST UPDATED */
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-surface);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  color: var(--warm-dark);
  font-weight: 600;
  margin-bottom: 32px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse { direction: ltr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .articles-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 40px; }
  .section-title { font-size: 30px; }

  .site-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid rgba(14,15,12,0.08); gap: 4px; }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }

  #cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}
