/* Masrouf: masroufapp.com
   Tokens come from branding/BRAND-GUIDE.md (light theme only, like the app). */
/* DM Sans, self-hosted (latin subset from Google Fonts): one variable file per style.
   'optional' + the preload in <head>: used when it arrives in time (always once cached),
   otherwise the page keeps the matched fallback below, so nothing shifts mid-load. */
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: optional;
  src: url(/assets/fonts/dm-sans-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'DM Sans'; font-style: italic; font-weight: 700; font-display: optional;
  src: url(/assets/fonts/dm-sans-italic-latin.woff2) format('woff2');
  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;
}
/* Arial sized to DM Sans's metrics per weight, so text doesn't reflow when the web font swaps in */
@font-face {
  font-family: 'DM Sans Fallback'; font-style: normal; font-weight: 400; src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  size-adjust: 104.60%; ascent-override: 94.84%; descent-override: 29.64%; line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback'; font-style: normal; font-weight: 500; src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  size-adjust: 105.13%; ascent-override: 94.36%; descent-override: 29.49%; line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback'; font-style: normal; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  size-adjust: 102.25%; ascent-override: 97.02%; descent-override: 30.32%; line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback'; font-style: italic; font-weight: 700; src: local('Arial Bold Italic'), local('Arial-BoldItalicMT'), local('Liberation Sans Bold Italic');
  size-adjust: 101.80%; ascent-override: 97.45%; descent-override: 30.45%; line-gap-override: 0%;
}

:root {
  --primary: #7B61FF;
  --primary-deep: #6B35D9;
  --primary-light: #A78BFF;
  --bg: #EEEEFF;
  --surface: #FFFFFF;
  --surface-tint: #F5F3FF;
  --soft-purple: #EDE8FF;
  --border: #E0D8F8;
  --divider: #F0EEFF;
  --ink: #1A1A2E;
  --ink-soft: #4A3A6A;
  --muted: #9999BB;
  --muted-2: #6B6B8E;
  --danger: #FF6B6B;
  --success: #66BB6A;
  --warning: #FFB347;
  --radius-card: 18px;
  --radius-btn: 16px;
  --radius-pill: 20px;
  --shadow: 0 2px 8px rgba(192, 184, 240, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(107, 53, 217, 0.35), 0 10px 24px -12px rgba(192, 184, 240, 0.6);
  --font-body: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; border-radius: 8px; }

/* ── Type ───────────────────────────────── */
.display {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.display em { font-style: italic; color: var(--primary); }
.display--md { font-size: clamp(32px, 4.4vw, 50px); }
.center { text-align: center; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}

/* ── Buttons ────────────────────────────── */
.pill-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.pill-btn__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
}
.pill-btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(26,26,46,.6); }
.pill-btn--dark .pill-btn__icon { background: #fff; color: var(--ink); }
.pill-btn--light { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -8px rgba(26,26,46,.35); }
.pill-btn--light .pill-btn__icon { background: var(--soft-purple); color: var(--ink); }
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn:active { transform: translateY(0); }
.store-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* "Launching soon" swaps in on hover / tap. Both labels share one grid cell,
   so the button is sized for the longer one and never jumps. */
.pill-btn__label { display: inline-grid; overflow: hidden; }
.pill-btn__label > span,
.pill-btn__label::after {
  grid-area: 1 / 1; text-align: center;
  transition: transform .35s cubic-bezier(.3, .8, .2, 1), opacity .25s ease;
}
.pill-btn__label::after { content: attr(data-soon); transform: translateY(100%); opacity: 0; }
.js-waitlist:hover .pill-btn__label > span,
.js-waitlist:focus-visible .pill-btn__label > span,
.js-waitlist.is-soon .pill-btn__label > span { transform: translateY(-100%); opacity: 0; }
.js-waitlist:hover .pill-btn__label::after,
.js-waitlist:focus-visible .pill-btn__label::after,
.js-waitlist.is-soon .pill-btn__label::after { transform: none; opacity: 1; }

/* ── Nav ────────────────────────────────── */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
/* floating glass pill */
.nav__bar {
  pointer-events: auto;
  width: auto; max-width: 100%; /* hugs its content */
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  padding: 7px 7px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 12px 32px -14px rgba(43, 20, 110, .5);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
  animation: nav-open 1s cubic-bezier(.7, 0, .2, 1) .15s backwards;
}
.nav.is-scrolled .nav__bar {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .85);
  box-shadow:
    inset 0 1px 0 #fff,
    0 14px 34px -14px rgba(107, 53, 217, .35);
}

.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #8B6FFF, var(--primary-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 12px -4px rgba(43, 20, 110, .5);
}
.nav__name { color: #fff; font-weight: 700; font-size: 19px; letter-spacing: -.02em; transition: color .4s ease; }
.nav.is-scrolled .nav__name { color: var(--ink); }

.nav__links { position: relative; display: flex; gap: 2px; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 8px 15px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  transition: color .3s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav.is-scrolled .nav__links a { color: var(--muted-2); }
.nav.is-scrolled .nav__links a:hover { color: var(--ink); }
.nav.is-scrolled .nav__links a.is-active { color: var(--primary); font-weight: 700; }
/* sliding highlight behind the active link */
.nav__indicator {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 14px -6px rgba(43, 20, 110, .45);
  opacity: 0;
  transition: left .5s cubic-bezier(.3, .8, .2, 1), width .5s cubic-bezier(.3, .8, .2, 1), opacity .3s, background .4s, box-shadow .4s;
}
.nav.is-scrolled .nav__indicator {
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(192, 184, 240, .45), 0 6px 16px -6px rgba(107, 53, 217, .4);
}
.nav__cta { font-size: 14px; padding-left: 18px; }
.nav__cta .pill-btn__icon { width: 30px; height: 30px; }

/* opening animation: a closed circle that stretches into the full bar */
@keyframes nav-open {
  0%   { clip-path: inset(0 calc(50% - 28px) round 999px); opacity: 0; transform: translateY(-14px) scale(.85); }
  30%  { clip-path: inset(0 calc(50% - 28px) round 999px); opacity: 1; transform: none; }
  100% { clip-path: inset(0 0 round 999px); }
}
.nav__brand, .nav__links a, .nav__cta { animation: nav-item .5s ease backwards; }
.nav__brand { animation-delay: .85s; }
.nav__links a:nth-child(2) { animation-delay: .9s; }
.nav__links a:nth-child(3) { animation-delay: .95s; }
.nav__links a:nth-child(4) { animation-delay: 1s; }
.nav__links a:nth-child(5) { animation-delay: 1.05s; }
.nav__links a:nth-child(6) { animation-delay: 1.1s; }
.nav__cta { animation-delay: 1.1s; }
.nav__indicator { animation: nav-item .5s ease .9s backwards; }
@keyframes nav-item { from { opacity: 0; transform: translateY(6px); } }

/* ── Hero ───────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  /* matches the hero video's edges (#EDEEFE), then eases out into the white page
     over the last 420px so there's no visible edge where the next section starts */
  padding-bottom: 140px;
  background: linear-gradient(180deg,
    rgba(237, 238, 254, 1) 0,
    rgba(237, 238, 254, 1) calc(100% - 420px),
    rgba(237, 238, 254, 0.738) calc(100% - 340px),
    rgba(237, 238, 254, 0.541) calc(100% - 277px),
    rgba(237, 238, 254, 0.382) calc(100% - 223px),
    rgba(237, 238, 254, 0.278) calc(100% - 183px),
    rgba(237, 238, 254, 0.194) calc(100% - 147px),
    rgba(237, 238, 254, 0.126) calc(100% - 113px),
    rgba(237, 238, 254, 0.075) calc(100% - 83px),
    rgba(237, 238, 254, 0.042) calc(100% - 58px),
    rgba(237, 238, 254, 0.021) calc(100% - 38px),
    rgba(237, 238, 254, 0.008) calc(100% - 20px),
    rgba(237, 238, 254, 0.002) calc(100% - 8px),
    rgba(237, 238, 254, 0) 100%) #fff;
}
.hero__top {
  position: relative; isolation: isolate;
  padding: 150px 24px 200px;
  background: linear-gradient(180deg,
    var(--primary-deep) 0%,
    #7350F0 25%,
    var(--primary) 50%,
    #9A80FF 68%,
    #C9BBFF 84%,
    #EDEEFE 100%);
}
.hero__cloud {
  position: absolute; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0));
  filter: blur(6px);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__cloud--1 { width: 220px; height: 110px; top: 290px; left: 6%; }
.hero__cloud--2 { width: 200px; height: 120px; top: 200px; right: 5%; animation-delay: -5s; }
.hero__cloud--3 { width: 340px; height: 150px; top: 520px; left: 18%; opacity: .7; animation-delay: -9s; }
@keyframes drift { to { transform: translateX(30px) translateY(-8px); } }

.hero__copy { position: relative; max-width: 760px; margin: 0 auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 6.6vw, 76px);
  line-height: 1.04;
  margin-bottom: 40px;
}
.hero h1 em { color: #fff; opacity: .78; }

.hero__media {
  position: relative;
  max-width: 1000px; margin: -150px auto 0; padding: 0 24px;
}
.hero__video {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  /* blend the video's lavender edges into the gradient */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent),
                      linear-gradient(180deg, transparent, #000 12%, #000 76%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent),
                      linear-gradient(180deg, transparent, #000 12%, #000 76%, transparent);
          mask-composite: intersect;
}

/* ── Sections ───────────────────────────── */
.section { max-width: var(--wrap); margin: 0 auto; padding: 120px 24px 0; }
#features { padding-top: 40px; }
.sub { max-width: 480px; margin: 16px auto 0; color: var(--muted-2); }

/* three cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card {
  border-radius: 28px; padding: 26px 26px 32px;
  text-align: center;
  display: flex; flex-direction: column;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); }
.card--lilac { background: linear-gradient(180deg, #E3DBFF, var(--soft-purple)); }
.card--peach { background: linear-gradient(180deg, #FFEBCB, #FFF5E6); }
.card--rose  { background: linear-gradient(180deg, #FFDCDC, #FFF0F0); }
.card h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 28px 0 8px; }
.card p { font-size: 15px; color: var(--ink-soft); max-width: 300px; margin: 0 auto; text-wrap: balance; }

.mini {
  background: #fff; border-radius: var(--radius-card);
  padding: 16px; text-align: left; font-size: 13px;
  box-shadow: 0 14px 30px -18px rgba(107,53,217,.45);
  height: 210px; /* same height on every card so the titles line up */
  display: flex; flex-direction: column; gap: 14px;
}
.mini b { color: var(--ink); font-weight: 700; }
.mini__cap { display: block; color: var(--muted); font-size: 11.5px; }
.mini__row { display: flex; justify-content: space-between; }
.mini__row b { font-size: 20px; }
.mini .right { text-align: right; }
.seg { display: flex; height: 8px; border-radius: 99px; background: var(--divider); overflow: hidden; gap: 2px; }
.seg i { width: var(--w); background: var(--c); }
.mini__ghost { height: 10px; border-radius: 99px; background: var(--divider); width: 80%; }
.mini__ghost--short { width: 50%; }
.mini__voice {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-tint); border-radius: 14px; padding: 8px 12px 8px 8px;
}
.mini__voice[dir="rtl"] { padding: 8px 8px 8px 12px; }
.mic {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(123,97,255,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(123,97,255,.06); } }
.quote { color: var(--ink); font-weight: 500; font-size: 14px; }
.mini__expense {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--divider); border-radius: 14px; padding: 10px;
}
.mini__expense .grow { flex: 1; }
.tile {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--bg); display: grid; place-items: center; font-size: 17px;
}
.mini__toggle {
  align-self: center; display: flex; background: var(--surface-tint);
  border-radius: 99px; padding: 3px; font-weight: 700; font-size: 12px;
}
.mini__toggle span { padding: 4px 16px; border-radius: 99px; color: var(--muted); }
.mini__toggle .on { background: var(--primary); color: #fff; }

/* ── Feature rows ───────────────────────── */
.features {
  margin-top: 130px; padding: 110px 24px;
  background: var(--bg);
  border-radius: 48px 48px 0 0;
  overflow-x: clip;
}
.feature {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature + .feature { margin-top: 130px; }
.feature--flip .feature__copy { order: 2; }
.feature__copy > p:not(.kicker) { margin-top: 18px; font-size: 17px; max-width: 440px; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; justify-items: start; gap: 12px; }
.ticks li {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 22px 10px 10px; border-radius: 999px;
  background: #fff; box-shadow: 0 14px 30px -18px rgba(107,53,217,.45);
  color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.ticks li::before {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.feature__media { position: relative; display: flex; justify-content: center; }

.phone {
  margin: 0;
  width: 290px; max-width: 100%;
  border-radius: 46px; padding: 10px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 37px; width: 100%; height: auto; }
.phone--sm { width: 230px; border-radius: 38px; padding: 8px; }
.phone--sm img { border-radius: 31px; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 18px 36px -16px rgba(107,53,217,.45);
  font-size: 14px; color: var(--ink-soft); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { color: var(--ink); }
.float-chip .ok { color: var(--success); }
.float-chip .tile { width: 30px; height: 30px; font-size: 15px; }
.float-chip--a { left: 0; top: 30%; }
.float-chip--b { right: 0; bottom: 18%; animation-delay: -3s; }
.float-chip--c { left: 2%; bottom: 22%; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ── How it works ───────────────────────── */
.how { padding-top: 120px; }
.steps {
  list-style: none; padding: 0; margin: 60px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__num {
  margin-top: 28px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 700;
  box-shadow: 0 0 0 6px var(--soft-purple);
}
.step h3 { margin-top: 14px; font-size: 20px; }
.step p { color: var(--muted-2); margin-top: 4px; }
.steps__dots { display: none; }

/* ── FAQ ────────────────────────────────── */
.faq__list { max-width: 720px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details {
  background: var(--surface-tint); border: 1px solid var(--divider);
  border-radius: var(--radius-card); padding: 0 22px;
  transition: background .2s;
}
.faq details[open] { background: #fff; box-shadow: var(--shadow); border-color: var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft-purple); color: var(--primary);
  font-size: 18px; font-weight: 500; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; }

/* ── CTA ────────────────────────────────── */
.cta { padding: 120px 24px 0; }
.cta__inner {
  position: relative; overflow: hidden;
  max-width: var(--wrap); margin: 0 auto;
  border-radius: 40px; padding: 80px 24px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,.18), transparent 70%),
    radial-gradient(500px 260px at 90% 100%, rgba(201,187,255,.35), transparent 70%),
    linear-gradient(135deg, #8B6FFF, var(--primary-deep));
}
.cta__icon { margin: 0 auto 24px; border-radius: 18px; box-shadow: 0 14px 30px -10px rgba(26,26,46,.5); outline: 1px solid rgba(255,255,255,.3); }
.cta h2 { color: #fff; }
.cta h2 em { color: #fff; opacity: .75; }
.cta p { color: rgba(255,255,255,.78); margin: 14px 0 30px; font-size: 17px; }

/* ── Footer ─────────────────────────────── */
.footer { padding: 64px 24px 48px; }
.footer__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--divider); padding-top: 36px;
}
.footer__brand img { height: 44px; width: auto; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.footer__links a:hover { color: var(--primary); }
.footer__copy { color: var(--muted-2); font-size: 14px; }

/* ── Inner pages (privacy, terms, support) ── */
.page-hero {
  padding: 150px 24px 84px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-deep) 0%, #7350F0 45%, var(--primary) 100%);
  border-radius: 0 0 40px 40px;
}
.page-hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); }
.page-hero h1 em { color: #fff; opacity: .75; }
.page-hero__meta { margin-top: 14px; color: rgba(255, 255, 255, .75); font-size: 16px; }

.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 0; }
.legal__summary {
  background: var(--surface-tint); border: 1px solid var(--divider);
  border-radius: 24px; padding: 26px 28px; margin-bottom: 48px;
}
.legal .legal__summary h2 { font-size: 18px; margin: 0 0 12px; }
.legal__summary ul { margin: 0; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 12px; scroll-margin-top: 110px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal li::marker { color: var(--primary); }
.legal strong { color: var(--ink); }
.legal a { font-weight: 500; text-underline-offset: 3px; }
.legal__path {
  display: inline-block; padding: 1px 9px; border-radius: 8px;
  background: var(--soft-purple); color: var(--primary-deep);
  font-weight: 700; font-size: .92em; white-space: nowrap;
}

.contact-card {
  max-width: 760px; margin: -44px auto 0; position: relative;
  background: #fff; border-radius: 28px; padding: 30px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.contact-card h2 { font-size: 22px; letter-spacing: -0.02em; }
.contact-card p { margin-top: 4px; color: var(--muted-2); }
.contact-card .pill-btn { font-size: 16px; }
.contact-card .pill-btn__icon svg { width: 16px; height: 16px; }
.support-faq { padding-top: 88px; }
.support-faq .faq__list { margin-top: 36px; }
.faq details ol, .faq details ul { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 6px; }

/* ── Waiting list dialog ──────────────── */
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.waitlist {
  width: min(440px, calc(100% - 32px));
  padding: 0; border: 0; border-radius: 28px;
  background: var(--surface); color: var(--ink-soft);
  box-shadow: 0 40px 80px -20px rgba(43, 20, 110, .45);
  overflow: visible;
}
.waitlist::backdrop {
  background: rgba(26, 26, 46, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.waitlist[open] { animation: pop-in .4s cubic-bezier(.2, .9, .3, 1.2); }
.waitlist[open]::backdrop { animation: fade-in .3s ease; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }

.waitlist__body { padding: 40px 32px 30px; text-align: center; }
.waitlist__body[hidden] { display: none; }
.waitlist__icon { margin: 0 auto 18px; border-radius: 16px; box-shadow: 0 12px 24px -10px rgba(107, 53, 217, .55); }
.waitlist__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--soft-purple); color: var(--primary);
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.waitlist__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }
.waitlist h2 { font-size: 30px; }
.waitlist__text { margin: 12px auto 24px; max-width: 340px; text-wrap: balance; }
.waitlist__form { display: grid; gap: 10px; }
.waitlist__form input[type="email"] {
  width: 100%; padding: 15px 18px;
  border: 1.5px solid var(--border); border-radius: var(--radius-btn);
  background: var(--surface-tint); color: var(--ink);
  font: 500 16px var(--font-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.waitlist__form input[type="email"]::placeholder { color: var(--muted); }
.waitlist__form input[type="email"]:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 97, 255, .15);
}
.waitlist__form input[aria-invalid="true"] { border-color: var(--danger); }
.waitlist__submit {
  width: 100%; padding: 15px 18px; border: 0; border-radius: var(--radius-btn);
  background: var(--primary); color: #fff; cursor: pointer;
  font: 700 16px var(--font-body);
  box-shadow: 0 10px 22px -10px rgba(123, 97, 255, .8);
  transition: background .2s, transform .2s;
}
.waitlist__submit:hover { background: var(--primary-deep); }
.waitlist__submit:active { transform: scale(.98); }
.waitlist__submit:disabled { opacity: .7; cursor: progress; }
.waitlist__error { color: #E53935; font-size: 14px; }
.waitlist__fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.waitlist__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface-tint); color: var(--muted-2);
  transition: background .2s, color .2s;
}
.waitlist__close:hover { background: var(--soft-purple); color: var(--ink); }
.waitlist__check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--success); box-shadow: 0 0 0 8px #F0FFF4;
  animation: pop-in .5s cubic-bezier(.2, .9, .3, 1.3);
}
.waitlist [data-state="done"] .waitlist__submit { margin-top: 4px; }

/* ── Reveal on scroll (only when JS is on) ─ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .feature--flip .feature__copy { order: 0; }
  .feature__copy > p:not(.kicker) { margin-inline: auto; }
  .ticks { justify-items: center; }
  .steps {
    display: flex; gap: 16px; margin: 48px -24px 0; padding: 0 24px 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(76%, 300px); scroll-snap-align: center; }
  .steps__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .steps__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--soft-purple); transition: width .3s, background .3s; }
  .steps__dots i.on { width: 22px; background: var(--primary); }
}
@media (max-width: 640px) {
  .nav { top: 12px; padding: 0 12px; }
  .hero__top { padding: 120px 16px 160px; }
  .hero__media { margin-top: -110px; padding: 0; }
  .hero__video {
    width: 150%; max-width: none; margin-left: -25%;
  }
  .section, .cta { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 96px; }
  .features { padding: 80px 16px; border-radius: 32px 32px 0 0; margin-top: 100px; }
  .feature + .feature { margin-top: 96px; }
  #features { padding-top: 24px; }
  .feature, .feature--flip { gap: 40px; }
  .phone { width: 230px; border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 31px; }
  .phone--sm { width: 210px; }
  .steps { margin-inline: -16px; padding-inline: 16px; }
  .float-chip { font-size: 13px; }
  .float-chip--a { left: -4px; }
  .float-chip--b { right: -4px; }
  .cta__inner { padding: 56px 20px; border-radius: 28px; }
  .footer { padding: 48px 16px 40px; }
  .page-hero { padding: 120px 16px 72px; border-radius: 0 0 28px 28px; }
  .legal { padding: 48px 16px 0; }
  .legal__summary { padding: 22px 20px; }
  .contact-card { margin: -36px 16px 0; padding: 24px 20px; }
  .contact-card .pill-btn { width: 100%; justify-content: space-between; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

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