/* =====================================================================
   HOLIGINE platform pages (Booking Engine, Payments, ...)
   Same tokens, type and cards as the solution pages, but a product-first
   structure: centered hero + engine on a stage, bento features, one flow.
   ===================================================================== */
.page--platform { --acc: var(--c-purple); --acc-soft: var(--aud-companies-soft); --acc-ink: var(--aud-companies-ink); }

/* ---------- hero ---------- */
.plat-hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 5vw, 80px)); }
.plat-hero__head { display: grid; justify-items: center; text-align: center; }
.plat-hero__head .sol-eyebrow { margin-bottom: 20px; }
.plat-hero__head .hero__title { margin-bottom: 24px; }
.plat-hero__head .lead { max-width: 46ch; margin: 0 auto 32px; }

/* one large arc rises from behind the product window, cropped by it */
/* one large U arc sits in the background behind the product window:
   same pale tone as the homepage arcs, takes no layout space */
.plat-stage { --arc-w: min(1400px, 124vw); position: relative; overflow-x: clip; margin-top: clamp(48px, 6vw, 88px); padding-inline: clamp(8px, 1.4vw, 20px); padding-bottom: clamp(40px, 5vw, 80px); }
.plat-hero { overflow-x: clip; }
.plat-stage { overflow: visible; }
.plat-stage__arc { position: absolute; top: calc(var(--arc-w) * -0.2); left: 50%; width: var(--arc-w); height: auto; transform: translateX(-50%); opacity: .15; pointer-events: none; }
.plat-stage .wrap { position: relative; z-index: 1; }
.eng-wrap { position: relative; max-width: 1120px; margin: 0 auto; }

/* the engine window */
.eng { background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.875rem; line-height: 1.35; text-align: left; }
.eng__top { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.eng__services { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--c-cream); }
.eng__services span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 9px; font-weight: 600; color: var(--ink-2); }
.eng__services .icon { width: 16px; height: 16px; color: var(--c-purple); }
.eng__services .is-on { background: var(--c-white); color: var(--ink); box-shadow: var(--shadow-sm); }
.eng__search { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr auto; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; }
.eng__search .ui-search__field { display: flex; }
.eng__search .ui-search__field b { color: var(--ink); }
.eng__go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--c-purple); color: var(--c-white); font-weight: 650; }
.eng__go .icon { width: 16px; height: 16px; }
.eng__body { display: grid; grid-template-columns: 210px 1fr; }
.eng__filters { display: grid; align-content: start; gap: 18px; padding: 18px 16px 28px; border-right: 1px solid var(--line); background: #FDFBF9; }
.eng__filters > b { font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.eng__filter { display: grid; gap: 8px; justify-items: start; }
.eng__filter small { color: var(--ink-3); font-size: 0.6875rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.eng__range { position: relative; width: 100%; height: 6px; border-radius: 6px; background: rgba(36,14,71,.08); }
.eng__range i { position: absolute; left: 18%; right: 26%; top: 0; bottom: 0; border-radius: 6px; background: var(--c-purple); }
.eng__range i::before, .eng__range i::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--c-white); border: 2px solid var(--c-purple); }
.eng__range i::before { left: -7px; } .eng__range i::after { right: -7px; }
.eng__range-vals { display: flex; justify-content: space-between; width: 100%; font-size: 0.75rem; color: var(--ink-2); }
.eng__range-vals em { font-style: normal; }
.eng__check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.eng__check::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-strong); }
.eng__check.is-on { color: var(--ink); }
.eng__check.is-on::before { border-color: var(--c-purple); background: var(--c-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.eng__results { display: grid; align-content: start; gap: 10px; padding: 16px 16px 24px; }
.eng__meta { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 2px 4px; }
.eng__meta b { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.eng__meta span { color: var(--ink-2); font-size: 0.8125rem; }
.eng__meta em { font-style: normal; color: var(--ink); font-weight: 600; }
.eng__row { display: grid; grid-template-columns: 132px 1fr auto; gap: 16px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 16px; }
.eng__row img { width: 132px; height: 92px; border-radius: 11px; object-fit: cover; }
.eng__info { display: grid; gap: 3px; }
.eng__info b { font-weight: 620; font-size: 0.9375rem; }
.eng__info .ui-stars { margin-left: 0; }
.eng__info small { color: var(--ink-2); }
.eng__price { display: grid; justify-items: end; gap: 2px; padding-right: 6px; }
.eng__price b { font-family: var(--f-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.eng__price small { color: var(--ink-2); font-size: 0.75rem; }
.eng__add { margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: var(--c-deep); color: var(--c-cream); font-weight: 600; font-size: 0.8125rem; }
.eng__float { position: absolute; z-index: 2; background: var(--c-white); box-shadow: var(--shadow-lg); }
.eng__float--left { left: -40px; bottom: -24px; }
.eng__float--right { right: -40px; top: -26px; }
@media (max-width: 1239px) {
  .eng__float--left { left: 16px; bottom: 16px; }
  .eng__float--right { display: none; }
}
.ui-ai-pill { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; }
.ui-ai-pill > span:last-child { display: grid; line-height: 1.3; font-size: 0.875rem; }
.ui-ai-pill small, .eng__float small { color: var(--ink-2); }
.ui-ai__icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--c-purple); color: var(--c-white); }
.ui-ai__icon .icon { width: 18px; height: 18px; }

/* ---------- 01–03 features: text + visual on a soft panel ---------- */
.plat-features { padding-block: clamp(96px, 11vw, 160px) 0; }
.plat-panel { position: relative; display: grid; place-items: center; padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 56px); border-radius: var(--r-xl); }
.plat-panel--mint { background: var(--aud-agents-soft); }
.plat-panel--lavender { background: var(--aud-companies-soft); }
.plat-panel--pink { background: var(--aud-brands-soft); }
.plat-panel .ui-sent { top: 20px; right: clamp(-28px, -2vw, -12px); }
@media (max-width: 699px) { .plat-panel { padding-top: 64px; } .plat-panel .ui-sent { top: 12px; right: 12px; } }

/* 01: one search across suppliers */
.ui-rates { width: min(100%, 420px); padding: 18px; display: grid; gap: 12px; background: var(--c-white); border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 0.875rem; line-height: 1.35; }
.ui-rates__head { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ui-rates__head img { width: 60px; height: 48px; border-radius: 9px; object-fit: cover; }
.ui-rates__head > span { display: grid; }
.ui-rates__head b { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.ui-rates__head small, .ui-rates__list small { color: var(--ink-2); font-size: 0.75rem; }
.ui-rates__label { font-size: 0.6875rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ui-rates__list { display: grid; gap: 6px; }
.ui-rates__list li { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 12px 9px 9px; border-radius: 12px; border: 1px solid var(--line); }
.ui-rates__list li > span:nth-child(2) { display: grid; font-weight: 600; }
.ui-rates__list b { font-weight: 650; font-variant-numeric: tabular-nums; }
.ui-rates__src { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--tint-purple); color: var(--c-purple); }
.ui-rates__src .icon { width: 16px; height: 16px; }
.ui-rates__list .is-best { border: 1.5px solid #5CD4B1; background: rgba(92,212,177,.1); }
.ui-rates__list .is-best .ui-rates__src { background: #5CD4B1; color: var(--c-deep); }
.ui-rates__list em { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 6px; background: #5CD4B1; color: var(--c-deep); font-style: normal; font-size: 0.6875rem; font-weight: 700; }
.ui-rates__btn { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; border-radius: 12px; background: var(--c-deep); color: var(--c-cream); font-weight: 650; }
.ui-rates__btn .icon { width: 15px; height: 15px; }

/* 02: smart search */
.ui-smart { width: min(100%, 440px); padding: 18px; display: grid; gap: 12px; background: var(--c-white); border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 0.875rem; line-height: 1.35; }
.ui-smart__search { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 560; }
.ui-smart__search .icon { width: 17px; height: 17px; color: var(--c-purple); flex: none; }
.ui-smart__ai { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--tint-purple); }
.ui-smart__ai > span:last-child { display: grid; }
.ui-smart__ai small { color: var(--ink-2); }
.ui-smart__list { display: grid; gap: 8px; }
.ui-smart__list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1px solid var(--line); }
.ui-smart__list img { width: 56px; height: 44px; border-radius: 9px; object-fit: cover; }
.ui-smart__list li > span:nth-child(2) { display: grid; font-weight: 620; }
.ui-smart__list small { color: var(--ink-2); font-weight: 400; font-size: 0.75rem; }
.ui-smart__price { display: grid; justify-items: end; }
.ui-smart__price b { font-family: var(--f-display); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.ui-smart__price em { font-style: normal; font-size: 0.6875rem; font-weight: 650; color: var(--c-purple); }
.ui-smart__list .is-pick { border: 1.5px solid var(--c-purple); background: var(--tint-purple); }

/* 03: settings card */
.ui-config { width: min(100%, 420px); padding: 18px; background: var(--c-white); border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 0.875rem; line-height: 1.35; }
.ui-config__head { display: grid; gap: 2px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ui-config__head b { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.ui-config__head small { color: var(--ink-2); }
/* 03: settings */
.bento__config { padding: 6px 16px; border-radius: 18px; background: var(--c-white); box-shadow: var(--shadow-md); font-size: 0.8125rem; line-height: 1.3; }
.ui-config__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 0; }
.ui-config__list li + li { border-top: 1px solid var(--line); }
.ui-config__list li > span:nth-child(2) { display: grid; font-weight: 600; }
.ui-config__list small { font-weight: 400; font-size: 0.75rem; color: var(--ink-2); }
.ui-config__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--tint-purple); color: var(--c-purple); }
.ui-config__icon .icon { width: 16px; height: 16px; }
.ui-switch { position: relative; width: 38px; height: 22px; border-radius: 22px; background: rgba(36,14,71,.14); }
.ui-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-white); box-shadow: 0 1px 2px rgba(36,14,71,.2); }
.ui-switch.is-on { background: var(--c-purple); }
.ui-switch.is-on::after { left: 19px; }

/* ---------- how it works: one connected flow ---------- */
.flow { padding-block: clamp(80px, 9vw, 140px) clamp(24px, 3vw, 48px); }
.flow__panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 88px); align-items: center; padding: clamp(32px, 4.5vw, 72px); border-radius: var(--r-xl); background: var(--c-white); border: 1px solid var(--line); }
.flow__head .eyebrow { margin-bottom: 16px; }
.flow__head .h2 { margin-bottom: 20px; font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); }
.flow__steps { grid-template-rows: repeat(4, auto); }
.flow__step { grid-row: span 4; grid-template-rows: subgrid !important; }
.flow__head .lead { max-width: 32ch; }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flow__steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: calc(33.33% - 22px); border-top: 2px dashed rgba(119,57,253,.35); }
.flow__step { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; }
.flow__dot { position: relative; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); font-family: var(--f-display); font-weight: 700; font-size: 0.9375rem; box-shadow: 0 0 0 6px var(--c-white); }
.flow__dot--done { background: var(--c-mint); color: var(--c-deep); }
.flow__dot--done .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.flow__title { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem); font-weight: 700; margin-bottom: 8px; }
.flow__step p { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 20px; }
.flow__ui { display: grid; gap: 10px; align-content: center; min-height: 116px; padding: 12px; border-radius: 16px; background: var(--acc-soft); font-size: 0.8125rem; line-height: 1.3; }
.flow__ui > * { background: var(--c-white); }
.flow__ui .how__chips { background: none; }
.flow__ui--done { grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 16px; background: var(--c-white); border: 1px solid var(--line); }
.flow__ui--done > * { background: none; }
.flow__ui--done .ui-toast__icon { background: var(--c-mint); }
.flow__ui--done > span:last-child { display: grid; }
.flow__ui--done small { color: var(--ink-2); }
.how__field { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.how__field .icon { width: 16px; height: 16px; color: var(--c-purple); }
.how__field span, .how__line > span { display: grid; }
.how__field small, .how__line small { font-size: 0.6875rem; color: var(--ink-2); font-weight: 400; }
.how__field b, .how__line b { font-weight: 620; }
.how__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.how__chips i { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: var(--c-white); font-style: normal; font-weight: 560; color: var(--ink-2); font-size: 0.75rem; }
.how__chips .icon { width: 14px; height: 14px; color: var(--c-purple); }
.how__chips .is-on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--c-purple); }
.how__line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; }
.how__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px; border-radius: 10px; font-weight: 600; }
.how__total b { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1179px) {
  .flow__panel { grid-template-columns: 1fr; }
  .flow__head { max-width: 640px; }
  .flow__head .lead { max-width: 46ch; }
}
@media (max-width: 1023px) {
  .eng__top { grid-template-columns: 1fr; }
  .eng__services { justify-self: start; }
  .eng__body { grid-template-columns: 1fr; }
  .eng__filters { display: none; }
  .bento__card--one, .bento__card--two, .bento__card--three { grid-column: 1 / -1; grid-row: auto; }
  .bento__card--one { grid-template-columns: 1fr; }
  .eng__float--right { top: auto; bottom: 8%; }
}
@media (max-width: 699px) {
  .eng__services span { padding: 8px; font-size: 0; gap: 0; }
  .eng__services .icon { width: 18px; height: 18px; }
  .eng__services .is-on { font-size: 0.8125rem; gap: 6px; padding: 8px 10px; }
  .eng__search { grid-template-columns: 1fr auto; }
  .eng__search .ui-search__field:nth-child(n+2) { display: none; }
  .eng__go { font-size: 0; gap: 0; padding: 11px; }
  .eng__row { grid-template-columns: 76px 1fr; gap: 12px; }
  .eng__row img { width: 76px; height: 64px; }
  .eng__price { grid-column: 2; display: flex; align-items: baseline; gap: 6px; padding: 0; }
  .eng__add { display: none; }
  .eng__row:nth-of-type(3) { display: none; }
  .eng__info small { font-size: 0.75rem; }
  .eng__float--right { display: none; }
  .eng__float--left { left: 50%; transform: translateX(-50%); bottom: -26px; white-space: nowrap; }
  .plat-stage { padding-bottom: 56px; }
  .hub { grid-template-columns: 1fr; padding: 14px; }
  .hub__join { height: 44px; }
  .hub__join::before { top: 0; bottom: 0; }
  .hub__join img { width: 34px; height: 34px; }
  .flow__steps { grid-template-columns: 1fr; gap: 28px; }
  .flow__steps::before { display: none; }
  .flow__steps { grid-template-rows: none; }
  .flow__step { grid-row: auto; grid-template-columns: 44px 1fr; column-gap: 16px; grid-template-rows: none !important; }
  .flow__dot { grid-row: 1; margin-bottom: 0; }
  .flow__step > :not(.flow__dot) { grid-column: 2; }
  .flow__title { grid-row: 1; align-self: center; margin-bottom: 0; }
  .flow__step p { margin: 6px 0 14px; }
}

/* ---------- how it works v2: photo with the steps resting on it ---------- */
.flow__panel { display: block; padding: 0; background: none; border: 0; border-radius: 0; }
.flow__head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; max-width: none; margin-bottom: clamp(40px, 5vw, 64px); }
.flow__head--split .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.flow__head--split .h2 { margin-bottom: 0; font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.75rem); }
.flow__head--split .lead { max-width: 36ch; }
.flow__photo { margin: 0; aspect-ratio: 16 / 7; border-radius: var(--r-xl); overflow: hidden; background: #E5DDD3; }
.flow__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 35%; }
.flow__steps { position: relative; z-index: 1; margin: calc(-1 * clamp(96px, 11vw, 168px)) clamp(16px, 3vw, 48px) 0; }
.flow__steps::before { display: none; }
.flow__steps { row-gap: 0; }
.flow__step { padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-lg); }
.flow__dot { box-shadow: none; }
.flow__ui--done { border-color: var(--line); }
@media (max-width: 1179px) { .flow__head--split .lead { max-width: 46ch; } }
@media (max-width: 899px) {
  .flow__head--split { grid-template-columns: 1fr; }
  .flow__photo { aspect-ratio: 4 / 3; }
  .flow__steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; margin-top: -64px; padding-inline: 12px; }
  .flow__step { grid-row: auto; grid-template-rows: none !important; }
}
.flow__done { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--c-white); }
.flow__done > span:last-child { display: grid; }
.flow__done small { color: var(--ink-2); }
@media (max-width: 899px) { .flow__steps { row-gap: 14px; } }

/* ---------- how it works v3: interactive stepper ---------- */
.stp { padding-block: clamp(96px, 11vw, 168px) clamp(24px, 3vw, 48px); }
.stp__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.stp__copy .eyebrow { margin-bottom: 16px; }
.stp__copy .h2 { margin-bottom: 20px; }
.stp__copy .lead { max-width: 34ch; margin-bottom: clamp(28px, 3vw, 40px); }
.stp__list { display: grid; gap: 6px; }
.stp__step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; width: 100%; padding: 16px 18px; border-radius: 18px; text-align: left; color: var(--ink-2); transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease; }
.stp__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(36,14,71,.06); color: var(--ink-2); font-family: var(--f-display); font-weight: 700; font-size: 0.875rem; transition: background-color 220ms ease, color 220ms ease; }
.stp__text { display: grid; gap: 2px; padding-top: 2px; }
.stp__text b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.stp__text > span { font-size: 0.9375rem; line-height: 1.5; }
.stp__step[aria-selected="true"] { background: var(--c-white); box-shadow: var(--shadow-md); color: var(--ink-2); }
.stp__step[aria-selected="true"] .stp__num { background: var(--c-purple); color: var(--c-white); }
.stp__step[aria-selected="false"] .stp__text > span { display: none; }
@media (hover: hover) and (pointer: fine) { .stp__step[aria-selected="false"]:hover { background: rgba(36,14,71,.04); } }

.stp__stage { display: grid; place-items: center; padding: clamp(36px, 4.6vw, 64px) clamp(20px, 3.6vw, 52px); border-radius: var(--r-xl); background: var(--aud-companies-soft); }
.stp__win { width: min(100%, 500px); min-height: 470px; background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.875rem; line-height: 1.35; }
.stp__screen { display: grid; gap: 12px; padding: 18px; animation: quote-in 320ms var(--ease-out); }
.stp__screen[hidden] { display: none; }
.stp__search { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; }
.stp__search .ui-search__field { display: flex; }
.stp__search .ui-search__field b { color: var(--ink); }
.stp__go { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--c-purple); color: var(--c-white); }
.stp__go .icon { width: 17px; height: 17px; }
.stp__meta { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 2px 0; }
.stp__meta b { font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.stp__meta small, .stp__rows small, .stp__hotel small, .stp__doc-head small { color: var(--ink-2); font-size: 0.75rem; }
.stp__rows { display: grid; gap: 8px; }
.stp__rows li { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 12px; border: 1px solid var(--line); }
.stp__rows img, .stp__hotel img { width: 56px; height: 44px; border-radius: 9px; object-fit: cover; }
.stp__rows li > span:nth-child(2), .stp__hotel > span, .stp__doc-head > span:first-child { display: grid; }
.stp__rows b, .stp__hotel b { font-weight: 620; }
.stp__price { display: grid; justify-items: end; }
.stp__price b { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.stp__tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.stp__rows .is-on { border: 1.5px solid var(--c-purple); background: var(--tint-purple); }
.stp__rows .is-on .stp__tick { border: 0; background: var(--c-purple); color: var(--c-white); }
.stp__tick .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.stp__cta { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; margin-top: 4px; border-radius: 12px; background: var(--c-deep); color: var(--c-cream); font-weight: 650; transition: transform 160ms var(--ease-out); }
.stp__cta .icon { width: 15px; height: 15px; }
.stp__cta:active { transform: scale(.98); }
.stp__doc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stp__doc-head b { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.stp__hotel { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--c-cream); }
.stp__hotel .ui-stars { margin-left: 0; }
.stp__lines { margin: 0; display: grid; gap: 8px; padding: 4px 2px; }
.stp__lines div { display: flex; justify-content: space-between; gap: 12px; }
.stp__lines dt { color: var(--ink-2); }
.stp__lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.stp__margin { color: var(--c-purple); }
.stp__total { padding-top: 10px; border-top: 1px solid var(--line); }
.stp__total dt { color: var(--ink); font-weight: 620; }
.stp__total dd { font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; }
.stp__done { display: grid; justify-items: center; gap: 4px; padding: 22px 12px 18px; border-radius: 14px; background: rgba(92,212,177,.14); text-align: center; }
.stp__done-icon { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: #5CD4B1; color: var(--c-deep); }
.stp__done-icon .icon { width: 26px; height: 26px; stroke-width: 2.4; }
.stp__done b { font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; }
.stp__done small { color: var(--ink-2); }
.stp__lines--ref div + div { padding-top: 8px; border-top: 1px solid var(--line); }
.stp__sent { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--c-cream); font-weight: 600; }
.stp__sent .icon { width: 17px; height: 17px; color: var(--c-purple); }
@media (prefers-reduced-motion: reduce) { .stp__screen { animation: none; } }
@media (max-width: 899px) {
  .stp__grid { grid-template-columns: 1fr; }
  .stp__step[aria-selected="false"] .stp__text > span { display: none; }
}
@media (max-width: 699px) {
  .stp__stage { padding: 20px 12px; }
  .stp__win { min-height: 0; }
  .stp__search { grid-template-columns: 1fr auto; }
  .stp__search .ui-search__field:nth-child(2) { display: none; }
  .stp__rows li { grid-template-columns: 48px 1fr auto; }
  .stp__rows img { width: 48px; height: 40px; }
  .stp__tick { display: none; }
}

/* ---------- how it works v4: photo with staggered step cards ---------- */
.stp__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.stp__copy .lead { margin-bottom: 0; }
.stp__visual { position: relative; }
.stp__photo { margin: 0 0 0 auto; width: 88%; aspect-ratio: 5 / 4; border-radius: var(--r-xl); overflow: hidden; background: #E5DDD3; }
.stp__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.stp__cards { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: min(62%, 440px); display: grid; gap: 14px; }
.stp__card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 22px 18px 18px; border-radius: 20px; background: var(--c-white); box-shadow: var(--shadow-lg); }
.stp__card:nth-child(2) { margin-left: 9%; }
.stp__card:nth-child(3) { margin-left: 18%; }
.stp__card .stp__num { background: var(--tint-purple); color: var(--c-purple); }
.stp__card .stp__text > span { display: block; }
@media (max-width: 899px) {
  .stp__grid { grid-template-columns: 1fr; }
  .stp__photo { width: 100%; aspect-ratio: 4 / 3.2; }
  .stp__cards { position: relative; top: auto; left: auto; transform: none; width: auto; margin: -72px 12px 0; }
  .stp__card:nth-child(2), .stp__card:nth-child(3) { margin-left: 0; }
}
@media (max-width: 699px) {
  .stp__card { padding: 16px; gap: 14px; }
  .stp__card:nth-child(2) { margin-left: 16px; }
  .stp__card:nth-child(3) { margin-left: 32px; }
}
.stp__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); }
.stp__copy .h2 { font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.stp__photo { width: 82%; aspect-ratio: 4 / 3.4; }
.stp__photo img { object-position: 92% 50%; }
.stp__cards { width: min(56%, 400px); }
@media (max-width: 899px) { .stp__photo { width: 100%; } .stp__cards { width: auto; } }
/* photo mirrored: woman + tablet on the left, empty wall on the right holds the cards */
.stp__photo { width: 100%; aspect-ratio: 3 / 2.1; }
.stp__photo img { transform: scaleX(-1); object-position: 50% 50%; }
.stp__cards { left: auto; right: 4%; width: min(46%, 360px); justify-items: end; }
.stp__card { width: 100%; }
.stp__card:nth-child(1) { margin-right: 0; }
.stp__card:nth-child(2) { margin-left: 0; margin-right: 8%; }
.stp__card:nth-child(3) { margin-left: 0; margin-right: 16%; }
@media (max-width: 899px) {
  .stp__cards { right: auto; width: auto; justify-items: stretch; }
  .stp__card { width: auto; }
  .stp__card:nth-child(n) { margin-right: 0; }
}
@media (max-width: 699px) {
  .stp__card:nth-child(2) { margin-left: 16px; }
  .stp__card:nth-child(3) { margin-left: 32px; }
}
.stp__cards { right: 3%; width: min(44%, 340px); }
.stp__card:nth-child(1) { margin-right: 18%; }
.stp__card:nth-child(2) { margin-right: 9%; }
.stp__card:nth-child(3) { margin-right: 0; }
@media (max-width: 899px) { .stp__card:nth-child(n) { margin-right: 0; } }
@media (max-width: 899px) {
  .stp__grid { grid-template-columns: 1fr; }
  .stp__photo { aspect-ratio: 4 / 3.2; }
  .stp__photo img { object-position: 30% 50%; }
  .stp__cards { position: relative; top: auto; right: auto; left: auto; transform: none; width: auto; margin: -64px 12px 0; justify-items: stretch; }
  .stp__card { width: auto; }
  .stp__card:nth-child(n) { margin-right: 0; margin-left: 0; }
}
@media (max-width: 699px) {
  .stp__card:nth-child(2) { margin-left: 16px; }
  .stp__card:nth-child(3) { margin-left: 32px; }
}
@media (max-width: 899px) { .stp__photo img { object-position: 78% 50%; } }

/* ---------- platform CTA: light panel framed by the hero arc ---------- */
.plat-cta { padding-block: clamp(24px, 3vw, 48px) clamp(48px, 6vw, 96px); }
.plat-cta__panel { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; padding: clamp(80px, 9vw, 136px) clamp(20px, 4vw, 64px) clamp(64px, 7vw, 104px); border-radius: var(--r-xl); background: var(--c-white); border: 1px solid var(--line); }
.plat-cta__arc { position: absolute; left: 50%; top: 22%; width: min(1240px, 170%); transform: translateX(-50%); opacity: .15; pointer-events: none; }
.plat-cta__panel > :not(.plat-cta__arc) { position: relative; }
.plat-cta__panel .eyebrow { margin-bottom: 20px; }
.plat-cta__title { margin-bottom: 24px; font-size: clamp(2.5rem, 1.4rem + 3.6vw, 5rem); line-height: 1.02; }
.plat-cta__lead { max-width: 40ch; margin: 0 auto 32px; }
.plat-cta__next { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; padding: 0 6px; color: var(--ink-2); font-weight: 560; }
.plat-cta__next b { color: var(--ink); font-weight: 650; }
.plat-cta__next .icon { width: 16px; height: 16px; color: var(--c-purple); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .plat-cta__next:hover .icon { transform: translateX(3px); } .plat-cta__next:hover b { color: var(--c-purple); } }
@media (max-width: 699px) { .plat-cta__arc { top: 30%; width: 220%; } }
.plat-cta__arc { top: 40%; width: min(1240px, 150%); }
@media (max-width: 699px) { .plat-cta__arc { top: 52%; width: 200%; } }
.plat-cta__arc, .plat-stage__arc { max-width: none; }
@media (max-width: 699px) { .plat-cta__arc { top: 50%; width: 150%; } }
/* platform CTA: deep purple, turquoise accents, no arc */
.plat-cta__panel { background: var(--c-deep); border: 0; color: var(--on-dark); }
.plat-cta__arc { display: none; }
.plat-cta__panel .eyebrow { color: #5CD4B1; }
.plat-cta__title { color: var(--c-cream); }
.plat-cta__accent { color: #5CD4B1; }
.plat-cta__lead { color: var(--on-dark-2); }
.plat-cta__next { color: var(--on-dark-2); }
.plat-cta__next b { color: var(--c-cream); }
.plat-cta__next .icon { color: #5CD4B1; }
@media (hover: hover) and (pointer: fine) {
  .plat-cta .btn--primary:hover { --btn-bg: #5CD4B1; --btn-fg: var(--c-deep); }
  .plat-cta__next:hover b { color: #5CD4B1; }
}
/* platform CTA, reference style: left aligned, big facing arcs on the right */
.plat-cta__panel { justify-items: start; text-align: left; min-height: clamp(420px, 40vw, 560px); align-content: center; padding: clamp(64px, 7vw, 104px) clamp(24px, 9vw, 140px); }
.plat-cta__arcs { position: absolute; right: clamp(-120px, -4vw, -24px); top: -30%; height: 150%; width: auto; max-width: none; pointer-events: none; }
.plat-cta__title { font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5.5rem); max-width: 12ch; }
.plat-cta__lead { margin: 0 0 32px; max-width: 36ch; }
.plat-cta__next { margin-top: 16px; padding: 0; }
@media (max-width: 899px) {
  .plat-cta__arcs { height: 90%; top: auto; bottom: -18%; right: -30%; opacity: .7; }
}
.plat-cta__panel > .plat-cta__arcs { position: absolute; }
.plat-cta__title { max-width: none; font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.75rem); }
.plat-cta__panel { min-height: 0; padding-block: clamp(72px, 8vw, 120px); }
.plat-cta__arcs { height: 140%; top: -24%; right: clamp(-160px, -8vw, -40px); }
@media (max-width: 899px) { .plat-cta__arcs { height: 70%; top: auto; bottom: -14%; right: -36%; opacity: .7; } }
@media (min-width: 900px) { .plat-cta__arcs { right: clamp(-240px, -13vw, -60px); } }
.plat-cta__next { justify-self: start; white-space: nowrap; }
@media (max-width: 899px) { .plat-cta__arcs { height: 52%; bottom: -26%; right: -30%; opacity: .6; } .plat-cta__panel { padding-bottom: 140px; } }

/* ---------- MOBILE QA pass 2 (platform pages) ---------- */
@media (max-width: 699px) {
  .plat-panel { padding-inline: 12px; }
  .ui-smart, .ui-rates, .ui-config { padding: 14px; }
  .ui-smart__list li { grid-template-columns: 48px 1fr auto; gap: 10px; }
  .ui-smart__list img { width: 48px; height: 40px; }
  .ui-smart__list b, .ui-smart__list small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ui-smart__list li > span:nth-child(2) { min-width: 0; }
}

/* =====================================================================
   PLATFORM pages · shared components for Payments, Business Management,
   Rewards and White Label (same skeleton as Booking Engine)
   ===================================================================== */
/* how-it-works photo: mirroring is opt-in (Booking Engine needs it) */
.stp__photo img { transform: none; }
.stp__photo--mirror img { transform: scaleX(-1); }
.stp__photo--plain img { object-position: 30% 45%; }

/* highlights strip under the hero */
.plat-hl { padding-top: clamp(56px, 6vw, 88px); }
.plat-hl__list { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.plat-hl__item { display: grid; align-content: start; gap: 8px; padding: 28px clamp(16px, 2vw, 28px) 4px 0; }
.plat-hl__item + .plat-hl__item { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.plat-hl__icon { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-purple); color: var(--c-purple); }
.plat-hl__icon .icon { width: 19px; height: 19px; }
.plat-hl__label { font-size: 0.75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.plat-hl__text { font-family: var(--f-display); font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); font-weight: 600; line-height: 1.25; color: var(--ink); }
@media (max-width: 899px) {
  .plat-hl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plat-hl__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .plat-hl__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .plat-hl__item { padding: 20px 12px 16px 0; }
  .plat-hl__item + .plat-hl__item { padding-left: 12px; }
  .plat-hl__item:nth-child(odd) { padding-left: 0; }
}

/* generic hero app body: sidebar + main */
.appx { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.appx__nav { display: grid; align-content: start; gap: 4px; padding: 14px 12px; background: #FDFBF9; border-right: 1px solid var(--line); }
.appx__nav span { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 10px; font-weight: 560; color: var(--ink-2); }
.appx__nav .icon { width: 17px; height: 17px; color: var(--c-purple); }
.appx__nav .is-on { background: var(--c-white); color: var(--ink); box-shadow: var(--shadow-sm); }
.appx__main { display: grid; align-content: start; gap: 14px; padding: 18px; }
.appx__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.appx__head b { font-family: var(--f-display); font-size: 1.1875rem; font-weight: 600; }
.appx__head small { color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: repeat(var(--k, 4), minmax(0, 1fr)); gap: 10px; }
.kpis > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--c-cream); }
.kpis small { color: var(--ink-2); font-size: 0.75rem; }
.kpis b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpis em { font-style: normal; font-size: 0.75rem; font-weight: 650; color: #0B6B4F; }
.kpis .is-accent { background: var(--tint-purple); }
.kpis .is-accent b { color: var(--c-purple); }
.rows { display: grid; gap: 8px; }
.rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 12px; border: 1px solid var(--line); }
.rows li > span:nth-child(2) { display: grid; font-weight: 600; min-width: 0; }
.rows small { color: var(--ink-2); font-size: 0.75rem; font-weight: 400; }
.rows b { font-weight: 650; font-variant-numeric: tabular-nums; }
.rows .plus { color: #0B6B4F; }
.ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--tint-purple); color: var(--c-purple); }
.ico .icon { width: 17px; height: 17px; }
.ico--mint { background: var(--tint-mint); color: #0B6B4F; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 12px 14px 10px; border-radius: 14px; background: var(--c-cream); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(119,57,253,.18); }
.bars i:last-child { background: var(--c-purple); }
.split2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }

/* shared white product card (used inside the soft panels) */
.pcard { width: min(100%, 420px); padding: 18px; display: grid; gap: 12px; background: var(--c-white); border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 0.875rem; line-height: 1.35; }
.pcard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pcard__head > span:first-child { display: grid; }
.pcard__head b { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.pcard__head small { color: var(--ink-2); }
.pcard__btn { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; border-radius: 12px; background: var(--c-deep); color: var(--c-cream); font-weight: 650; }
.pcard__btn .icon { width: 15px; height: 15px; }
.pcard__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 620; }
.pcard__total b { font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; }
.pcard__big { font-family: var(--f-display); font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: 8px; background: rgba(36,14,71,.07); overflow: hidden; }
.meter i { display: block; width: var(--w); height: 100%; border-radius: 8px; background: var(--c-purple); }
.meter--mint i { background: #5CD4B1; }
.meter-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-2); }
.pcard__photo { width: calc(100% + 36px); margin: -18px -18px 0; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 18px 18px 0 0; }
.brandbar { display: flex; align-items: center; gap: 10px; }
.brandbar__logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #FAA6FF; color: var(--c-deep); font-weight: 800; font-size: 0.8125rem; }
.brandbar b { font-weight: 650; }
.brandbar small { margin-left: auto; color: var(--ink-2); }
.pts { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--tint-purple); color: var(--c-purple); font-weight: 650; font-size: 0.8125rem; }
.pts .icon { width: 14px; height: 14px; }
.seg { display: grid; grid-template-columns: repeat(var(--s, 3), 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--c-cream); }
.seg span { display: grid; place-items: center; min-height: 34px; border-radius: 9px; font-weight: 600; font-size: 0.8125rem; color: var(--ink-2); }
.seg .is-on { background: var(--c-white); color: var(--ink); box-shadow: var(--shadow-sm); }
.checks { display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 12px; background: var(--c-cream); }
.checks li > span:nth-child(2) { display: grid; font-weight: 600; }
.checks small { color: var(--ink-2); font-weight: 400; font-size: 0.75rem; }
.checks .done { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #5CD4B1; color: var(--c-deep); }
.checks .done .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.plat-panel .ui-dash { position: relative; right: auto; bottom: auto; width: min(100%, 440px); min-width: 0; margin: 0; }
.plat-panel .ui-paymethods { width: min(100%, 420px); }
.plat-panel.benefit__visual--brand { padding-bottom: clamp(64px, 6vw, 88px); }
.plat-panel .ui-app { width: 100%; }
.plat-panel--app { padding-inline: clamp(16px, 2.6vw, 36px); }

/* hero: payments checkout */
.paybox { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 420px; }
.paybox__sum { display: grid; align-content: start; gap: 12px; padding: 18px; background: #FDFBF9; border-right: 1px solid var(--line); }
.paybox__sum .pcard__photo { width: 100%; margin: 0; border-radius: 14px; aspect-ratio: 16 / 9; }
.paybox__pay { display: grid; align-content: start; gap: 12px; padding: 18px; }
.lines { margin: 0; display: grid; gap: 8px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.lines dt { color: var(--ink-2); }
.lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.paybox .ui-paymethod { padding: 10px; }

/* hero: rewards portal */
.rw-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rw-top .brandbar { flex: 1; }
.rw-hi { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 18px 6px; }
.rw-hi b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.rw-hi small { display: block; color: var(--ink-2); }
.rw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 12px 18px 22px; }
.rw-card { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rw-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rw-card > div { display: grid; gap: 4px; padding: 12px 14px 14px; }
.rw-card b { font-weight: 620; }
.rw-card small { color: var(--ink-2); font-size: 0.75rem; }
.rw-card__foot { display: flex !important; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.rw-card__foot strong { font-family: var(--f-display); font-weight: 700; }
.rw-btn { padding: 8px 12px; border-radius: 10px; background: #FAA6FF; color: var(--c-deep); font-weight: 650; font-size: 0.8125rem; }

/* hero: white label site */
.wlx-nav { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.wlx-nav .brandbar { flex: 1; }
.wlx-nav i { font-style: normal; font-size: 0.8125rem; font-weight: 560; color: var(--ink-2); }
.wlx-hero { position: relative; margin: 14px 18px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 5.4; }
.wlx-hero img { width: 100%; height: 100%; object-fit: cover; }
.wlx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,14,71,.55), rgba(36,14,71,0) 70%); }
.wlx-hero__copy { position: absolute; z-index: 1; left: 24px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; width: min(60%, 420px); }
.wlx-hero__copy b { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; color: #fff; }
.wlx-search { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: #fff; color: var(--ink-2); }
.wlx-search span:last-child { padding: 8px 14px; border-radius: 9px; background: #FAA6FF; color: var(--c-deep); font-weight: 650; }

@media (max-width: 1023px) {
  .appx { grid-template-columns: 1fr; }
  .appx__nav { display: none; }
}
@media (max-width: 699px) {
  .kpis { --k: 2 !important; }
  .split2, .paybox { grid-template-columns: 1fr; }
  .paybox__sum { border-right: 0; border-bottom: 1px solid var(--line); }
  .paybox__sum .pcard__photo, .paybox__sum .lines { display: none; }
  .rw-grid { grid-template-columns: 1fr; }
  .rw-grid .rw-card:nth-child(n+2) { display: none; }
  .rw-card { grid-template-columns: 96px 1fr; }
  .rw-card img { height: 100%; aspect-ratio: auto; }
  .wlx-nav i { display: none; }
  .wlx-hero { aspect-ratio: 4 / 3; }
  .wlx-hero__copy { width: calc(100% - 32px); left: 16px; }
  .rw-hi { flex-direction: column; align-items: flex-start; }
  .pcard { padding: 14px; }
  .pcard__photo { width: calc(100% + 28px); margin: -14px -14px 0; }
}
.paybox__sum { padding-bottom: 44px; }
.split2 .bars { height: auto; min-height: 120px; }
.appx { min-height: 0; }
@media (max-width: 699px) {
  /* room for the floating toast under the hero window */
  .appx__main, .paybox__pay, .rw-grid { padding-bottom: 44px; }
}
@media (max-width: 359px) {
  .ui-smart__list li { grid-template-columns: 1fr auto; }
  .ui-smart__list img { display: none; }
}

/* White Label hero: one engine, three brands (phone screens) */
.wlb { display: flex; justify-content: center; align-items: center; padding: 8px 0 28px; }
.wlp { --b: #5CD4B1; --bt: var(--c-deep); position: relative; flex: none; width: 250px; padding: 10px; border-radius: 34px; background: var(--c-white); box-shadow: var(--shadow-lg); font-size: 0.8125rem; line-height: 1.35; text-align: left; }
.wlp--mint { --b: #5CD4B1; }
.wlp--pink { --b: #FAA6FF; }
.wlp--blue { --b: #2C5BFD; --bt: #fff; }
.wlp:not(.wlp--main) { transform: scale(.88); }
.wlp--main { z-index: 1; width: 272px; margin: 0 -26px; }
.wlp__bar { position: relative; display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 14px; font-size: 0.75rem; font-weight: 650; }
.wlp__bar i { position: absolute; left: 50%; top: 4px; width: 70px; height: 18px; margin-left: -35px; border-radius: 12px; background: #1d1430; }
.wlp__bar::after { content: ""; width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid var(--ink); }
.wlp__brand { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 10px; border-radius: 14px; background: color-mix(in srgb, var(--b) 16%, #fff); }
.wlp__brand b { font-weight: 700; font-size: 0.875rem; }
.wlp__brand .icon { width: 18px; height: 18px; margin-left: auto; color: var(--ink-2); }
.wlp__logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--b); color: var(--bt); font-weight: 800; font-size: 0.8125rem; }
.wlp__img { display: block; width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 16px; margin-top: 10px; }
.wlp__body { display: grid; gap: 2px; padding: 12px 6px 6px; }
.wlp__body > b { font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.wlp__body .ui-stars { margin-left: 0; }
.wlp__body small { color: var(--ink-2); font-size: 0.75rem; }
.wlp__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.wlp__foot > span:first-child { display: grid; }
.wlp__foot strong { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; }
.wlp__btn { padding: 9px 14px; border-radius: 10px; background: var(--b); color: var(--bt); font-weight: 650; }
@media (max-width: 699px) {
  .wlp:not(.wlp--main) { display: none; }
  .wlp--main { margin: 0; width: min(272px, 82vw); }
}
/* floats sit close to the phones on White Label */
.eng-wrap:has(.wlb) .eng__float--left { left: calc(50% - 420px); bottom: 70px; }
.eng-wrap:has(.wlb) .eng__float--right { right: calc(50% - 430px); top: 40px; }
@media (max-width: 1023px) { .eng-wrap:has(.wlb) .eng__float--right { display: none; } .eng-wrap:has(.wlb) .eng__float--left { left: 16px; bottom: 16px; } }
@media (max-width: 699px) { .eng-wrap:has(.wlb) .eng__float--left { left: 50%; bottom: -6px; } }
@media (min-width: 1024px) { .eng-wrap:has(.wlb) .eng__float--left { left: calc(50% - 590px); bottom: 110px; } .eng-wrap:has(.wlb) .eng__float--right { right: calc(50% - 590px); top: 90px; } }
@media (min-width: 1024px) and (max-width: 1239px) { .eng-wrap:has(.wlb) .eng__float--left, .eng-wrap:has(.wlb) .eng__float--right { display: none; } }
@media (max-width: 699px) { .eng-wrap:has(.wlb) .eng__float--left { bottom: -30px; } .wlb { padding-bottom: 40px; } }
/* highlights strip: no dividers */
.plat-hl__list { border-top: 0; }
.plat-hl__item + .plat-hl__item, .plat-hl__item:nth-child(n) { border-left: 0; border-top: 0; }

/* Rewards hero: member card -> redeem -> destination postcard */
.rwh { display: flex; justify-content: center; align-items: center; gap: 0; padding: 24px 0 40px; }
.mcard { position: relative; z-index: 1; flex: none; width: 360px; aspect-ratio: 1.586; padding: 22px 24px; display: grid; align-content: space-between; border-radius: 22px; color: var(--c-cream); background: radial-gradient(120% 140% at 100% 0%, #7739FD 0%, #4B1FB0 45%, #240E47 100%); box-shadow: var(--shadow-lg); transform: rotate(-5deg); text-align: left; }
.mcard__top { display: flex; align-items: center; gap: 10px; }
.mcard__top b { font-weight: 650; }
.mcard__logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #FAA6FF; color: var(--c-deep); font-weight: 800; font-size: 0.875rem; }
.mcard__tier { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(252,248,244,.14); font-size: 0.75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.mcard__pts { display: grid; }
.mcard__pts small { color: rgba(252,248,244,.7); font-size: 0.75rem; }
.mcard__pts strong { font-family: var(--f-display); font-size: 2.5rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.mcard__meter { height: 6px; border-radius: 6px; background: rgba(252,248,244,.18); overflow: hidden; }
.mcard__meter i { display: block; width: 73%; height: 100%; border-radius: 6px; background: #5CD4B1; }
.mcard__foot { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(252,248,244,.75); }
.mcard__foot span:first-child { color: var(--c-cream); font-weight: 650; font-size: 0.875rem; }
.rwh__link { display: flex; align-items: center; gap: 10px; margin: 0 -6px; z-index: 2; }
.rwh__line { width: 40px; border-top: 2px dashed rgba(119,57,253,.45); }
.rwh__chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--c-white); color: var(--c-purple); font-weight: 650; font-size: 0.875rem; white-space: nowrap; box-shadow: var(--shadow-md); }
.rwh__chip .icon { width: 17px; height: 17px; }
.post { position: relative; flex: none; width: 300px; padding: 12px 12px 14px; border-radius: 22px; background: var(--c-white); box-shadow: var(--shadow-lg); transform: rotate(4deg); text-align: left; }
.post__img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 14px; }
.post__stamp { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--c-purple); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post__cap { position: absolute; left: 24px; right: 24px; top: calc(12px + (300px - 24px) * 1.1 - 64px); display: grid; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.post__cap b { font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; }
.post__cap small { font-size: 0.8125rem; }
.post__ok { display: flex; align-items: center; gap: 10px; padding: 12px 4px 0; font-size: 0.8125rem; line-height: 1.3; }
.post__ok > span:last-child { display: grid; }
.post__ok small { color: var(--ink-2); }
.post__ok .ui-toast__icon { width: 32px; height: 32px; border-radius: 9px; }
@media (max-width: 899px) {
  .rwh { flex-direction: column; gap: 4px; }
  .mcard { width: min(340px, 86vw); transform: rotate(-3deg); }
  .rwh__link { flex-direction: column; margin: -8px 0; }
  .rwh__line { width: 0; height: 24px; border-top: 0; border-left: 2px dashed rgba(119,57,253,.45); }
  .post { width: min(290px, 78vw); transform: rotate(2deg); }
  .post__cap { top: auto; bottom: 86px; }
}
.post__cap { top: auto; bottom: 86px; }
@media (min-width: 900px) { .mcard { width: 420px; padding: 26px 28px; } .mcard__pts strong { font-size: 3rem; } .post { width: 330px; } .rwh__line { width: 56px; } .rwh { padding-bottom: 24px; } }
.post__cap { left: 12px; right: 12px; bottom: auto; top: 12px; aspect-ratio: 4 / 4.4; align-content: end; padding: 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(20,8,40,0) 55%, rgba(20,8,40,.62) 100%); text-shadow: none; }
.post__cap b, .post__cap small { color: #fff; } .post__cap small { opacity: .88; }
.pcard__photo { max-width: none; }

/* ---------- MOBILE QA pass 3 ---------- */
@media (max-width: 699px) {
  .paybox__sum { padding-bottom: 18px; }
  .ui-smart__list small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
}
.plat-cta__panel { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 699px) {
  .plat-cta__next { white-space: normal; flex-wrap: wrap; column-gap: 6px; row-gap: 0; text-align: left; }
  .plat-cta__title { overflow-wrap: anywhere; }
}
.post__stamp { z-index: 2; }
@media (max-width: 699px) {
  .plat-features .ui-app__nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 8px; overflow: visible; }
  .plat-features .ui-app__nav button { flex-direction: column; justify-content: center; gap: 4px; min-height: 56px; padding: 6px 4px; font-size: .8125rem; text-align: center; }
}

/* step titles are H3 now */
.stp__title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.stp__text p { margin: 0; }
