:root {
  --violet: #7c3aed;
  --violet-soft: #a78bfa;
  --violet-wash: #ede9fe;
  --pink: #ec4899;
  --ink: #2d0135;
  --muted: #6b5b76;
  --foam: #fffafc;
  --line: rgba(124, 58, 237, 0.14);
  --font-body: 'DM Sans', sans-serif;
  --font-brand: 'Pacifico', cursive;
  --shadow: 0 18px 40px -16px rgba(124, 58, 237, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(236, 72, 153, 0.18), transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(124, 58, 237, 0.16), transparent 50%),
    linear-gradient(165deg, #fff7fb, #f3e8ff 48%, #fce7f3);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(640px, calc(100% - 2.5rem));
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.1rem, 3vw, 2rem);
  backdrop-filter: blur(10px);
  background: rgba(255, 250, 252, 0.72);
  border-bottom: 1px solid var(--line);
}

.top-brand {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  color: var(--violet);
}

.top-cta {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(-135deg, #c4b5fd, #7c3aed 55%, #db2777);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px -14px rgba(124, 58, 237, 0.42);
}

/* —— Hero: brand + real app screenshots —— */
.hero {
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(3rem, 8vw, 4.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero-copy {
  max-width: 34rem;
}

.hero-phones {
  position: relative;
  min-height: clamp(320px, 52vw, 520px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.device {
  position: absolute;
  margin: 0;
  width: clamp(150px, 28vw, 220px);
  filter: drop-shadow(0 24px 40px rgba(124, 58, 237, 0.22));
}

.device-bezel {
  padding: 0.45rem;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff, #f3e8ff);
  border: 1px solid rgba(124, 58, 237, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 10px 30px rgba(45, 1, 53, 0.12);
}

.device-bezel::before {
  content: '';
  display: block;
  width: 34%;
  height: 0.28rem;
  margin: 0.15rem auto 0.45rem;
  border-radius: 999px;
  background: rgba(45, 1, 53, 0.12);
}

.device-bezel img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

.device-back {
  left: 4%;
  top: 12%;
  transform: rotate(-8deg) scale(0.92);
  opacity: 0.88;
  z-index: 1;
}

.device-main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(170px, 32vw, 250px);
}

.device-front {
  right: 4%;
  top: 18%;
  transform: rotate(7deg) scale(0.9);
  opacity: 0.9;
  z-index: 2;
}

.brand {
  margin: 0 0 0.85rem;
  padding-bottom: 0.18em;
  font-family: var(--font-brand);
  font-size: clamp(3.6rem, 12vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--violet);
}

.brand-sm {
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  line-height: 1.2;
  padding-bottom: 0.12em;
  margin-bottom: 0.5rem;
  color: var(--violet);
  text-shadow: none;
}

.hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 16ch;
  color: var(--ink);
}

.lede,
.support {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 34ch;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.support {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.12rem;
}

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

.center-row {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(-135deg, #c4b5fd, #7c3aed 55%, #db2777);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px -14px rgba(124, 58, 237, 0.42);
}

.btn-ghost {
  color: var(--violet);
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* —— Content bands —— */
.band,
.trust,
.close {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.band h2,
.trust h2,
.close h2,
.feature h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.center {
  text-align: center;
}

.center .support {
  margin-inline: auto;
}

.feature {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

.feature-alt {
  background: rgba(255, 255, 255, 0.35);
}

.feature-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .feature-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .feature-grid.invert .feature-text {
    order: 2;
  }

  .feature-grid.invert .feature-visual {
    order: 1;
  }
}

.trust {
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(236, 72, 153, 0.14), transparent 60%),
    radial-gradient(500px 260px at 90% 40%, rgba(124, 58, 237, 0.12), transparent 55%);
}

.close {
  padding-bottom: clamp(5rem, 12vw, 7rem);
}

/* Soft product previews — illustration, not marketing cards */
.phone {
  width: min(280px, 100%);
  margin-inline: auto;
  padding: 1rem 1rem 1.25rem;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffffee, #faf5ffee);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.phone-bar {
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.story-row {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.story-dot {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--violet-wash);
  border: 2px solid rgba(124, 58, 237, 0.2);
}

.story-dot.on {
  border-color: var(--violet);
  background: linear-gradient(145deg, #f9a8d4, #a78bfa);
}

.story-frame {
  height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(124, 58, 237, 0.55), rgba(236, 72, 153, 0.45)),
    radial-gradient(circle at 30% 20%, #fff6, transparent 40%);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
}

.story-caption {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}

.chat-lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.bubble {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.bubble.them {
  align-self: flex-start;
  background: var(--violet-wash);
  color: var(--ink);
}

.bubble.me {
  align-self: flex-end;
  background: linear-gradient(-135deg, #c4b5fd, #7c3aed 60%, #db2777);
  color: #fff;
}

.cal-block {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: var(--violet-wash);
  margin-bottom: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cal-block.soft {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.cal-block strong {
  font-size: 0.85rem;
  color: var(--violet);
}

.cal-block span {
  font-size: 0.98rem;
}

.foot {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 252, 0.65);
}

.foot-inner {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.foot .top-brand {
  color: var(--violet);
  text-shadow: none;
}

.foot-nav {
  display: flex;
  gap: 1.25rem;
  font-weight: 500;
  color: var(--muted);
}

.foot-nav a:hover {
  color: var(--violet);
}

.foot-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .top-cta:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero-phones {
    min-height: 360px;
  }

  .device-back {
    left: 0;
    top: 8%;
  }

  .device-front {
    right: 0;
    top: 14%;
  }
}
