:root {
  --soap-teal: #1fb6a6;
  --soap-teal-dark: #0f8b7e;
  --sink-blue: #eaf7f5;
  --foam: #ffffff;
  --ink: #12312e;
  --ink-soft: #3d5c58;
  --lime: #7bc96f;
  --shadow: 0 12px 30px rgba(15, 139, 126, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--sink-blue), #ffffff 60%);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Floating soap bubbles background */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.bubbles::before,
.bubbles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.9),
    rgba(31, 182, 166, 0.15)
  );
  filter: blur(1px);
}
.bubbles::before {
  width: 340px;
  height: 340px;
  top: -80px;
  right: -60px;
}
.bubbles::after {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: -80px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
}
.brand__mark {
  font-size: 1.5rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__links a:hover {
  color: var(--soap-teal-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--soap-teal);
  color: white;
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--soap-teal-dark);
}
.btn--ghost {
  background: rgba(31, 182, 166, 0.12);
  color: var(--soap-teal-dark);
}
.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem 3rem;
  max-width: 780px;
  margin: 0 auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--soap-teal-dark);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.soap-word {
  color: var(--soap-teal);
  position: relative;
  white-space: nowrap;
}
.soap-word::after {
  content: "🫧";
  font-size: 0.5em;
  position: absolute;
  top: -0.4em;
  right: -1.1em;
}
.hero__tagline {
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin: 1.4rem auto 2.2rem;
  max-width: 34ch;
}

/* Signup form */
.signup {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.signup input {
  flex: 1 1 260px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 2px solid rgba(31, 182, 166, 0.35);
  font-size: 1rem;
  outline: none;
  background: white;
}
.signup input:focus {
  border-color: var(--soap-teal);
}
.signup__note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
.signup__note.error {
  color: #c0392b;
}
.signup__note.success {
  color: var(--soap-teal-dark);
  font-weight: 700;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.stat-card {
  background: var(--foam);
  border-radius: 18px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 182, 166, 0.1);
}
.stat-card__number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--soap-teal);
}
.stat-card__label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* Sections */
section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.how,
.testimonials,
.cta {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.step {
  background: var(--foam);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soap-teal);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
blockquote {
  background: linear-gradient(150deg, rgba(31, 182, 166, 0.08), white);
  border-left: 4px solid var(--soap-teal);
  border-radius: 12px;
  padding: 1.4rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}
blockquote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--soap-teal-dark);
}

/* CTA */
.cta {
  text-align: center;
  background: var(--foam);
  border-radius: 24px;
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow);
}
.cta p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 1.8rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer__fine {
  font-size: 0.75rem;
  opacity: 0.7;
  max-width: 50ch;
  margin: 0.6rem auto 0;
}
