:root {
  --ink: #14231e;
  --muted: #607268;
  --soft: #f4f0e8;
  --paper: #fffaf2;
  --mint: #d8efe2;
  --green: #1f6d4f;
  --green-dark: #154c39;
  --gold: #d89b3d;
  --coral: #df725e;
  --line: rgba(20, 35, 30, 0.12);
  --shadow: 0 22px 70px rgba(20, 35, 30, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition:
    padding 300ms var(--ease-soft),
    background-color 300ms var(--ease-soft),
    box-shadow 300ms var(--ease-soft);
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 12px 40px rgba(20, 35, 30, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.2rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: transform 500ms var(--ease-out);
}

.brand:hover img {
  transform: rotate(10deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  transition: color 220ms var(--ease-soft);
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta {
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
  transition:
    background-color 220ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.nav-cta:hover {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgba(31, 109, 79, 0.2);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(42deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-42deg);
}

.section-pad {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  background:
    radial-gradient(circle at 9% 12%, rgba(216, 155, 61, 0.18), transparent 26%),
    linear-gradient(135deg, #fffaf2 0%, #f7f0e2 45%, #e9f3eb 100%);
  background-size: 130% 130%, 100% 100%;
  animation: heroWash 16s var(--ease-soft) infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(216,155,61,.15),
    transparent 70%
  );
  right: -150px;
  top: -150px;
  z-index: -1;
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.2vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.16;
}

.lead,
.section-intro p,
.about-copy,
.feature-row p,
.waitlist-inner > p,
.site-footer p {
  color: var(--muted);
}

.lead {
  max-width: 650px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition:
    color 220ms var(--ease-soft),
    background-color 220ms var(--ease-soft),
    border-color 220ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--green),
    var(--green-dark)
  );
  box-shadow: 0 12px 30px rgba(31,109,79,.24);
}

.button-primary:hover {
  transform: translateY(-4px) scale(1.02);

  box-shadow:
    0 20px 45px rgba(31,109,79,.35);
}

.button-secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.button-secondary:hover {
  border-color: rgba(31, 109, 79, 0.24);
  box-shadow: 0 16px 36px rgba(20, 35, 30, 0.08);
}

.word-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.word-row span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--green-dark);
  font-weight: 800;
  animation: softBob 5s var(--ease-soft) infinite;
}

.word-row span:nth-child(2) {
  animation-delay: 600ms;
}

.word-row span:nth-child(3) {
  animation-delay: 1.2s;
}

.hero-visual {
  position: relative;
  z-index: 1;
  transform: translate3d(0, var(--float-shift, 0px), 0);
  transition: transform 80ms linear;
  animation: visualEnter 900ms var(--ease-out) 180ms both;
}

.hero-visual img {
  width: min(100%, 620px);
  aspect-ratio: 1;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
  animation: imageDrift 9s var(--ease-soft) infinite alternate;
}

.stat-card {
  position: absolute;
  right: clamp(-8px, -2vw, 20px);
  bottom: clamp(12px, 4vw, 46px);
  width: min(210px, 48vw);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: cardFloat 7s var(--ease-soft) infinite alternate;
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.stat-card span,
.stat-card small {
  display: block;
}

.stat-card span {
  font-weight: 900;
}

.stat-card small {
  color: var(--muted);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-intro.wide {
  max-width: 920px;
}

.about-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
}

.about-copy {
  font-size: 1.08rem;
}

.problem-grid,
.steps,
.benefit-grid,
.roadmap-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

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

.problem-grid article,
.steps article,
.benefit-grid article,
.roadmap-grid article,
.faq-list details,
.vision-copy article {
backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 260ms var(--ease-soft),
    box-shadow 260ms var(--ease-soft),
    transform 260ms var(--ease-soft),
    background-color 260ms var(--ease-soft);
}

.problem-grid article,
.steps article,
.benefit-grid article,
.roadmap-grid article,
.vision-copy article {
backdrop-filter: blur(12px);
  padding: clamp(20px, 3vw, 30px);
}

.problem-grid article:first-child {
  grid-column: span 3;
  background: var(--green-dark);
  color: #fff;
}

.problem-grid article:hover,
.steps article:hover,
.benefit-grid article:hover,
.roadmap-grid article:hover,
.vision-copy article:hover {
backdrop-filter: blur(12px);
  border-color: rgba(31, 109, 79, 0.22);
  box-shadow: 0 18px 46px rgba(20, 35, 30, 0.1);
  transform: translateY(-6px);
}

.problem-grid article:first-child p,
.problem-grid article:first-child .mini-label {
  color: rgba(255, 255, 255, 0.78);
}

.steps-band,
.benefits,
.roadmap {
  background: var(--soft);
}

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

.steps span,
.roadmap-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding-bottom: clamp(28px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
}

.feature-row.reverse div {
  grid-column: 2;
  grid-row: 1;
}

.feature-row.reverse img {
  grid-column: 1;
  grid-row: 1;
}

.feature-row img {
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition:
    box-shadow 450ms var(--ease-out),
    transform 450ms var(--ease-out);
}

.feature-row:hover img {
  box-shadow: 0 28px 80px rgba(20, 35, 30, 0.18);
  transform: translateY(-7px) scale(1.015);
}

.feature-row li {
  transition: color 200ms var(--ease-soft), transform 200ms var(--ease-soft);
}

.feature-row li:hover {
  color: var(--green-dark);
  transform: translateX(4px);
}

ul {
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

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

.vision {
  background: var(--green-dark);
  color: #fff;
}

.vision-copy {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 18px;
}

.vision-copy article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.vision-copy article:nth-child(3) {
  grid-column: span 2;
}

.vision-copy p,
.vision-copy span {
  color: rgba(255, 255, 255, 0.76);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

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

.faq-list {
  max-width: 920px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 900;
  list-style: none;
  transition: color 220ms var(--ease-soft), background-color 220ms var(--ease-soft);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  float: right;
  color: var(--green);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 260ms var(--ease-out);
}

.faq-list details[open] summary {
  color: var(--green-dark);
  background: rgba(216, 239, 226, 0.32);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
  animation: answerReveal 260ms var(--ease-out);
}

.waitlist {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 109, 79, 0.92), rgba(21, 76, 57, 0.96)),
    url("assets/hero-community.png") center / cover;
  color: #fff;
}

.waitlist::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(17, 28, 24, 0.22), transparent);
  content: "";
  pointer-events: none;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.waitlist .eyebrow,
.waitlist p {
  color: rgba(255, 255, 255, 0.78);
}

.waitlist-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.waitlist-form div {
  display: flex;
  gap: 10px;
}

.waitlist-form input {
  min-height: 52px;
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  font: inherit;
  transition: border-color 220ms var(--ease-soft), box-shadow 220ms var(--ease-soft);
}

.waitlist-form input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
  outline: 0;
}

.waitlist-form .button-primary {
  background: var(--gold);
  color: var(--ink);
}

.waitlist-form .button-primary:hover {
  background: #efbc61;
}

.form-note {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-weight: 700;
}

.site-footer {
  padding: 46px clamp(18px, 5vw, 72px) 28px;
  background: #111c18;
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  transition: color 180ms var(--ease-soft);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes heroWash {
  from {
    background-position: 0% 0%, center;
  }

  to {
    background-position: 34% 22%, center;
  }
}

@keyframes imageDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(-0.5deg);
  }

  to {
    transform: translate3d(0, -10px, 0) rotate(0.6deg);
  }
}

@keyframes visualEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--float-shift, 0px), 0) scale(1);
  }
}

@keyframes cardFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes softBob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes answerReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 20s ease-in-out infinite alternate;
}

.orb1 {
  width: 400px;
  height: 400px;
  background: rgba(31,109,79,.15);
  top: -100px;
  left: -100px;
}

.orb2 {
  width: 350px;
  height: 350px;
  background: rgba(216,155,61,.12);
  top: 35%;
  right: -120px;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: rgba(223,114,94,.10);
  bottom: -100px;
  left: 30%;
}

@keyframes orbFloat {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    transition:
      opacity 240ms var(--ease-out),
      transform 240ms var(--ease-out);
  }

  .nav-links.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .hero,
  .about-grid,
  .feature-row,
  .feature-row.reverse,
  .vision-copy,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse div,
  .feature-row.reverse img,
  .vision-copy article:nth-child(3),
  .footer-bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .problem-grid,
  .steps,
  .benefit-grid,
  .roadmap-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid article:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 58px 18px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.8rem);
  }

  .problem-grid,
  .steps,
  .benefit-grid,
  .roadmap-grid,
  .metrics,
  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .problem-grid article:first-child {
    grid-column: auto;
  }

  .waitlist-form div,
  .footer-bottom {
    flex-direction: column;
  }
}
