/*
 * Laropa.com — the public site: plain HTML/CSS/JS served from /public (see vercel.json).
 * Light pages with dark bands; Albert Sans only; black text on brand purple.
 */
@font-face { font-family: 'Albert Sans'; font-weight: 400; font-display: swap; src: url('/fonts/albert-sans/albert-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-weight: 500; font-display: swap; src: url('/fonts/albert-sans/albert-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-weight: 600; font-display: swap; src: url('/fonts/albert-sans/albert-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-weight: 700; font-display: swap; src: url('/fonts/albert-sans/albert-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-weight: 800; font-display: swap; src: url('/fonts/albert-sans/albert-sans-latin-800-normal.woff2') format('woff2'); }

/* Cyrillic and Arabic: IBM Plex, picked per character by unicode-range (same faces as src/index.css). */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans/ibm-plex-sans-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-sans/ibm-plex-sans-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans/ibm-plex-sans-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/ibm-plex-sans/ibm-plex-sans-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --ground: #F5F3F8;
  --surface: #FFFFFF;
  --ink: #15121C;
  --ink-2: #4A4455;
  --muted: #5E5869;
  --faint: #8A8396;
  --line: #E3DEEA;
  --line-2: #D9D3E2;
  --purple: #A76CFF;
  --purple-deep: #5B1FCC;
  --purple-wash: #F1EAFE;
  --night: #15121C;
  --night-card: #1C1824;
  --night-line: #2B2535;
  --night-text: #A9A2B6;
  --wrap: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: 'Albert Sans', 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: var(--purple-deep); }
a:hover { color: #3E1294; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-deep); }
.kicker--light { color: #CFC6F7; }
.h1 { font-size: clamp(44px, 6vw, 76px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); }
.stack { display: flex; flex-direction: column; }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.tag--dark { background: var(--ink); color: #fff; }
.tag--wash { background: var(--purple-wash); color: var(--purple-deep); }
.prototype-banner { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; }
.prototype-banner strong { color: #CFC6F7; }

/* ── Buttons (React Bits ideas, in CSS) ─────────────────────────────── */
@property --lrp-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lrp-spin { to { --lrp-a: 360deg; } }
@keyframes lrp-rotate { to { transform: rotate(360deg); } }
@keyframes lrp-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes lrp-shine { 0% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes lrp-spark { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 16px 26px; border: 1px solid transparent; cursor: pointer; }
.btn--purple { background: var(--purple); color: #000; }
.btn--purple:hover { color: #000; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn--light { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--light:hover { color: var(--ink); }
.btn--sm { font-size: 15px; padding: 12px 20px; }

/* Star Border: a light runs round the primary pill. */
.btn-star { position: relative; display: inline-flex; border-radius: 999px; padding: 2px; text-decoration: none; background: conic-gradient(from var(--lrp-a), #7E4BD6 0deg 290deg, #FFFFFF 320deg, #D9C2FF 335deg, #7E4BD6 360deg); animation: lrp-spin 3.4s linear infinite; }
.btn-star > span { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 10px; background: var(--purple); color: #000; border-radius: 999px; padding: 15px 25px; font-weight: 700; font-size: 17px; }
/* Glare Hover */
.btn-glare { position: relative; overflow: hidden; isolation: isolate; }
.btn-glare::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(167,108,255,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s cubic-bezier(.16,1,.3,1); }
.btn-glare:hover::after { transform: translateX(120%); }
/* Specular (glass) */
.btn-specular { color: #fff; border-color: rgba(255,255,255,.32); background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.22) 45%, rgba(255,255,255,.06) 60%) 0 0 / 250% 100%; transition: background-position .9s cubic-bezier(.16,1,.3,1), border-color .3s; }
.btn-specular:hover { color: #fff; background-position: 100% 0; border-color: rgba(255,255,255,.6); }
/* Magnet (JS moves it; CSS eases it) */
.btn-magnet { transition: transform .35s cubic-bezier(.16,1,.3,1); }
/* Click Spark */
.btn-spark { position: relative; }
.btn-spark::after { content: ''; position: absolute; inset: -14px; border-radius: 999px; border: 2px dashed var(--purple); opacity: 0; pointer-events: none; }
.btn-spark.is-sparking::after { animation: lrp-spark .5s ease-out; }
/* Shiny text */
.shiny { background: linear-gradient(100deg, var(--purple-deep) 40%, #C9A6FF 50%, var(--purple-deep) 60%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lrp-shine 3.2s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-star, .lrp-ring, .lrp-pulse, .shiny, .logo-tile::before { animation: none !important; }
  .btn-glare::after, .btn-specular, .btn-magnet { transition: none; }
}

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,243,248,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; gap: 26px; flex-grow: 1; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--purple-deep); font-weight: 700; }
.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.langs span { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.langs span[aria-current] { background: var(--ink); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 480px; min-width: 0; gap: 26px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--ink-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; display: flex; justify-content: center; }
.arch { width: 100%; max-width: 460px; height: 560px; border-radius: 230px 230px 28px 28px; overflow: hidden; border: 1px solid #D4C6EC; background: #E9E1F6 url('/site/assets/hero-loop-poster.jpg') center / cover no-repeat; }
/* The still frame sits behind the video, so the arch is never empty while it loads or if a phone won't autoplay. */
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: 0; bottom: 64px; width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 18px 40px rgba(21,18,28,.12); gap: 10px; }
.float-card .bar { height: 6px; border-radius: 999px; background: #EFEAF6; }
.float-card .bar > span { display: block; width: 62%; height: 6px; border-radius: 999px; background: var(--purple); }
.hang-tag { position: absolute; right: 8px; top: 72px; background: var(--ink); color: #fff; border-radius: 14px 14px 14px 4px; padding: 14px 16px; gap: 4px; box-shadow: 0 14px 30px rgba(21,18,28,.2); }
.hero-hint { display: none; }

/* ── Visit band ─────────────────────────────────────────────────────── */
.band-dark { background: var(--night); color: #EDE9F3; }
.band-dark .h2 { color: #fff; }
.visit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.moment { padding: 26px 22px; border: 1px solid var(--night-line); border-radius: 22px; background: var(--night-card); gap: 14px; }
.moment h3 { font-size: 21px; color: #fff; }
.moment p { font-size: 15px; line-height: 1.55; color: var(--night-text); }
.num-tag { align-self: flex-start; background: var(--purple); color: #000; font-weight: 800; font-size: 14px; border-radius: 8px 8px 8px 2px; padding: 6px 10px; }

/* ── Money ──────────────────────────────────────────────────────────── */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.receipt { max-width: 440px; margin: 0 auto; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 24px 48px rgba(21,18,28,.08); gap: 14px; font-variant-numeric: tabular-nums; }
.row { display: flex; justify-content: space-between; font-size: 16px; color: var(--ink-2); }
.row--top { padding-top: 10px; border-top: 1px solid #EFEAF6; }
.row--total { align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--ink); }
.row--total .amount { font-size: 28px; font-weight: 800; color: var(--purple-deep); }

/* ── Partner logos ──────────────────────────────────────────────────── */
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.logo-tile { position: relative; isolation: isolate; height: 128px; border: 1px dashed #CFC6DC; border-radius: 20px; background: #FBFAFD; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--faint); font-weight: 700; font-size: 15px; }
.logo-tile small { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ── Film band ──────────────────────────────────────────────────────── */
.film { position: relative; overflow: hidden; background: var(--night); }
.film > img { width: 100%; height: 620px; object-fit: cover; opacity: .9; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,18,28,.9) 0%, rgba(21,18,28,.6) 42%, rgba(21,18,28,.15) 72%); }
.film-inner { position: absolute; inset: 0; display: flex; align-items: center; }
.film-inner .wrap { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.film-inner p { font-size: 18px; line-height: 1.55; color: #E3DDEB; margin-top: 16px; max-width: 520px; }
.play { position: relative; width: 196px; height: 196px; border: none; background: transparent; padding: 0; cursor: pointer; flex: none; margin-right: 6%; }
.play svg.lrp-ring { position: absolute; inset: 0; animation: lrp-rotate 16s linear infinite; }
.play .disc, .play .lrp-pulse { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--purple); display: flex; align-items: center; justify-content: center; }
.play .lrp-pulse { animation: lrp-pulse 2.2s cubic-bezier(.16,1,.3,1) infinite; }

/* ── FAQ / early access / footer ────────────────────────────────────── */
.faq { max-width: 960px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-size: 19px; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cta-card { background: var(--purple); border-radius: 32px; padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; color: #000; }
.cta-card form { flex: 1 1 380px; display: flex; flex-wrap: wrap; gap: 10px; }
.cta-card input { flex: 1 1 220px; min-width: 0; border: none; border-radius: 999px; padding: 18px 22px; font: inherit; font-size: 16px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols strong { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.foot-cols a { color: var(--ink); text-decoration: none; }

/* ── Cards used on several pages ────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; gap: 14px; }
.card h3 { font-size: 22px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ── How it works ───────────────────────────────────────────────────── */
.sim { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.sim-steps { flex: 1 1 420px; min-width: 0; gap: 10px; }
.step-btn { display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 18px 20px; border-radius: 18px; cursor: pointer; font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; text-align: left; }
.step-btn .n { flex: none; width: 36px; height: 36px; border-radius: 10px 10px 10px 3px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; background: #EBE6F1; color: var(--ink-2); }
.step-btn strong { font-size: 18px; display: block; margin-bottom: 4px; }
.step-btn span.b { font-size: 15px; line-height: 1.5; color: var(--muted); }
.step-btn[aria-current="step"] { background: var(--surface); border-color: #D4C6EC; box-shadow: 0 10px 24px rgba(21,18,28,.08); }
.step-btn[aria-current="step"] .n { background: var(--purple); color: #000; }
.sim-nav { display: flex; gap: 10px; margin-top: 12px; }
.phone { flex: 0 1 380px; min-width: 0; margin: 0 auto; width: 360px; max-width: 100%; height: 720px; background: var(--night); border-radius: 48px; padding: 12px; box-shadow: 0 30px 60px rgba(21,18,28,.25); }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 38px; overflow: hidden; display: flex; flex-direction: column; }
.phone-top { padding: 26px 22px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #EFEAF6; }
.screen { display: none; flex-grow: 1; padding: 22px; flex-direction: column; gap: 14px; }
.screen.is-on { display: flex; }
.ph { border-radius: 16px; background: #EFEAF6; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; font-weight: 600; }
.toggle { width: 44px; height: 26px; border-radius: 999px; background: var(--purple); position: relative; display: inline-block; }
.toggle::after { content: ''; position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.slot { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; font-weight: 700; }
.slot span { display: block; font-weight: 500; color: var(--ink-2); }
.slot--on { border: 2px solid var(--purple); background: #F7F2FF; }
.code { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.code span { width: 56px; height: 72px; border-radius: 14px; background: var(--night); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.item-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.pill-keep { font-size: 13px; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 12px; }
.pill-return { font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; }
.step-progress { display: none; }

/* ── Stores ─────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.store-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; gap: 12px; }
.store-card .ph { height: 240px; border-radius: 120px 120px 14px 14px; }
.recruit { background: var(--night); color: #fff; border-radius: 22px; padding: 28px; min-height: 320px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.recruit:hover { color: #fff; }

/* ── Interaction kit ────────────────────────────────────────────────── */
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kit-card { gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.kit-card--dark { background: var(--night); border-color: var(--night); color: #fff; }
.kit-stage { min-height: 140px; display: flex; align-items: center; justify-content: center; border-radius: 16px; }
.kit-card small { font-size: 14px; color: var(--muted); line-height: 1.5; }
.kit-card--dark small { color: var(--night-text); }

/* ── Tablet ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  /* Below 1080 px the full menu no longer fits on one line: use the menu button. */
  .nav, .langs { display: none; }
  .menu-btn { display: inline-flex; }
  .logo { flex-grow: 1; }
  .site-header .wrap { gap: 12px; }
  .mobile-menu.is-open { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 18px; border-bottom: 1px solid var(--line); }
  .mobile-menu a { padding: 12px 0; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .store-grid, .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Phone ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .site-header .btn-header { display: none; }
  .site-header .wrap { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .logo img { height: 22px; }

  /* Hero: words, then the clip, then the buttons — the main button on the first screen. */
  .hero .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-top: 24px; padding-bottom: 40px; }
  .hero-text, .hero-media { display: contents; }
  .hero-eyebrow { order: 1; font-size: 13px; }
  .hero-text .h1 { order: 2; font-size: 44px; }
  .hero-lead-long { display: none; }
  .hero-hint { display: block; order: 3; font-size: 18px; line-height: 1.45; color: var(--ink-2); }
  .hero-media-inner { order: 4; position: relative; }
  .arch { max-width: none; height: 290px; border-radius: 179px 179px 22px 22px; }
  .hang-tag { display: none; }
  .float-card { left: 12px; right: 12px; bottom: 12px; width: auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px; }
  .float-card .bar { display: none; }
  .hero-ctas { order: 5; flex-direction: column; }
  .hero-ctas > * { width: 100%; }
  .checks { order: 6; flex-direction: column; }

  .visit-head { margin: 0 0 22px; }
  .moments { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .moment { flex: 0 0 280px; scroll-snap-align: start; }

  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-tile { height: 92px; }

  .film > img { height: 460px; object-position: 58% center; }
  .film-shade { background: linear-gradient(180deg, rgba(21,18,28,.88) 0%, rgba(21,18,28,.35) 55%, rgba(21,18,28,.75) 100%); }
  .film-inner { align-items: flex-start; padding-top: 36px; }
  .film-inner .wrap { flex-direction: column; text-align: center; gap: 22px; }
  .film-inner p { margin-left: auto; margin-right: auto; }
  .play { width: 168px; height: 168px; margin: 0; }

  .cta-card { padding: 30px 22px; border-radius: 24px; }
  .grid-3, .store-grid, .kit-grid { grid-template-columns: minmax(0, 1fr); }

  /* How it works: no phone inside a phone — the screen fills the width. */
  .sim { flex-direction: column; gap: 18px; }
  .sim > .sim-steps, .sim > .phone, .sim > .sim-nav { flex: none; width: 100%; }
  .sim-steps .step-btn { display: none; }
  .step-progress { display: flex; gap: 6px; }
  .step-progress button { flex: 1; height: 44px; padding: 18px 0; border: none; border-radius: 999px; background: var(--line); background-clip: content-box; cursor: pointer; }
  .step-progress button.is-done { background-color: var(--purple-deep); }
  .step-progress button[aria-current="step"] { background-color: var(--purple); }
  .sim-current { display: flex !important; }
  .phone { width: 100%; height: auto; background: none; padding: 0; box-shadow: none; border-radius: 0; }
  .phone-screen { border: 1px solid var(--line); border-radius: 24px; min-height: 470px; box-shadow: 0 16px 36px rgba(21,18,28,.08); }
  .phone-top { display: none; }
  .sim-nav { position: sticky; bottom: 0; background: rgba(245,243,248,.96); padding: 14px 0 18px; border-top: 1px solid var(--line); margin-top: 0; }
  .sim-nav .btn:last-child { flex: 1; }
}
.sim-current { display: none; flex-direction: column; gap: 6px; }
.hero-media-inner { position: relative; width: 100%; display: flex; justify-content: center; }

/* ── Film player: ported from the live site's FloatingStoryVideo modal ── */
:root { --ease-standard: cubic-bezier(.25,.4,.25,1); --laropa-purple: #A76CFF; --laropa-purple-hover: #B886FF; --laropa-bg: #0d0d0f; --shadow-glow-sm: 0 4px 24px rgba(167,108,255,.2); --shadow-glow-md: 0 8px 40px rgba(167,108,255,.22); --shadow-glow-lg: 0 16px 64px rgba(167,108,255,.26); }
.floating-story-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(3.5rem, 8vh, 5rem) clamp(1rem, 4vw, 2rem) clamp(1.25rem, 4vh, 2rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(167, 108, 255, 0.06), transparent 60%),
    rgba(6, 6, 9, 0.92);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  animation: fsm-fade-in 320ms var(--ease-standard) both;
  cursor: zoom-out; 
}

.floating-story-modal > * {
  cursor: default;
}

.floating-story-modal__close {
  position: absolute;
  top: clamp(1rem, 3vh, 1.75rem);
  inset-inline-end: clamp(1rem, 3vw, 2rem);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 200ms var(--ease-standard),
    border-color 200ms var(--ease-standard),
    color 200ms var(--ease-standard),
    transform 200ms var(--ease-standard),
    box-shadow 200ms var(--ease-standard);
  animation: fsm-close-in 360ms var(--ease-standard) both;
  animation-delay: 80ms;
}

.floating-story-modal__close:hover {
  background: rgba(167, 108, 255, 0.18);
  border-color: rgba(167, 108, 255, 0.6);
  color: #fff;
  transform: scale(1.06);
  box-shadow: var(--shadow-glow-sm);
}

.floating-story-modal__close:focus-visible {
  outline: none;
  border-color: rgba(167, 108, 255, 0.7);
  box-shadow:
    0 0 0 2px var(--laropa-bg),
    0 0 0 5px rgba(167, 108, 255, 0.55);
}

.floating-story-modal__frame {
  position: relative;
  width: min(94vw, 1180px);
  max-height: min(82vh, 820px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: #08080b;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    var(--shadow-glow-lg);
  animation: fsm-frame-in 460ms var(--ease-standard) both;
}

.floating-story-modal__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #08080b;
  border-radius: inherit;
  cursor: pointer;
}


.floating-story-modal__frame {
  cursor: default;
}

.floating-story-modal__frame--idle {
  cursor: none;
}

.fsm-bigplay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px solid rgba(167, 108, 255, 0.5);
  background: rgba(13, 13, 15, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    var(--shadow-glow-md);
  transition:
    background 200ms var(--ease-standard),
    transform 200ms var(--ease-standard),
    border-color 200ms var(--ease-standard);
  animation: fsm-bigplay-in 280ms var(--ease-standard);
}

.fsm-bigplay svg {
  margin-left: 4px; 
}

.fsm-bigplay:hover {
  background: rgba(167, 108, 255, 0.22);
  border-color: rgba(167, 108, 255, 0.85);
  transform: scale(1.06);
}

.fsm-bigplay:focus-visible {
  outline: none;
  border-color: var(--laropa-purple);
  box-shadow: 0 0 0 3px rgba(167, 108, 255, 0.45), var(--shadow-glow-md);
}

@keyframes fsm-bigplay-in {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}


.fsm-ctl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(
    to top,
    rgba(6, 6, 9, 0.92) 0%,
    rgba(6, 6, 9, 0.55) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 220ms var(--ease-standard),
    transform 220ms var(--ease-standard);
}

.fsm-ctl--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.fsm-scrub {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.fsm-scrub-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: height 180ms var(--ease-standard);
}

.fsm-scrub-fill {
  position: absolute;
  
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--laropa-purple), var(--laropa-purple-hover));
  box-shadow: 0 0 12px rgba(167, 108, 255, 0.45);
  transition: height 180ms var(--ease-standard);
  pointer-events: none;
}

.fsm-scrub-thumb {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(167, 108, 255, 0.85),
    0 4px 14px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(167, 108, 255, 0.55);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms var(--ease-standard), transform 180ms var(--ease-standard);
  pointer-events: none;
}

.fsm-scrub:hover .fsm-scrub-track,
.fsm-scrub:hover .fsm-scrub-fill {
  height: 5px;
}

.fsm-scrub:hover .fsm-scrub-thumb,
.fsm-scrub:focus-visible .fsm-scrub-thumb {
  opacity: 1;
  transform: scale(1);
}


.fsm-ctl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.fsm-ctl-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 180ms var(--ease-standard),
    border-color 180ms var(--ease-standard),
    color 180ms var(--ease-standard),
    transform 180ms var(--ease-standard);
}

.fsm-ctl-btn:hover {
  background: rgba(167, 108, 255, 0.18);
  border-color: rgba(167, 108, 255, 0.4);
  color: #fff;
}

.fsm-ctl-btn:focus-visible {
  outline: none;
  border-color: rgba(167, 108, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(167, 108, 255, 0.4);
}

.fsm-ctl-btn--play {
  background: var(--laropa-purple);
  color: #0a0a0c;
  border-color: transparent;
  box-shadow: var(--shadow-glow-sm);
}

.fsm-ctl-btn--play:hover {
  background: var(--laropa-purple-hover);
  color: #0a0a0c;
  border-color: transparent;
}

.fsm-ctl-time {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}

.fsm-ctl-time-sep {
  opacity: 0.55;
}

.fsm-ctl-time-total {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 600px) {
  .fsm-ctl {
    padding: 14px 12px 12px;
  }
  .fsm-ctl-btn {
    width: 32px;
    height: 32px;
  }
  .fsm-ctl-time {
    font-size: 11px;
  }
  .fsm-bigplay {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fsm-ctl,
  .fsm-bigplay,
  .fsm-scrub-track,
  .fsm-scrub-fill,
  .fsm-scrub-thumb {
    transition: none;
    animation: none;
  }
}

@keyframes fsm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fsm-frame-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fsm-close-in {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-story-modal,
  .floating-story-modal__frame,
  .floating-story-modal__close {
    animation: none;
  }
}



/* Prototype additions: hidden until opened; landscape phones fill the height. */
.floating-story-modal[hidden] { display: none; }
@media (orientation: landscape) and (max-height: 520px) {
  .floating-story-modal { padding: 10px 64px; }
  .floating-story-modal__frame { width: auto; height: calc(100vh - 20px); max-height: none; }
  .floating-story-modal__close { top: 12px; inset-inline-end: 12px; }
}
.floating-story-modal [hidden] { display: none !important; }

/* ── What you pay: three moments, one number ───────────────────────── */
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pay-step { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.pay-step--hl { background: var(--purple); border-color: var(--purple); color: #000; }
.pay-when { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pay-step--hl .pay-when { color: rgba(0,0,0,.65); }
.pay-big { font-size: 30px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.pay-note { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pay-step--hl .pay-note { color: rgba(0,0,0,.78); }
.pay-example { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 18px; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: 18px; padding: 18px 22px; }
.pay-ex-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-deep); background: var(--purple-wash); border-radius: 999px; padding: 4px 10px; }
.pay-arrow { color: var(--faint); }
.pay-total { color: var(--purple-deep); font-size: 22px; }
@media (max-width: 760px) {
  .pay-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pay-step { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 18px 18px; }
  .pay-when { flex-basis: 100%; }
  .pay-big { font-size: 24px; }
  .pay-example { font-size: 16px; }
}

/* ── Interactive simulator (How it works) ───────────────────────────── */
.phone-screen { position: relative; }
.sim-screen { flex-grow: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.sim-h { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.sim-head-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sim-small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.sim-item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.sim-item--row { align-items: center; justify-content: space-between; }
.sim-thumb { flex: none; width: 56px; height: 64px; border-radius: 12px; background: linear-gradient(160deg, #EFEAF6, #E1D6F2); }
.sim-item-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sim-item-txt strong { font-size: 15px; }
.sim-item-txt > span { font-size: 13px; color: var(--muted); }
.sim-switch { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: #F7F2FF; border: 1px solid #D4C6EC; border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer; }
.sim-knob { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #D9D3E2; transition: background .2s; }
.sim-knob::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sim-switch[aria-checked="true"] .sim-knob { background: var(--purple); }
.sim-switch[aria-checked="true"] .sim-knob::after { transform: translateX(14px); }
.sim-cta { margin-top: auto; width: 100%; font-size: 15px; padding: 14px 18px; }
.sim-cta:disabled { background: #EBE6F1; color: var(--muted); cursor: not-allowed; }
.sim-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sim-row--big { font-size: 16px; color: var(--ink); font-weight: 700; }
.sim-row--big strong { color: var(--purple-deep); font-size: 20px; }
.sim-row--muted { color: var(--faint); }
.sim-box { display: flex; flex-direction: column; gap: 8px; background: #F7F5FA; border-radius: 14px; padding: 14px; }
.sim-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sim-slot { text-align: left; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.sim-slot span { display: block; font-weight: 500; color: var(--ink-2); }
.sim-slot.is-on { border: 2px solid var(--purple); background: #F7F2FF; }
.sim-seg { display: flex; gap: 6px; }
.sim-seg button { font: inherit; font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.sim-seg button[data-keep][aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sim-seg button[data-return][aria-pressed="true"] { background: #EBE6F1; color: var(--ink); }

/* "Tap here next": a pulsing ring on the next control */
@keyframes sim-ring { 0% { box-shadow: 0 0 0 0 rgba(167,108,255,.6); } 70% { box-shadow: 0 0 0 12px rgba(167,108,255,0); } 100% { box-shadow: 0 0 0 0 rgba(167,108,255,0); } }
.sim-hint { animation: sim-ring 1.6s ease-out infinite; position: relative; z-index: 1; }

/* First-visit overlay: this is interactive */
.sim-intro { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(21,18,28,.55); backdrop-filter: blur(3px); border-radius: inherit; }
.sim-intro[hidden] { display: none; }
.sim-intro-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: #fff; border-radius: 22px; padding: 26px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.sim-intro-card strong { font-size: 22px; }
.sim-intro-card > span:not(.sim-hand) { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sim-intro-card .btn { width: 100%; margin-top: 6px; }
.sim-hand { color: var(--purple-deep); animation: sim-tap 1.4s ease-in-out infinite; }
@keyframes sim-tap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.sim-restart { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) {
  .step-strip, .sim-restart, .sim-behind { display: none !important; }
  .step-progress { align-items: center; }
  .phone-screen { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) { .sim-hint, .sim-hand { animation: none; } .sim-hint { outline: 3px solid var(--purple); outline-offset: 2px; } }

/* ── Pay visual: hold + charge = what you kept ─────────────────────── */
.pay-visual { margin: 0; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.pv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 17px; color: var(--ink-2); }
.pv-hold-chip { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: 14px; font-weight: 700; color: var(--purple-deep); background: var(--purple-wash); border: 1px dashed #B79AF0; border-radius: 999px; padding: 6px 12px; }
.pv-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-item { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pv-item b { font-size: 16px; color: var(--ink); }
.pv-item em { font-style: normal; font-size: 12px; font-weight: 700; margin-top: 6px; align-self: flex-start; border-radius: 999px; padding: 3px 9px; }
.pv-item--kept em { background: var(--ink); color: #fff; }
.pv-item--back { opacity: .6; }
.pv-item--back b, .pv-item--back { text-decoration: line-through; text-decoration-color: rgba(21,18,28,.35); }
.pv-item--back em { text-decoration: none; background: #EBE6F1; color: var(--ink-2); }
.pv-bar { display: flex; gap: 4px; min-height: 64px; }
.pv-seg { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 14px; font-size: 13px; line-height: 1.3; min-width: 0; }
.pv-seg b { font-size: 18px; }
.pv-seg--hold { background: repeating-linear-gradient(135deg, #E9DDFF 0 10px, #F1EAFE 10px 20px); color: var(--purple-deep); border-radius: 14px 4px 4px 14px; border: 1px dashed #B79AF0; }
.pv-seg--charge { background: var(--purple); color: #000; border-radius: 4px 14px 14px 4px; }
.pv-total { font-size: 19px; color: var(--ink-2); }
.pv-total strong { color: var(--purple-deep); font-size: 24px; }
@media (max-width: 760px) {
  .pay-visual { padding: 18px; }
  .pv-hold-chip { margin-inline-start: 0; }
  .pv-items { gap: 6px; }
  .pv-item { padding: 10px; font-size: 13px; }
  .pv-item b { font-size: 14px; }
  .pv-seg { padding: 8px 10px; font-size: 12px; }
  .pv-seg b { font-size: 16px; }
}

/* Count Up companions: the bar fills from the left; the simulator's hold row */
.pv-bar.is-growing .pv-seg { transform: scaleX(0); transform-origin: left center; opacity: 0; }
.pv-bar.is-growing.is-grown .pv-seg { transform: scaleX(1); opacity: 1; transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .4s; }
.pv-bar.is-growing.is-grown .pv-seg--charge { transition-delay: .35s; }
.pv-bar--sim { min-height: 52px; }
.pv-bar--sim .pv-seg { font-size: 11px; padding: 6px 9px; }
.pv-bar--sim .pv-seg b { font-size: 15px; }
.sim-pay strong { font-size: 24px; }
.sim-hold { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px dashed #B79AF0; background: repeating-linear-gradient(135deg, #F4EDFF 0 10px, #FAF6FF 10px 20px); }
.sim-hold-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--purple-deep); }
.sim-hold-txt { display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: var(--muted); min-width: 0; }
.sim-hold-txt b { font-size: 14px; color: var(--ink); }
.sim-hold strong { margin-inline-start: auto; font-size: 20px; color: var(--purple-deep); white-space: nowrap; }

/* Step dots: numbered circles on a line; done = tick, current = purple */
.step-progress { position: relative; display: none; justify-content: space-between; align-items: center; padding: 4px 0; --fill: 0%; }
.step-progress::before, .step-progress::after { content: ''; position: absolute; left: 14px; right: 14px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--line); }
.step-progress::after { right: auto; width: calc((100% - 28px) * var(--fill) / 100%); background: var(--purple-deep); transition: width .5s cubic-bezier(.16,1,.3,1); }
.step-progress .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--muted); transition: background .3s, border-color .3s, color .3s, transform .3s; }
.step-progress .dot.is-done { background: var(--purple-deep); border-color: var(--purple-deep); color: transparent; }
.step-progress .dot.is-done .dot-n { display: none; }
.step-progress .dot.is-done::after { content: ''; width: 9px; height: 5px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.step-progress .dot.is-current { background: var(--purple); border-color: var(--purple); color: #000; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(167,108,255,.22); }
@media (max-width: 760px) { .step-progress { display: flex; } }

/* Code-drawn stand-ins for photography (assets/ill) until partners send real shots. */
img.ill { display: block; width: 100%; object-fit: cover; }
img.sim-thumb { object-fit: cover; }

/* ── How it works, desktop: a step strip above, the step + phone below ── */
.step-strip { display: none; }
@media (min-width: 761px) {
  .sim { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px 64px; align-items: start; }
  .sim > .phone { margin: 0; width: 100%; }
  .step-strip { grid-column: 1 / -1; display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
  .ss { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 3px solid var(--line); transition: flex-grow .7s cubic-bezier(.16,1,.3,1); }
  .ss::before { content: ''; position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--purple-deep); transition: width .7s cubic-bezier(.16,1,.3,1); }
  .ss.is-done::before { width: 100%; }
  .ss.is-current { flex-grow: 4.2; }
  .ss.is-current::before { width: 100%; background: var(--purple); }
  .ss-n { font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--faint); font-variant-numeric: tabular-nums; transition: color .3s; }
  .ss.is-done .ss-n { color: var(--purple-deep); }
  .ss.is-current .ss-n { color: var(--purple-deep); }
  .ss-t { font-size: 19px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: clip; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
  .ss.is-current .ss-t { opacity: 1; transform: none; transition: opacity .45s .3s, transform .45s .3s; }
  .sim-steps { position: sticky; top: 110px; gap: 22px; padding-top: 24px; }
  .sim-current { display: flex; gap: 12px; }
}
.sim-cur-num { font-size: 13px; font-weight: 700; color: var(--purple-deep); }
.sim-cur-title { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.sim-cur-body { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 761px) {
  .sim-cur-num { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
  .sim-cur-title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; text-wrap: balance; }
  .sim-cur-body { font-size: 19px; max-width: 40ch; }
}
.sim-behind { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; max-width: 46ch; }
.sim-behind:empty { display: none; }
.sim-behind::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sim-behind li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sim-behind li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }

/* ── The courier's trip ── */
.trip-map { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.trip-ring { transform-box: fill-box; transform-origin: center; }
.trip-home.is-here .trip-ring { animation: trip-ping 1.4s ease-out infinite; }
@keyframes trip-ping { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }
.trip-courier { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.trip-ava { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--purple); color: #000; }
.trip-who { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); line-height: 1.4; }
.trip-who b { font-size: 14px; color: var(--ink); }
.trip-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.trip-steps li { position: relative; padding: 0 0 12px 26px; font-size: 13px; color: var(--faint); }
.trip-steps li:last-child { padding-bottom: 0; }
.trip-steps li::before { content: ''; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.trip-steps li::after { content: ''; position: absolute; left: 8px; top: 17px; bottom: 1px; width: 2px; background: var(--line); }
.trip-steps li:last-child::after { display: none; }
.trip-steps li.is-done { color: var(--ink-2); }
.trip-steps li.is-done::before { background: var(--purple-deep); border-color: var(--purple-deep); }
.trip-steps li.is-done::after { background: var(--purple-deep); }
.trip-steps li.is-current { color: var(--ink); font-weight: 700; }
.trip-steps li.is-current::before { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 0 4px rgba(167,108,255,.25); }
@media (prefers-reduced-motion: reduce) { .ss, .ss::before, .ss-t { transition: none !important; } .trip-home.is-here .trip-ring { animation: none; } }
.trip-call { margin-inline-start: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--purple-deep); }
.co-items { display: flex; flex-direction: column; gap: 10px; }
.co-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.co-thumb { flex: none; width: 36px; height: 42px; border-radius: 8px; object-fit: cover; }
.co-name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; color: var(--ink); }
.co-badge { font-size: 11px; font-weight: 700; color: var(--purple-deep); background: var(--purple-wash); border: 1px solid #D4C6EC; border-radius: 999px; padding: 2px 8px; }
.co-price { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.co-total { padding-top: 12px; border-top: 1px solid var(--line); }
.co-total strong { color: var(--ink); }

/* Simulator: back, receipt breakdown */
.sim-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; margin: -6px 0 -4px -6px; padding: 6px 8px 6px 2px; font: inherit; font-size: 13px; font-weight: 700; color: var(--purple-deep); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.sim-back:hover { background: var(--purple-wash); }
.rc-items { display: flex; flex-direction: column; gap: 8px; }
.rc-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rc-item > span:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; }
.rc-item--back { color: var(--faint); }
.rc-item--back > span:first-child { font-weight: 500; }
.rc-tag { font-size: 11px; font-weight: 700; color: var(--purple-deep); background: var(--purple-wash); border-radius: 999px; padding: 2px 8px; }
.rc-item--back .rc-tag { color: var(--muted); background: #EBE6F1; }
.rc-break { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: #F7F5FA; }
.rc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rc-row strong { font-size: 14px; color: var(--ink); white-space: nowrap; }
.rc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 8px; vertical-align: -1px; }
.rc-dot--paid { background: var(--ink); }
.rc-dot--hold { background: repeating-linear-gradient(135deg, #C9B0F5 0 3px, #EFE6FF 3px 6px); border: 1px dashed #A07FE0; }
.rc-dot--charge { background: var(--purple); }
.rc-total { padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 700; color: var(--ink); }
.rc-total strong { font-size: 22px; color: var(--purple-deep); }
.pv-strip { display: flex; gap: 3px; height: 10px; margin: 2px 0; }
.pv-s { border-radius: 3px; }
.pv-s--paid { background: var(--ink); }
.pv-s--hold { background: repeating-linear-gradient(135deg, #C9B0F5 0 4px, #EFE6FF 4px 8px); }
.pv-s--charge { background: var(--purple); }
.pv-strip.is-growing .pv-s { transform: scaleX(0); transform-origin: left center; }
.pv-strip.is-growing.is-grown .pv-s { transform: scaleX(1); transition: transform .8s cubic-bezier(.16,1,.3,1); }
.rc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.rc-actions .btn { flex: 1 1 auto; font-size: 13px; padding: 10px 14px; }
.sim-link { align-self: center; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 4px; }
.sim-foot { font-size: 11px; line-height: 1.4; color: var(--faint); text-align: center; }
.trip-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--purple-deep); background: var(--purple-wash); border-radius: 999px; padding: 5px 12px 5px 10px; }
.trip-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); animation: trip-blink 1.2s ease-in-out infinite; }
.trip-status.is-here { color: #1F6B3A; background: #E4F4EA; }
.trip-status.is-here::before { background: #2E9B57; animation: none; }
@keyframes trip-blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .trip-status::before { animation: none; } }
.rc-dot--free { background: #fff; border: 1.5px solid var(--line-2); }
.rc-total strong { text-align: right; }
.rc-sub { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 2px 0 -2px; }
.rc-total .rc-total-txt { font-size: 18px; }
.rc-dot--kept { background: repeating-linear-gradient(135deg, #C9B0F5 0 3px, #EFE6FF 3px 6px); border: 1px dashed #A07FE0; }
.rc-dot--hold { background: #fff; border: 1.5px dashed #A07FE0; }
.rc-dot--free { background: #CFEBD8; border: 1.5px solid #2E9B57; }
.rc-row:has(.rc-dot--kept) { padding-inline-start: 14px; }
.pv-s--kept { background: repeating-linear-gradient(135deg, #C9B0F5 0 4px, #EFE6FF 4px 8px); }
.pv-s--free { background: #CFEBD8; }
.sim-hold strong, .rc-row strong, .sim-row strong { text-align: right; }

/* Step 1: a guided shop — add to cart, switch on Try On, check out */
.coach { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.coach li { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 7px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--faint); background: #F7F5FA; transition: background .25s, color .25s; }
.coach-n { flex: none; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; background: #fff; border: 1.5px solid var(--line-2); }
.coach li.is-current { color: var(--ink); background: var(--purple-wash); }
.coach li.is-current .coach-n { background: var(--purple); border-color: var(--purple); color: #000; }
.coach li.is-done { color: var(--purple-deep); }
.coach li.is-done .coach-n { background: var(--purple-deep); border-color: var(--purple-deep); color: transparent; position: relative; }
.coach li.is-done .coach-n::after { content: ''; position: absolute; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.coach-tip { margin: -2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.coach-tip b { color: var(--ink); }
.shop-item { transition: border-color .2s, box-shadow .2s; }
.shop-item.is-in { border-color: #D4C6EC; box-shadow: 0 0 0 3px rgba(167,108,255,.10); }
.shop-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.shop-actions .sim-switch { margin-top: 0; }
.shop-add { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.shop-add[aria-pressed="true"] { color: var(--purple-deep); background: #fff; border-color: #D4C6EC; }
.cart-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F7F5FA; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cart-bar span { display: inline-flex; align-items: center; gap: 6px; }

/* Form status line */
.form-msg { margin: 0; min-height: 1.4em; font-size: 14px; line-height: 1.45; font-weight: 600; }
.form-msg.is-ok { color: #1F6B3A; }
.form-msg.is-error { color: #A3261D; }
.cta-card .form-msg { flex-basis: 100%; color: #000; }
.cta-card .form-msg.is-error { color: #5C0F0A; }
.langs a { padding: 4px 10px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.langs a:hover { color: var(--ink); background: var(--purple-wash); }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.langs--menu { display: none; align-self: flex-start; margin-top: 10px; }
.mobile-menu .langs--menu a { padding: 6px 14px; border-bottom: 0; font-size: 15px; }
@media (max-width: 1080px) { .mobile-menu.is-open .langs--menu { display: flex; } }

/* ── Arabic (dir="rtl") ─────────────────────────────────────────────────
   Flex rows, grids and logical properties mirror on their own; these are the
   physical positions and transforms that don't. The film player stays LTR
   (dir="ltr" on its frame), as on the rest of laropa.com and every major player. */
[dir="rtl"] .float-card { left: auto; right: 0; }
[dir="rtl"] .hang-tag { right: auto; left: 8px; border-radius: 14px 14px 4px 14px; }
[dir="rtl"] .play { margin-right: 0; margin-left: 6%; }
[dir="rtl"] .toggle::after { right: auto; left: 3px; }
[dir="rtl"] .sim-knob::after { left: auto; right: 3px; }
[dir="rtl"] .sim-switch[aria-checked="true"] .sim-knob::after { transform: translateX(-14px); }
[dir="rtl"] .sim-slot { text-align: right; }
[dir="rtl"] .pv-bar.is-growing .pv-seg, [dir="rtl"] .pv-strip.is-growing .pv-s { transform-origin: right center; }
[dir="rtl"] .pv-seg--hold { border-radius: 4px 14px 14px 4px; }
[dir="rtl"] .pv-seg--charge { border-radius: 14px 4px 4px 14px; }
[dir="rtl"] .step-progress::after { left: auto; right: 14px; }
[dir="rtl"] .ss::before { left: auto; right: 0; }
[dir="rtl"] .sim-behind li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .sim-behind li::before { left: auto; right: 2px; }
[dir="rtl"] .trip-steps li { padding: 0 26px 12px 0; }
[dir="rtl"] .trip-steps li::before { left: auto; right: 3px; }
[dir="rtl"] .trip-steps li::after { left: auto; right: 8px; }
[dir="rtl"] .sim-hold strong, [dir="rtl"] .rc-row strong, [dir="rtl"] .sim-row strong, [dir="rtl"] .rc-total strong { text-align: left; }
[dir="rtl"] .sim-back svg, [dir="rtl"] .flip-rtl { transform: scaleX(-1); }
/* Latin runs (prices, times, codes) keep their own direction inside Arabic. */
[dir="rtl"] .code, [dir="rtl"] .sim-slot span, [dir="rtl"] [data-timer] { direction: ltr; unicode-bidi: isolate; }
/* Simulator buttons carry whole sentences in RU/AR: let them wrap, never clip. */
.sim-cta, .rc-actions .btn, .sim-intro-card .btn { white-space: normal; text-wrap: balance; text-align: center; line-height: 1.3; min-width: 0; }

/* Step 1 cards, compact: picture spans two rows; Add to cart top-right; Try On switch under the name. */
.shop-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "th tx ad" "th sw sw"; gap: 6px 12px; align-items: center; padding: 10px 12px; }
.shop-item .sim-thumb { grid-area: th; width: 52px; height: 62px; align-self: center; }
.shop-item .shop-txt { grid-area: tx; gap: 2px; }
.shop-item .shop-add { grid-area: ad; justify-self: end; white-space: nowrap; }
.shop-item .sim-switch { grid-area: sw; justify-self: start; margin-top: 0; }

/* Desktop: strip + phone fit one screen (header ~74px, strip ~60px, gaps). */
@media (min-width: 761px) {
  .sim { row-gap: 22px; }
  .sim > .phone { height: clamp(520px, calc(100vh - 194px), 720px); height: clamp(520px, calc(100svh - 194px), 720px); }
  .sim-steps { top: 96px; padding-top: 8px; }
}

/* Compact phone, so each step fits the screen without scrolling inside it. */
.phone-top { padding: 16px 20px 10px; }
.sim-screen { padding: 14px 16px 16px; gap: 10px; }
.sim-h { font-size: 18px; }
.coach li { padding: 6px 8px; }
.coach-tip { margin: 0; }
.shop-item { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 8px 10px; gap: 4px 10px; }
.shop-item .sim-thumb { width: 44px; height: 52px; border-radius: 10px; }
.shop-item .shop-txt strong { font-size: 14px; }
.shop-item .shop-txt span { font-size: 12.5px; }
.shop-item .sim-switch { padding: 4px 10px 4px 4px; font-size: 12.5px; }
.shop-add { padding: 5px 11px; font-size: 12.5px; }
.cart-bar { padding: 8px 12px; }
.co-items { gap: 6px; }
.co-thumb { width: 30px; height: 36px; }
.sim-hold { padding: 10px 12px; }
.code { margin: 6px 0; }
.code span { height: 60px; font-size: 30px; }
.trip-courier { padding: 8px 10px; }
.trip-steps li { padding-bottom: 8px; }
.rc-items { gap: 5px; }
.rc-break { padding: 10px 12px; gap: 6px; }
.rc-total { padding-top: 8px; }
.rc-total strong { font-size: 20px; }
.rc-actions { gap: 6px; align-items: center; }
.rc-actions .btn { flex: 0 1 auto; font-size: 12px; padding: 8px 12px; }
.rc-actions .sim-link { padding: 4px 6px; font-size: 12px; }
.sim-cta { padding: 12px 16px; }
/* The main action is always in reach, even if a step runs long. */
.sim-screen > .sim-cta { position: sticky; bottom: 0; box-shadow: 0 -12px 16px -4px #fff; }
.sim-screen > .sim-cta:disabled { box-shadow: 0 -12px 16px -4px #fff; }
/* Short laptop screens: shrink the phone's contents a touch rather than make it scroll. */
@media (min-width: 761px) and (max-height: 860px) {
  .phone-screen { zoom: .9; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .phone-screen { zoom: .84; }
}
.sim-restart[hidden] { display: none; }
