:root {
  --bg: #FFF8F3;
  --card: #FFFFFF;
  --ink: #3D3346;
  --muted: #7B7183;
  --accent: #6F7FD9;
  --accent-deep: #5A69C4;
  --rose: #E0789A;
  --periwinkle: #E6E9FB;
  --blush: #FCE4EC;
  --sky: #E1EFFB;
  --mint: #DFF4EA;
  --butter: #FFF3D1;
  --lavender: #ECE6FA;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(61, 51, 70, 0.08);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 243, 0.85); backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.top .logo img { height: 34px; }
.top nav a { margin-left: 22px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--accent); }
@media (max-width: 720px) { .top nav a:not(.cta) { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; background: var(--accent); color: #fff;
  box-shadow: 0 8px 20px rgba(111, 127, 217, 0.32); transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.top .cta { padding: 9px 18px; font-size: 14px; color: #fff; margin-left: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.blobs::before, .blobs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1;
}
.blobs::before { width: 460px; height: 460px; background: var(--blush); top: -140px; left: -120px; }
.blobs::after { width: 520px; height: 520px; background: var(--sky); bottom: -200px; right: -120px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; margin: 18px 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.hero .logo-big { height: 64px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--periwinkle); color: var(--accent-deep); font-weight: 700; font-size: 14px; }
.hero-art { position: relative; justify-self: center; }
.hero-art .circle {
  width: min(420px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, #F6A5C0, #9CC3EC); opacity: .35; position: absolute; inset: 0; margin: auto;
}
.hero-art img { position: relative; width: min(400px, 78vw); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .logo-big { margin: 0 auto; }
}

/* Sections */
section { padding: 80px 0; }
section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 10px 0 14px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 40px; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }

/* Steps with phone screenshots */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--periwinkle); color: var(--accent-deep); font-weight: 800; }
.step h3 { margin: 12px 0 6px; font-size: 21px; }
.step p { margin: 0 0 18px; color: var(--muted); }
.phone { border-radius: 34px; overflow: hidden; box-shadow: 0 18px 40px rgba(61, 51, 70, 0.16); border: 6px solid #fff; max-width: 280px; margin: 0 auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border-radius: var(--radius); padding: 26px; }
.feature img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 10px; }
.feature h3 { margin: 4px 0 6px; font-size: 20px; }
.feature p { margin: 0; color: var(--ink); opacity: .78; }
.bg-blush { background: var(--blush); } .bg-sky { background: var(--sky); } .bg-mint { background: var(--mint); }
.bg-butter { background: var(--butter); } .bg-lavender { background: var(--lavender); } .bg-peri { background: var(--periwinkle); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Growth stages */
.stages { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 3vw, 34px); flex-wrap: wrap; }
.stage { text-align: center; }
.stage img { margin: 0 auto 10px; }
.stage strong { display: block; font-size: 15px; }
.stage span { color: var(--muted); font-size: 13px; }

/* Gear icons strip */
.icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.icons img { width: 86px; height: 86px; object-fit: contain; background: var(--card); border-radius: 22px; padding: 8px; box-shadow: var(--shadow); }

/* Partners */
.partners { background: var(--card); border-radius: 36px; padding: 48px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 260px; gap: 30px; align-items: center; }
.partners ul { padding-left: 20px; margin: 0 0 24px; }
.partners li { margin: 6px 0; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; padding: 30px; } .partners img { max-width: 220px; margin: 0 auto; } }

/* FAQ */
details { background: var(--card); border-radius: 20px; padding: 18px 22px; margin: 12px 0; box-shadow: var(--shadow); }
summary { font-weight: 700; cursor: pointer; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.band { background: linear-gradient(135deg, #E6E9FB, #E1EFFB); border-radius: 36px; padding: 50px 30px; text-align: center; }
.band img { width: 150px; margin: 0 auto 10px; }

/* Footer */
footer { padding: 50px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(61, 51, 70, 0.1); padding-top: 30px; }
footer a { color: var(--muted); margin-right: 18px; }
footer img { height: 26px; margin-bottom: 10px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 22px 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 4px; }
.doc h2 { font-size: 22px; margin-top: 34px; }
.doc .meta { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid rgba(61, 51, 70, 0.1); vertical-align: top; }
.doc th { background: var(--periwinkle); }

section[id] { scroll-margin-top: 76px; }

/* Feature cards with app screenshots */
.feature { display: flex; flex-direction: column; }
.feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.feature-head img.accent { width: 54px; height: 54px; object-fit: contain; margin: 0; }
.feature-head h3 { margin: 0; }
.feature p { margin-bottom: 18px; }
.phone.small { max-width: 230px; margin-top: auto; border-radius: 28px; border-width: 5px; }
.feature .phone img { width: 100%; height: auto; margin: 0; }

/* Sign-up form */
.signup { max-width: 520px; margin: 0 auto; text-align: left; }
.signup .row { display: flex; gap: 10px; }
.signup input[type=email] { flex: 1; min-width: 0; padding: 15px 18px; border-radius: 999px; border: 2px solid transparent; background: #fff; font: inherit; font-size: 16px; color: var(--ink); box-shadow: var(--shadow); }
.signup input[type=email]:focus { outline: none; border-color: var(--accent); }
.signup button { border: 0; cursor: pointer; font-family: inherit; }
.signup button:disabled { opacity: .6; cursor: default; }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.signup .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.signup .msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; }
.signup .msg.err { color: #C2416B; }
.signup .ok { text-align: center; font-size: 18px; font-weight: 700; margin: 0; }
@media (max-width: 560px) { .signup .row { flex-direction: column; } .signup .row .btn { justify-content: center; } }

/* Animated hero Bebbi (white video background disappears with multiply) */
.hero-art .bebbi-video { position: relative; display: block; width: min(440px, 82vw); aspect-ratio: 1; mix-blend-mode: multiply; background: transparent; }
