:root {
  --bg: #f7f3ea;
  --surface: rgba(255, 252, 246, 0.84);
  --surface-strong: #fffaf2;
  --surface-accent: #eef7ef;
  --text: #24302a;
  --muted: #59675e;
  --line: rgba(61, 92, 74, 0.14);
  --primary: #2f8f63;
  --primary-strong: #216b49;
  --secondary: #f2b665;
  --danger: #ca6955;
  --success: #1f8055;
  --shadow: 0 18px 50px rgba(71, 79, 67, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1160px;
  --heading-font: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --body-font: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(255, 215, 156, 0.55), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(128, 197, 153, 0.18), transparent 26%),
    linear-gradient(180deg, #fdf8ee 0%, #f4efe5 42%, #f7f3ea 100%);
}

.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;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  overflow: clip;
}

.page-section {
  padding: 88px 20px;
}

.page-section--hero {
  padding-top: 24px;
}

.container {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 143, 99, 0.18);
  background: rgba(255, 251, 242, 0.88);
  color: var(--primary-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-bottom: 36px;
}

.section-heading h2,
.section-heading h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0;
  transition:
    padding 180ms ease,
    transform 220ms ease,
    opacity 220ms ease;
}

.site-header__inner {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(61, 92, 74, 0.1);
  background: rgba(253, 248, 238, 0.94);
  transition:
    width 180ms ease,
    margin 180ms ease,
    padding 180ms ease,
    border-radius 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header--scrolled {
  padding: 18px 20px 0;
}

.site-header--hidden {
  transform: translateY(-110%);
  opacity: 0;
}

.site-header--scrolled .site-header__inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 26px rgba(94, 87, 64, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2f8f63, #f2b665);
  color: #fffdf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  display: block;
  position: relative;
  content: "";
}

.nav-toggle__line::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__line::after {
  position: absolute;
  top: 6px;
}

.site-nav {
  position: absolute;
  top: calc(100% + 12px);
  left: 20px;
  right: 20px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.97);
  box-shadow: var(--shadow);
}

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

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(47, 143, 99, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a.is-active {
  background: rgba(47, 143, 99, 0.14);
  color: var(--primary-strong);
}

.header-cta {
  display: none;
}

.hero {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 22px;
}

.hero__title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero__description {
  max-width: 640px;
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button:disabled {
  cursor: wait;
  opacity: 0.76;
  box-shadow: none;
}

.button {
  background: linear-gradient(135deg, #2f8f63, #216b49);
  color: #fff;
  box-shadow: 0 16px 30px rgba(47, 143, 99, 0.22);
}

.button-secondary {
  background: rgba(255, 252, 246, 0.92);
  border-color: var(--line);
  color: var(--text);
}

.hero__trust {
  color: var(--primary-strong);
  font-weight: 700;
}

.hero__aside {
  position: relative;
}

.hero__aside::before,
.hero__aside::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(10px);
}

.hero__aside::before {
  width: 160px;
  height: 160px;
  top: 8%;
  right: 2%;
  background: rgba(242, 182, 101, 0.24);
  animation: blob-drift 9s ease-in-out infinite;
}

.hero__aside::after {
  width: 180px;
  height: 180px;
  bottom: -2%;
  left: 4%;
  background: rgba(47, 143, 99, 0.17);
  animation: blob-drift 11s ease-in-out infinite reverse;
}

.app-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.94), rgba(250, 245, 236, 0.92));
  box-shadow: var(--shadow);
  animation: hero-float 7s ease-in-out 700ms infinite;
}

.app-preview__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-preview__title-group {
  display: grid;
  gap: 6px;
}

.app-preview__title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.app-preview__subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-accent);
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.app-preview__grid {
  display: grid;
  gap: 14px;
}

.app-preview__card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(92, 88, 73, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.app-preview__card:nth-child(1) {
  animation: card-bob 6s ease-in-out infinite;
}

.app-preview__card:nth-child(2) {
  animation: card-bob 6s ease-in-out 1.1s infinite;
}

.app-preview__card:nth-child(3) {
  animation: card-bob 6s ease-in-out 2.2s infinite;
}

.app-preview__card:nth-child(4) {
  animation: card-bob 6s ease-in-out 3.3s infinite;
}

.app-preview__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(92, 88, 73, 0.12);
}

.app-preview__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-preview__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.app-preview__card p {
  margin: 0;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill--warn {
  background: rgba(242, 182, 101, 0.18);
  color: #8c5d11;
}

.status-pill--danger {
  background: rgba(202, 105, 85, 0.14);
  color: #924231;
}

.status-pill--ok {
  background: rgba(47, 143, 99, 0.14);
  color: #216b49;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stats-strip__tile {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(47, 143, 99, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.stats-strip__tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(77, 77, 61, 0.08);
}

.stats-strip__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-strip__value {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.grid {
  display: grid;
  gap: 18px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 251, 245, 0.78);
  box-shadow: 0 8px 24px rgba(77, 77, 61, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 143, 99, 0.18);
  box-shadow: 0 18px 34px rgba(77, 77, 61, 0.1);
}

.card h3,
.card h4 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

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

.card--problem {
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(255, 247, 241, 0.88)),
    var(--surface);
}

.card--feature {
  background:
    linear-gradient(180deg, rgba(238, 247, 239, 0.75), rgba(255, 251, 245, 0.9)),
    var(--surface);
}

.card--use-case {
  background:
    linear-gradient(180deg, rgba(255, 247, 229, 0.86), rgba(255, 252, 247, 0.92)),
    var(--surface);
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding-top: 72px;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-strong);
}

.waitlist-wrap {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at top right, rgba(242, 182, 101, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(248, 243, 233, 0.92));
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.waitlist-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(71, 79, 67, 0.16);
}

.waitlist-copy {
  display: grid;
  gap: 12px;
}

.waitlist-copy h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.waitlist-copy p {
  margin: 0;
  color: var(--muted);
}

.waitlist-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(61, 92, 74, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(47, 143, 99, 0.18);
  border-color: rgba(47, 143, 99, 0.38);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-feedback {
  min-height: 24px;
  font-weight: 700;
}

.form-feedback[data-state="error"] {
  color: var(--danger);
}

.form-feedback[data-state="loading"] {
  color: var(--primary-strong);
}

.success-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(238, 247, 239, 0.84);
  border: 1px solid rgba(47, 143, 99, 0.16);
  color: var(--success);
}

.success-panel h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.5rem;
}

.waitlist-meta {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.waitlist-meta strong {
  color: var(--text);
}

.site-footer {
  padding: 24px 20px 48px;
  color: var(--muted);
}

.site-footer__inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(61, 92, 74, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 600ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 220ms;
}

.reveal-delay-3 {
  animation-delay: 320ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes blob-drift {
  50% {
    transform: translate3d(10px, -12px, 0) scale(1.05);
  }
}

@keyframes card-bob {
  50% {
    transform: translateY(-6px);
  }
}

@media (min-width: 700px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .waitlist-wrap {
    padding: 40px;
  }
}

@media (min-width: 960px) {
  .site-header {
    padding-top: 0;
  }

  .site-header--scrolled {
    padding-top: 22px;
  }

  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    padding: 18px 28px 16px;
  }

  .site-nav,
  .site-nav[hidden] {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 14px;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 48px;
  }

  .app-preview {
    padding: 28px;
  }

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

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

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

  .waitlist-wrap {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 36px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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