:root {
  --bg: #ebf3f6;
  --mint: #d4e9db;
  --green: #1d875d;
  --dark: #1c432c;
  --soft: #6aaa85;
  --edge: inset 0.18px 0.6px 3.14px -1.08px rgba(106, 170, 133, .63), inset 0.7px 2.3px 12px -2.2px rgba(106, 170, 133, .5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--dark);
  font-family: "Nunito Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { font-family: "Grandstander", sans-serif; }
[id] { scroll-margin-top: 64px; }

.g { color: var(--green); }
.d { color: var(--dark); }
.l { color: var(--soft); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 10;
  height: 64px;
  background: var(--mint);
  box-shadow: var(--edge);
  display: flex; align-items: center;
  padding: 0 10px;
}
.brand {
  display: flex; align-items: center; gap: 0;
  font-family: "Grandstander", sans-serif;
  font-weight: 500; font-size: 28px; line-height: 28px;
  color: var(--dark);
}
.brand img { width: 48px; height: 48px; margin-right: 0; }
.brand span { margin-left: 0; }
.nav { display: flex; gap: 20px; margin-left: 40px; }
.nav a { font-weight: 600; font-size: 18px; line-height: 24px; color: var(--dark); }
.header .nav-signup {
  margin-left: auto; display: flex; align-items: center;
  height: 40px; padding: 0 20px; border-radius: 10px;
  background: var(--green); color: #fff;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 80px 24px 0 34px; min-height: 680px; }
.hero-inner {
  max-width: 951px; margin: 0 auto;
  display: grid; grid-template-columns: 451px 1fr; gap: 30px;
  align-items: start;
}
.hero-img {
  width: 451px; height: 470px; object-fit: cover;
  border-radius: 20px; box-shadow: 2px 4px 8px 0 var(--dark);
}
.hero-copy { max-width: 470px; margin-top: 2px; }
.hero-lead { color: var(--green); font-size: 24px; line-height: 32px; font-weight: 400; }
.hero-bold { color: var(--dark); font-size: 30px; line-height: 36px; font-weight: 800; margin-top: 8px; }
.hero-line { color: var(--green); font-size: 20px; line-height: 28px; font-weight: 400; margin-top: 8px; }
.hero-lead + .hero-bold + .hero-line { margin-top: 24px; }
.hero-never { margin-top: 24px; }
.hero-by { color: var(--green); font-size: 20px; line-height: 28px; font-weight: 600; font-style: italic; margin-top: 12px; }
.btn-hero {
  display: flex; align-items: center; justify-content: center;
  width: 350px; max-width: 100%; height: 56px; margin-top: 32px;
  background: var(--green); color: #fff;
  border-radius: 10px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 16px;
}
.hero-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 22px 0 0 14px;
  font-family: "Nunito Sans", sans-serif; font-weight: 600; font-size: 16px; line-height: 24px; color: var(--dark);
}
.hero-note svg { flex: none; margin-top: 4px; }

/* ---------- Bands ---------- */
.band { padding: 80px 30px; text-align: center; box-shadow: var(--edge); }
.band-tagline { background: var(--mint); padding: 60px 30px; min-height: 360px; }
.tagline { font-size: 32px; line-height: 48px; font-weight: 800; max-width: 600px; margin: 0 auto; }

.band-problem { background: var(--mint); padding: 80px 30px 92px; }
.band-problem .band-text { margin-top: 10px; }
.problem-title { color: var(--dark); font-size: 32px; line-height: 48px; font-weight: 800; }
.problem-title em { color: var(--green); font-style: italic; }
.band-text {
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 18px; line-height: 24px;
  max-width: 727px; margin: 18px auto 0;
}
.band-text.green { color: var(--green); }
.band-text { text-wrap: balance; }  /* even out line lengths, no lonely last word */
.band-text strong { color: var(--dark); font-weight: 800; }

.band-money { background: var(--green); padding: 68px 30px; }
.band-money .band-text { margin-top: 10px; }
.money-title { color: var(--mint); font-size: 32px; line-height: 48px; font-weight: 800; }
.band-text.light { color: var(--bg); }

/* ---------- Sections with cards ---------- */
.section { background: var(--bg); padding: 80px 0; box-shadow: var(--edge); }
#howitworks { padding: 90px 0 90px; box-shadow: none; }
.wrap { max-width: 1009px; margin: 0 auto; padding: 0 40px; }
.pill {
  display: inline-block;
  background: var(--mint); color: var(--green);
  font-weight: 600; font-size: 20px; line-height: 30px;
  padding: 0 12px; border-radius: 100px;
}
.h-section {
  font-size: 40px; line-height: 50px; font-weight: 600;
  color: var(--dark); margin-top: 20px; margin-bottom: 42px;
}
.h-section.green { color: var(--green); margin-top: 28px; margin-bottom: 38px; }

.card { background: var(--mint); border-radius: 24px; }
.step { padding: 20px; margin: 0 -10px 40px; box-shadow: 2px 8px 8px 2px var(--dark); }
.step-num { font-family: "Grandstander", sans-serif; font-size: 100px; line-height: 50px; height: 50px; color: #fff; margin-top: 43px; margin-bottom: 43px; }
.step h3 { color: var(--green); font-size: 36px; line-height: 40px; font-weight: 700; margin-bottom: 28px; }
.step p { color: var(--dark); font-size: 24px; line-height: 26px; font-weight: 400; }
.step:last-of-type { margin-bottom: 0; }

.feature { padding: 30px 20px 20px; margin: 0 0 60px; box-shadow: 2px 8px 8px 2px var(--dark); text-align: left; }
.f-icon { width: 64px; height: 64px; }
.feature h3 { color: var(--green); font-size: 32px; line-height: 36px; font-weight: 700; margin-top: 16px; }
.feature p { color: var(--dark); font-size: 24px; line-height: 26px; font-weight: 400; margin-top: 28px; }
.f-shot { width: 450px; height: auto; margin: 28px auto 0; }
.feature:last-of-type { margin-bottom: 0; }
#features { padding-bottom: 127px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--mint); padding: 80px 30px 95px; box-shadow: var(--edge); }
.pricing-title { text-align: center; font-size: 32px; line-height: 32px; font-weight: 700; margin-bottom: 52px; }
.plans {
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.plans .plan-free .plan-price { line-height: 32px; }
.plans .plan-free .plan-desc { min-height: 55px; margin-top: 20px; }
.plans .plan-free ul { margin-top: 5px; }
.plans .plan-free .plan-btn { margin-top: 39px; }
.plans .plan-pro .plan-desc { margin-top: 20px; }
.plans .plan-pro ul { margin-top: 23px; }
.plans .plan-pro { padding-bottom: 38px; }
.plans .plan-pro .plan-btn { margin-top: 70px; }
.plan { border-radius: 24px; padding: 20px; box-shadow: 2px 4px 8px 0 var(--dark); }
.plan-free { background: var(--bg); }
.plan-pro { background: var(--green); }
.plan-name { font-family: "Nunito Sans", sans-serif; font-weight: 700; font-size: 20px; line-height: 20px; }
.plan-price { font-family: "Nunito Sans", sans-serif; font-weight: 700; font-size: 32px; line-height: 40px; margin-top: 20px; }
.plan-desc { font-family: "Nunito Sans", sans-serif; font-weight: 400; font-size: 14px; line-height: 18px; margin: 14px 0 0 26px; }
.plan-desc strong { font-weight: 700; }
.plan ul { list-style: none; margin: 18px 0 0 26px; }
.plan li {
  position: relative; font-family: "Nunito Sans", sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 4.5px;
}
.plan li::before {
  content: ""; position: absolute; left: -23px; top: 5px; width: 10px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M13.7 3.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L5 10.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M13.7 3.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L5 10.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-btn {
  display: flex; align-items: center; justify-content: center;
  height: 40px; margin-top: 30px; border-radius: 10px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
}
.plan-free .plan-name { color: var(--soft); }
.plan-free .plan-price { color: var(--dark); }
.plan-free .plan-desc, .plan-free li { color: var(--green); }
.plan-free .plan-btn { background: var(--green); color: #fff; }
.plan-pro .plan-name, .plan-pro .plan-price, .plan-pro .plan-desc, .plan-pro li { color: var(--bg); }
.plan-pro .plan-btn { background: var(--bg); color: var(--dark); }

/* ---------- Waitlist ---------- */
.waitlist { background: var(--bg); text-align: center; padding: 48px 30px 80px; box-shadow: var(--edge); }
.waitlist h2 { color: var(--green); font-size: 32px; line-height: 32px; font-weight: 700; }
.waitlist > p { color: var(--soft); font-size: 24px; line-height: 24px; font-weight: 700; margin-top: 12px; }
.wl-form { display: flex; flex-direction: column; gap: 20px; width: 240px; margin: 56px auto 0; }
.wl-form input {
  height: 40px; border: 0; border-radius: 10px; background: var(--mint);
  padding: 0 12px; font-size: 14px; font-family: "Inter", sans-serif; color: var(--dark);
}
.wl-form input::placeholder { color: #35694d; opacity: 1; }
.wl-form .wl-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wl-form button {
  height: 40px; border: 0; border-radius: 10px; background: var(--green); color: #fff;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
}

/* ---------- Footer ---------- */
.footer { background: var(--green); text-align: center; padding: 48px 30px 60px; box-shadow: var(--edge); }
.foot-title { color: var(--bg); font-size: 32px; line-height: 32px; font-weight: 700; }
.foot-copy { color: var(--bg); font-size: 16px; line-height: 16px; font-weight: 700; margin-top: 12px; }

/* ---------- Thank-you page ---------- */
.thanks { background: var(--bg); min-height: 653px; display: flex; align-items: center; padding: 20px; }
.thanks-inner {
  width: 100%; max-width: 1002px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
}
.thanks-img {
  width: 100%; max-width: 491px; aspect-ratio: 491 / 470; object-fit: cover;
  border-radius: 20px; box-shadow: 2px 4px 8px 0 var(--dark);
}
.thanks-copy { position: relative; top: -5px; }
.thanks-title { color: var(--dark); font-size: 30px; line-height: 36px; font-weight: 800; }
.thanks-sub { color: var(--green); font-size: 24px; line-height: 32px; font-weight: 400; margin-top: 8px; }
.thanks-body { color: var(--green); font-size: 24px; line-height: 32px; font-weight: 400; margin-top: 32px; }
.thanks-by { color: var(--green); font-size: 20px; line-height: 28px; font-weight: 600; font-style: italic; margin-top: 136px; }

/* ---------- Menu button (phones only) ---------- */
.menu-btn { display: none; }

/* ---------- Phones (up to 809px) ---------- */
@media (max-width: 809px) {
  /* header + dropdown menu */
  .header { padding: 0 10px; }
  .brand { font-size: 18px; line-height: 20px; }
  .brand img { width: 40px; height: 40px; }
  .brand > span { margin-left: 4px; white-space: nowrap; }
  .menu-btn {
    display: block; margin-left: 4px; width: 44px; height: 44px;
    border: 0; background:
      linear-gradient(var(--dark), var(--dark)) center 16px / 20px 2px no-repeat,
      linear-gradient(var(--dark), var(--dark)) center 26px / 20px 2px no-repeat;
    cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 9px; margin: 0; padding: 28px 20px 24px;
    background: var(--mint); box-shadow: 0 8px 8px -4px rgba(28, 67, 44, .25);
  }
  .header.open .nav { display: flex; }
  .nav a { font-size: 32px; line-height: 39px; font-weight: 600; }
  .header .nav-signup { padding: 0 14px; }

  /* hero */
  .hero { padding: 80px 20px 104px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; width: auto; max-width: none; margin: 0; gap: 0; }
  .hero-img { width: 100%; height: 470px; }
  .hero-copy { margin-top: 45px; }
  .btn-hero { width: 350px; max-width: none; }

  /* bands */
  .band-tagline { padding: 40px 20px; min-height: 0; }
  .tagline { font-size: 28px; }
  .band-problem, .band-money { padding: 60px 62px; }

  /* how it works */
  #howitworks { padding: 80px 0 96px; }
  .step h3, .feature h3 { letter-spacing: .012em; }

  /* features */
  #features { padding: 60px 0 128px; }
  #features .pill { margin-left: -30px; }
  #features .h-section { margin-left: -30px; width: calc(100% + 60px); }
  .feature-grid { margin: 0 -20px; }
  .feature { margin: 0 0 30px; }
  .f-shot { width: 100%; }

  /* pricing */
  .pricing { padding: 80px 28px 40px; }
  .pricing-title { text-align: left; margin: 0 0 64px -8px; line-height: 32px; }
  .pricing-title .l { display: block; font-size: 24px; line-height: 24px; }
  .plans { grid-template-columns: 1fr; gap: 60px; max-width: none; margin: 0; }
  .plans .plan-pro { padding-bottom: 28px; }
  .plans .plan-pro ul { margin-top: 24px; }
  .plans .plan-pro .plan-btn { margin-top: 61px; }

  /* waitlist + footer */
  .waitlist { padding: 80px 10px 124px; }
  .footer { padding: 60px 10px 32px; }

  /* thank-you page */
  .thanks-inner { grid-template-columns: 1fr; }
  .thanks-by { margin-top: 40px; }
}

/* ---------- Decorative images: only on wide screens ---------- */
.deco, .deco-3 { display: none; }

/* "The problem" and "Smart money" bands: Bertha is a faint ghost rising from the bottom edge, behind the text. */
.band-problem, .band-money { position: relative; overflow: hidden; }
.band-problem .split-text, .band-money .split-text { position: relative; z-index: 1; }
.band-problem .deco, .band-money .deco {
  display: block; position: absolute; z-index: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  /* sized to the band's height so her head is never cropped, whatever the screen width */
  height: calc(100% + 24px); width: auto; max-width: none; border-radius: 0; box-shadow: none;
  opacity: .12; pointer-events: none;
  margin-bottom: -24px;  /* the image has a little empty space under her shoes; this lets her feet reach the band's bottom edge */
}
.band-money .deco { opacity: .15; }  /* a touch stronger, since she sits on the darker green */

/* ---------- Wide screens (1200px and up) ---------- */
@media (min-width: 1200px) {
  .header { padding-left: calc(50% - 589.5px); padding-right: calc(50% - 589.5px); }
  /* hero */
  .hero { padding: 80px 0 0; }
  .hero-inner {
    width: 1001px; max-width: none; margin: 0 0 0 calc(50% - 520.5px);
    grid-template-columns: 451px 470px; gap: 80px;
  }

  /* how it works: three cards in a row */
  .wrap { max-width: 1200px; }
  #howitworks { padding-top: 80px; padding-bottom: 96px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0 -10px; }
  .steps .step { margin: 0; }

  /* image + text bands */
  .split { display: flex; justify-content: center; align-items: flex-start; gap: 48px; text-align: center; }
  .deco {
    display: block; flex: none; width: 201px; height: 201px; border-radius: 24px; object-fit: cover;
    box-shadow: 2px 4px 8px 0 var(--dark);
  }
  /* nudge each picture down so it sits centered in its band (without changing the band's height) */
  .split-text { flex: none; width: 700px; }
  .split-text .band-text { max-width: none; }
  .band-text .line { display: block; }  /* one sentence (or pair) per line, so nothing breaks mid-sentence */
  .band-problem { padding: 30px 30px 85px; }
  .band-problem .split-text { margin-top: 56px; }
  .band-money { padding: 18px 30px 91px; }
  .band-money .split-text { margin-top: 50px; }

  /* features: two columns */
  #features { padding-bottom: 128px; }
  #features .pill { margin-left: -30px; }
  #features .h-section { margin-left: -30px; width: 1200px; }
  .feature-grid {
    width: 1180px; margin-left: -20px;
    display: grid; grid-template-columns: 560px 560px; gap: 60px; align-items: start;
  }
  .feature-grid .feature { margin: 0; }

  /* pricing: two plans + picture */
  .pricing { padding: 74px 0 65px; }
  .pricing-title { line-height: 44px; margin-bottom: 45px; }
  .pricing-inner { display: flex; align-items: flex-start; justify-content: center; gap: 60px; }
  .plans { max-width: none; margin: 0; grid-template-columns: 288px 288px; gap: 48px; }
  .deco-3 { display: block; position: relative; flex: none; width: 358px; height: 349px; margin-top: 35px; }
  .deco-3 img { display: block; position: relative; z-index: 1; width: 100%; height: 100%; }
  /* soft oval on the "floor" under her feet */
  .deco-3::after {
    content: ""; position: absolute; z-index: 0;
    left: 135px; top: 320px; width: 100px; height: 16px;
    border-radius: 50%; background: rgba(28, 67, 44, .45); filter: blur(5px);
  }
  .plans .plan-pro { padding-bottom: 28px; }
  .plans .plan-pro ul { margin-top: 24px; }
  .plans .plan-pro .plan-btn { margin-top: 61px; }

  /* waitlist + footer */
  .waitlist { padding: 80px 30px 124px; }
  .footer { padding: 60px 30px 44px; }

  /* thank-you page */
  .thanks { min-height: 674px; display: block; padding: 80px 0 0; }
  .thanks-inner {
    width: 951px; max-width: none; margin: 0 0 0 calc(50% - 470.5px);
    grid-template-columns: 451px 470px; gap: 30px; align-items: start;
  }
  .thanks-img { width: 451px; max-width: none; aspect-ratio: auto; height: 470px; }
  .thanks-copy { top: 0; margin-top: 74px; }
  .thanks-by { margin-top: 196px; }
  .thanks + .footer { padding-bottom: 104px; }
}

/* mid-size desktops: the picture has blank space on its left, so pull it in */
@media (min-width: 1200px) and (max-width: 1399px) {
  .deco-3 { margin-left: -55px; }
}

/* very wide screens: pricing sits left of center, like the original */
@media (min-width: 1400px) {
  .pricing-inner { justify-content: flex-start; gap: 60px; margin-left: calc(50% - 479.5px); }
}
