/* LYORA — lyora.beauty
   One stylesheet for every page (EN + AR). Tokens mirror the app
   (lib/core/constants/app_colors.dart): rose #C8336B, ink #1A1A1A.
   Motion lives in assets/motion.js; every animated element is fully
   visible at rest — starting states apply only under html.motion. */

:root {
  --bg: #fbf9f7;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #5c5753;      /* 6.7:1 on --bg */
  --ink-3: #6b6560;      /* 5.4:1 on --bg — small print */
  --line: #ebe5df;
  --rose: #c8336b;       /* 4.9:1 on white */
  --rose-ink: #a3214f;
  --rose-soft: #f6e8ee;
  --blush: #f2d5df;
  --sand: #efe7dd;
  --sage: #4f7a5a;
  --sage-soft: #e6f0e9;
  --dark: #171515;
  --dark-2: #b9b1ab;     /* 7.9:1 on --dark */
  --dark-line: #332d2b;
  --rose-light: #f0a7c2;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
:root:lang(ar) {
  --serif: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  --sans: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(ar) body { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; }
::selection { background: var(--blush); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 80;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* ── Type ─────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1.2 var(--sans); letter-spacing: .16em;
  text-transform: uppercase; color: var(--rose-ink); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 14px; }
.h1 { font-size: clamp(46px, 7vw, 92px); line-height: .98; }
:lang(ar) .h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.3; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
:lang(ar) .h2 { font-size: clamp(30px, 3.9vw, 48px); line-height: 1.4; }
.h3 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.12; }
:lang(ar) .h3 { line-height: 1.5; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
em.accent { font-style: italic; color: var(--rose); }
:lang(ar) em.accent { font-style: normal; }
.line { display: block; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: #b02a5c; }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .6; cursor: default; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-lg svg { transition: transform .4s var(--ease-out); }
.btn-lg:hover svg { transform: translateX(3px); }
:dir(rtl) .btn-lg svg { transform: scaleX(-1); }
:dir(rtl) .btn-lg:hover svg { transform: scaleX(-1) translateX(3px); }
/* "Coming soon" chip: the app isn't in the stores yet */
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 14px/1.2 var(--sans); color: var(--ink-2); }
.soon i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); animation: soon-pulse 2.4s var(--ease-out) infinite; }
@keyframes soon-pulse { 0% { box-shadow: 0 0 0 0 rgba(200,51,107,.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(200,51,107,0); } }
@media (prefers-reduced-motion: reduce) { .soon i { animation: none; } }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1ebe6; }
.store { min-height: 56px; padding: 0 22px 0 18px; border-radius: 14px; gap: 12px; text-align: start; }
.store small { display: block; font-size: 11px; opacity: .8; letter-spacing: .02em; margin-bottom: 3px; }
.store b { display: block; font-size: 17px; font-weight: 600; line-height: 1; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--rose); }

/* ── Intro curtain (built by motion.js, once per session) ─────────────── */
.intro-curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--dark); color: #f4efea;
  display: grid; place-items: center;
}
.intro-mark { width: min(420px, 72vw); direction: ltr; }
.intro-mark img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.intro-line { position: absolute; left: 50%; bottom: 22%; width: min(240px, 50vw); height: 1px; background: rgba(255,255,255,.18); transform: translateX(-50%); overflow: hidden; }
.intro-line b { display: block; height: 100%; width: 100%; background: var(--rose-light); transform-origin: left; transform: scaleX(0); }
.intro-tag { position: absolute; bottom: calc(22% - 34px); left: 0; right: 0; text-align: center; font: 500 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--dark-2); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, transform .45s var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.wordmark {
  display: inline-flex; align-items: center; flex: none; width: 128px; text-decoration: none;
  margin-inline-end: auto; direction: ltr;
}
.wordmark img { display: block; width: 100%; height: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 10px 0; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: var(--rose);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
:dir(rtl) .nav-links a::after { transform-origin: left; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
:dir(rtl) .nav-links a:hover::after { transform-origin: right; }
.nav .lang { font-size: 15px; text-decoration: none; color: var(--ink-2); padding: 10px 2px; }
.nav .lang:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; }
.nav-links .lang-mobile { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav .lang-desktop { display: none; }
  .nav { gap: 14px; }
  .menu-btn {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; color: var(--ink);
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; inset-inline: 0; top: 70px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
  }
  .site-header.open .nav-links .lang-mobile { display: block; }
  .site-header.open .nav-links a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-header.open .nav-links a::after { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lede { margin: 28px 0 34px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.hero h1 .line { overflow: clip; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Live demo phone — the booking flow plays inside it (motion.js) */
.stage { position: relative; display: grid; place-items: center end; padding-inline-end: 2%; min-height: 620px; perspective: 1400px; }
.demo-phone {
  position: relative; width: 300px; max-width: 78vw; aspect-ratio: 402 / 874;
  background: #0f0f10; border-radius: 48px; padding: 10px;
  box-shadow: 0 1px 0 #2b2b2b inset, 0 50px 90px -34px rgba(70, 20, 40, .45), 0 18px 36px -18px rgba(40, 18, 28, .3);
  transform-style: preserve-3d; will-change: transform;
}
.demo {
  position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #fafafa;
  color: #1a1a1a; font-family: "DM Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; font-size: 11px; line-height: 1.35;
  padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 12px;
}
.demo::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 31%; height: 25px; border-radius: 20px; background: #0f0f10; z-index: 3; }
.d-status { position: absolute; top: 15px; inset-inline-start: 26px; font: 600 11px/1 "DM Sans", sans-serif; direction: ltr; }
.d-top { display: flex; align-items: center; gap: 10px; }
.d-ava { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.d-top b { display: block; font: 500 17px/1.1 "Cormorant Garamond", "Noto Naskh Arabic", serif; }
.d-top small { color: #6b6560; font-size: 10.5px; }
.d-verified { width: 13px; height: 13px; display: inline-block; vertical-align: -1px; margin-inline-start: 3px; color: var(--rose); }
.d-label { font: 600 9.5px/1 "DM Sans", "IBM Plex Sans Arabic", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6b6560; }
:lang(ar) .d-label { letter-spacing: 0; font-size: 10.5px; }
.d-service { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #fff; border: 1.5px solid var(--rose); border-radius: 12px; }
.d-service b { font-weight: 600; }
.d-service span { font: 500 15px/1 "Cormorant Garamond", serif; direction: ltr; }
.d-dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.d-date { background: #fff; border: 1px solid #ece7e2; border-radius: 12px; padding: 7px 0; text-align: center; transition: background-color .3s, color .3s, border-color .3s; }
.d-date small { display: block; font-size: 8.5px; letter-spacing: .06em; color: #8a837d; text-transform: uppercase; }
.d-date b { display: block; font: 500 16px/1.1 "Cormorant Garamond", serif; }
.d-date.on { background: var(--rose); border-color: var(--rose); color: #fff; }
.d-date.on small { color: rgba(255,255,255,.8); }
.d-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.d-slot { background: #fff; border: 1px solid #ece7e2; border-radius: 9px; padding: 7px 0; text-align: center; font-weight: 500; direction: ltr; transition: background-color .3s, color .3s, border-color .3s; }
.d-slot.taken { background: #f2f0ec; color: #b3aca6; text-decoration: line-through; }
.d-slot.on { background: var(--rose); border-color: var(--rose); color: #fff; }
.d-policy { display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 11px; background: #fff; border: 1px solid #ece7e2; color: #5c5753; font-size: 10px; transition: border-color .3s, background-color .3s; }
.d-policy svg { width: 14px; height: 14px; flex: none; color: var(--rose); margin-top: 1px; }
.d-policy.on { border-color: var(--rose); background: var(--rose-soft); }
.d-total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; color: #6b6560; font-size: 10px; }
.d-total b { font: 500 20px/1 "Cormorant Garamond", serif; color: #1a1a1a; direction: ltr; }
.d-cta { position: relative; height: 44px; border-radius: 14px; background: #1a1a1a; color: #fff; overflow: hidden; display: grid; place-items: center; font: 600 12.5px/1 "DM Sans", "IBM Plex Sans Arabic", sans-serif; transition: background-color .35s; }
.d-cta span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; }
.d-cta .s1, .d-cta .s2 { opacity: 0; }
.d-cta svg { width: 16px; height: 16px; }
.d-cta .check path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.d-cta.ok { background: var(--sage); }
.d-cta .bar { position: absolute; inset: auto 0 0 0; height: 2px; background: var(--rose-light); transform: scaleX(0); transform-origin: left; }
.d-finger {
  position: absolute; width: 34px; height: 34px; border-radius: 50%; z-index: 4; pointer-events: none;
  background: rgba(26, 26, 26, .16); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 6px 16px rgba(0,0,0,.18);
  top: 0; left: 0; opacity: 0; transform: translate(-50%, -50%);
}
.d-finger .ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0; }
/* Floating cards around the phone */
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px;
  box-shadow: 0 24px 50px -24px rgba(60, 25, 40, .35); font-size: 13.5px; line-height: 1.3; white-space: nowrap;
}
.float b { display: block; font-weight: 600; font-size: 14px; }
.float small { color: var(--ink-3); font-size: 12px; }
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 18px; height: 18px; }
.float.toast { inset-inline-start: 0; top: 44%; }
.float.toast .ic { background: var(--sage-soft); color: var(--sage); }
.float.chip-a { inset-inline-start: 4%; top: 17%; }
.float.chip-a .ic { background: var(--rose-soft); color: var(--rose-ink); }
.float.chip-b { inset-inline-start: 8%; bottom: 13%; }
.float.chip-b .ic { background: var(--sand); color: #7a5b3a; }
@media (max-width: 1100px) { .float.chip-a { inset-inline-start: 0; } .float.chip-b { inset-inline-start: 2%; } .float.toast { inset-inline-start: -2%; } }
@media (max-width: 900px) {
  .stage { place-items: center; padding-inline-end: 0; min-height: 600px; margin-top: 10px; }
  .float.chip-a { inset-inline-start: max(0px, calc(50% - 360px)); top: 20%; }
  .float.chip-b { inset-inline-start: auto; inset-inline-end: max(0px, calc(50% - 360px)); bottom: 16%; }
  .float.toast { inset-inline-start: auto; inset-inline-end: max(0px, calc(50% - 360px)); top: 42%; }
}
@media (max-width: 640px) {
  .stage { min-height: 540px; }
  .float { font-size: 12px; padding: 9px 11px; }
  .float b { font-size: 12.5px; }
  .float.chip-a, .float.chip-b { display: none; }
  .float.toast { top: 3%; inset-inline-end: 0; }
}

/* ── Marquee ──────────────────────────────────────────────────────────── */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 0; flex: none; }
.marquee-item { font: 500 clamp(34px, 5vw, 64px)/1 var(--serif); padding-inline: .45em; white-space: nowrap; }
.marquee-item:nth-child(4n+3) { font-style: italic; color: var(--rose); }
:lang(ar) .marquee-item:nth-child(4n+3) { font-style: normal; }
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); flex: none; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lede { margin-top: 20px; }

/* ── Story: sticky phone, steps scroll past (clients) ─────────────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.steps { position: relative; padding-inline-start: 34px; }
.steps-rail { position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.steps-rail b { position: absolute; inset: 0; background: var(--rose); border-radius: 2px; transform-origin: top; transform: scaleY(0); }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.step:first-of-type { min-height: 56vh; justify-content: flex-start; padding-top: 12vh; }
.step:last-of-type { min-height: 60vh; }
.step-n { font: 500 14px/1 var(--sans); color: var(--rose-ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--ink-2); max-width: 30em; }
.step .inline-shot { display: none; }
.story-phone { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.story-phone .phone { height: min(72vh, 640px); width: auto; aspect-ratio: 402 / 874; }
.shots { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fafafa; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shots .shot-glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.shots::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 31%; height: 26px; border-radius: 20px; background: #0f0f10; z-index: 3; }
.phone { background: #0f0f10; border-radius: 48px; padding: 10px; box-shadow: 0 1px 0 #2a2a2a inset, 0 40px 80px -30px rgba(40, 18, 28, .38), 0 18px 36px -18px rgba(40, 18, 28, .25); }
.phone .screen { position: relative; border-radius: 38px; overflow: hidden; background: #fafafa; aspect-ratio: 402 / 874; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 31%; height: 26px; border-radius: 20px; background: #0f0f10; z-index: 1; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .steps { padding-inline-start: 26px; }
  .step, .step:first-of-type, .step:last-of-type { min-height: 0; padding: 0 0 56px; }
  .step .inline-shot { display: block; margin-top: 26px; width: min(250px, 72%); }
}

/* ── Artists (dark) ───────────────────────────────────────────────────── */
.dark { background: var(--dark); color: #f4efea; }
.dark .eyebrow { color: var(--rose-light); }
.dark .lede, .dark p { color: var(--dark-2); }
.dark em.accent { color: var(--rose-light); }
.dark .link-arrow:hover { color: var(--rose-light); }

/* Link → week: bookings fly from her bio link into her calendar */
.flow-stage .section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.flow { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding: 8px 0; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.flow-svg path { fill: none; stroke: var(--rose-light); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .5; }
.ig { background: #211d1c; border: 1px solid var(--dark-line); border-radius: 24px; padding: 24px; position: relative; z-index: 2; }
.ig-top { display: flex; gap: 16px; align-items: center; }
.ig-top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--rose-light); outline-offset: 3px; }
.ig-name { font-weight: 600; color: #fff; }
.ig-handle { color: var(--dark-2); font-size: 14px; direction: ltr; unicode-bidi: isolate; }
.ig-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ig-tags span { font-size: 12.5px; color: #e9e3de; border: 1px solid var(--dark-line); border-radius: 999px; padding: 5px 11px; }
.ig-bio { margin: 16px 0 14px; font-size: 14.5px; color: #e9e3de; line-height: 1.5; }
.ig-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  background: var(--rose); color: #fff; font: 600 14px/1 var(--sans); direction: ltr; position: relative;
}
.ig-link svg { width: 15px; height: 15px; }
.ig-link::after { content: ""; position: absolute; inset: -6px; border-radius: 16px; border: 1px solid var(--rose-light); opacity: 0; }
.week { background: #211d1c; border: 1px solid var(--dark-line); border-radius: 24px; padding: 20px; position: relative; z-index: 2; }
.week-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.week-head b { font: 500 22px/1.1 var(--serif); color: #fff; }
.week-count { font-size: 13.5px; color: var(--dark-2); white-space: nowrap; }
.week-count b { font: 600 15px/1 var(--sans); color: var(--rose-light); font-variant-numeric: tabular-nums; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-day { text-align: center; font: 600 10.5px/1 var(--sans); letter-spacing: .08em; color: var(--dark-2); padding-bottom: 6px; text-transform: uppercase; }
:lang(ar) .week-day { letter-spacing: 0; font-size: 11.5px; }
.cell { height: 44px; border-radius: 9px; background: #2a2524; position: relative; }
.cell.busy { background: repeating-linear-gradient(135deg, #2a2524 0 6px, #312b29 6px 12px); }
.cell.walkin { background: #4a3f3a; }
.cell.walkin::after { content: attr(data-l); position: absolute; inset: 0; display: grid; place-items: center; font: 600 10px/1 var(--sans); color: #e8dfd8; }
.cell.filled { background: var(--rose); }
.token {
  position: absolute; z-index: 3; top: 0; left: 0; height: 30px; visibility: hidden; padding: 0 9px; border-radius: 8px;
  background: var(--rose); color: #fff; display: inline-flex; align-items: center; gap: 6px;
  font: 600 11px/1 var(--sans); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(200, 51, 107, .7);
  direction: ltr;
}
.token i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-style: normal; font-size: 9.5px; }
.week-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--dark-2); }
.week-legend span { display: inline-flex; align-items: center; gap: 7px; }
.week-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.flow-caption { margin-top: 26px; text-align: center; color: var(--dark-2); }
.flow-caption b { color: #fff; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 70px; }
  .cell { height: 30px; }
}

/* Artist tools: three real screens, gentle parallax */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(80px, 10vw, 130px); }
.tool { display: grid; gap: 22px; align-content: start; }
.tool .phone { width: min(250px, 100%); margin-inline: auto; }
.tool h3 { font-size: clamp(22px, 2.1vw, 27px); color: #fff; }
.tool p { font-size: 15.5px; margin: 0; }
.tool:nth-child(2) { margin-top: 70px; }
@media (max-width: 860px) {
  .tools { grid-template-columns: 1fr; gap: 64px; }
  .tool:nth-child(2) { margin-top: 0; }
}

/* Pricing with rolling digits */
.pricing {
  margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden;
}
.pricing > div { background: var(--dark); padding: 32px 28px 34px; }
.big { font: 500 clamp(52px, 6vw, 76px)/1 "Cormorant Garamond", serif; font-variant-numeric: lining-nums tabular-nums; color: #fff; margin-bottom: 14px; display: flex; align-items: flex-end; direction: ltr; unicode-bidi: isolate; height: 1em; }
:dir(rtl) .big { justify-content: flex-end; }
.big .unit { font-size: .5em; margin-inline-start: .12em; line-height: 1.4; color: var(--rose-light); }
:lang(ar) .big .unit { font-family: var(--serif); }
.big .unit.pre { margin-inline: 0 .25em; }
:lang(ar) .store small, :lang(ar) .intro-tag, :lang(ar) .d-date small { letter-spacing: 0; }
.odo { display: inline-flex; align-items: flex-start; height: 1em; overflow: hidden; line-height: 1; }
.odo-col { display: inline-block; vertical-align: top; }
.odo-col > span { display: block; height: 1em; line-height: 1; overflow: hidden; text-align: center; }
.pricing h3 { font: 600 16px/1.4 var(--sans); color: #fff; margin-bottom: 8px; letter-spacing: 0; }
.pricing p { font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.dark .cta-row { margin-top: 40px; }

/* ── Salons ───────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cards { display: grid; gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 16px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(60, 25, 40, .35); }
.card svg { width: 22px; height: 22px; flex: none; color: var(--rose); margin-top: 3px; }
.card h3 { font: 600 16.5px/1.4 var(--sans); letter-spacing: 0; margin-bottom: 4px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ── Trust: cards stack as you scroll ─────────────────────────────────── */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.stack { display: grid; gap: 22px; max-width: 860px; margin-inline: auto; }
.stack-card {
  --tint: var(--bg);
  position: sticky; top: calc(110px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  background: var(--tint); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(60, 25, 40, .35); transform-origin: center top;
}
.stack-card h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.stack-card p { color: var(--ink-2); margin: 0; max-width: 34em; }
.stack-card .num { font: 500 15px/1 var(--sans); color: var(--rose-ink); font-variant-numeric: tabular-nums; }
.icon-chip {
  width: 56px; height: 56px; border-radius: 16px; background: var(--rose-soft); color: var(--rose-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-chip svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .stack-card { position: relative; top: 0; grid-template-columns: 1fr; gap: 16px; }
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 18px;
  font: 500 18.5px/1.45 var(--sans); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 22px; height: 22px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .answer p { color: var(--ink-2); margin: -6px 0 24px; max-width: 46em; }

/* ── Download ─────────────────────────────────────────────────────────── */
.download { text-align: center; }
.download .h2 { max-width: 14ch; margin: 0 auto; }
:lang(ar) .download .h2 { max-width: 18ch; }
.download .lede { margin: 20px auto 34px; }
.download .cta-row { justify-content: center; }
.notify {
  margin: 56px auto 0; max-width: 560px; text-align: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.notify h3 { font: 600 17px/1.4 var(--sans); letter-spacing: 0; margin-bottom: 4px; }
.notify > p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); font: inherit; font-size: 16px; color: var(--ink);
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--rose); outline-offset: 1px; }
.notify .btn { width: 100%; margin-top: 14px; }
.form-note { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); font-weight: 500; }
.form-status.show { display: block; }
.form-status.err { background: #fbe9ef; color: var(--rose-ink); }
.form-status.err a { color: inherit; font-weight: 600; }
.field label small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin-inline-start: 6px; }
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.check { display: flex; align-items: center; gap: 10px; align-self: end; min-height: 48px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--rose); }
.notify .form-row + .form-row { margin-top: 12px; }
.download .soon { margin-bottom: 24px; }
/* Honeypot: clipped in place — an off-screen `left` would make RTL pages scroll sideways. */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 36px; font-size: 14.5px; color: var(--ink-2); overflow: clip; }
.site-footer a { text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 36px clamp(24px, 4vw, 56px); }
.foot-brand .wordmark { width: 144px; }
.foot-brand p { margin: 14px 0 20px; max-width: 32ch; }
.foot-h { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 16px; }
:lang(ar) .foot-h { letter-spacing: 0; font-size: 13px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.foot-col a { position: relative; color: var(--ink-2); transition: color .25s; }
.foot-col a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.foot-col a:hover { color: var(--ink); }
.foot-col a:hover::after { transform: scaleX(1); transform-origin: left; }
:dir(rtl) .foot-col a::after { transform-origin: left; }
:dir(rtl) .foot-col a:hover::after { transform-origin: right; }
.social[hidden] { display: none; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot-bottom a { color: var(--ink-2); }
.foot-bottom a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
/* Approved Fold lockup; animate the artwork as a unit to preserve its lettering. */
.giant { margin: 6px 0 40px; direction: ltr; user-select: none; -webkit-user-select: none; }
.giant-logo { display: block; width: min(100%, 920px); height: auto; margin-inline: auto; }

/* WhatsApp chat button (all pages). Hidden until motion.js arms it and the visitor scrolls
   past the hero; without JS it fades in after 3 s via the keyframe fallback. */
.wa-fab {
  position: fixed; inset-inline-end: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 45;
  display: flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 6px 18px; border-radius: 999px;
  background: #171515; color: #fff; text-decoration: none; font: 600 14.5px/1 var(--sans);
  box-shadow: 0 18px 40px -16px rgba(23,21,21,.6);
  opacity: 0; visibility: hidden; transform: translateY(calc(100% + 32px)) scale(.9);
  transition: transform .8s var(--ease-out), opacity .45s var(--ease), visibility 0s .8s, box-shadow .3s;
  animation: wa-fallback 0s 3s forwards;
}
@keyframes wa-fallback { to { opacity: 1; visibility: visible; transform: none; } }
.wa-fab.armed { animation: none; }
.wa-fab.armed.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa-fab.armed.show:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(23,21,21,.7); }
.wa-fab:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.wa-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
.wa-ic svg { width: 24px; height: 24px; }
.wa-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; pointer-events: none; }
.wa-fab.armed.show .wa-ic::after { animation: wa-ring 1.8s .6s var(--ease-out) 2; }
@keyframes wa-ring { from { transform: scale(1); opacity: .75; } to { transform: scale(1.75); opacity: 0; } }
@media (max-width: 640px) {
  .wa-fab { padding: 4px; background: #25d366; }
  .wa-ic { width: 50px; height: 50px; }
  .wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: opacity .2s, visibility 0s; }
  .wa-fab.armed.show .wa-ic::after { animation: none; }
}

/* ── Subpages: About, Our story, Terms ────────────────────────────────── */
.page-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); overflow: clip; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 85% at 88% 0%, #f6dde7 0%, rgba(246,221,231,0) 62%), radial-gradient(45% 70% at 0% 75%, #f3e6dc 0%, rgba(243,230,220,0) 70%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
:dir(rtl) .page-hero::before { background: radial-gradient(60% 85% at 12% 0%, #f6dde7 0%, rgba(246,221,231,0) 62%), radial-gradient(45% 70% at 100% 75%, #f3e6dc 0%, rgba(243,230,220,0) 70%); }
.page-hero .h1 { margin: 22px 0 28px; max-width: 14ch; }
.page-hero h1 .line { overflow: clip; padding-bottom: .06em; }
.page-hero h1 .line > span { display: inline-block; }
.page-hero .lede { max-width: 38em; }
.chapters { display: grid; gap: clamp(64px, 9vw, 120px); }
.chapter { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.chapter-n { position: sticky; top: 104px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.chapter-n b { display: block; font: 500 clamp(44px, 5vw, 64px)/1 "Cormorant Garamond", serif; letter-spacing: 0; color: var(--ink); margin-bottom: 8px; }
:lang(ar) .chapter-n { letter-spacing: 0; font-size: 14px; }
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 22px; }
:lang(ar) .prose h2 { line-height: 1.4; }
.prose p { font-size: clamp(17px, 1.45vw, 19px); color: var(--ink-2); margin: 0 0 1.1em; }
.pull { margin: clamp(56px, 8vw, 96px) auto; max-width: 20ch; text-align: center; font: 500 clamp(36px, 5.2vw, 68px)/1.08 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
:lang(ar) .pull { line-height: 1.45; letter-spacing: 0; max-width: 18ch; }
.pull em { color: var(--rose); }
:lang(ar) .pull em { font-style: normal; }
.pull .w { display: inline-block; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.principle { background: var(--dark); padding: clamp(28px, 4vw, 48px); transition: background-color .5s var(--ease); }
.principle:hover { background: #211d1c; }
.principle .num { display: block; font: 500 15px/1 "Cormorant Garamond", serif; color: var(--rose-light); margin-bottom: 22px; }
.principle h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: #fff; margin-bottom: 12px; }
:lang(ar) .principle h3 { line-height: 1.45; }
.principle p { margin: 0; max-width: 34ch; }
.money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.money > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; background: #fff; }
.money b { display: block; font: 500 clamp(40px, 4.4vw, 56px)/1 "Cormorant Garamond", serif; color: var(--ink); margin-bottom: 12px; }
.money h3 { font: 600 16.5px/1.4 var(--sans); letter-spacing: 0; margin-bottom: 6px; }
.money p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.contact-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.contact-band .h2 { max-width: 16ch; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px 26px; margin: 34px 0 10px; }
.toc p { margin: 0 0 10px; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
:lang(ar) .toc p { letter-spacing: 0; font-size: 13px; }
.toc ol { margin: 0; padding-inline-start: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.legal .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); margin-top: 18px; }
.legal .part { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal .part > h2 { margin-top: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); }
.legal .part-note { color: var(--ink-2); }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; gap: 14px; }
  .chapter-n { position: static; }
  .principles, .money { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}

/* ── Motion-only states (html.motion is set by motion.js) ─────────────── */
.js-motion .hero-copy > *, .js-motion .demo-phone, .js-motion .stage .float, .js-motion .page-hero .wrap > * { opacity: 0; }
@media (min-width: 861px) {
  .motion .steps.story-on .step { opacity: .26; transition: opacity .6s var(--ease); }
  .motion .steps.story-on .step.active { opacity: 1; }
}

/* ── Legal pages ──────────────────────────────────────────────────────── */
.legal { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.legal .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; margin-bottom: 10px; }
.legal .updated, .legal .lead-meta { color: var(--ink-3); font-size: 14.5px; }
.legal h2 { font-family: var(--sans); font-weight: 600; font-size: 19px; letter-spacing: 0; margin: 40px 0 12px; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 16.5px; letter-spacing: 0; margin: 24px 0 8px; }
.legal p, .legal li { color: #3d3936; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--rose-ink); }
.legal section { scroll-margin-top: 90px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .h1 { margin-bottom: 16px; }

/* ══ Phone layout ═══════════════════════════════════════════════════════
   Swipe cards instead of long stacks, compact pricing and trust, and a
   bottom dock (Join the waitlist + WhatsApp) in place of the floating button. */
.dots { display: none; }
.dock { display: none; }
@media (max-width: 860px) {
  /* Client steps + artist tools become swipeable cards */
  [data-carousel] {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel]:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: 8px; }
  .steps[data-carousel] { padding-inline-start: var(--gutter); }
  .steps-rail { display: none; }
  .steps[data-carousel] .step {
    flex: 0 0 min(84%, 400px); scroll-snap-align: start; min-height: 0; padding: 0 20px 24px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  }
  .steps[data-carousel] .step .inline-shot, .tools[data-carousel] .phone {
    order: -1; display: block; width: 196px; height: 300px; margin: 22px auto 22px; overflow: hidden;
    border-radius: 40px 40px 0 0; padding-bottom: 0;
    -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
  }
  .steps[data-carousel] .step .inline-shot .screen, .tools[data-carousel] .phone .screen { border-radius: 32px 32px 0 0; }
  .steps[data-carousel] .step h3 { font-size: 25px; margin-bottom: 8px; }
  .steps[data-carousel] .step p { font-size: 15.5px; margin: 0; }
  .steps[data-carousel] .step-n { margin-bottom: 8px; }
  .tools[data-carousel] { margin-top: 64px; }
  .tools[data-carousel] .tool {
    flex: 0 0 min(80%, 360px); scroll-snap-align: start; margin: 0; gap: 0; align-content: start;
    background: #1f1c1b; border: 1px solid var(--dark-line); border-radius: 24px; padding: 0 20px 24px; overflow: hidden;
  }
  .tools[data-carousel] .tool h3 { font-size: 23px; margin-bottom: 8px; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .4s var(--ease-out), background-color .3s; cursor: pointer; }
  .dots span.on { width: 22px; background: var(--rose); }
  .dark .dots span { background: rgba(255,255,255,.18); }
  .dark .dots span.on { background: var(--rose-light); }
}
@media (max-width: 640px) {
  :root { --section: 68px; }
  /* Hero: headline, one clear button, then the live demo */
  .hero { padding-top: 22px; padding-bottom: 40px; }
  .hero .lede { font-size: 16.5px; margin: 18px 0 24px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .cta-row .btn-lg { width: 100%; }
  .hero .cta-row .soon { align-self: flex-start; }
  .hero-note { margin-top: 14px; }
  .stage { zoom: .86; min-height: 600px; margin-top: 4px; }
  .section-head { margin-bottom: 36px; }
  .section-head .lede { font-size: 16.5px; }
  /* Pricing: compact rows */
  .pricing { margin-top: 56px; }
  .pricing > div { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; padding: 20px 18px; align-items: start; }
  .pricing .big { grid-row: span 2; font-size: 46px; margin: 0; }
  .pricing h3, .pricing p { grid-column: 2; }
  .pricing h3 { margin-bottom: 4px; font-size: 15.5px; }
  .pricing p { font-size: 14.5px; }
  /* Trust: icon beside the text */
  .stack { gap: 12px; }
  .stack-card { grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: 20px; box-shadow: none; }
  .stack-card h3 { font-size: 23px; margin-bottom: 6px; }
  .stack-card p { font-size: 15px; }
  .icon-chip { width: 44px; height: 44px; border-radius: 12px; }
  .icon-chip svg { width: 22px; height: 22px; }
  .card { padding: 18px; }
  .faq summary { padding: 20px 0; }
  .notify { padding: 20px; margin-top: 40px; }
  .giant { margin-bottom: 28px; }
  /* Bottom dock replaces the floating WhatsApp button on phones */
  .wa-fab { display: none; }
  .dock {
    position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45;
    display: flex; gap: 8px; align-items: center; padding: 7px; border-radius: 999px;
    background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 20px 44px -18px rgba(23,21,21,.45);
    opacity: 0; visibility: hidden; transform: translateY(calc(100% + 24px));
    transition: transform .7s var(--ease-out), opacity .4s var(--ease), visibility 0s .7s;
    animation: wa-fallback 0s 3s forwards;
  }
  .dock.armed { animation: none; }
  .dock.armed.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .dock-cta { flex: 1; min-height: 50px; font-size: 15.5px; }
  .dock-wa { flex: none; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
  .dock-wa svg { width: 25px; height: 25px; }
  .dock-wa:focus-visible, .dock-cta:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .dock { transition: opacity .2s, visibility 0s; } }

@media (max-width: 380px) { .nav .wordmark { width: 100px; } .nav { gap: 10px; } .nav .btn { padding-inline: 12px; font-size: 13px; } }
