:root {
  --black: #0e0f0c;
  --green: #9fe870;
  --dark-green: #163300;
  --mint: #e2f6d5;
  --pastel: #cdffad;
  --gray: #868685;
  --warm-dark: #454745;
  --light-surface: #e8ebe6;
  --white: #ffffff;
  --ring: rgba(14,15,12,0.12);
  --font-display: 'Inter', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: 0.18px;
  color: var(--black);
  background: var(--white);
  font-feature-settings: "calt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--dark-green);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.75; }

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

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

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ring);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
  font-feature-settings: "calt";
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-menu li a {
  display: block;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  transition: background 0.15s;
  font-feature-settings: "calt";
}
.nav-menu li a:hover {
  background: rgba(211,242,192,0.4);
  opacity: 1;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s;
}

/* BUTTONS */
.btn-pill {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-feature-settings: "calt";
  transition: transform 0.15s;
  text-decoration: none;
}
.btn-pill:active { transform: scale(0.95); }
.btn-green {
  background: var(--green);
  color: var(--dark-green);
}
.btn-green:hover { transform: scale(1.05); opacity: 1; }
.btn-secondary {
  background: rgba(22,51,0,0.08);
  color: var(--black);
}
.btn-secondary:hover { transform: scale(1.05); opacity: 1; }

/* HERO */
.hero {
  padding: 80px 0 64px;
  background: var(--white);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  background: var(--mint);
  color: var(--dark-green);
  border-radius: 9999px;
  padding: 4px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-feature-settings: "calt";
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--black);
  font-feature-settings: "calt";
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--warm-dark);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-meta {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 16px;
}
.hero-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring) 0px 0px 0px 1px;
}
.hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* SECTION TITLES */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--black);
  font-feature-settings: "calt";
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--warm-dark);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ARTICLES GRID */
.articles-section { padding: 80px 0; background: var(--white); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  border-radius: 30px;
  border: 1px solid var(--ring);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,15,12,0.1);
}
.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-card-body { padding: 24px; }
.article-card-tag {
  display: inline-block;
  background: var(--mint);
  color: var(--dark-green);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.article-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 12px;
  font-feature-settings: "calt";
}
.article-card-excerpt {
  font-size: 0.9375rem;
  color: var(--warm-dark);
  line-height: 1.55;
  margin-bottom: 20px;
}
.article-card-meta {
  font-size: 0.8125rem;
  color: var(--gray);
}

/* FEATURES */
.features-section {
  padding: 80px 0;
  background: var(--light-surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid var(--ring);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--mint);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.375rem;
}
.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  font-feature-settings: "calt";
}
.feature-text {
  font-size: 0.9375rem;
  color: var(--warm-dark);
  line-height: 1.6;
}

/* CONTACT FORM */
.contact-section { padding: 80px 0; background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--ring);
  border-radius: 30px;
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(14,15,12,0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(159,232,112,0.25);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.form-status.success {
  background: var(--mint);
  color: var(--dark-green);
  display: block;
}
.form-status.loading {
  background: var(--light-surface);
  color: var(--warm-dark);
  display: block;
}

/* ARTICLE PAGE */
.article-page { padding: 60px 0 80px; }
.article-header { margin-bottom: 40px; }
.article-header .article-tag {
  display: inline-block;
  background: var(--mint);
  color: var(--dark-green);
  border-radius: 9999px;
  padding: 4px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--black);
  font-feature-settings: "calt";
  margin-bottom: 20px;
}
.article-meta {
  font-size: 0.875rem;
  color: var(--gray);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 48px;
  box-shadow: var(--ring) 0px 0px 0px 1px;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  font-feature-settings: "calt";
  margin: 40px 0 16px;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 12px;
  font-feature-settings: "calt";
}
.article-body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--warm-dark);
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--warm-dark);
}
.article-body li { margin-bottom: 6px; }
.article-body a {
  color: var(--dark-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--mint);
  border-radius: 0 12px 12px 0;
  font-size: 1.0625rem;
  color: var(--dark-green);
  font-weight: 600;
}
.article-body .info-box {
  background: var(--light-surface);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px 0;
}
.article-body .info-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.article-body .info-box p,
.article-body .info-box ul { margin-bottom: 0; }
.article-body .updated {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ring);
}

/* PAGE (about/privacy/terms) */
.page-section { padding: 64px 0 80px; }
.page-section h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--black);
  font-feature-settings: "calt";
  margin-bottom: 32px;
}
.page-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--black);
  margin: 36px 0 12px;
  font-feature-settings: "calt";
}
.page-section p, .page-section li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--warm-dark);
  margin-bottom: 16px;
}
.page-section ul, .page-section ol {
  margin: 0 0 16px 24px;
}
.page-section a { color: var(--dark-green); text-decoration: underline; text-underline-offset: 3px; }
.page-inner { max-width: 780px; }

/* FOOTER */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  font-feature-settings: "calt";
}
.footer-tagline { font-size: 0.9375rem; line-height: 1.6; }
.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.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.9375rem; }
.footer-col ul li a:hover { color: var(--green); opacity: 1; }
.footer-bottom p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.8125rem; }
.footer-disclaimer a { color: var(--green); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 640px;
  background: var(--black);
  color: rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.cookie-banner.visible { display: block; }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { font-size: 0.9rem; line-height: 1.5; flex: 1; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--gray);
}
.breadcrumb a { color: var(--warm-dark); }
.breadcrumb span { margin: 0 6px; }

/* RELATED ARTICLES */
.related-section { padding: 56px 0 80px; background: var(--light-surface); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.related-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ring);
  transition: transform 0.15s;
}
.related-card:hover { transform: translateY(-2px); }
.related-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  font-feature-settings: "calt";
}
.related-card-tag {
  font-size: 0.8rem;
  color: var(--dark-green);
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { height: 280px; }
  .articles-grid,
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .articles-grid,
  .features-grid,
  .related-grid,
  .footer-cols { grid-template-columns: 1fr; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--ring);
    padding: 12px 0;
    gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 40px 0 48px; }
  .article-hero-img { height: 240px; }
  .contact-form { padding: 24px 20px; }
}
