:root {
  --bg: #f6faf8;
  --surface: #ffffff;
  --surface-soft: #f1f8f4;
  --text: #16342a;
  --muted: #5d776d;
  --brand: #0f5e46;
  --brand-2: #79b58e;
  --brand-3: #dcefe2;
  --accent: #dff4e6;
  --warning: #fff3dd;
  --risk: #f6dede;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 45px rgba(16, 48, 38, 0.08);
  --radius: 24px;
  --radius-small: 14px;
  --max: 1200px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(121, 181, 142, 0.16), transparent 28%),
    radial-gradient(circle at left bottom, rgba(15, 94, 70, 0.05), transparent 26%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius);
}

 a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--brand);
  font-weight: 800;
}

.logo-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #167456 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text small {
  margin-top: 0.2rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-links a:hover {
  background: rgba(15, 94, 70, 0.08);
  color: var(--brand);
}

.cta-nav {
  background: var(--brand);
  color: #ffffff !important;
}

.cta-nav:hover {
  background: #167456;
  color: #ffffff !important;
}

main {
  padding-bottom: 3rem;
}

section {
  padding: 5rem 0;
}

.hero {
  padding-top: 4.5rem;
}

.hero-compact {
  padding-bottom: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-grid-single {
  grid-template-columns: 1fr;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.eyebrow {
  font-weight: 800;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 1.6rem 0 0;
}

.section-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.inline-actions,
.tag-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 1.8rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button {
  background: var(--brand);
  color: #ffffff;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(15, 94, 70, 0.18);
}

.button-secondary {
  background: var(--accent);
  color: var(--brand);
}

.button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(15, 94, 70, 0.10);
}

.button-link {
  color: var(--brand);
  font-weight: 800;
}

.button-link:hover {
  text-decoration: underline;
}

.feature-img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  max-width: 460px;
  height: clamp(260px, 34vw, 380px);
  margin-left: auto;
}

.story-image {
  width: min(100%, 880px);
  height: clamp(220px, 32vw, 340px);
  margin: 0 auto 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  color: var(--brand);
}

.stat-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
}

.stat-card-risk {
  border-bottom: 4px solid #d4a44f;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand);
  line-height: 1.08;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.audit-box,
.timeline-step,
.philosophy {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 2rem;
  height: 100%;
}

.card h3,
.timeline-step h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--brand);
  line-height: 1.18;
}

.card ul {
  padding-left: 1.15rem;
  margin: 0;
}

.card li + li {
  margin-top: 0.55rem;
}

.highlight-card {
  background: var(--surface-soft);
  border-left: 6px solid var(--brand);
}

.warning-card {
  background: var(--warning);
}

.risk-card {
  background: var(--risk);
}

.action-card p {
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 94, 70, 0.08);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

.philosophy {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #0f5e46 0%, #2b8569 100%);
  color: #ffffff;
  margin-bottom: 2rem;
}

.philosophy h2 {
  color: #ffffff;
  margin: 0 0 1rem;
}

.philosophy p {
  margin: 0 auto;
  max-width: 720px;
  opacity: 0.96;
  font-size: 1.1rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem;
}

.timeline-step > strong {
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent);
  color: var(--brand);
  font-size: 1.1rem;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
}

.audit-box {
  padding: 2rem;
  background: var(--surface-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font: inherit;
  background: #ffffff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus,
.button:focus,
.button-secondary:focus,
.cta-nav:focus {
  outline: 3px solid rgba(121, 181, 142, 0.35);
  outline-offset: 2px;
}

.form-note,
.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 3rem 0 4rem;
  background: #f9fdfb;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .stats,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .story-image {
    max-width: 100%;
    height: 280px;
    min-height: 280px;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .timeline-step > strong {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  section {
    padding: 3.5rem 0;
  }

  .card,
  .audit-box,
  .philosophy {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }
}
