:root {
  --ink: #071a14;
  --forest: #0d3b2e;
  --forest-mid: #145c45;
  --mint: #c8f27a;
  --mint-deep: #9fd94a;
  --foam: #eef6f1;
  --mist: #d4e5dc;
  --stone: #5c7368;
  --white: #f5faf7;
  --danger: #c45c3a;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--mint);
  text-decoration: none;
}

.top-link {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.top-link:hover {
  color: var(--mint);
}

/* —— Hero: one composition, full-bleed —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: 5.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 92, 69, 0.55), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(200, 242, 122, 0.08), transparent 50%),
    linear-gradient(165deg, #061510 0%, var(--forest) 48%, #08241c 100%);
}

.hero-copy {
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--mint);
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--white);
  max-width: 18ch;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  transition:
    transform 0.25s var(--ease),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.25s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(200, 242, 122, 0.4);
}

.btn-primary:hover {
  background: var(--mint-deep);
  box-shadow: 0 8px 28px rgba(200, 242, 122, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--foam);
  outline: 1px solid rgba(238, 246, 241, 0.35);
}

.btn-ghost:hover {
  outline-color: var(--mint);
  color: var(--mint);
}

.btn-secondary {
  background: var(--forest-mid);
  color: var(--white);
}

.btn-lg {
  width: 100%;
  max-width: 28rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: float-in 1.1s var(--ease) 0.15s both;
}

.phone {
  width: min(100%, 340px);
  background: rgba(7, 26, 20, 0.72);
  border: 1px solid rgba(200, 242, 122, 0.22);
  border-radius: 22px;
  padding: 0.85rem 0.85rem 1.1rem;
  backdrop-filter: blur(12px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.2rem 0.35rem;
}

.phone-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(238, 246, 241, 0.25);
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bubble {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
}

.bubble p {
  margin: 0;
}

.bubble .meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mint);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.bubble-out {
  background: var(--forest-mid);
  color: var(--foam);
  align-self: flex-start;
  max-width: 95%;
}

.bubble-in {
  background: var(--mint);
  color: var(--ink);
  align-self: flex-end;
  max-width: 85%;
  font-weight: 500;
}

.bubble-status {
  align-self: center;
  background: transparent;
  color: var(--mist);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s ease infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s var(--ease) calc(0.5s + var(--d, 0s)) both;
}

/* —— Sections —— */
.problem,
.how,
.waitlist {
  padding: 4.5rem 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}

.problem h2,
.how h2,
.waitlist h2,
.founding h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 1rem;
}

.problem p,
.how .steps span,
.waitlist > p,
.founding p {
  color: var(--mist);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.problem p + p {
  margin-top: 1rem;
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.35rem;
  padding-left: 3rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

.steps strong {
  font-size: 1.05rem;
  color: var(--white);
}

.founding {
  padding: 2rem 1.5rem 4rem;
}

.founding-inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.25rem 1.75rem;
  background:
    linear-gradient(145deg, rgba(20, 92, 69, 0.55), rgba(7, 26, 20, 0.9));
  border: 1px solid rgba(200, 242, 122, 0.28);
  border-radius: 20px;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.perks li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--foam);
}

.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--mint);
  transform: rotate(45deg);
}

.fine {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--stone);
}

.form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.form input {
  font: inherit;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 229, 220, 0.25);
  background: rgba(7, 26, 20, 0.6);
  color: var(--white);
}

.form input::placeholder {
  color: var(--stone);
}

.form input:focus {
  outline: 2px solid var(--mint);
  outline-offset: 1px;
}

.form-msg {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.form-msg.ok {
  color: var(--mint);
}

.form-msg.err {
  color: #f0a090;
}

.foot {
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid rgba(212, 229, 220, 0.12);
  text-align: center;
  color: var(--stone);
  font-size: 0.9rem;
}

.foot p {
  margin: 0.25rem 0;
}

.foot-note {
  font-size: 0.8rem;
}

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

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(200, 242, 122, 0.5);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px rgba(200, 242, 122, 0);
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 6rem 4rem 4rem;
    gap: 3rem;
  }

  .top {
    padding: 1.5rem 4rem;
  }

  .problem,
  .how,
  .waitlist {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 44rem;
  }

  .founding {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
