@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;
  --bg: #ffffff;
  --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-feature-settings: "calt";
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--near-black);
  background: var(--bg);
  line-height: 1.44;
  letter-spacing: 0.18px;
}

a {
  color: var(--dark-green);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s;
}

a:hover {
  color: var(--wise-green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 9999px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--light-surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.38rem;
  color: var(--near-black);
  letter-spacing: -0.396px;
  line-height: 1.25;
}

.nav-logo span {
  color: var(--wise-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 9999px;
  color: var(--near-black);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.nav-links a:hover {
  background: rgba(211,242,192,0.4);
  color: var(--near-black);
}

.nav-cta {
  background: var(--wise-green);
  color: var(--dark-green) !important;
  padding: 5px 16px;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 0.15s ease !important;
  display: inline-block;
}

.nav-cta:hover {
  transform: scale(1.05);
  background: var(--wise-green) !important;
}

.nav-cta:active {
  transform: scale(0.95);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--near-black);
}

/* HERO */
.hero {
  padding: 80px 0 64px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.85;
  color: var(--near-black);
  letter-spacing: normal;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.13rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.44;
  letter-spacing: 0.18px;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
}

.hero-img img {
  border-radius: 30px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* BADGES */
.badge {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  letter-spacing: -0.084px;
}

/* SECTIONS */
section {
  padding: 64px 0;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.85;
  color: var(--near-black);
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.13rem;
  color: var(--warm-dark);
  max-width: 600px;
  line-height: 1.44;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--bg);
  border-radius: 30px;
  box-shadow: var(--ring-shadow);
  overflow: hidden;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.card-body {
  padding: 24px;
}

.card-date {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 8px;
  letter-spacing: -0.084px;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.38rem;
  line-height: 1.23;
  letter-spacing: -0.39px;
  color: var(--near-black);
  margin-bottom: 12px;
}

.card-excerpt {
  font-size: 1rem;
  color: var(--warm-dark);
  line-height: 1.44;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  background: var(--wise-green);
  color: var(--dark-green);
  padding: 5px 16px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease;
}

.card-link:hover {
  transform: scale(1.05);
  color: var(--dark-green);
}

.card-link:active {
  transform: scale(0.95);
}

/* CONTACT FORM */
.contact-section {
  background: var(--light-surface);
  border-radius: 40px;
  padding: 64px;
  margin: 64px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--near-black);
}

input, textarea {
  padding: 12px 16px;
  border: 1px solid rgba(14,15,12,0.12);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--near-black);
  background: var(--bg);
  outline: none;
  transition: box-shadow 0.2s;
}

input:focus, textarea:focus {
  box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  display: inline-block;
  background: var(--wise-green);
  color: var(--dark-green);
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.13rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
  letter-spacing: -0.108px;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

/* ARTICLE PAGE */
.article-hero {
  padding: 48px 0 32px;
}

.article-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 30px;
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-meta time {
  font-size: 0.88rem;
  color: var(--gray);
}

.article-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.85;
  color: var(--near-black);
  margin-bottom: 24px;
}

.article-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-dark);
  line-height: 1.44;
  margin-bottom: 32px;
  letter-spacing: -0.108px;
}

.article-content {
  max-width: 800px;
}

.article-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 0.85;
  color: var(--near-black);
  margin: 40px 0 16px;
}

.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.38rem;
  line-height: 1.23;
  color: var(--near-black);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--near-black);
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin: 20px 0 20px 24px;
}

.article-content li {
  font-size: 1.13rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--near-black);
}

.article-content a {
  color: var(--dark-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-infobox {
  background: var(--light-mint);
  border-radius: 20px;
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--ring-shadow);
}

.article-infobox p {
  font-size: 1rem;
  color: var(--dark-green);
}

/* TWO-COLUMN LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.sidebar-card {
  background: var(--light-surface);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--ring-shadow);
}

.sidebar-card h4 {
  font-weight: 900;
  font-size: 1.13rem;
  color: var(--near-black);
  margin-bottom: 16px;
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card ul li {
  margin-bottom: 10px;
}

.sidebar-card ul li a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-green);
}

/* FOOTER */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: #fff;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  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;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

.footer-bottom a:hover {
  color: var(--wise-green);
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--near-black);
  color: #fff;
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 9999;
  max-width: 700px;
  width: calc(100% - 48px);
  flex-wrap: wrap;
}

#cookie-banner p {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  min-width: 200px;
}

#cookie-banner a {
  color: var(--wise-green);
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--wise-green);
  color: var(--dark-green);
  border: none;
  padding: 8px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s;
  font-family: 'Inter', sans-serif;
}

.cookie-btn-accept:hover {
  transform: scale(1.05);
}

.cookie-btn-reject {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s;
  font-family: 'Inter', sans-serif;
}

.cookie-btn-reject:hover {
  transform: scale(1.05);
}

/* DISCLAIMER */
.disclaimer {
  background: var(--light-surface);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 32px 0 0;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* PAGE HERO (static pages) */
.page-hero {
  padding: 64px 0 40px;
}

.page-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.85;
  color: var(--near-black);
  margin-bottom: 20px;
}

.page-lead {
  font-size: 1.25rem;
  color: var(--warm-dark);
  max-width: 600px;
  line-height: 1.44;
  font-weight: 400;
}

.page-content {
  max-width: 800px;
  padding-bottom: 80px;
}

.page-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 0.85;
  color: var(--near-black);
  margin: 40px 0 16px;
}

.page-content p, .page-content li {
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--near-black);
  margin-bottom: 16px;
}

.page-content ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

.updated-date {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 32px;
}

/* BREADCRUMBS */
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--gray);
}

.breadcrumbs a:hover {
  color: var(--dark-green);
}

.breadcrumbs span {
  color: var(--near-black);
  font-weight: 600;
}

/* RELATED ARTICLES */
.related-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--light-surface);
}

/* INFO TABLE */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
}

.info-table th {
  background: var(--light-mint);
  color: var(--dark-green);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
}

.info-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--light-surface);
  font-size: 1rem;
}

.info-table tr:nth-child(even) td {
  background: rgba(232,235,230,0.3);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 40px 24px;
  }
}

@media (max-width: 576px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--light-surface);
    padding: 16px 24px;
    gap: 4px;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: relative;
  }
  .nav-inner {
    flex-wrap: wrap;
  }
  .hero {
    padding: 40px 0 32px;
  }
  .contact-section {
    margin: 32px 0;
    border-radius: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
