/* Vazirmatn, self-hosted (Persian + Latin). */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('assets/fonts/vazirmatn-arabic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011,
    U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF,
    U+1EE00-1EEF1;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('assets/fonts/vazirmatn-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Same palette as the mobile app (lib/core/theme/app_colors.dart). */
:root {
  --violet-50: #f4f1fe;
  --violet-100: #e9e3fc;
  --violet-200: #d4c9f8;
  --violet-400: #9479e6;
  --violet-500: #6c51d6;
  --violet-600: #5b40c4;
  --violet-700: #4b33a3;
  --pink-400: #f08aa0;
  --pink-500: #e8607a;
  --ink: #1e1b3a;
  --ink-2: #4a4766;
  --ink-3: #77748f;
  --line: #ebe8f5;
  --bg: #ffffff;
  --bg-tint: #f7f5fe;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgb(30 27 58 / 0.06), 0 1px 1px rgb(30 27 58 / 0.04);
  --shadow-md: 0 10px 30px -12px rgb(76 51 163 / 0.25), 0 4px 10px -4px rgb(30 27 58 / 0.06);
  --shadow-lg: 0 30px 60px -20px rgb(76 51 163 / 0.35);
  --grad: linear-gradient(135deg, var(--violet-400) 0%, var(--violet-600) 55%, var(--pink-500) 130%);
}

/* Same palette as the mobile app (lib/core/theme/app_colors.dart). */
:root {
  --violet-50: #f4f1fe;
  --violet-100: #e9e3fc;
  --violet-200: #d4c9f8;
  --violet-300: #b7a5f1;
  --violet-400: #9479e6;
  --violet-500: #6c51d6;
  --violet-600: #5b40c4;
  --violet-700: #4b33a3;
  --violet-900: #2a1f5c;
  --pink-100: #fde8ed;
  --pink-400: #f08aa0;
  --pink-500: #e8607a;
  --ink: #1b1838;
  --ink-2: #4a4766;
  --ink-3: #77748f;
  --line: #ebe8f5;
  --bg: #ffffff;
  --bg-tint: #f8f6ff;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgb(30 27 58 / 0.06), 0 1px 1px rgb(30 27 58 / 0.04);
  --shadow-md: 0 14px 34px -14px rgb(76 51 163 / 0.3), 0 4px 10px -4px rgb(30 27 58 / 0.06);
  --shadow-lg: 0 40px 80px -28px rgb(76 51 163 / 0.45), 0 10px 24px -12px rgb(30 27 58 / 0.12);
  --grad: linear-gradient(135deg, var(--violet-400) 0%, var(--violet-600) 55%, var(--pink-500) 130%);
  --grad-text: linear-gradient(100deg, var(--violet-600) 10%, #a35bd8 55%, var(--pink-500) 95%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--violet-500) 55%, transparent);
  outline-offset: 3px;
  border-radius: 10px;
}
.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.container--narrow {
  width: min(760px, 100% - 32px);
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip:focus {
  top: 12px;
}

/* Line icons, like the app's. */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Reveal on scroll — only when JS can reveal it again. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}
.btn--lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
}
.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn--primary:hover {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgb(255 255 255 / 0.25);
  transform: translateY(-2px);
}
.btn--primary .ic {
  transition: transform 0.2s ease;
}
.btn--primary:hover .ic {
  transform: translateX(3px);
}
.btn--shine::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out 1.2s infinite;
}
@keyframes shine {
  0%,
  60% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
.btn--ghost {
  color: var(--violet-700);
  background: rgb(255 255 255 / 0.7);
  border: 1px solid var(--violet-100);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: var(--violet-50);
}
.btn--light {
  color: var(--violet-700);
  background: #fff;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.35);
}
.btn--light:hover {
  transform: translateY(-2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--violet-600);
  background: rgb(255 255 255 / 0.75);
  border: 1px solid var(--violet-100);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink-500);
  box-shadow: 0 0 0 4px rgb(232 96 122 / 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgb(232 96 122 / 0.05);
  }
}
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.6);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.nav--scrolled {
  background: rgb(255 255 255 / 0.85);
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgb(30 27 58 / 0.4);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink-2);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.nav__links a:hover {
  color: var(--violet-700);
  background: var(--violet-50);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 88px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #faf8ff 0%, #fff 75%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  animation: drift 18s ease-in-out infinite;
}
.orb--1 {
  width: 520px;
  height: 520px;
  top: -160px;
  inset-inline-end: -80px;
  background: #cbbcf7;
}
.orb--2 {
  width: 380px;
  height: 380px;
  top: 220px;
  inset-inline-end: 260px;
  background: #fbc6d2;
  animation-delay: -6s;
}
.orb--3 {
  width: 420px;
  height: 420px;
  top: -200px;
  inset-inline-start: -160px;
  background: #e3dbfb;
  animation-delay: -12s;
}
@keyframes drift {
  50% {
    transform: translate(30px, 24px) scale(1.06);
  }
}
.grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(108 81 214 / 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: 40px;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5.6vw, 70px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-3);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust .ic {
  color: var(--violet-500);
}

/* Hero composition: illustration tile + phone + baby tile + floating cards. */
.hero__art {
  position: relative;
  height: 700px;
}
.tile {
  overflow: hidden;
  border-radius: 34px;
  background: #e6dffb;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The illustrations carry their own white-cornered rounded square — zoom past it. */
  transform: scale(1.12);
}
.tile--main {
  position: absolute;
  top: 40px;
  inset-inline-end: 0;
  width: 380px;
  aspect-ratio: 1;
  transform: rotate(3deg);
  animation: floatY 9s ease-in-out infinite;
}
.tile--baby {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 24px;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 28px;
  transform: rotate(-5deg);
  animation: floatY 7s ease-in-out -3s infinite;
}
@keyframes floatY {
  50% {
    translate: 0 -10px;
  }
}

.phone {
  position: absolute;
  bottom: 0;
  inset-inline-start: 2%;
  z-index: 2;
  width: 304px;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2d2550, #15112b);
  box-shadow:
    0 50px 90px -30px rgb(42 31 92 / 0.6),
    inset 0 0 0 2px rgb(255 255 255 / 0.08);
  animation: floatY 8s ease-in-out -1.5s infinite;
}
.phone::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #15112b;
  transform: translateX(-50%);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  border-radius: 34px;
  overflow: hidden;
  background: #f4f1fe;
}
/* Status bar strip above the screenshot so the notch never covers it. */
.ph-status {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  padding: 2px 22px 0;
  font-size: 11px;
  font-weight: 700;
}
.phone__shot {
  width: 100%;
  height: auto;
  /* Trim the 1px edge line at the top of the capture. */
  margin-top: -2px;
}
.ph-status__icons {
  display: flex;
  gap: 3px;
}
.ph-status__icons i {
  width: 12px;
  height: 7px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0.8;
}
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  animation: floatY 6s ease-in-out infinite;
}
.float b {
  display: block;
  font-weight: 700;
}
.float small {
  display: block;
  color: var(--ink-3);
  font-size: 12.5px;
}
.float--a {
  top: 360px;
  inset-inline-end: -10px;
  animation-delay: -2s;
}
.float--b {
  top: 0;
  inset-inline-end: 40px;
  animation-delay: -4s;
}
.float__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
}
.float__ic svg {
  width: 20px;
  height: 20px;
}
.float__ic--pink {
  color: var(--pink-500);
  background: var(--pink-100);
}
.float__ic--pink svg {
  fill: currentColor;
  stroke: none;
}
.float__ic--violet {
  color: var(--violet-600);
  background: var(--violet-50);
}
.float__ic--green {
  color: #12a26b;
  background: #e3f7ee;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: #fff;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee span::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 104px 0;
}
.section--tint {
  background:
    radial-gradient(50% 60% at 100% 0%, rgb(212 201 248 / 0.35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgb(253 232 237 / 0.6), transparent 70%),
    var(--bg-tint);
}
.section__head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head--start {
  justify-items: start;
  margin-inline: 0;
  margin-bottom: 28px;
  text-align: start;
}
.section__head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.section__head p {
  color: var(--ink-2);
  font-size: 17.5px;
}

/* Stages */
.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stage {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.stage:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stage__art {
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
  background: #e6dffb;
}
.stage__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.12);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stage:hover .stage__art img {
  transform: scale(1.18);
}
.stage__body {
  padding: 24px 26px 28px;
}
.stage__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.stage__tag--rose {
  color: #c43d5a;
  background: var(--pink-100);
}
.stage__tag--violet {
  color: var(--violet-600);
  background: var(--violet-50);
}
.stage__tag--sky {
  color: #2f62cf;
  background: #e8efff;
}
.stage h3 {
  font-size: 23px;
  font-weight: 750;
}
.stage p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Features (bento) */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.feature:hover {
  border-color: var(--violet-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.feature--wide .feature__ic {
  margin: 0;
}
.feature__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
}
.feature__ic svg {
  width: 25px;
  height: 25px;
}
.ic--rose {
  color: var(--pink-500);
  background: var(--pink-100);
}
.ic--violet {
  color: var(--violet-600);
  background: var(--violet-50);
}
.ic--sky {
  color: #3b6fe0;
  background: #e8efff;
}
.ic--green {
  color: #12a26b;
  background: #e3f7ee;
}
.ic--amber {
  color: #d9822b;
  background: #fff1e0;
}
.feature h3 {
  font-size: 18.5px;
  font-weight: 700;
}
.feature p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}
.mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 22px);
  gap: 6px;
}
.mini-cal i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--violet-50);
}
.mini-cal i.p {
  background: var(--pink-400);
}
.mini-cal i.f {
  background: var(--violet-200);
}
.mini-cal i.o {
  background: var(--violet-500);
  box-shadow: 0 0 0 3px var(--violet-100);
}
.photo-stack {
  position: relative;
  width: 150px;
  height: 96px;
}
.photo-stack img {
  position: absolute;
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.photo-stack img:first-child {
  inset-inline-start: 0;
  top: 6px;
  transform: rotate(-8deg);
}
.photo-stack img:last-child {
  inset-inline-end: 0;
  top: 0;
  transform: rotate(7deg);
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.checks li::before {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    var(--grad);
}

/* Chat mock */
.chat {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  color: #fff;
  background: var(--grad);
}
.chat__head b {
  display: block;
}
.chat__head small {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ef0b0;
}
.chat__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.2);
}
.chat__avatar svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: none;
}
.chat__body {
  display: grid;
  gap: 12px;
  padding: 24px 22px;
  background: linear-gradient(180deg, #faf8ff, #fff);
}
.bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 20px 20px 20px 6px;
  font-size: 15px;
  background: var(--violet-50);
  color: var(--ink);
}
.bubble--me {
  justify-self: end;
  border-radius: 20px 20px 6px 20px;
  color: #fff;
  background: var(--violet-500);
}
.bubble--typing {
  display: flex;
  gap: 5px;
  width: fit-content;
  padding: 16px 18px;
}
.bubble--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet-400);
  animation: typing 1.2s ease-in-out infinite;
}
.bubble--typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.bubble--typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  30% {
    transform: translateY(-5px);
    opacity: 0.5;
  }
}
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 22px;
}
.chat__chips span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--violet-100);
  color: var(--violet-700);
  font-size: 13px;
}

/* How */
.split--reverse > :first-child {
  order: 0;
}
.how__art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px;
}
.tile--how {
  width: min(420px, 100%);
  aspect-ratio: 1;
  transform: rotate(-3deg);
}
.float--how {
  bottom: 30px;
  inset-inline-end: 0;
}
.steps {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.steps li:hover {
  border-color: var(--violet-200);
  box-shadow: var(--shadow-md);
}
.steps__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 20px -10px rgb(91 64 196 / 0.8);
}
.steps h3 {
  font-size: 18px;
  font-weight: 700;
}
.steps p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.faq details[open] {
  border-color: var(--violet-200);
  box-shadow: var(--shadow-md);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--violet-600), var(--violet-600)) center / 12px 2px no-repeat,
    linear-gradient(var(--violet-600), var(--violet-600)) center / 2px 12px no-repeat,
    var(--violet-50);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 22px;
  color: var(--ink-2);
}

/* CTA band */
.cta {
  padding: 0 0 104px;
}
.cta__box {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 64px;
  border-radius: 40px;
  overflow: hidden;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-lg);
}
.cta__box::before,
.cta__box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
}
.cta__box::before {
  inset-inline-end: -100px;
  top: -140px;
  width: 420px;
  height: 420px;
}
.cta__box::after {
  inset-inline-start: -60px;
  bottom: -160px;
  width: 300px;
  height: 300px;
}
.cta__box > * {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.cta p {
  margin: 10px 0 28px;
  color: rgb(255 255 255 / 0.88);
  font-size: 18px;
}
.cta__art {
  justify-self: end;
  width: min(300px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 34px;
  border: 6px solid rgb(255 255 255 / 0.35);
  transform: rotate(4deg);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.35);
}
.cta__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.footer__note {
  color: var(--ink-3);
  font-size: 14px;
}
.footer__copy {
  margin-inline-start: auto;
  color: var(--ink-3);
  font-size: 14px;
}

/* Booking band */
.feature__link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--violet-600);
}
.feature__link:hover {
  text-decoration: underline;
}
.book-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(140deg, var(--violet-50), #fff 60%, var(--pink-100));
  border: 1px solid var(--line);
}
.book-band__copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 14px 0 12px;
}
.book-band__copy > p {
  color: var(--ink-2);
  margin-bottom: 18px;
}
.book-band__copy .checks {
  margin-bottom: 26px;
}
.book-mock {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  margin-inline: auto;
}
.book-mock__title {
  font-weight: 700;
}
.book-mock__days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.book-mock__days span {
  display: grid;
  justify-items: center;
  padding: 8px 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.book-mock__days b {
  font-size: 18px;
  color: var(--ink);
}
.book-mock__days .on {
  background: var(--pink-500);
  border-color: var(--pink-500);
  color: #fff;
}
.book-mock__days .on b {
  color: #fff;
}
.book-mock__times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.book-mock__times span {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.book-mock__times .on {
  border-color: var(--pink-500);
  background: var(--pink-100);
  color: var(--pink-500);
  font-weight: 700;
}
.book-mock__btn {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 14px;
  background: var(--violet-500);
  color: #fff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1080px) {
  .tile--main {
    width: 320px;
  }
  .phone {
    width: 280px;
  }
  .phone {
    inset-inline-start: 0;
  }
}
@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .nav__inner > .btn {
    margin-inline-start: auto;
  }
  .hero {
    padding-top: 36px;
  }
  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }
  .split {
    gap: 48px;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__copy .lead {
    margin-inline: auto;
  }
  .hero__cta,
  .hero__trust {
    justify-content: center;
  }
  .hero__art {
    width: min(560px, 100%);
    margin-inline: auto;
  }
  .stages,
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .feature--wide {
    grid-column: span 2;
  }
  .split--reverse > :first-child {
    order: 2;
  }
  .cta__box {
    grid-template-columns: 1fr;
    padding: 44px 32px;
  }
  .cta__art {
    display: none;
  }
  .book-band {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}
@media (max-width: 620px) {
  .section {
    padding: 76px 0;
  }
  .nav__inner {
    height: 64px;
  }
  .brand__name {
    font-size: 18px;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .hero__art {
    height: 540px;
  }
  .tile--main {
    width: 72%;
    inset-inline-end: 0;
  }
  .phone {
    width: 216px;
    padding: 8px;
    border-radius: 38px;
  }
  .phone__screen {
    border-radius: 30px;
  }
  .ph-status {
    height: 28px;
    padding-inline: 18px;
  }
  .tile--baby {
    width: 120px;
    inset-inline-end: 4px;
  }
  .float {
    padding: 10px 14px 10px 10px;
    font-size: 13px;
  }
  .float small {
    font-size: 11.5px;
  }
  .float--a {
    display: none;
  }
  .float--b {
    top: -28px;
    inset-inline-end: 0;
  }
  .stages,
  .features {
    grid-template-columns: 1fr;
  }
  .feature--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .mini-cal,
  .photo-stack {
    display: none;
  }
  .cta__box .btn {
    width: 100%;
  }
  .footer__copy {
    margin-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Forward arrows point left in the right-to-left layout. */
[dir='rtl'] .btn .ic {
  transform: scaleX(-1);
}

/* Letter-spacing breaks the joins of Persian script. */
[dir='rtl'] body * {
  letter-spacing: normal !important;
}
