/* Loyo, présentation pour les restaurateurs. Static deck: one slide per viewport. */

@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(../fonts/readex-pro-arabic-wght-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(../fonts/readex-pro-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(../fonts/readex-pro-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3f5fa;
  --surface: #ffffff;
  --ink: #101b33;
  --ink-2: #4a5672;
  --ink-3: #5f6a84;
  --line: #e0e5ef;
  --blue: #1f5bff;
  --blue-deep: #0e3bd9;
  --ice: #dce6ff;
  --ok: #12a46b;
  --shadow: 0 30px 60px -28px rgba(16, 27, 51, 0.32), 0 8px 18px -10px rgba(16, 27, 51, 0.18);
  --shadow-soft: 0 18px 40px -24px rgba(16, 27, 51, 0.28);
  --r-panel: 28px;
  --r-pass: 3.4cqw;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fs-hero: clamp(2.6rem, 1.4rem + 3.6vw, 5.2rem);
  --fs-h2: clamp(2rem, 1.2rem + 2.4vw, 3.7rem);
  --fs-lead: clamp(1.15rem, 0.95rem + 0.6vw, 1.55rem);
  --fs-body: clamp(1rem, 0.92rem + 0.3vw, 1.2rem);
  --pad-x: clamp(20px, 5vw, 88px);
}

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

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Readex Pro", system-ui, sans-serif;
  font-weight: 380;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: var(--fs-body);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 620;
  line-height: 1.22;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-hero);
}
h2 {
  font-size: var(--fs-h2);
}
p {
  text-wrap: pretty;
}
.lat {
  unicode-bidi: isolate;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 10px;
}
.skip {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  translate: 0 -200%;
}
.skip:focus {
  translate: 0 0;
}
button,
a,
input {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ───────────── chrome ───────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: calc(72px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.topbar > * {
  pointer-events: auto;
}
.topbar__logo img {
  height: 30px;
  width: auto;
}
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: var(--h);
  padding-inline: 1.4em;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 560;
  font-size: 1.02rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(31, 91, 255, 0.8);
}
.btn--primary:hover {
  background: var(--blue-deep);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
}
.btn--small {
  --h: 42px;
  font-size: 0.95rem;
  padding-inline: 1.1em;
}
.btn--big {
  --h: 64px;
  font-size: 1.2rem;
  padding-inline: 1.8em;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

.pager {
  position: fixed;
  inset: auto var(--pad-x) 22px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pager__count {
  direction: ltr;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  color: var(--ink-3);
  min-width: 3.4em;
  text-align: center;
}
.pager__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.pager__btn:active {
  transform: scale(0.94);
}
.pager__btn .icon {
  width: 20px;
  height: 20px;
}
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 21;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform-origin: right;
  transform: scaleX(var(--p, 0));
  transition: transform 0.5s var(--ease);
}

/* ───────────── slides ───────────── */

.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 104px var(--pad-x) 88px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.slide__inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 38ch;
}
.note {
  font-size: 0.95rem;
  color: var(--ink-3);
  max-width: 60ch;
}
.stack > * + * {
  margin-top: 1.1rem;
}
.stack-lg > * + * {
  margin-top: 1.8rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}

/* pass (wallet card) */
.pass {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1138 / 1674;
  border-radius: var(--r-pass);
  overflow: hidden;
  box-shadow: var(--shadow);
  direction: ltr;
  background: #fff;
}
.pass > img.pass__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* phone */
.phone {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(145deg, #2a3045, #0d1120);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  direction: ltr;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #f2f3f7;
}
.phone__screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 30%;
  height: 26px;
  translate: -50% 0;
  border-radius: 20px;
  background: #0b0e18;
  z-index: 5;
}

/* ───────────── 1. cover: centred message, real cards on both sides ───────────── */

.cover {
  text-align: center;
  isolation: isolate;
}
.cover__text {
  position: relative;
  z-index: 2;
  max-width: min(700px, 54vw);
  display: grid;
  justify-items: center;
}
.cover h1 {
  font-size: clamp(2.8rem, 1.2rem + 4.4vw, 6.2rem);
  line-height: 1.12;
}
.cover .lead {
  margin-top: 1.4rem;
  max-width: 32ch;
}
/* one language per line, so Arabic and French never fight over the reading order */
.lead--stack span {
  display: block;
}
.cover__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2.2rem;
}
.cover__cards {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: clamp(180px, 18vw, 300px);
  aspect-ratio: 0.62;
  translate: 0 -46%;
}
.cover__cards--start {
  inset-inline-start: clamp(24px, 6.5vw, 130px);
}
.cover__cards--end {
  inset-inline-end: clamp(24px, 6.5vw, 130px);
}
.cover__cards .pass {
  position: absolute;
  width: 74%;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transform: translateX(var(--x)) translateY(var(--y)) rotate(var(--r));
}
.cover__cards .pass--hero {
  width: 84%;
  z-index: 2;
}

/* ───────────── 2. video ───────────── */

.video .slide__inner {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}
.player {
  position: relative;
  width: min(100%, 1120px, calc((100svh - 360px) * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe5f2;
}
.player video,
.player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(16, 27, 51, 0.12);
  cursor: pointer;
  transition: background-color 0.2s;
}
.player__play:hover {
  background: rgba(16, 27, 51, 0.2);
}
.player__play span {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px -14px rgba(31, 91, 255, 0.9);
}
.player__play .icon {
  width: 38px;
  height: 38px;
  translate: -2px 0;
}
.player.is-playing .player__play {
  display: none;
}

/* ───────────── 3. problem: first visit full, second visit almost empty ───────────── */

.problem .slide__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(32px, 6vh, 64px);
}
.problem h2 {
  max-width: 22ch;
}
.visits {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
}
.visit {
  padding: 22px 22px 18px;
  border-radius: var(--r-panel);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.visit--second {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--line);
}
.visit__label {
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 560;
  color: var(--ink-2);
}
.visit__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
}
.visit__row img {
  width: 100%;
}
.v-ghost {
  opacity: 0.14;
  filter: grayscale(1);
}
.visits__arrow {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}
.visits__arrow .icon {
  width: 28px;
  height: 28px;
}

/* ───────────── 4. idea ───────────── */

.idea .slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  display: grid;
  gap: 1.6rem;
}
.facts li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.facts .badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ice);
  color: var(--blue);
}
.facts .badge .icon {
  width: 26px;
  height: 26px;
}
.facts h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}
.facts p {
  color: var(--ink-2);
}
.wallet {
  position: absolute;
  inset: 58px 12px auto;
}
.wallet__title {
  font: 700 26px/1 "Readex Pro", system-ui, sans-serif;
  color: #0b0e18;
  margin: 0 6px 14px;
}
.wallet .pass {
  width: 100%;
  border-radius: 14px;
}
/* stacked passes: only the header of each card shows, like a real wallet */
.wallet__peek {
  height: 46px;
  margin-bottom: -10px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 -3px 10px rgba(16, 27, 51, 0.14);
}
.wallet__peek img {
  width: 100%;
  border-radius: 12px 12px 0 0;
}
.idea .phone {
  width: min(330px, 72vw);
}

/* ───────────── 5. journey ───────────── */

.journey .slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  gap: 6px;
  counter-reset: step;
}
.steps button {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  cursor: pointer;
  transition: background-color 0.25s;
}
.steps li:not(.is-on) button:hover {
  background: rgba(255, 255, 255, 0.6);
}
.steps button:focus-visible {
  outline: 3px solid var(--blue);
}
.steps .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--ink-3);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.steps h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}
.steps p {
  color: var(--ink-2);
  font-size: 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s;
}
.steps .bar {
  display: block;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  opacity: 0;
}
.steps .bar i {
  display: block;
  height: 100%;
  background: var(--blue);
  transform-origin: right;
  transform: scaleX(0);
}
.steps li.is-on button {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.steps li.is-on .num {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
.steps li.is-on p {
  max-height: 6em;
  opacity: 1;
}
.steps li.is-on .bar {
  opacity: 1;
}
.steps li.is-done .num {
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
.stage {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 36px;
  background: radial-gradient(120% 90% at 50% 100%, #dfe7fb 0%, #eef2fa 60%, #f6f8fc 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
  direction: ltr;
}
.scene.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease);
}
.scene img {
  position: absolute;
}
.s1-youssef {
  width: auto;
  height: 70%;
  left: 4%;
  bottom: 8%;
}
/* the client aims his phone at the QR code standing on the table (positions measured on the renders) */
.s1-table {
  position: absolute;
  width: 38%;
  right: 6%;
  bottom: 6%;
}
.scene .s1-table img {
  position: relative;
  width: 100%;
}
.s1-scanline {
  position: absolute;
  left: 30.1%;
  width: 39.6%;
  top: 7.6%;
  height: 30.3%;
  background: linear-gradient(to bottom, transparent calc(50% - 2px), #5b8cff calc(50% - 2px), #5b8cff calc(50% + 2px), transparent calc(50% + 2px)) 0 100% / 100% 200% no-repeat;
  filter: drop-shadow(0 0 6px #5b8cff);
  opacity: 0;
}
.scene .s1-beam,
.scene .s3-beam {
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.08), rgba(91, 140, 255, 0.55));
}
.scene .s1-beam {
  left: 40%;
  right: auto;
  width: 31.4%;
  top: 57.5%;
  height: 17.3%;
  transform-origin: 0 50%;
  rotate: -28.7deg;
}
.s1-ok {
  position: absolute;
  right: 10%;
  top: -5%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(18, 164, 107, 0.8);
  opacity: 0;
}
.s1-ok .icon {
  width: 28px;
  height: 28px;
}
.scene .s3-beam {
  left: 43%;
  right: auto;
  width: 24%;
  top: 52%;
  height: 22%;
}

.s2 .phone {
  position: absolute;
  width: 40%;
  left: 50%;
  bottom: 7%;
  translate: -50% 0;
  border-radius: 34px;
  padding: 8px;
}
.s2 .phone__screen {
  border-radius: 27px;
}
.s2 .phone__screen::before {
  height: 18px;
  top: 7px;
}
.s2 .pass {
  position: absolute;
  width: 88%;
  left: 6%;
  top: 14%;
  border-radius: 10px;
}
.s3-cashier {
  width: auto;
  height: 64%;
  left: 7%;
  bottom: 9%;
}
.s3 .pass {
  position: absolute;
  width: 34%;
  right: 10%;
  bottom: 27%;
  rotate: 5deg;
}
.s4-youssef {
  width: auto;
  height: 72%;
  left: 18%;
  bottom: 7%;
}
.s4-gift {
  width: 22%;
  right: 20%;
  bottom: 16%;
}
.s4-heart {
  width: 13%;
  right: 30%;
  top: 14%;
}

/* stamp overlay on the Chaneb pass (slot positions and stamp taken from the real card) */
.slot-stamp {
  position: absolute;
  width: 11.2%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
}
.slot-stamp img {
  width: 100%;
}

/* ───────────── 6. two types ───────────── */

.types .slide__inner {
  display: grid;
  gap: 40px;
}
.types__head {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.types__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
}
.type {
  display: grid;
  grid-template-columns: minmax(130px, 210px) 1fr;
  gap: clamp(18px, 2.4vw, 36px);
  align-items: center;
}
.type h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
  font-weight: 650;
  line-height: 1.1;
}
.type p {
  color: var(--ink-2);
  margin-top: 10px;
}
.type .fit bdi {
  white-space: nowrap;
}
.type .fit {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.type .pass {
  rotate: var(--tilt);
}
.type__cards {
  position: relative;
  isolation: isolate;
}
.type__cards .pass {
  position: relative;
  z-index: 1;
}
.type__cards .pass--back {
  position: absolute;
  inset: 0;
  z-index: 0;
  translate: var(--shift) -7%;
  box-shadow: var(--shadow-soft);
}
.or {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 1.3rem;
  background: var(--ink);
  color: #fff;
}

/* ───────────── 7. tampon demo / 8. points demo ───────────── */

.demo .slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
}
.demo__card {
  position: relative;
  justify-self: center;
  width: min(100%, 380px, calc((100svh - 220px) * 1138 / 1674));
}
.controls {
  margin-top: 2rem;
  display: grid;
  gap: 1.4rem;
}
.control-label {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  height: 44px;
  min-width: 64px;
  padding-inline: 1em;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 560;
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease);
}
.chip:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
}
.chip:active {
  transform: scale(0.96);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.status {
  min-height: 1.6em;
  font-weight: 520;
  color: var(--ink);
}
.rules {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.rules li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  color: var(--ink-2);
}
.rules .icon {
  color: var(--blue);
  width: 22px;
  height: 22px;
  margin-top: 4px;
}

/* Parad'Ice pass, rebuilt live (layout of the real pass, 1138 × 1674) */
.pass--pi {
  background: #55b9cb;
  color: #ff7bea;
}
.pi-logo {
  position: absolute;
  left: 3.4%;
  top: 3.3%;
  width: 34%;
}
.pi-count,
.cr-count {
  position: absolute;
  right: 3.7%;
  top: 3%;
  font-size: 5.8cqw;
  font-weight: 300;
  line-height: 1;
}
.pi-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 11.35%;
  height: 26.5%;
  overflow: hidden;
}
.pi-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pi-field {
  position: absolute;
  left: 3.7%;
  top: 39.6%;
}
.pi-field--end {
  left: auto;
  right: 3.7%;
  text-align: right;
}
.pi-field small {
  display: block;
  font-size: 3cqw;
  font-weight: 500;
}
.pi-field strong {
  display: block;
  font-size: 6.6cqw;
  font-weight: 300;
  line-height: 1.25;
}
.pi-slots {
  position: absolute;
  inset: 0;
}
.pi-slot {
  position: absolute;
  width: 10.6cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.7);
  transition: opacity 0.3s;
}
.pi-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.45cqw #ff9ff0, 0 0.8cqw 1.6cqw rgba(0, 60, 80, 0.35);
  padding: 1.6cqw;
  opacity: 0;
}
.pi-slot.is-stamped img {
  opacity: 1;
}
/* Chaneb pass: live counter drawn over the real card's "4 / 5" */
.cr-count {
  background: #191714;
  color: #ebe8de;
  padding: 0.6cqw 0 0.6cqw 4cqw;
}
/* Chaneb Tacos pass, rebuilt live: same layout, real logo, strip, stamp and empty slot */
.pass--chaneb {
  background: #191714;
  color: #ebe8de;
}
.pass--chaneb .pi-logo {
  left: 3.2%;
  top: 0.6%;
  width: 22.3%;
}
.pass--chaneb .pi-field small {
  color: #ecb642;
}
.pass--chaneb .pi-slot {
  width: 11.2cqw;
  background: url(../img/cards/chaneb-slot.webp) center / 100% no-repeat;
  backdrop-filter: none;
  box-shadow: none;
}
.pass--chaneb .pi-slot img {
  padding: 0;
  background: none;
  box-shadow: none;
}
.pass-glow {
  position: absolute;
  inset: -6%;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(255, 196, 64, 0.55), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
}
.demo__card.is-full .pass-glow {
  opacity: 1;
}
.burst {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 4;
}
.burst i {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 3px;
  opacity: 0;
}
.reward-pop {
  position: absolute;
  width: 34%;
  left: 50%;
  top: 30%;
  translate: -50% -50%;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 18px 24px rgba(16, 27, 51, 0.3));
}

/* Tsunami points pass, live */
.pass--tsunami {
  background: #fc5f00;
  color: #fcf6ea;
  font-family: "Readex Pro", system-ui, sans-serif;
}
.ts-logo {
  position: absolute;
  left: 3%;
  top: 1.4%;
  width: 33.4%;
}
.ts-points {
  position: absolute;
  right: 3.7%;
  top: 2.6%;
  font-size: 6.2cqw;
  font-weight: 300;
  line-height: 1;
}
.ts-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 11.4%;
  height: 26.35%;
  overflow: hidden;
  background: #b3420a;
}
.ts-strip > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ts-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(60, 20, 0, 0.34);
}
.ts-big {
  position: absolute;
  left: 0;
  right: 0;
  top: 13.5%;
  text-align: center;
  color: #fff;
  font-size: 11.6cqw;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
}
.ts-big small {
  font-size: 4.8cqw;
  margin-left: 1cqw;
}
.ts-bar {
  position: absolute;
  left: 11.4%;
  width: 76.5%;
  top: calc(28.08% - 0.8cqw);
  height: 1.6cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}
.ts-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffd23f;
  transform-origin: left;
  transform: scaleX(var(--fill, 0));
  transition: transform 0.7s var(--ease);
}
.ts-ms {
  position: absolute;
  top: 28.08%;
  width: 10.9cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 0 0 0.55cqw rgba(255, 255, 255, 0.9);
  z-index: 3;
  color: #fff;
  transition: background-color 0.3s, color 0.3s, scale 0.3s var(--ease);
}
.ts-ms .icon {
  width: 55%;
  height: 55%;
}
.ts-ms.is-ready {
  background: #ffd23f;
  color: #7a3200;
  scale: 1.08;
}
.ts-ms.is-claimed {
  background: var(--ok);
  color: #fff;
  scale: 1;
}
.ts-ms span {
  position: absolute;
  top: 112%;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  text-align: center;
  font-size: 3.2cqw;
  line-height: 1.2;
  color: #fff;
}
.ts-ms span b {
  display: block;
  font-size: 3.4cqw;
  font-weight: 700;
}
.ts-field {
  position: absolute;
  left: 3.7%;
  right: 3.7%;
  top: 39%;
}
.ts-field small {
  display: block;
  font-size: 3cqw;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ts-field strong {
  display: block;
  font-size: 5.6cqw;
  font-weight: 300;
  line-height: 1.3;
}
.qr {
  position: absolute;
  left: 27.3%;
  width: 45.4%;
  top: 66.9%;
  aspect-ratio: 517 / 516;
  background: #fff;
  border-radius: 1.2cqw;
  padding: 3.4cqw 3.4cqw 6.4cqw;
}
.qr img {
  width: 100%;
  height: 100%;
}
.qr small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6cqw;
  text-align: center;
  font-size: 2.6cqw;
  color: #111;
}
.bill {
  position: absolute;
  z-index: 8;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  direction: ltr;
}

/* ───────────── 9. notifications: one message, every phone ───────────── */

.notif .slide__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(28px, 5vh, 52px);
}
.notif__head {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.notif__head .lead {
  max-width: 40ch;
}
.crew {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 3.2vw, 56px);
}
.mate {
  display: grid;
  justify-items: center;
}
.mate__fig {
  position: relative;
  z-index: 0;
  width: auto;
  height: clamp(130px, 21vh, 220px);
  margin-top: 4px;
}
.lock {
  background: linear-gradient(170deg, #3b6cff 0%, #1f3fa8 45%, #101b33 100%);
}
.mate--t .lock {
  background: linear-gradient(170deg, #5fd6c9 0%, #1d8590 50%, #0f2f3a 100%);
}
.mate--o .lock {
  background: linear-gradient(170deg, #ffb46b 0%, #e0601a 50%, #3a1a08 100%);
}
.mate--p .lock {
  background: linear-gradient(170deg, #b593ff 0%, #6b3fd1 50%, #221047 100%);
}
.mate--k .lock {
  background: linear-gradient(170deg, #ffa3d2 0%, #d1428c 50%, #3d0f27 100%);
}
.lock__time {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}
.lock__time small {
  display: block;
  font-size: 15px;
  font-weight: 450;
  opacity: 0.9;
}
.lock__time b {
  display: block;
  font-size: 76px;
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.note-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  color: #0b0e18;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}
.note-card img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  background: #fff;
}
.note-card b {
  font-weight: 600;
}
.phone--mini {
  position: relative;
  z-index: 1;
  width: clamp(124px, 11.5vw, 178px);
  border-radius: 30px;
  padding: 7px;
}
.phone--mini .phone__screen {
  border-radius: 24px;
}
.phone--mini .phone__screen::before {
  top: 6px;
  width: 32%;
  height: 14px;
}
.phone--mini .lock__time small {
  font-size: 10px;
}
.phone--mini .lock__time b {
  font-size: clamp(28px, 2.6vw, 42px);
}
.phone--mini .note-card {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 46%;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  padding: 8px;
  border-radius: 14px;
  font-size: clamp(9px, 0.72vw, 11.5px);
}
.phone--mini .note-card img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

/* ───────────── 10. staff ───────────── */

.staff .slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
}
.counter {
  position: relative;
  height: min(62vh, 560px);
  direction: ltr;
}
.counter__cashier {
  width: auto;
  position: absolute;
  height: 78%;
  left: 2%;
  bottom: 0;
}
.counter .pass {
  position: absolute;
  width: 40%;
  right: 4%;
  top: 6%;
  rotate: 4deg;
}
.beam {
  position: absolute;
  left: 30%;
  right: 22%;
  top: 46%;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0), rgba(91, 140, 255, 0.35));
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%);
  opacity: 0;
}
.pitch {
  margin-top: 2rem;
  position: relative;
  padding: 22px 26px;
  border-radius: 26px 26px 26px 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.pitch small {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 14px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-lead);
  font-weight: 450;
}
.ticks .icon {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 9px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--blue);
}
.objective {
  margin-top: 1.8rem;
  font-size: clamp(1.35rem, 1rem + 1vw, 2.1rem);
  font-weight: 620;
  line-height: 1.35;
  color: var(--blue);
}

/* ───────────── 11. numbers: four steps, big figures ───────────── */

.math .slide__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(28px, 5vh, 56px);
}
.flow {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 18px);
}
.flow__step {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 22px 16px 26px;
  border-radius: var(--r-panel);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.flow__art {
  position: relative;
  width: 100%;
  height: clamp(110px, 17vh, 176px);
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  direction: ltr;
}
.flow__art img {
  width: auto;
  height: 100%;
}
.flow__art--people img {
  height: 84%;
  margin-inline: -7%;
}
.flow__art--people img:nth-child(2) {
  position: relative;
  z-index: 1;
  height: 100%;
}
.flow__art--card img {
  border-radius: 9% / 6%;
  box-shadow: var(--shadow-soft);
  rotate: -4deg;
}
.flow__art--stack img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 94%;
  border-radius: 9% / 6%;
  box-shadow: var(--shadow-soft);
}
.flow__art--stack img:nth-child(1) {
  translate: -100% 3%;
  rotate: -16deg;
}
.flow__art--stack img:nth-child(2) {
  translate: 0% 3%;
  rotate: 14deg;
}
.flow__art--stack img:nth-child(3) {
  translate: -76% 0;
  rotate: -6deg;
}
.flow__art--stack img:nth-child(4) {
  translate: -26% -2%;
  rotate: 5deg;
}
.flow__step b {
  font-size: clamp(2.6rem, 1.5rem + 3vw, 4.6rem);
  font-weight: 650;
  line-height: 1;
}
.flow__step span {
  max-width: 15ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.how {
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue-deep);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 560;
}
.flow__step--win .how {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.flow__step--win {
  background: var(--blue);
  box-shadow: 0 24px 50px -24px rgba(31, 91, 255, 0.8);
}
.flow__step--win b,
.flow__step--win span {
  color: #fff;
}
.flow__arrow {
  align-self: center;
  color: var(--ink-3);
}
.flow__arrow .icon {
  width: 30px;
  height: 30px;
}

/* ───────────── 12. calculator ───────────── */

.calc .slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
}
.sliders {
  margin-top: 2rem;
  display: grid;
  gap: 1.3rem;
}
.field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink-2);
}
.field output {
  direction: ltr;
  font-weight: 620;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 4px 0 0;
  background: transparent;
  cursor: pointer;
  --pct: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to left, var(--blue) var(--pct), var(--line) var(--pct));
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--blue);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--blue), 0 6px 14px -4px rgba(16, 27, 51, 0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--blue), 0 6px 14px -4px rgba(16, 27, 51, 0.4);
}
.results {
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 3.4vw, 52px);
  display: grid;
  gap: 1.6rem;
}
.result small {
  display: block;
  color: #aab4cc;
  font-size: 1rem;
}
.result b {
  display: inline-block;
  direction: ltr;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4.2rem);
  font-weight: 650;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}
.result b.flash {
  animation: flash 0.45s var(--ease);
}
@keyframes flash {
  from {
    color: #8fb0ff;
    transform: translateY(-4px);
  }
}
.result--main b {
  color: #9db8ff;
  font-size: clamp(2.8rem, 1.8rem + 2.8vw, 4.8rem);
}
.results__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.results__row .result b {
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem);
}
/* 12 months, one series: thin columns, 4px rounded top, square at the baseline */
.year {
  margin: 0;
}
.year figcaption {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #aab4cc;
}
.year__bars {
  height: clamp(90px, 15vh, 140px);
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.year__col {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  cursor: default;
}
.year__col i {
  width: min(24px, 100%);
  border-radius: 4px 4px 0 0;
  background: #5b8cff;
  transition: height 0.45s var(--ease);
}
.year__col:hover i {
  background: #7fa2ff;
}
.year__col::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  translate: -50% 4px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 560;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, translate 0.15s;
}
.year__col:hover::after {
  opacity: 1;
  translate: -50% 0;
}
.year__val {
  position: absolute;
  bottom: calc(var(--h) + 6px);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  direction: ltr;
}
.year__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #8e99b5;
}
.results .note {
  color: #8e99b5;
}
.results {
  gap: 1.3rem;
}

/* ───────────── 13. price ───────────── */

.price .slide__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(28px, 5vh, 56px);
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: clamp(16px, 2.6vw, 36px);
}
.plan {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 38px 28px 32px;
  border-radius: var(--r-panel);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan small {
  font-size: 1.1rem;
  font-weight: 560;
  color: var(--ink-2);
}
.plan__price {
  font-size: clamp(3.4rem, 2.2rem + 3.4vw, 5.6rem);
  font-weight: 650;
  line-height: 1;
}
.plan__price span {
  margin-left: 0.12em;
  font-size: 0.38em;
  font-weight: 520;
}
.plan__per {
  color: var(--ink-2);
}
.plan__day {
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 560;
}
.plan--year {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(31, 91, 255, 0.85);
}
.plan--year small,
.plan--year .plan__per {
  color: rgba(255, 255, 255, 0.86);
}
.plan--year .plan__day {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.save {
  position: absolute;
  top: -17px;
  left: 50%;
  translate: -50% 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 620;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(18, 164, 107, 0.9);
}
.versus {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.versus__tag {
  font-size: 1rem;
  color: var(--ink-3);
}
.versus__row {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.6vw, 40px);
}
.versus__item {
  display: grid;
  justify-items: center;
  gap: 4px;
}
.versus__item b {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.versus__item--gain b {
  color: var(--ok);
}
.versus__item small {
  font-size: 1rem;
  color: var(--ink-2);
}
.versus__gt {
  font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.8rem);
  font-weight: 600;
  line-height: 0.8;
  color: var(--blue);
}

/* ───────────── 13. onboarding ───────────── */

.start .slide__inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.timeline::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 31px;
  left: 31px;
  height: 2px;
  background: var(--line);
}
.tl {
  position: relative;
}
.timeline__fill {
  position: absolute;
  z-index: 1;
  top: 31px;
  right: 31px;
  left: 31px;
  height: 2px;
  background: var(--blue);
  transform-origin: right;
}
.timeline li {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
}
.timeline .node {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}
.timeline .node .icon {
  width: 30px;
  height: 30px;
}
.timeline li:first-child .node {
  background: #1faa59;
  color: #fff;
}
.timeline h3 {
  font-size: 1.15rem;
  font-weight: 560;
  line-height: 1.5;
}
.clock {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(20px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.clock b {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3.4rem);
  font-weight: 650;
  line-height: 1;
  color: var(--blue);
  unicode-bidi: isolate;
  white-space: nowrap;
}
.clock p {
  color: var(--ink-2);
  max-width: 26ch;
}

/* ───────────── 14. CTA ───────────── */

.cta {
  text-align: center;
}
.cta .slide__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.cta__crowd {
  width: min(560px, 80vw);
  margin-bottom: 8px;
}
.cta h2 {
  max-width: 18ch;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}
.cta__logo {
  height: 34px;
  width: auto;
  margin-top: 28px;
  opacity: 0.9;
}

/* ───────────── responsive ───────────── */

@media screen and (max-width: 1100px) {
  .type {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .type .pass {
    width: min(200px, 46vw);
  }
}

@media screen and (max-width: 860px) {
  html {
    scroll-snap-type: y proximity;
  }
  .slide {
    padding: 88px 20px 96px;
    scroll-snap-stop: normal;
  }
  .topbar {
    height: 64px;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
  }
  .topbar .btn {
    --h: 42px;
    padding-inline: 1em;
    font-size: 0.92rem;
  }
  .topbar .btn span {
    display: none;
  }
  .pager {
    display: none;
  }
  .split,
  .idea .slide__inner,
  .journey .slide__inner,
  .demo .slide__inner,
  .staff .slide__inner,
  .calc .slide__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .cover {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b" "t t";
    align-content: center;
    row-gap: 4px;
  }
  .cover__cards {
    position: relative;
    top: auto;
    inset-inline: auto;
    translate: none;
    justify-self: center;
    width: min(40vw, 170px);
    aspect-ratio: 0.6;
  }
  .cover__cards--start {
    grid-area: a;
  }
  .cover__cards--end {
    grid-area: b;
  }
  .cover__text {
    grid-area: t;
    max-width: none;
  }
  .visits {
    grid-template-columns: minmax(0, 1fr);
  }
  .visits__arrow {
    justify-self: center;
  }
  .visits__arrow .icon {
    rotate: -90deg;
  }
  .plans {
    grid-template-columns: minmax(0, 340px);
    row-gap: 30px;
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .flow__arrow {
    display: none;
  }
  .flow__art {
    height: 96px;
  }
  .flow__step {
    padding: 16px 10px 18px;
  }
  .crew {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 18px 28px;
  }
  .phone--mini {
    width: 116px;
  }
  .phone--mini .lock__time b {
    font-size: 26px;
  }
  .phone--mini .note-card {
    font-size: 8.5px;
  }
  .mate__fig {
    height: 104px;
  }
  .idea .phone {
    justify-self: center;
    width: min(280px, 76vw);
  }
  .types__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .or {
    justify-self: center;
    width: 60px;
    height: 60px;
  }
  .demo__card {
    width: min(78vw, 320px);
    order: -1;
  }
  .counter {
    height: 360px;
  }
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .timeline::before,
  .timeline__fill {
    display: none;
  }
  .timeline li {
    grid-template-columns: 64px 1fr;
    align-items: center;
  }
  .clock {
    grid-template-columns: auto 1fr;
  }
}

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

/* JS hides animated elements until their slide plays its entrance */
.js .slide:not(.is-active) [data-a] {
  opacity: 0;
}

/* ───────────── PDF / print: one slide per 1920×1080 page, final states ───────────── */

@page {
  size: 1920px 1080px;
  margin: 0;
}
@media print {
  :root {
    --fs-hero: 100px;
    --fs-h2: 70px;
    --fs-lead: 30px;
    --fs-body: 23px;
    --pad-x: 110px;
  }
  .slide__inner {
    max-width: 1640px;
  }
  .lead {
    max-width: 34ch;
  }
  html {
    scroll-snap-type: none;
    font-size: 18px;
  }
  .cover__cards {
    top: 250px;
    width: 330px;
    height: 540px;
    aspect-ratio: auto;
    translate: none;
  }
  .cover__text {
    max-width: 820px;
  }
  .idea .phone {
    width: 380px;
  }
  .phone--mini {
    width: 190px;
  }
  .phone--mini .lock__time b {
    font-size: 44px;
  }
  .phone--mini .note-card {
    font-size: 12px;
  }
  .mate__fig {
    height: 230px;
  }
  .flow__art {
    height: 190px;
  }
  .counter {
    height: 680px;
  }
  .type {
    grid-template-columns: 250px 1fr;
  }
  .type .pass {
    width: 250px;
  }
  .stage {
    width: 760px;
  }
  .s1-ok,
  .scene .s1-beam {
    opacity: 1;
  }
  .topbar,
  .pager,
  .progress,
  .skip,
  .player__play,
  .controls,
  .no-print {
    display: none !important;
  }
  .slide {
    height: 1080px;
    min-height: 0;
    padding: 96px 110px 80px;
    break-after: page;
    break-inside: avoid;
  }
  [data-a] {
    opacity: 1 !important;
  }
  .print-only {
    display: block !important;
  }
  .player {
    width: 1260px;
  }
  .player video {
    display: none;
  }
  .steps p {
    max-height: none;
    opacity: 1;
  }
  .demo__card {
    width: 470px;
  }
}
.print-only {
  display: none;
}
