:root {
  --sage: #a1c69d;
  --butter: #f6f8a3;
  --lime: #c6dba6;
  --olive: #bfc57b;
  --moss: #7f9366;
  --deep: #44533d;
  --ink: #263124;
  --paper: #fbfcf3;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(38, 49, 36, 0.12);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, #f7f8ed 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(68,83,61,0.12);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero {
  background:
    radial-gradient(circle at top right, rgba(246,248,163,0.9), transparent 28%),
    linear-gradient(135deg, var(--sage) 0%, var(--lime) 40%, var(--butter) 100%);
  padding: 2rem 0 4rem;
  overflow: hidden;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 1.2rem;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}
.nav a:hover { background: rgba(255,255,255,0.4); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
  min-height: 72vh;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  margin: 1rem 0 1rem;
  color: var(--deep);
}
.hero p.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 60ch;
}
.meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 1.65rem;
}
.meta span {
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(68,83,61,0.12);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}
.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--deep); color: var(--white); }
.btn-secondary { background: rgba(255,255,255,0.65); border-color: rgba(68,83,61,0.18); }
.portrait-card {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.portrait-wrap {
  width: min(100%, 380px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto 1.3rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.75), rgba(255,255,255,0.1) 30%),
    linear-gradient(145deg, var(--olive), var(--sage));
  border: 10px solid rgba(255,255,255,0.75);
  box-shadow: 0 18px 45px rgba(38,49,36,0.18);
  display: grid;
  place-items: center;
  color: var(--white);
}
.portrait-wrap .initials {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}
.portrait-note {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.8;
}
.panel {
  background: var(--white);
  border: 1px solid rgba(68,83,61,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0.8rem 0 1rem;
  color: var(--deep);
}
.section p.section-intro {
  max-width: 70ch;
  font-size: 1.05rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat {
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(198,219,166,0.2), rgba(246,248,163,0.28));
  border: 1px solid rgba(68,83,61,0.1);
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--deep);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  height: 100%;
  padding: 1.4rem;
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(68,83,61,0.1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--deep);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  line-height: 1.15;
}
.card p { margin: 0 0 1rem; }
.card .btn { margin-top: auto; width: fit-content; }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.quote-block {
  padding: 1.75rem;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--sage), var(--lime));
  color: var(--deep);
}
.quote-block p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.list {
  padding-left: 1.1rem;
  margin: 0;
}
.list li + li { margin-top: 0.65rem; }
.form-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: stretch;
}
.form-card {
  padding: 1.5rem;
}
form { display: grid; gap: 0.95rem; }
label { font-weight: 700; font-size: 0.95rem; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(68,83,61,0.18);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fcfdf6;
}
textarea { min-height: 170px; resize: vertical; }
.small { font-size: 0.92rem; opacity: 0.8; }
.footer {
  padding: 2rem 0 3.5rem;
  color: rgba(38,49,36,0.8);
}
.page-hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--butter) 100%);
  padding: 2rem 0 3rem;
}
.page-hero .panel, .content-panel {
  padding: 1.8rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.foundation-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}
.sticky-box {
  position: sticky;
  top: 1rem;
  padding: 1.5rem;
}
.callout {
  background: linear-gradient(180deg, rgba(198,219,166,0.3), rgba(246,248,163,0.25));
  border: 1px solid rgba(68,83,61,0.1);
  border-radius: 20px;
  padding: 1rem;
}
@media (max-width: 980px) {
  .hero-grid, .split, .why-grid, .form-wrap, .foundation-layout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sticky-box { position: static; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .portrait-card { padding: 1.25rem; }
  .hero h1 { line-height: 1; }
}
.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.card-grid-note { margin-top: 1rem; }

.problems-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(198,219,166,0.12) 100%);
}

.problems-section .section-intro {
  max-width: 62ch;
}

.problems-tabs {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.35rem 0 1.15rem;
  margin: 1.8rem 0 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.problems-tabs::-webkit-scrollbar {
  display: none;
}

.problem-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid rgba(68,83,61,0.12);
  background: rgba(255,255,255,0.78);
  color: var(--deep);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.problem-tab:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(68,83,61,0.22);
  transform: translateY(-1px);
}

.problem-tab.active {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
  box-shadow: 0 8px 20px rgba(38,49,36,0.16);
}

.problems-panels {
  position: relative;
}

.problem-panel {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(68,83,61,0.08);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 16px 36px rgba(38,49,36,0.08);
  animation: problemFade 0.24s ease;
}

.problem-panel h3 {
  margin: 0 0 1rem;
  color: var(--deep);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.problem-panel p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

.problem-panel p:last-child {
  margin-bottom: 0;
}

@keyframes problemFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .problems-tabs {
    gap: 0.55rem;
    margin: 1.4rem 0 1rem;
    padding-bottom: 0.95rem;
  }

  .problem-tab {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }

  .problem-panel {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .problem-panel h3 {
    font-size: 1.3rem;
  }

  .problem-panel p {
    font-size: 0.98rem;
    line-height: 1.68;
  }
}

