* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --forest: #0f3b2e;
  --moss: #2b6a4b;
  --clay: #8b5e3c;
  --mist: #f2f6f3;
  --sun: #f3c86b;
  --ink: #16201c;
  --stone: #e6ece8;
  --shadow: rgba(15, 59, 46, 0.18);
  font-size: 16px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fafcfb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background: var(--mist);
  padding: 1.8rem 1.5rem;
  border-bottom: 1px solid var(--stone);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.brand span {
  font-size: 0.85rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--moss);
}

.brand h1,
.brand h2 {
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-weight: 600;
}

.nav-links a {
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: var(--moss);
}

.sidebar-cta {
  background: var(--forest);
  color: #fff;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 59, 46, 0.25);
}

.sidebar-cta.sticky {
  position: sticky;
  top: 1rem;
}

.content {
  display: flex;
  flex-direction: column;
}

.section {
  padding: 2.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.section--alt {
  background: var(--mist);
}

.section--contrast {
  background: var(--forest);
  color: #fff;
}

.section--contrast a {
  color: var(--sun);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--moss);
  font-size: 0.8rem;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--forest);
  font-weight: 600;
  background: #fff;
  color: var(--forest);
}

.btn.primary {
  background: var(--forest);
  color: #fff;
}

.btn.secondary {
  border-color: var(--sun);
  color: var(--forest);
  background: var(--sun);
}

.inline-link {
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 16px 30px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card img {
  border-radius: 16px;
}

.tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--moss);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--stone);
  font-size: 0.85rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-step span {
  background: var(--sun);
  color: var(--forest);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--stone);
}

.quote {
  background: #fff;
  border-left: 4px solid var(--sun);
  padding: 1rem 1.3rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow);
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 14px 26px var(--shadow);
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-card label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-card select,
.form-card input {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--stone);
  font-size: 1rem;
  width: 100%;
}

.form-card button {
  border: none;
  cursor: pointer;
}

.form-hint {
  font-size: 0.9rem;
  color: var(--moss);
}

.message {
  font-size: 0.9rem;
  color: var(--clay);
}

.footer {
  padding: 2rem 1.6rem;
  background: #0d1916;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 59, 46, 0.3);
  padding: 1.2rem;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions .accept {
  background: var(--forest);
  color: #fff;
}

.cookie-actions .reject {
  background: var(--stone);
  color: var(--forest);
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
  }

  .sidebar {
    width: 280px;
    border-right: 1px solid var(--stone);
    border-bottom: none;
    min-height: 100vh;
  }

  .content {
    flex: 1;
  }

  .section {
    padding: 3.6rem 4rem;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split > * {
    flex: 1;
  }

  .card-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 1.2rem);
  }

  .stat-row {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    left: auto;
    right: 2rem;
    max-width: 420px;
  }
}
