
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FBFAF9;
  --cream: #FFF6F3;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --coral: #FF4757;
  --coral-soft: rgba(255, 71, 87, 0.12);
  --coral-ring: rgba(255, 71, 87, 0.22);
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --content-max: 1180px;
  --pad-inline: clamp(16px, 4.5vw, 40px);
}
html {
  /* Sticky header ~82px: without this, nav anchors land underneath it. */
  scroll-padding-top: 96px;
  width: 100%;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-ar);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(255, 71, 87, 0.06), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(15, 23, 42, 0.035), transparent 40%);
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  position: relative;
  line-height: 1.5;
}
body.locale-en { font-family: var(--font-en); direction: ltr; }
body.locale-ar { direction: rtl; }
body.drawer-open { overflow: hidden !important; }

.page-shell {
  width: 100%;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}
img, video, svg, canvas, iframe { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline-start: max(var(--pad-inline), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--pad-inline), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.bespoke-band {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.bespoke-band strong { font-size: 0.9rem; }
.announce-bar {
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 10px var(--pad-inline);
  background: linear-gradient(90deg, rgba(255,71,87,0.12), rgba(255,107,129,0.08));
  border-bottom: 1px solid var(--coral-ring);
  font-size: 0.84rem; font-weight: 600; color: var(--text);
  text-align: center;
}
.announce-bar.show { display: flex; }
/* The same four tones the merchant banners use. A maintenance notice and a
   new-feature note arrived on this bar looking identical. */
.announce-bar[data-tone="warning"] {
  background: linear-gradient(90deg, rgba(245,158,11,0.16), rgba(245,158,11,0.07));
  border-bottom-color: rgba(245,158,11,0.4);
}
.announce-bar[data-tone="maintenance"] {
  background: linear-gradient(90deg, rgba(220,38,38,0.16), rgba(220,38,38,0.07));
  border-bottom-color: rgba(220,38,38,0.42);
}
.announce-bar[data-tone="success"] {
  background: linear-gradient(90deg, rgba(16,185,129,0.16), rgba(16,185,129,0.07));
  border-bottom-color: rgba(16,185,129,0.4);
}
.announce-bar .ann-dismiss {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 1.2rem; cursor: pointer; padding: 4px 8px; line-height: 1;
  border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.announce-bar .ann-dismiss:hover { color: var(--coral); background: var(--coral-soft); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
  overflow: visible;
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  width: 54px; height: 54px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #FF4757 0%, #FF6B81 100%);
  color: #fff; font-weight: 800; font-size: 1.2rem; line-height: 1;
  box-shadow: 0 6px 18px var(--coral-soft);
  overflow: hidden; flex-shrink: 0;
  position: relative;
}
.brand-logo-img {
  width: 100%; height: 100%; object-fit: contain;
  display: block; background: #fff;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.brand-logo-img[hidden], .brand-logo-fallback[hidden] { display: none !important; }
.brand-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.nav-desktop { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-desktop a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.84rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-desktop a:hover { color: var(--coral); background: var(--coral-soft); }
.header-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: nowrap;
  flex-shrink: 0;
}
.currency-dd { position: relative; z-index: 90; }
.currency-dd-btn, .lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font: inherit; font-size: 0.78rem; font-weight: 700; line-height: 1.2;
  color: var(--text); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lang-btn .lang-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft);
}
.currency-dd-btn:hover, .lang-btn:hover,
.currency-dd.is-open .currency-dd-btn { border-color: var(--coral); color: var(--coral); outline: none; }
.currency-dd-flag { font-size: 1rem; line-height: 1; }
.currency-dd-code { letter-spacing: 0.02em; }
.currency-dd-chevron { font-size: 0.7rem; opacity: 0.7; transition: transform 0.2s; }
.currency-dd.is-open .currency-dd-chevron { transform: rotate(180deg); }
.currency-dd-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: min(280px, calc(100% - 16px));
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  max-height: min(360px, 70vh);
  overflow-x: hidden; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 8px; z-index: 120;
  -webkit-overflow-scrolling: touch;
}
.currency-dd-menu[hidden] { display: none !important; }
.currency-dd-group {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 10px 10px 6px; line-height: 1.2;
}
.currency-dd-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: none; border-radius: 12px;
  background: transparent; color: var(--text); font: inherit;
  font-size: 0.84rem; font-weight: 600; cursor: pointer; text-align: start;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.currency-dd-option:hover, .currency-dd-option:focus-visible {
  background: var(--coral-soft); color: var(--coral); outline: none;
}
.currency-dd-option.is-active {
  background: var(--coral-soft); color: var(--coral);
  box-shadow: inset 0 0 0 1px var(--coral-ring);
}
.currency-dd-option .sym {
  margin-inline-start: auto; font-weight: 800; color: var(--text-muted); font-size: 0.78rem;
}
.currency-dd-option.is-active .sym { color: var(--coral); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px; min-height: 48px;
  border: none; font: inherit; font-size: 0.9rem; font-weight: 700; line-height: 1.2;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
  color: #fff; box-shadow: 0 10px 28px rgba(255, 71, 87, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(255, 71, 87, 0.34); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; min-height: 40px; }
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  z-index: 91; flex-shrink: 0;
}

/* Clip portal: fixed viewport box so off-canvas drawer never widens document scroll. */
.drawer-portal {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
  z-index: 190;
  pointer-events: none;
  visibility: hidden;
}
.drawer-portal.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-overlay {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.drawer-portal.open .mobile-overlay,
.mobile-overlay.open { display: block; }

.mobile-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(300px, 86%);
  max-width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  padding: 20px 16px;
  z-index: 2;
  box-shadow: var(--shadow);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s;
  /* LTR default: dock left, slide fully off to the left */
  left: 0;
  right: auto;
  border-inline-end: 1px solid var(--border);
  transform: translateX(-100%);
}
/* RTL: dock right, slide fully off to the right — never use >100% translate */
html[dir="rtl"] .mobile-drawer,
body.locale-ar .mobile-drawer {
  left: auto;
  right: 0;
  border-inline-end: none;
  border-inline-start: 1px solid var(--border);
  transform: translateX(100%);
}
.mobile-drawer.open {
  transform: translateX(0) !important;
  visibility: visible;
  pointer-events: auto;
}
/* Closed drawer: hard-hide so WebKit cannot expand scroll width */
.drawer-portal:not(.open) .mobile-drawer {
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.mobile-nav a {
  padding: 12px 14px; border-radius: 12px;
  text-decoration: none; color: var(--text-muted);
  font-weight: 600; font-size: 0.9rem; line-height: 1.35;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover { background: var(--surface-2); color: var(--coral); }
.mobile-nav a.mobile-cta {
  margin-top: 4px; text-align: center; font-weight: 700;
}
.mobile-nav a.mobile-cta.primary {
  background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(255, 71, 87, 0.25);
}
.mobile-nav a.mobile-cta.ghost {
  border: 1px solid var(--border); color: var(--text); background: var(--surface-2);
}
.section { padding: 80px 0; overflow-x: clip; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 12px; line-height: 1.25;
}
.section-head p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; }

.hero { padding: 56px 0 48px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral-soft); color: var(--coral);
  border-radius: 999px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.18; color: var(--text);
  margin: 0 0 16px;
}
.hero p { font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: var(--text-muted); line-height: 1.7; margin: 0 0 26px; max-width: 34ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-microcopy {
  margin-top: 14px !important; margin-bottom: 0 !important;
  font-size: 0.82rem !important; font-weight: 600; color: var(--text-muted);
}
.hero-strip {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px;
  border-top: 1px dashed var(--border); font-size: 0.78rem; color: var(--text-muted); font-weight: 600;
}
.hero-strip > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }

/* The phone: the product in its real habitat. */
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: 8% -6% 0;
  background: radial-gradient(ellipse at 50% 42%, var(--cream), transparent 68%);
}
.phone {
  position: relative; width: min(300px, 82vw); border-radius: 42px;
  background: var(--text); padding: 12px;
  box-shadow: 0 30px 70px rgba(23, 15, 20, 0.28);
}
.phone-screen { border-radius: 32px; background: #17181C; padding: 14px 12px 20px; min-height: 470px; position: relative; }
.phone-notch { width: 96px; height: 22px; border-radius: 999px; background: #000; margin: 0 auto 14px; }
.wallet-label {
  color: #8A8F98; font-size: 0.62rem; letter-spacing: 0.12em; text-align: center;
  margin-bottom: 12px; font-weight: 700; font-family: var(--font-en); direction: ltr;
}
.push-toast {
  position: relative; z-index: 5; margin: 0 0 12px;
  background: rgba(255, 255, 255, 0.97); border-radius: 13px; padding: 9px 12px;
  box-shadow: var(--shadow); font-size: 0.68rem; line-height: 1.45;
  border: 1px solid var(--border); color: var(--text);
}
/* The real card in the phone: pictures cross-fade one into the next. */
.phone-pass {
  position: relative; z-index: 3; aspect-ratio: 700 / 1000; border-radius: 14px;
  overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.phone-pass img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.6s ease;
}
.phone-pass img.is-entering { opacity: 0; }
/* A card picture anywhere else on the page. */
.card-shot {
  display: block; width: 100%; height: auto; border-radius: 16px;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff;
}
.how-demo .card-shot { max-width: 270px; margin-inline: auto; }
.push-toast b { display: block; font-size: 0.7rem; }

/* The shared white pass — the page's reference card. */
.pass {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow); position: relative; z-index: 3;
  width: 100%; max-width: 340px; margin-inline: auto;
}
.phone-screen .pass { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); max-width: none; }
.pass-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.pass-logo {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--coral), #FF6B81);
}
.pass-names { display: grid; gap: 2px; min-width: 0; }
.pass-names strong { font-size: 0.95rem; }
.pass-names small { color: var(--text-muted); font-size: 0.72rem; }
.pass-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.pass-stamps b {
  aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed var(--border); background: var(--surface-2);
}
.pass-stamps b.on { border: 2px solid var(--coral); background: var(--coral-soft); position: relative; }
.pass-stamps b.on::after { content: ''; position: absolute; inset: 26%; border-radius: 50%; background: var(--coral); }
.pass-line { font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; }
.pass-foot { display: flex; align-items: center; gap: 10px; border-top: 1px dashed var(--border); padding-top: 11px; }
.pass-qr {
  width: 38px; height: 38px; border-radius: 7px; flex-shrink: 0; opacity: 0.85;
  background:
    repeating-linear-gradient(0deg, var(--text) 0 3px, transparent 3px 7px),
    repeating-linear-gradient(90deg, var(--text) 0 3px, var(--surface) 3px 7px);
}
.pass-foot small { color: var(--text-muted); font-size: 0.68rem; letter-spacing: 0.08em; direction: ltr; unicode-bidi: isolate; font-family: var(--font-en); }
.pass-ghost { height: 44px; border-radius: 14px 14px 0 0; margin: -6px 6px 0; position: relative; }
.pass-ghost.g1 { background: #2A2C33; z-index: 2; }
.pass-ghost.g2 { background: #222329; margin-inline: 14px; z-index: 1; }

/* Paper vs digital — one ledger, row by row */
.ledger {
  max-width: 820px; margin-inline: auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.lg-row { display: grid; grid-template-columns: 0.9fr 1.2fr 1.2fr; align-items: stretch; }
.lg-row > div { padding: 14px 18px; font-size: 0.88rem; line-height: 1.6; }
.lg-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.lg-head { background: var(--surface-2); font-weight: 800; font-size: 0.82rem; }
.lg-head .hl { color: var(--coral); }
.lg-row .lbl { font-weight: 700; }
.lg-row .no { color: var(--text-muted); }
.lg-row .no::before { content: '✗ '; color: #DC2626; font-weight: 800; }
.lg-row .yes::before { content: '✓ '; color: var(--emerald); font-weight: 800; }
.lg-row div:nth-child(2), .lg-row div:nth-child(3) { border-inline-start: 1px solid var(--border); }

.hero-cta .play-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral-soft); color: var(--coral);
}
.hero-cta .btn { cursor: pointer; }

/* Live metrics banner */
.metrics-banner {
  padding: 0 0 8px;
}
.metrics-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-block: 8px 4px;
}
.metric-chip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  text-align: start;
  min-width: 0;
}
.metric-chip .metric-pulse {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.45);
  animation: metricPulse 2s ease-out infinite;
}
@keyframes metricPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}
.metric-chip .metric-copy { min-width: 0; }
.metric-chip .metric-value {
  font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); line-height: 1.2;
}
.metric-chip .metric-label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  margin-top: 2px; line-height: 1.35;
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 24px;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-width: 0;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1); border-color: var(--coral-ring); }
.card .ic {
  width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 14px; background: var(--coral-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.45rem; line-height: 1;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); line-height: 1.35; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* Who We Serve — one chip band instead of a whole grid section */
.sector-band { border-block: 1px solid var(--border); background: var(--surface); padding-block: 26px; }
.band-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.band-in > strong { font-size: 0.9rem; }
#sectorsChips { display: contents; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--bg);
  border-radius: 999px; padding: 9px 18px;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
}
.cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.chip-more { border-style: dashed; color: var(--coral); background: var(--surface); text-decoration: none; }
.chip-more:hover { border-color: var(--coral); }
.btn-whatsapp { background: #128c4a; color: #fff; box-shadow: 0 8px 20px rgba(18,140,74,0.2); }
.btn-whatsapp:hover { background: #0f7a40; transform: translateY(-2px); }

/* How It Works — embedded interactive flow */
.how-flow-wrap {
  margin-top: 36px;
  padding: 28px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255, 71, 87, 0.08), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow);
}
.how-flow-head { text-align: center; margin-bottom: 18px; }
.how-flow-head h3 {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px;
}
.how-flow-head p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.flow-demo--embedded .flow-demo-stage { min-height: 260px; }

/* Card types — four mechanics, one pass, tabbed */
.mech-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.mech-tab {
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 9px 20px; font-family: inherit; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; color: var(--text-muted);
}
.mech-tab[aria-selected="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }
.mech-tab:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.mech-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 44px); align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.mech-pass { background: var(--bg); }
.mech-visual { display: grid; justify-items: center; gap: 16px; }
.mech-shot { width: min(300px, 100%); }
.wallet-switch {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px;
  background: var(--surface-2, #f3f4f6); border: 1px solid var(--border);
}
.wallet-switch[hidden] { display: none; }
.wallet-switch button {
  border: 0; background: transparent; border-radius: 999px; padding: 8px 16px;
  font-family: inherit; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); cursor: pointer;
}
.wallet-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.wallet-switch button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
/* The card types and the platform features read as one stretch of the page. */
#card-types { padding-bottom: 36px; }
#features { padding-top: 36px; }
.mech-copy h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.mech-copy p { color: var(--text-muted); margin: 0 0 16px; max-width: 48ch; }
.mech-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.mech-copy li { position: relative; padding-inline-start: 26px; font-size: 0.9rem; }
.mech-copy li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--emerald); font-weight: 800; }
/* Mechanic previews inside the pass (stamps strip / value rows) */
.wp-stamps { position: relative; display: flex; gap: 7px; margin: 10px 0 13px; }
.wp-stamps i {
  width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px dashed var(--border); background: var(--surface-2); display: block;
}
.wp-stamps i.on { background: var(--coral); border: 1.5px solid var(--coral); }
.wp-value-row {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 8px 0 11px; font-family: var(--font-en); direction: ltr;
}
.wp-value-row div:last-child { text-align: end; }
.wp-value-row small { display: block; font-size: 0.55rem; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }
.wp-value-row strong { display: block; font-size: 1.05rem; line-height: 1.05; }

/* Platform features — bento: the differentiator gets the big tile */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.b-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm);
}
.b-tile.b-wide {
  grid-column: span 2; grid-row: span 2;
  background: var(--cream); border-color: var(--coral-ring);
  display: flex; flex-direction: column;
}
.b-ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--coral-soft);
  color: var(--coral); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.b-ic svg { width: 21px; height: 21px; }
.b-tile h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.b-tile p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; margin: 0; }
.b-push-stack { margin-top: auto; display: grid; gap: 8px; padding-top: 18px; }
.b-push {
  margin-top: auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md, 14px); padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.b-push .pass-logo { width: 30px; height: 30px; border-radius: 8px; }
.b-push b { font-size: 0.78rem; display: block; }
.b-push small { color: var(--text-muted); font-size: 0.72rem; line-height: 1.5; }
.b-push-stack .b-push { margin-top: 0; }
.b-push-stack .b-push:nth-child(2) { margin-inline: 10px; opacity: 0.92; }
.b-push-stack .b-push:nth-child(3) { margin-inline: 20px; opacity: 0.84; }

/* How it works — numbered timeline beside the sticky pass */
.how-band { background: var(--surface); border-block: 1px solid var(--border); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 44px; align-items: start; }
.how-steps { counter-reset: st; display: grid; }
.how-step { position: relative; padding-block: 16px 20px; padding-inline: 56px 0; }
.how-step::before {
  counter-increment: st; content: counter(st);
  position: absolute; inset-inline-start: 0; top: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--coral-soft); color: var(--coral);
  font-family: var(--font-en); font-weight: 800;
  display: grid; place-items: center;
}
.how-step:not(:last-child)::after {
  content: ''; position: absolute; inset-inline-start: 18px;
  top: 56px; bottom: -2px; width: 2px; background: var(--border);
}
.how-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.how-step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; max-width: 44ch; }
.how-demo {
  position: sticky; top: 96px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; text-align: center;
}
.how-demo > small { display: block; color: var(--text-muted); font-size: 0.78rem; font-weight: 600; margin-bottom: 14px; }
/* The five-step demo, smaller: it supports the steps instead of starring. */
.how-flow-mini { max-width: 720px; margin-inline: auto; }
.how-flow-mini .flow-demo-stage { min-height: 220px; }

/* Closing call to action */
.close-cta {
  background: linear-gradient(135deg, var(--coral), #E63946);
  border-radius: var(--radius-lg); padding: clamp(34px, 6vw, 58px);
  text-align: center; color: #fff;
  box-shadow: 0 24px 60px rgba(255, 71, 87, 0.3);
}
.close-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.close-cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.35; margin: 0; }
.close-cta p { opacity: 0.92; margin: 0; max-width: 46ch; line-height: 1.7; }
.close-cta .btn { margin-top: 6px; }
.btn-light { background: #fff; color: #E63946; }
.btn-light:hover { background: #fff; }
.cta-micro { margin: 0; font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.contact-mini {
  margin: 16px auto 0; max-width: 560px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 14px 20px;
  display: flex; gap: 12px; align-items: center; justify-content: center;
  flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.contact-mini a { color: var(--coral); text-decoration: none; }
.contact-mini span { direction: ltr; unicode-bidi: isolate; }
.cta-dot { opacity: 0.55; color: var(--text-muted); }

.pricing-trial-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto 22px;
  padding: 16px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--coral-ring);
  background: var(--cream);
}
.pricing-trial-copy {
  display: flex; flex-direction: column; gap: 4px;
  min-width: min(100%, 280px);
}
.pricing-trial-copy strong { font-size: 1rem; font-weight: 800; color: var(--text); }
.pricing-trial-copy span { font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; }

.pos-block {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center;
}
.pos-head { text-align: start; max-width: none; margin: 0 0 20px; }
.pos-badge {
  display: inline-flex; align-items: center; margin-bottom: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.2;
}
.pos-features {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; gap: 10px;
}
.pos-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; font-weight: 600; color: var(--text); line-height: 1.4;
  padding: 14px 16px; border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pos-features li::before {
  content: '✓'; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald);
  font-size: 0.75rem; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.pos-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow);
}
.pos-caption {
  margin-top: 16px; color: var(--text-muted);
  font-size: 0.88rem; font-weight: 600; line-height: 1.45;
}
.cashier-mockup {
  max-width: 280px; margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 14px;
  border: 1px solid var(--border);
}
.cashier-mockup-header {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 12px 16px;
  margin-bottom: 12px; text-align: start;
  box-shadow: var(--shadow-sm);
}
.cashier-mockup-brand { font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.cashier-mockup-brand span { color: var(--coral); font-weight: 800; }
.cashier-mockup-branch {
  display: block; margin-top: 3px;
  font-size: 0.72rem; color: var(--text-muted); font-weight: 500; line-height: 1.3;
}
.cashier-mockup-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.cashier-mockup-title {
  font-size: 0.88rem; font-weight: 800; margin-bottom: 12px;
  text-align: start; letter-spacing: -0.02em; line-height: 1.3;
}
.cashier-mockup-frame {
  position: relative; height: 120px;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 2px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.cashier-mockup-scanline {
  /* Animates transform, not top: moving top relayouts the mockup on every
     frame of an infinite loop, which is the kind of thing a mid-range Android
     feels in the scroll. */
  position: absolute; left: 12%; right: 12%; top: 20%; height: 2px;
  background: var(--coral); opacity: 0.7;
  will-change: transform;
  animation: scanPulse 2.4s ease-in-out infinite;
}
@keyframes scanPulse {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(260%); opacity: 0.9; }
}
.cashier-mockup-qr {
  font-size: 2.5rem; color: var(--text-muted); opacity: 0.35; line-height: 1;
  font-family: var(--font-en);
}
.cashier-mockup-dots {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 14px;
}
.cashier-mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--border);
}
.cashier-mockup-dots span.filled {
  background: var(--coral); border-color: var(--coral);
}
.cashier-mockup-actions { display: grid; gap: 8px; }
.cashier-mock-btn {
  display: block; padding: 10px; border-radius: var(--radius-xl);
  font-size: 0.72rem; font-weight: 700; line-height: 1.2;
}
.cashier-mock-btn.primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 4px 14px var(--coral-soft);
}
.cashier-mock-btn.ghost {
  background: var(--surface-2); color: var(--emerald);
  border: 1.5px solid var(--emerald);
}

.review-card .stars { color: #F59E0B; font-weight: 700; margin: 8px 0; line-height: 1.2; letter-spacing: 0.04em; }
.review-card .who { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; line-height: 1.35; }

.pricing-cycle {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin: 0 auto 28px;
}
.pricing-cycle-label {
  font-size: 0.92rem; font-weight: 700; color: var(--text-muted);
  transition: color 0.2s;
}
.pricing-cycle-label.is-active { color: var(--text); }
.pricing-cycle-switch {
  position: relative; width: 48px; height: 28px; border-radius: 999px;
  border: none; padding: 0; cursor: pointer;
  background: #CBD5E1; box-shadow: none;
  transition: background 0.25s ease;
}
.pricing-cycle-switch.is-yearly {
  background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
  box-shadow: none;
}
.pricing-cycle-knob {
  position: absolute; top: 3px; inset-inline-start: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease;
}
.pricing-cycle-switch.is-yearly .pricing-cycle-knob {
  transform: translateX(20px);
}
html[dir="rtl"] .pricing-cycle-switch.is-yearly .pricing-cycle-knob {
  transform: translateX(-20px);
}
.pricing-save-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: var(--emerald-soft); color: #047857;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.2s, transform 0.2s;
}
.pricing-save-badge.is-visible { opacity: 1; transform: scale(1); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.price-card .amount-notes {
  margin-top: -10px; margin-bottom: 14px;
}
.price-card .amount-note {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.35;
}
.price-card .amount-notes .amount-note + .amount-note { margin-top: 2px; }
.price-card .amount-approx { font-size: 0.7rem; opacity: 0.88; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card-custom { border-style: dashed; background: var(--surface); }
.price-card {
  padding: 30px 24px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.price-card.trial {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.price-card.trial::before {
  content: attr(data-badge);
  position: absolute; top: -11px; inset-inline-start: 22px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.2;
}
.price-card.featured {
  border: 2px solid var(--coral);
  box-shadow: 0 14px 34px rgba(255, 71, 87, 0.14);
  transform: translateY(-4px);
  background: var(--surface);
  z-index: 1;
}
.price-card.featured:hover { transform: translateY(-4px); }
.price-card.featured::before {
  content: attr(data-badge);
  /* Physical left/right only: an inset-inline-*: auto after left: 50%
     resolves to left: auto in LTR and throws the badge off the edge. */
  position: absolute; top: -12px;
  left: 50%; right: auto;
  transform: translateX(-50%);
  max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
  padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
  color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.2;
  box-shadow: 0 8px 18px rgba(255, 71, 87, 0.35);
  white-space: nowrap;
}
.price-card .tier {
  font-size: 0.78rem; font-weight: 700; color: var(--coral);
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2;
}
.price-card .plan-description {
  margin: 9px 0 2px; min-height: 42px;
  color: var(--text-muted); font-size: 0.82rem; line-height: 1.55;
}
.price-card .amount {
  font-size: clamp(2rem, 2.4vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.03em; margin: 10px 0 4px; line-height: 1.1;
}
.price-card .cycle { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.4; }
/* Overlay rule instead of text-decoration: the amount inside is an inline-flex
   currency element, which line-through does not cross. */
.amt-was { position: relative; text-decoration: none; }
.amt-was::after {
  content: ''; position: absolute; inset-inline: -1px; top: 50%;
  border-top: 2px solid currentColor; transform: translateY(-50%); opacity: 0.85;
}
.price-card .amount .amt-was {
  font-size: 0.62em; font-weight: 700; color: var(--text-muted); margin-inline-end: 8px;
}
.price-card ul { list-style: none; flex: 1; margin-bottom: 22px; }
.price-card li {
  padding: 10px 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.5;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.price-card li::before { content: '✓'; color: var(--emerald); font-weight: 800; line-height: 1; }

/* FAQ accordion */
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: grid; gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.is-open {
  border-color: var(--coral-ring);
  box-shadow: 0 10px 28px rgba(255, 71, 87, 0.1);
}
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border: none; background: transparent;
  font: inherit; font-size: 0.98rem; font-weight: 700; color: var(--text);
  text-align: start; cursor: pointer; line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
.faq-trigger:hover { color: var(--coral); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--coral-soft); color: var(--coral);
  position: relative;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; inset: 50% auto auto 50%;
  background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; transition: transform 0.25s ease, opacity 0.2s; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-panel {
  padding: 0 22px 18px;
  color: var(--text-muted); font-size: 0.92rem; line-height: 1.7;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.32s ease, opacity 0.25s ease, padding 0.25s ease;
}
.faq-panel:not([hidden]) {
  max-height: 600px; opacity: 1;
}
.faq-panel[hidden] { display: block !important; max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; pointer-events: none; }

/* Keyboard focus: one designed ring instead of the UA default. */
.btn:focus-visible, .nav-desktop a:focus-visible, .faq-trigger:focus-visible,
.lang-btn:focus-visible, .menu-toggle:focus-visible, .flow-dot:focus-visible,
.pricing-cycle-switch:focus-visible, .lp-modal-close:focus-visible, .badge-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--coral-ring);
}

/* Landing modals */
.lp-modal-overlay {
  position: fixed; inset: 0; z-index: 280;
  display: none; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.lp-modal-overlay.is-open { display: flex; }
/* The page behind an open modal is pinned where it was — header included —
   so nothing scrolls under the finger on iOS or under the wheel on desktop. */
body.lp-modal-locked { position: fixed; inset-inline: 0; width: 100%; }
.lp-modal-overlay[hidden] { display: none !important; }
.lp-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.book-demo-form button[type="submit"] { position: sticky; bottom: 0; }
.lp-modal-card {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  width: min(480px, 100%);
  max-height: min(90dvh, 900px);
  overflow-x: hidden; overflow-y: auto;
  box-shadow: var(--shadow);
  animation: lpModalIn 0.28s ease;
}
.lp-modal-card--media { width: min(720px, 100%); }
@keyframes lpModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lp-modal-close {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 1.25rem; line-height: 1; color: var(--text-muted); cursor: pointer;
}
.lp-modal-close:hover { color: var(--coral); border-color: var(--coral); }
.lp-modal-card h2 {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 6px; padding-inline-end: 36px; line-height: 1.3;
}
.lp-modal-sub {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; margin-bottom: 18px;
}
.book-demo-form label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px; line-height: 1.3;
}
.book-demo-form input, .book-demo-form select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-2);
  font: inherit; margin-bottom: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.book-demo-form input:focus, .book-demo-form select:focus {
  border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-ring); outline: none;
}
/* Country code beside the number: visitors from outside Oman typed their
   local number alone and the team could not tell where to call. */
.book-demo-form .phone-row { display: flex; gap: 8px; margin-bottom: 14px; }
.book-demo-form .phone-row select { flex: 0 0 132px; width: 132px; margin-bottom: 0; padding-inline: 10px; text-overflow: ellipsis; }
.book-demo-form .phone-row input { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.book-demo-error { color: var(--coral); font-size: 0.84rem; font-weight: 600; margin: 0 0 8px; }
/* The quote is the answer the visitor came for: it stands apart from the
   fields below it instead of touching the next label. */
.custom-plan-quote { margin: 6px 0 18px; display: flex; flex-direction: column; gap: 4px; }
.custom-plan-quote[hidden] { display: none; }
.custom-plan-quote-main { font-weight: 700; color: var(--text); line-height: 1.6; }
.custom-plan-quote-approx { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }
.book-demo-success {
  color: #047857; background: var(--emerald-soft);
  padding: 12px 14px; border-radius: var(--radius-md);
  font-size: 0.88rem; font-weight: 700; margin: 0 0 10px; text-align: center;
}
.book-demo-support { margin-top: -8px; font-size: 0.82rem !important; }
.book-demo-support a { color: var(--coral); text-decoration: none; font-weight: 700; }

/* 5-step interactive product flow demo */
.flow-demo { margin-top: 4px; }
.flow-demo-stage {
  position: relative; min-height: 240px;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 71, 87, 0.12), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(16, 185, 129, 0.10), transparent 50%),
    var(--surface-2);
}
.flow-scene {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
  padding: 28px 20px;
}
.flow-scene.is-active {
  opacity: 1; pointer-events: auto;
  transform: translateY(0) scale(1);
  position: relative;
}
/* The four hidden scenes kept every looping animation inside them running at
   full rate behind an opacity of 0 — five scenes' worth of work to show one. */
.flow-scene:not(.is-active) *,
.flow-scene:not(.is-active)::before,
.flow-scene:not(.is-active)::after { animation-play-state: paused !important; }
.flow-visual { width: min(340px, 100%); text-align: center; }
.flow-store-sign {
  font-weight: 800; font-size: 1.05rem; margin-bottom: 16px; color: var(--text);
  letter-spacing: -0.02em;
}
.flow-store-sign span { color: var(--coral); }
.flow-qr-frame {
  position: relative; width: 132px; height: 132px; margin: 0 auto;
  border-radius: 18px; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.flow-qr-grid {
  width: 84px; height: 84px;
  background:
    linear-gradient(#1E293B 0 0) 0 0 / 28% 28%,
    linear-gradient(#1E293B 0 0) 100% 0 / 28% 28%,
    linear-gradient(#1E293B 0 0) 0 100% / 28% 28%,
    repeating-linear-gradient(90deg, #1E293B 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg, #1E293B 0 4px, transparent 4px 8px);
  background-repeat: no-repeat;
  opacity: 0.88;
}
.flow-scan-ring {
  position: absolute; inset: -8px; border-radius: 22px;
  border: 2px solid rgba(255, 71, 87, 0.55);
  animation: flowPulse 1.8s ease-out infinite;
}
.flow-phone-hint {
  width: 54px; height: 90px; margin: 18px auto 0;
  border-radius: 12px; border: 2px solid #334155; background: #1E293B;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  animation: flowBob 2.2s ease-in-out infinite;
}
.flow-wallet-stack { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.flow-wallet-card {
  width: min(260px, 100%); padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 700; font-size: 0.88rem; color: var(--text);
  display: flex; align-items: center; gap: 10px; justify-content: center;
  box-shadow: var(--shadow-sm);
  animation: flowSlideIn 0.7s ease both;
}
.flow-wallet-card.google { animation-delay: 0.12s; }
.flow-wallet-card span {
  width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--coral-soft); color: var(--coral); font-size: 0.85rem;
}
.flow-download-arrow {
  margin: 10px 0; font-size: 1.4rem; color: var(--coral);
  animation: flowBob 1.6s ease-in-out infinite;
}
.flow-pass-mini {
  margin: 0 auto; width: min(220px, 100%);
  border-radius: 16px; padding: 14px;
  /* Same white pass family as the hero and Card Types. */
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); box-shadow: var(--shadow);
  animation: flowPop 0.55s ease 0.2s both;
}
.flow-pass-mini strong { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; margin-bottom: 10px; }
.flow-platform-logo {
  width: 28px; height: 28px; border-radius: 8px; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.94); color: var(--coral);
  font-size: 0.58rem; font-weight: 800; flex-shrink: 0;
}
.flow-platform-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.flow-pass-stamps { display: flex; gap: 6px; justify-content: center; }
.flow-pass-stamps i {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(136,19,55,0.28); display: block;
}
.flow-pass-stamps i:nth-child(-n+3) { background: #FF6B81; border-color: #FF6B81; }
.flow-pos-device {
  width: min(260px, 100%); margin: 0 auto;
  border-radius: 18px; background: #0f172a; padding: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}
.flow-pos-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.flow-pos-bar span { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.flow-pos-screen {
  position: relative; border-radius: 12px; background: #1E293B;
  padding: 22px 14px; color: #fff; min-height: 140px;
}
.flow-pos-label { font-size: 0.78rem; font-weight: 700; opacity: 0.85; margin-bottom: 28px; }
.flow-pos-beam {
  position: absolute; left: 16%; right: 16%; height: 2px; top: 36%;
  background: rgba(255, 71, 87, 0.95);
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.7);
  will-change: transform;
  animation: flowBeam 2.2s ease-in-out infinite;
}
.flow-pos-code {
  margin-top: 48px; font-family: var(--font-en); font-weight: 700;
  letter-spacing: 0.04em; font-size: 0.95rem;
}
.flow-stamp-burst {
  display: inline-flex; margin-top: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--emerald-soft); color: #047857; font-weight: 800;
  animation: flowPop 1.4s ease-in-out infinite;
}
.flow-gift { position: relative; width: 110px; height: 110px; margin: 0 auto 12px; }
.flow-gift-box {
  position: absolute; bottom: 0; left: 10%; right: 10%; height: 58%;
  background: linear-gradient(135deg, #FF4757, #FF6B81); border-radius: 10px;
}
.flow-gift-lid {
  position: absolute; top: 18%; left: 6%; right: 6%; height: 22%;
  background: #e23b4c; border-radius: 8px;
  animation: flowLid 2.4s ease-in-out infinite;
}
.flow-gift-bow {
  position: absolute; top: 28%; left: 50%; width: 14px; height: 48%;
  background: #fff; transform: translateX(-50%); border-radius: 4px; opacity: 0.9;
}
.flow-confetti i {
  position: absolute; width: 8px; height: 8px; border-radius: 2px;
  background: var(--coral); opacity: 0;
  animation: flowConfetti 2.2s ease-in-out infinite;
}
.flow-confetti i:nth-child(1) { left: 18%; top: 20%; animation-delay: 0s; background: #FF4757; }
.flow-confetti i:nth-child(2) { left: 70%; top: 18%; animation-delay: 0.2s; background: #10B981; }
.flow-confetti i:nth-child(3) { left: 30%; top: 8%; animation-delay: 0.35s; background: #F59E0B; }
.flow-confetti i:nth-child(4) { left: 80%; top: 30%; animation-delay: 0.45s; background: #6366F1; }
.flow-confetti i:nth-child(5) { left: 12%; top: 36%; animation-delay: 0.55s; background: #FF6B81; }
.flow-confetti i:nth-child(6) { left: 55%; top: 6%; animation-delay: 0.15s; background: #34D399; }
.flow-visual--reward { position: relative; }
.flow-reward-badge {
  display: inline-flex; margin-top: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--emerald-soft); color: #047857; font-weight: 800; font-size: 0.82rem;
}
.flow-dash {
  width: min(300px, 100%); margin: 0 auto; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
  text-align: start;
}
.flow-dash-nav { height: 28px; background: linear-gradient(90deg, #FF4757, #FF6B81); }
.flow-dash-body {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; padding: 12px;
}
.flow-dash-card {
  height: 42px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border);
  animation: flowCardRise 2s ease-in-out infinite;
}
.flow-dash-card.tall { grid-row: span 2; height: auto; min-height: 92px; }
.flow-dash-chart {
  grid-column: 2 / 4; display: flex; align-items: flex-end; gap: 6px;
  height: 64px; padding: 8px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.flow-dash-chart span {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #FF6B81, #FF4757);
  animation: flowBar 1.8s ease-in-out infinite;
}
.flow-dash-chart span:nth-child(1) { height: 35%; animation-delay: 0s; }
.flow-dash-chart span:nth-child(2) { height: 55%; animation-delay: 0.08s; }
.flow-dash-chart span:nth-child(3) { height: 42%; animation-delay: 0.16s; }
.flow-dash-chart span:nth-child(4) { height: 78%; animation-delay: 0.24s; }
.flow-dash-chart span:nth-child(5) { height: 62%; animation-delay: 0.32s; }
.flow-demo-caption { text-align: center; margin-top: 18px; }
.flow-step-meta {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em;
  color: var(--coral); text-transform: uppercase; margin-bottom: 6px;
}
.flow-demo-caption h3 {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 6px; line-height: 1.3;
}
.flow-demo-caption p {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.55;
  max-width: 46ch; margin: 0 auto;
}
.flow-demo-controls {
  display: flex; justify-content: center; gap: 8px; margin: 18px 0 14px;
}
.flow-dot {
  /* 44px hit target with a 10px visual dot — these are real buttons on phones. */
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--border); background-clip: content-box; cursor: pointer; padding: 17px;
  transition: transform 0.2s, background 0.2s;
}
.flow-dot.is-active {
  background: var(--coral); transform: scale(1.25);
  box-shadow: 0 0 0 4px var(--coral-ring);
}
.flow-demo-nav {
  display: flex; gap: 10px; justify-content: center;
}
.flow-demo-nav .btn { min-width: 120px; }
@keyframes flowPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes flowBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes flowSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flowPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes flowBeam {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(340%); opacity: 1; }
}
@keyframes flowLid {
  0%, 55%, 100% { transform: translateY(0); }
  65%, 85% { transform: translateY(-10px) rotate(-4deg); }
}
@keyframes flowConfetti {
  0% { opacity: 0; transform: translateY(0) rotate(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-36px) rotate(40deg); }
}
@keyframes flowCardRise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes flowBar {
  0%, 100% { transform: scaleY(1); transform-origin: bottom; }
  50% { transform: scaleY(1.12); transform-origin: bottom; }
}
/* WhatsApp float — logical start side (left in LTR, right in RTL) */
.wa-float.is-tucked { opacity: 0; pointer-events: none; transform: translateY(12px); }
.wa-float {
  transition: opacity 0.25s ease, transform 0.25s ease;
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  inset-inline-start: max(18px, env(safe-area-inset-left));
  z-index: 170;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.wa-float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
  animation: waBounce 2.8s ease-in-out infinite;
}
.wa-float:hover .wa-float-btn { transform: scale(1.06); animation-play-state: paused; }
@keyframes waBounce {
  0%, 70%, 100% { transform: translateY(0); }
  80% { transform: translateY(-6px); }
  90% { transform: translateY(0); }
}
.wa-float-tooltip {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; font-size: 0.78rem; font-weight: 700;
  box-shadow: var(--shadow-sm); white-space: nowrap;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.wa-float:hover .wa-float-tooltip,
.wa-float:focus-visible .wa-float-tooltip {
  opacity: 1; transform: translateY(0);
}
.mobile-nav button.mobile-cta {
  width: 100%; border: 1px solid var(--border); color: var(--text);
  background: var(--surface-2); font: inherit; cursor: pointer;
  padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 0.9rem;
  margin-top: 4px; text-align: center;
}

.roi-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow);
  max-width: 640px; margin: 0 auto;
}
.roi-panel label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; line-height: 1.3; }
.roi-panel input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-2);
  font: inherit; margin-bottom: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.roi-panel input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-ring); outline: none; }
.roi-result {
  margin-top: 8px; padding: 16px; border-radius: var(--radius-md);
  background: var(--emerald-soft); color: #047857; font-weight: 700; text-align: center; line-height: 1.4;
}

.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 56px 0 36px; margin-top: 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand-column { min-width: 0; }
.footer-grid .footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; color: var(--text);
}
.footer-brand-mark {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; background: linear-gradient(145deg, var(--coral), #ff6b81);
  color: #fff; font-weight: 800; box-shadow: 0 8px 20px var(--coral-ring);
}
.footer-brand-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.footer-brand-name { color: var(--text); font-size: 1rem; font-weight: 800; line-height: 1.2; }
.footer-grid h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; color: var(--text); line-height: 1.3; }
.footer-grid p, .footer-grid a {
  font-size: 0.84rem; color: var(--text-muted); line-height: 1.65;
  text-decoration: none; display: block; margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--coral); }
.footer-link-col { display: flex; flex-direction: column; gap: 2px; }
.footer-link-col a { display: block; }
.social-row {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; flex-wrap: wrap; margin-top: 16px;
}
.social-pill {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted); line-height: 1.2;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.social-pill:hover { border-color: var(--coral); color: var(--coral); }
.social-icon-link {
  width: 44px; min-width: 44px; max-width: 44px;
  height: 44px; min-height: 44px; max-height: 44px;
  aspect-ratio: 1 / 1; border-radius: 999px !important;
  box-sizing: border-box; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center;
  padding: 0; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.footer-grid .social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  line-height: 0;
}
.social-icon-link:hover {
  border-color: var(--coral); color: var(--coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.social-icon-link svg {
  width: 20px; height: 20px; display: block; flex: 0 0 20px;
  margin: auto;
  fill: currentColor; overflow: visible;
}
.phone-ltr {
  display: inline-block;
  direction: ltr;
  unicode-bidi: plaintext;
  font-family: var(--font-en), ui-sans-serif, system-ui, sans-serif;
  text-align: start;
}
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.badge-pill {
  padding: 6px 12px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral);
  font-size: 0.72rem; font-weight: 700; line-height: 1.2;
}
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.78rem; color: var(--text-muted); line-height: 1.4;
}

.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1025px) and (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 1024px) {
  .nav-desktop,
  .header-actions .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { flex-shrink: 1; gap: 6px; min-width: 0; max-width: 100%; }
  .header-inner { gap: 10px; padding: 12px 0; min-width: 0; }
  .brand { min-width: 0; max-width: 55%; }
  .brand-name {
    font-size: 1.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* Tablets: two columns, not one bloated column. The wallet grid keeps its
     own auto-fit sizing at every width, and 480px below drops the rest to one. */
  .grid-4, .pricing-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .grid-2, .pos-block, .metrics-inner { grid-template-columns: minmax(0, 1fr); }
  .pricing-trial-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .pricing-trial-banner .btn { width: 100%; }
  .section-head, .pos-head { text-align: center; }
  .hero-cta { justify-content: center; max-width: 100%; }
  .pos-features li { text-align: start; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .card, .roi-panel, .pos-visual, .cashier-mockup,
  .cashier-mockup-header, .cashier-mockup-card { max-width: 100%; }
  .price-card.trial::before,
  .price-card.featured::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%) !important;
  }
  .flow-demo-nav .btn { min-width: 0; flex: 1; }
  .wa-float-tooltip { display: none; }
  .currency-dd-menu {
    inset-inline-end: 0;
    inset-inline-start: auto;
    max-width: min(280px, calc(100vw - 24px));
  }
  .site-header { overflow: visible; }
}

/* Placed after every component base rule on purpose: these overrides win
   ties on source order, and the section bases are declared mid-file. */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero p { margin-inline: auto; }
  .kicker { margin-inline: auto; }
  .hero-strip { justify-content: center; }
  .how-grid { grid-template-columns: 1fr; }
  .how-demo { position: static; margin-top: 8px; }
  .mech-card { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-tile.b-wide { grid-column: span 2; }
  .lg-row > div { padding: 12px 10px; font-size: 0.78rem; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .pricing-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .b-tile.b-wide { grid-column: span 1; }
  .how-step { padding-inline-end: 50px; }
  .push-toast { inset-inline-start: -6px; }
}
@media (max-width: 480px) {
  .currency-dd-btn { padding: 8px 10px; font-size: 0.72rem; gap: 4px; }
  .lang-btn { padding: 8px 12px; font-size: 0.72rem; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .container {
    padding-inline-start: max(16px, env(safe-area-inset-left, 0px));
    padding-inline-end: max(16px, env(safe-area-inset-right, 0px));
  }
}
.omr-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  unicode-bidi: isolate;
}
.omr-symbol {
  height: 0.72em;
  width: auto;
  display: inline-block;
  vertical-align: -0.05em;
  flex-shrink: 0;
}
@font-face {
  font-family: 'SARSymbol';
  src: url('/shared/assets/fonts/sar-symbol.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+20C1;
}
@font-face {
  font-family: 'AEDSymbol';
  src: url('/shared/assets/fonts/aed-symbol.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+20C3;
}
.sar-amount, .aed-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  unicode-bidi: isolate;
}
.sar-symbol { font-family: 'SARSymbol', sans-serif; }
.aed-symbol { font-family: 'AEDSymbol', sans-serif; }

/* Someone who asked their device for less motion means it: the page keeps all
   its content and its layout, and loses only the looping decoration. Last in
   the sheet so it wins without !important on every rule. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1 !important; transform: none !important; }
}
