:root {
  --cream: #FBF3E4;
  --navy: #1C2541;
  --navy-secondary: #6B6350;
  --orange: #F2A93B;
  --purple: #6417EC;
  --card: #F3E6CB;
  --pink: #E84393;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Baloo 2', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--purple);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- glow field ---------- */
.glow-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--orange);
  top: -160px;
  left: -120px;
}

.blob-2 {
  width: 380px;
  height: 380px;
  background: var(--purple);
  top: 40px;
  right: -140px;
  opacity: 0.4;
}

.blob-3 {
  width: 320px;
  height: 320px;
  background: var(--pink);
  top: 520px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.28;
}

/* ---------- header ---------- */
header.site-header {
  padding: 28px 0 0;
  position: relative;
  z-index: 2;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-row img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.logo-row span {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 19px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding: 40px 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 30px;
  box-shadow: 0 24px 60px -20px rgba(28, 37, 65, 0.45);
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(28, 37, 65, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}

.hero h1 {
  font-size: 46px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero p.lede {
  font-size: 18px;
  color: var(--navy-secondary);
  margin: 0 0 32px;
  max-width: 460px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.15s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--orange), #f6c56a);
  color: var(--navy);
  box-shadow: 0 16px 32px -12px rgba(242, 169, 59, 0.7);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  border: 2px solid rgba(28, 37, 65, 0.5);
}

.trust-line {
  margin-top: 24px;
  font-size: 13px;
  color: var(--navy-secondary);
}

/* ---------- phone mockup ---------- */
.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  border-radius: 42px;
  background: var(--navy);
  padding: 14px;
  box-shadow: 0 40px 80px -24px rgba(28, 37, 65, 0.55);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: var(--navy);
  border-radius: 12px;
  z-index: 3;
}

.phone-screen {
  background: #ECE5DD;
  border-radius: 30px;
  overflow: hidden;
  height: 470px;
  display: flex;
  flex-direction: column;
}

.wa-header {
  background: #075E54;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 14px 12px;
}

.wa-header img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.wa-header .name {
  font-weight: 700;
  font-size: 14px;
}

.wa-header .status {
  font-size: 11px;
  color: #d8f0e9;
}

.wa-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.wa-bubble {
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn 0.35s ease forwards;
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-bubble.in {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.wa-bubble.out {
  background: #DCF8C6;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.wa-typing {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  display: none;
  gap: 4px;
}

.wa-typing.show {
  display: flex;
}

.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa0a6;
  animation: typingBounce 1s infinite ease-in-out;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- features ---------- */
.features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 72px 0 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(28, 37, 65, 0.08);
  border-radius: 18px;
  padding: 22px 18px;
  backdrop-filter: blur(6px);
}

.feature-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: var(--navy);
}

.feature-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--navy-secondary);
  margin: 0;
}

/* ---------- how it works ---------- */
.how {
  position: relative;
  z-index: 2;
  margin: 64px 0;
  text-align: center;
}

.how h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.how p.sub {
  color: var(--navy-secondary);
  margin: 0 auto 36px;
  max-width: 480px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.step {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.step p {
  font-size: 14px;
  color: var(--navy-secondary);
  margin: 0;
}

footer {
  position: relative;
  z-index: 2;
  padding: 40px 0 56px;
  text-align: center;
  font-size: 14px;
  color: var(--navy-secondary);
  border-top: 1px solid rgba(28, 37, 65, 0.08);
  margin-top: 40px;
}

footer a {
  color: var(--navy-secondary);
  margin: 0 10px;
  text-decoration: underline;
}

/* ---------- legal pages (unchanged look) ---------- */
.legal-page {
  padding: 40px 0 64px;
  position: relative;
  z-index: 2;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.legal-page .updated {
  color: var(--navy-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-page p, .legal-page li {
  font-size: 15px;
}

.legal-page ul {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    text-align: center;
  }
  .hero p.lede {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 240px;
  }
  .phone-screen {
    height: 410px;
  }
}
