@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;
  --white: #ffffff;
  --danger: #d03238;
  --warning: #ffd11a;
  --ring: rgba(14,15,12,0.12);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

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

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

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

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

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ring);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--near-black);
  letter-spacing: -0.5px;
  font-feature-settings: "calt" 1;
  flex-shrink: 0;
}
.logo span { color: var(--dark-green); }
.logo:hover { text-decoration: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--near-black);
  padding: 8px 14px;
  border-radius: 9999px;
  transition: background 0.15s;
  font-feature-settings: "calt" 1;
}
.main-nav a:hover {
  background: rgba(211,242,192,0.4);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--near-black);
  color: var(--white);
  padding: 96px 24px 80px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text {}
.hero-label {
  display: inline-block;
  background: var(--wise-green);
  color: var(--dark-green);
  font-weight: 600;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  font-feature-settings: "calt" 1;
}
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.85;
  letter-spacing: -2px;
  color: var(--white);
  font-feature-settings: "calt" 1;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--wise-green);
}
.hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--ring);
}
.hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  font-feature-settings: "calt" 1;
  text-decoration: none;
}
.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.10);
  color: var(--near-black);
}

/* ── ARTICLES GRID ── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  color: var(--dark-green);
  background: var(--light-mint);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}
.section-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.85;
  letter-spacing: -1.5px;
  color: var(--near-black);
  font-feature-settings: "calt" 1;
  margin-bottom: 48px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  border-radius: 30px;
  border: 1px solid var(--ring);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--ring);
}
.article-card-img {
  height: 220px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-green);
  background: var(--light-mint);
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 12px;
  font-feature-settings: "calt" 1;
}
.article-card h3 {
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--near-black);
  font-feature-settings: "calt" 1;
  margin-bottom: 12px;
}
.article-card p {
  font-size: 15px;
  color: var(--warm-dark);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 20px;
}
.article-card .card-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card .card-link::after { content: '→'; }
.article-card .card-link:hover { text-decoration: none; color: var(--near-black); }

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--light-surface);
  padding: 72px 24px;
}
.intro-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-strip-img { border-radius: 30px; overflow: hidden; }
.intro-strip-img img { width: 100%; height: 380px; object-fit: cover; }
.intro-strip-text h2 {
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 0.9;
  letter-spacing: -1px;
  font-feature-settings: "calt" 1;
  margin-bottom: 20px;
}
.intro-strip-text p { font-size: 17px; line-height: 1.65; color: var(--warm-dark); margin-bottom: 16px; }

/* ── MATERIALS SECTION ── */
.materials { padding: 80px 24px; background: var(--near-black); }
.materials-inner { max-width: 1200px; margin: 0 auto; }
.materials .section-heading { color: var(--white); }
.materials .section-label { background: rgba(159,232,112,0.15); color: var(--wise-green); }
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.material-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 30px;
  padding: 32px;
}
.material-card-icon {
  width: 48px; height: 48px;
  background: var(--wise-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.material-card h3 {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: var(--white);
  font-feature-settings: "calt" 1;
  margin-bottom: 12px;
}
.material-card p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── CONTACT FORM ── */
.contact-section { padding: 80px 24px; background: var(--light-surface); }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-inner h2 {
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 0.9;
  letter-spacing: -1px;
  font-feature-settings: "calt" 1;
  margin-bottom: 12px;
}
.contact-inner p { color: var(--warm-dark); margin-bottom: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(14,15,12,0.18);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-feature-settings: "calt" 1;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(159,232,112,0.35);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: var(--light-mint);
  color: var(--dark-green);
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 600;
  text-align: center;
}

/* ── ARTICLE PAGE ── */
.article-hero {
  background: var(--near-black);
  padding: 64px 24px 56px;
}
.article-hero-inner { max-width: 800px; margin: 0 auto; }
.article-hero .article-card-tag { margin-bottom: 16px; }
.article-hero h1 {
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.88;
  letter-spacing: -1.5px;
  color: var(--white);
  font-feature-settings: "calt" 1;
  margin-bottom: 20px;
}
.article-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
  max-width: 640px;
}
.article-meta {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.article-body img {
  border-radius: 20px;
  margin: 32px 0;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.article-body h2 {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.0;
  letter-spacing: -0.5px;
  font-feature-settings: "calt" 1;
  margin: 48px 0 16px;
  color: var(--near-black);
}
.article-body h3 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
  font-feature-settings: "calt" 1;
  margin: 32px 0 12px;
  color: var(--near-black);
}
.article-body p { font-size: 17px; line-height: 1.75; color: var(--warm-dark); margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 17px; line-height: 1.7; color: var(--warm-dark); margin-bottom: 8px; }
.article-body a { color: var(--dark-green); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }
.article-body strong { font-weight: 700; color: var(--near-black); }

.article-related {
  background: var(--light-surface);
  padding: 56px 24px;
}
.article-related-inner { max-width: 800px; margin: 0 auto; }
.article-related h2 {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.5px;
  font-feature-settings: "calt" 1;
  margin-bottom: 24px;
}
.related-links { display: flex; flex-direction: column; gap: 12px; }
.related-links a {
  display: block;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--ring);
  background: var(--white);
  font-weight: 600;
  color: var(--near-black);
  transition: background 0.15s;
}
.related-links a:hover { background: var(--light-mint); text-decoration: none; }

/* ── PAGE (about/privacy/terms) ── */
.page-hero {
  background: var(--near-black);
  padding: 64px 24px;
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 {
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.88;
  letter-spacing: -1.5px;
  color: var(--white);
  font-feature-settings: "calt" 1;
}
.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.page-body h2 {
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.4px;
  font-feature-settings: "calt" 1;
  margin: 40px 0 14px;
}
.page-body p { font-size: 16px; line-height: 1.75; color: var(--warm-dark); margin-bottom: 16px; }
.page-body ul { padding-left: 24px; margin-bottom: 16px; }
.page-body li { font-size: 16px; line-height: 1.7; color: var(--warm-dark); margin-bottom: 6px; }
.page-updated { font-size: 13px; color: var(--gray); margin-top: 48px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.70);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-contact { margin-top: 16px; font-size: 13px; line-height: 1.8; }
.footer-contact a { color: var(--wise-green); }
.footer-links h4 {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.60); }
.footer-links a:hover { color: var(--wise-green); text-decoration: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--near-black);
  color: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px 28px;
  max-width: 580px;
  width: calc(100% - 48px);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
#cookie-banner p { font-size: 14px; line-height: 1.6; flex: 1; margin: 0; }
#cookie-banner a { color: var(--wise-green); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.cookie-btns button:hover { transform: scale(1.05); }
.cookie-btns button:active { transform: scale(0.95); }
#cookie-accept { background: var(--wise-green); color: var(--dark-green); }
#cookie-reject { background: rgba(255,255,255,0.10); color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .hero-inner, .intro-strip-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .articles-grid, .materials-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid var(--ring); gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .articles-grid, .materials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
}

/* ── SCHEMA ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
