:root {
  --bg: #f4f2e8;
  --surface: #fffdf4;
  --surface-soft: #fbf8ed;
  --text: #122e24;
  --muted: #4a655c;
  --brand: #1d7d5e;
  --brand-strong: #145240;
  --accent-sand: #e8c88a;
  --accent-sand-soft: #f3dfb9;
  --line: rgba(18, 46, 36, 0.15);
  --elev-1: 0 10px 18px rgba(20, 82, 64, 0.08);
  --elev-2: 0 18px 34px rgba(20, 82, 64, 0.12);
  --elev-3: 0 26px 52px rgba(20, 82, 64, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(22, 80, 62, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 80, 62, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 10% 0%, #d7efdd 0%, transparent 34%),
    radial-gradient(circle at 90% 0%, #f2debb 0%, transparent 30%),
    var(--bg);
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto,
    auto;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245, 245, 234, 0.75);
  border-bottom: 1px solid var(--line);
}

.nav {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.04em;
  height: 0.42em;
  border-radius: 999px;
  background: linear-gradient(
    140deg,
    rgba(29, 125, 94, 0.14) 0%,
    rgba(232, 200, 138, 0.22) 100%
  );
  z-index: -1;
}

.brand-mark-on-dark {
  color: inherit;
}

.brand-mark-on-dark::after {
  background: rgba(255, 255, 255, 0.14);
}

.brand-mark-logo::after {
  bottom: 0.1em;
  height: 0.36em;
  background: linear-gradient(
    140deg,
    rgba(29, 125, 94, 0.12) 0%,
    rgba(232, 200, 138, 0.18) 100%
  );
}

.hero {
  padding: 6rem 0 3.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.3rem);
  max-width: 920px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--brand-strong);
  position: relative;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.24em;
  background: rgba(29, 125, 94, 0.22);
  z-index: -1;
}

.hero-copy {
  margin-top: 1.1rem;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-highlights {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-highlights span,
.waitlist-perks span {
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
}

.hero-highlights span {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(20, 82, 64, 0.12);
  color: var(--text);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #3e9f7f 100%);
  color: #f7fffb;
  box-shadow: 0 10px 25px rgba(29, 125, 94, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(29, 125, 94, 0.34);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-contrast {
  background: linear-gradient(140deg, var(--accent-sand) 0%, #f0d8a6 100%);
  color: #163328;
  border: 1px solid rgba(16, 42, 33, 0.16);
}

.btn-contrast:hover {
  background: linear-gradient(140deg, #f0d8a6 0%, #e8c88a 100%);
}

.hero-stats {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-stats article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.1rem;
  box-shadow: var(--elev-2);
}

.hero-stats h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.hero-stats p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  position: relative;
  padding: 3.1rem 0;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 72%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(20, 82, 64, 0.2) 20%,
    rgba(232, 200, 138, 0.36) 50%,
    rgba(20, 82, 64, 0.2) 80%,
    transparent 100%
  );
}

.section-head h2,
.feature h2,
.cta h2,
.b2b-cta h2,
.calculator h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.5rem, 3.8vw, 2.4rem);
  font-weight: 700;
}

.steps {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1.1rem;
  box-shadow: var(--elev-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 82, 64, 0.28);
  box-shadow: var(--elev-2);
}

.card span {
  font-weight: 700;
  color: var(--brand-strong);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.card h3 {
  margin-top: 0.45rem;
  font-size: 1.18rem;
  font-weight: 700;
}

.card p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--elev-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 82, 64, 0.28);
  box-shadow: var(--elev-2);
}

.feature ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.feature li {
  margin: 0.5rem 0;
}

.b2b-cta {
  background: linear-gradient(130deg, #124f3c 0%, #1d7d5e 70%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.45rem;
  color: #f2fff8;
  box-shadow: var(--elev-3);
  padding: 1.5rem;
}

.b2b-cta .eyebrow {
  border-color: rgba(255, 255, 255, 0.36);
  color: #d9f5e9;
}

.b2b-cta p {
  color: #dff6ec;
  max-width: 760px;
}

.b2b-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.1rem;
}

.b2b-points span {
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
}

.cta + .b2b-cta,
.b2b-cta + .calculator,
.calculator + .cta,
.b2b-cta + .cta {
  margin-top: 1.2rem;
}

.calculator {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--elev-2);
  padding: 1.3rem;
}

.calculator p {
  color: var(--muted);
  max-width: 760px;
}

.calc-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.8rem;
  align-items: center;
}

.calc-grid label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.calc-grid input {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fffffc;
  border-radius: 0.72rem;
  padding: 0 0.75rem;
  font-size: 1rem;
  color: var(--text);
}

.calc-result {
  margin-top: 1.05rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(20, 82, 64, 0.16);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.56)),
    linear-gradient(150deg, rgba(232, 200, 138, 0.28), rgba(20, 82, 64, 0.16));
  backdrop-filter: blur(2px);
}

.calc-result strong {
  color: var(--brand-strong);
  font-size: 1.2rem;
  margin-left: 0.12rem;
}

.calc-note {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.cta {
  background: linear-gradient(140deg, #edf6ec 0%, #fffef6 56%, #e9f3e5 100%);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--elev-2);
  padding: 1.4rem;
}

.cta p {
  max-width: 620px;
  color: var(--muted);
}

.waitlist-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.waitlist-bridge {
  margin-top: 0.9rem;
  max-width: 680px;
  font-weight: 500;
  color: var(--text);
}

.waitlist-perks span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 82, 64, 0.12);
  color: var(--text);
}

#waitlist-form {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

#waitlist-form input,
#waitlist-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fffffc;
  border-radius: 0.75rem;
  padding: 0 0.85rem;
  font-size: 1rem;
  color: var(--text);
}

#waitlist-form select {
  appearance: none;
}

#email {
  flex: 1 1 280px;
  grid-column: span 2;
}

#waitlist-form input:focus,
#waitlist-form select:focus {
  outline: 2px solid rgba(29, 125, 94, 0.3);
  border-color: var(--brand);
}

#waitlist-form button {
  grid-column: span 2;
}

#waitlist-form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

#form-message {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  min-height: 1.2rem;
}

.waitlist-note {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-cta {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.48rem 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.5);
}

.bg-orb {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.36;
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}

.bg-orb-left {
  top: -110px;
  left: -90px;
  background: #c8e8d0;
}

.bg-orb-right {
  bottom: -120px;
  right: -90px;
  background: #efe3ba;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

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

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(25px, -22px) scale(1.12);
  }
}

@media (max-width: 920px) {
  .hero-stats,
  .steps,
  .split,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.8rem;
  }

  #waitlist-form {
    grid-template-columns: 1fr;
  }

  #email,
  #waitlist-form button {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .nav-cta {
    display: none;
  }

  .cta {
    padding: 1.05rem;
  }
}
