:root {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-deep: #e9f1ec;
  --ink: #1b1b1b;
  --muted: #5b5b5b;
  --brand: #1b7f5a;
  --brand-ink: #0f3b2a;
  --accent: #e2b35b;
  --card: #ffffff;
  --stroke: rgba(27, 127, 90, 0.2);
  --shadow: 0 18px 50px rgba(17, 31, 24, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff8f0 0%, transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(27, 127, 90, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

.back-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 127, 90, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  color: var(--brand-ink);
  backdrop-filter: blur(8px);
}

.back-link:hover {
  color: var(--brand);
}

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

a:hover {
  color: var(--brand);
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 80px 6vw 60px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.brand {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
  color: var(--muted);
}

.menu-toggle {
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle:hover {
  opacity: 0.8;
}

.menu-line {
  width: 22px;
  height: 2px;
  background: var(--brand-ink);
  border-radius: 999px;
  display: block;
}

.nav-links-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid rgba(27, 127, 90, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 180px;
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 127, 90, 0.08);
  max-width: 460px;
}

.video-card {
  padding: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 25px rgba(27, 127, 90, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--stroke);
  color: var(--brand-ink);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  color: white;
  background: #166347;
}

.btn-secondary:hover {
  color: var(--brand-ink);
  border-color: rgba(27, 127, 90, 0.4);
}

.section {
  padding: 40px 6vw 60px;
}

.section-title {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 30px;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  max-width: 680px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(27, 127, 90, 0.12);
  box-shadow: 0 12px 30px rgba(18, 38, 29, 0.08);
}

.card h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

.hero-card .card {
  padding: 14px 16px;
  border-radius: 16px;
}

.hero-card .card p {
  margin: 6px 0 0;
  font-size: 14px;
}

.highlight {
  background: rgba(27, 127, 90, 0.08);
  color: var(--brand-ink);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
}

.ladder {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.ladder-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ladder-step {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  font-weight: 700;
  font-size: 14px;
}

.callout {
  margin-top: 30px;
  padding: 28px;
  border-radius: var(--radius);
  background: #0f2e22;
  color: #f8f4ec;
  box-shadow: 0 20px 50px rgba(9, 22, 16, 0.3);
}

.callout p {
  margin: 8px 0 0;
  color: rgba(248, 244, 236, 0.8);
}

.site-footer {
  padding: 30px 6vw 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
}

.footer-tag {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
  color: var(--muted);
}

.footer-disclaimer {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 980px;
}

.legal {
  padding: 70px 6vw 80px;
  max-width: 900px;
  margin: 0 auto;
}

.legal h1 {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 38px;
  margin-bottom: 12px;
}

.legal h2 {
  margin-top: 28px;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  padding-left: 18px;
}

.profile {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  margin: 16px 0 30px;
  align-items: start;
}

.profile img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(27, 127, 90, 0.15);
  box-shadow: 0 12px 26px rgba(17, 31, 24, 0.15);
}

@media (max-width: 720px) {
  .profile {
    grid-template-columns: 1fr;
  }

  .profile img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 60px 6vw 40px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links-mobile {
    display: flex;
  }

  .nav-links-mobile[hidden] {
    display: none;
  }
}
