@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;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: 400;
  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(--dark-green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--dark-green); text-decoration: underline; }

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

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid rgba(14,15,12,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-logo {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--near-black);
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
  font-feature-settings: "calt";
}
.nav-logo:hover { text-decoration: none; color: var(--near-black); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--near-black);
  padding: 6px 12px;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
  font-feature-settings: "calt";
}
.nav-links a:hover {
  background: rgba(211,242,192,0.4);
  text-decoration: none;
  transform: none;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(14,15,12,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--near-black);
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.2s;
}
.nav-mobile a:hover { background: var(--light-mint); text-decoration: none; }

/* HERO */
.hero {
  padding: 80px 0 64px;
  background: var(--bg);
}
.hero-grid {
  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.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -1.5px;
  color: var(--near-black);
  margin-bottom: 24px;
  font-feature-settings: "calt";
}
.hero-desc {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-meta {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 600;
}
.hero-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring-shadow);
  aspect-ratio: 4/3;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION HEADINGS */
.section-label {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.section-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: -0.8px;
  color: var(--near-black);
  margin-bottom: 8px;
  font-feature-settings: "calt";
}
.section-subtitle {
  font-size: 1rem;
  color: var(--warm-dark);
  font-weight: 400;
  margin-bottom: 40px;
}

/* ARTICLES GRID */
.articles-section { padding: 72px 0; background: var(--bg); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  border-radius: 30px;
  box-shadow: var(--ring-shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: rgba(14,15,12,0.18) 0px 8px 32px;
}
.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.card-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--near-black);
  margin-bottom: 10px;
  font-feature-settings: "calt";
}
.card-excerpt {
  font-size: 0.9375rem;
  color: var(--warm-dark);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(14,15,12,0.08);
}
.card-date { font-size: 0.8125rem; color: var(--gray); font-weight: 600; }
.card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark-green);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1.5px solid var(--dark-green);
  transition: background 0.2s, transform 0.15s, color 0.2s;
}
.card-link:hover {
  background: var(--wise-green);
  color: var(--dark-green);
  text-decoration: none;
  transform: scale(1.05);
}
.card-link:active { transform: scale(0.95); }

/* FEATURES STRIP */
.features-section {
  padding: 72px 0;
  background: var(--near-black);
  color: #fff;
}
.features-section .section-title { color: #fff; }
.features-section .section-subtitle { color: rgba(255,255,255,0.6); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.06);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(159,232,112,0.08); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wise-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--dark-green); }
.feature-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 10px;
  font-feature-settings: "calt";
}
.feature-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ARTICLE PAGE */
.article-page { padding: 56px 0 80px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--dark-green); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray); }
.article-header { margin-bottom: 32px; }
.article-category {
  display: inline-block;
  background: var(--light-mint);
  color: var(--dark-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-title {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.0;
  letter-spacing: -1.2px;
  color: var(--near-black);
  margin-bottom: 16px;
  font-feature-settings: "calt";
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 600;
  flex-wrap: wrap;
}
.article-meta .dot { color: rgba(14,15,12,0.2); }
.article-hero-img {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--ring-shadow);
  aspect-ratio: 16/7;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-content h2 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--near-black);
  margin: 40px 0 16px;
  font-feature-settings: "calt";
}
.article-content h3 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--near-black);
  margin: 28px 0 12px;
  font-feature-settings: "calt";
}
.article-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2a2b29;
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2a2b29;
  margin-bottom: 8px;
}
.article-content strong { font-weight: 700; color: var(--near-black); }
.info-box {
  background: var(--light-mint);
  border-left: 3px solid var(--wise-green);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.info-box p { margin-bottom: 0; color: var(--dark-green); }
.info-box strong { color: var(--dark-green); }
.step-block {
  background: var(--bg);
  border-radius: 16px;
  box-shadow: var(--ring-shadow);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wise-green);
  color: var(--dark-green);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--near-black);
  margin-bottom: 4px;
}
.step-content p { font-size: 0.9375rem; color: var(--warm-dark); margin-bottom: 0; line-height: 1.55; }

/* SIDEBAR */
.sidebar { position: sticky; top: 80px; }
.sidebar-box {
  background: var(--light-surface);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--ring-shadow);
}
.sidebar-box h3 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--near-black);
  margin-bottom: 16px;
  font-feature-settings: "calt";
}
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { margin-bottom: 8px; }
.sidebar-box ul li a {
  font-size: 0.9375rem;
  color: var(--dark-green);
  font-weight: 600;
  transition: color 0.2s;
}
.sidebar-box ul li a:hover { color: var(--near-black); text-decoration: underline; }
.toc-list { list-style: none; padding: 0; counter-reset: toc; }
.toc-list li {
  counter-increment: toc;
  padding: 6px 0;
  border-bottom: 1px solid rgba(14,15,12,0.08);
  font-size: 0.875rem;
}
.toc-list li:last-child { border-bottom: none; }
.toc-list li::before {
  content: counter(toc) ". ";
  font-weight: 700;
  color: var(--wise-green);
}
.toc-list a { color: var(--near-black); font-weight: 500; }
.toc-list a:hover { text-decoration: underline; color: var(--dark-green); }

/* CONTACT FORM */
.contact-section { padding: 72px 0; background: var(--light-surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.8px;
  color: var(--near-black);
  margin-bottom: 16px;
  font-feature-settings: "calt";
}
.contact-info p { color: var(--warm-dark); line-height: 1.6; margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--warm-dark);
  font-weight: 600;
}
.contact-detail svg { flex-shrink: 0; }
.form-box {
  background: var(--bg);
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--ring-shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 6px;
}
.form-group input, .form-group 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;
  color: var(--near-black);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--dark-green);
  box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--gray);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wise-green);
  color: var(--dark-green);
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  font-feature-settings: "calt";
}
.btn-primary:hover { transform: scale(1.05); background: var(--pastel-green); }
.btn-primary:active { transform: scale(0.95); }
.form-message {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  display: none;
}
.form-message.success {
  background: var(--light-mint);
  color: var(--dark-green);
  border: 1px solid rgba(22,51,0,0.2);
  display: block;
}

/* INTERNAL LINKS */
.related-articles { margin-top: 48px; }
.related-articles h2 {
  font-weight: 900;
  font-size: 1.375rem;
  color: var(--near-black);
  margin-bottom: 20px;
  font-feature-settings: "calt";
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.related-item {
  border-radius: 16px;
  box-shadow: var(--ring-shadow);
  padding: 20px;
  transition: transform 0.15s;
  display: block;
  color: var(--near-black);
}
.related-item:hover { transform: translateY(-2px); text-decoration: none; }
.related-item h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--near-black);
  margin-bottom: 6px;
}
.related-item p { font-size: 0.875rem; color: var(--warm-dark); margin: 0; }

/* STATIC PAGES */
.static-page { padding: 64px 0 80px; }
.static-page h1 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--near-black);
  margin-bottom: 12px;
  font-feature-settings: "calt";
}
.static-page .updated {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 40px;
}
.static-page h2 {
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--near-black);
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
  font-feature-settings: "calt";
}
.static-page h3 { font-weight: 700; font-size: 1.125rem; color: var(--near-black); margin: 24px 0 8px; }
.static-page p { font-size: 1.0625rem; line-height: 1.7; color: #2a2b29; margin-bottom: 18px; }
.static-page ul { padding-left: 22px; margin-bottom: 18px; }
.static-page li { font-size: 1.0625rem; line-height: 1.7; color: #2a2b29; margin-bottom: 6px; }
.static-page a { color: var(--dark-green); font-weight: 600; }
.static-page a:hover { text-decoration: underline; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.team-card {
  border-radius: 20px;
  padding: 24px;
  background: var(--light-surface);
  box-shadow: var(--ring-shadow);
}
.team-card h3 { margin-top: 0; margin-bottom: 4px; font-size: 1rem; }
.team-card .role { font-size: 0.8125rem; color: var(--dark-green); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
.team-card p { font-size: 0.9rem; margin: 0; color: var(--warm-dark); line-height: 1.55; }

/* FOOTER */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-col h4 {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li 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;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--wise-green); text-decoration: none; }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--near-black);
  color: rgba(255,255,255,0.88);
  border-radius: 20px;
  padding: 20px 28px;
  width: calc(100% - 48px);
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
#cookie-banner p { font-size: 0.9rem; line-height: 1.5; margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--wise-green); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--wise-green);
  color: var(--dark-green);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn-cookie-accept:hover { transform: scale(1.05); }
.btn-cookie-reject {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-reject:hover { background: rgba(255,255,255,0.18); }

/* SCHEMA HIDDEN */
.schema-hidden { display: none; }

/* PAGE HEADER */
.page-header {
  padding: 56px 0 40px;
  background: var(--light-surface);
  border-bottom: 1px solid rgba(14,15,12,0.08);
}
.page-header h1 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--near-black);
  margin-bottom: 10px;
  font-feature-settings: "calt";
}
.page-header p { font-size: 1.0625rem; color: var(--warm-dark); max-width: 560px; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .articles-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .articles-grid, .features-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 2.25rem; }
  .article-title { font-size: 1.75rem; }
  .form-box { padding: 24px; }
}
