/* ==========================================================================
   Sndibad seller landing page · design system
   ========================================================================== */

:root {
  --ink: #141414;
  --ink-hover: #262626;
  --muted: #717171;
  --inactive: #ADADAD;
  --surface: rgba(64, 64, 64, 0.06);
  --hairline: rgba(65, 65, 65, 0.16);
  --nav-glass: rgba(237, 237, 237, 0.64);
  /* the pill and its drop list share one width so they cannot drift apart */
  --nav-w: 620px;
  --page: #FFFFFF;
  --ease-signature: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  font-family: var(--font);
  background: #000; /* footer shows through behind the page sheet */
  color: var(--ink);
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* The white sheet that slides up to reveal the footer */
.page {
  position: relative;
  z-index: 1;
  background: var(--page);
  border-radius: 0 0 32px 32px;
  overflow: clip;
  padding-bottom: 140px;
}

/* ---------- type ---------- */

.h1 {
  font-size: 80px;
  line-height: 80px;
  font-weight: 650;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.h2 {
  font-size: 56px;
  line-height: 56px;
  font-weight: 650;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.h3 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.eyebrow {
  font-size: 24px;
  line-height: 30px;
  font-weight: 650;
  letter-spacing: normal;
  color: var(--ink);
}

.lede {
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.muted-lede { color: var(--muted); }

.body-muted {
  font-size: 16px;
  line-height: 22px;
  font-weight: 450;
  letter-spacing: -0.16px;
  color: var(--muted);
}

.caption {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  letter-spacing: 0.2px;
  color: var(--muted);
}

.inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- layout ---------- */

.container {
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 834px;
  text-align: center;
}

.section { padding-top: 180px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: clip;
}
.btn-primary:hover { background: var(--ink-hover); }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 10px 16px;
}
.btn-secondary:hover { background: var(--surface); }

.btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* CTA shine sweep (load only) */
.shine {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  margin: -58px 0 0 -58px;
  background: #fff;
  mix-blend-mode: hard-light;
  opacity: 0.1;
  transform: translateX(-320px) rotate(45deg);
  pointer-events: none;
}

/* ---------- media panels ---------- */

.panel {
  background: var(--surface);
  border-radius: 24px;
  overflow: clip;
}

/* ---------- floating nav ---------- */

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  width: var(--nav-w);
  height: 60px;
  border-radius: 30px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(48px);
  backdrop-filter: blur(48px);
  display: flex;
  align-items: center;
  padding: 0 8px 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

/* the real Sndibad wordmark, cropped from Sndibad-2/Sndibad Logo.png and
   recoloured to --ink. 18px keeps it inside the 22px budget the reference mark
   occupied, so the pill reads light. */
.logo-sndibad { display: block; height: 18px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: 16px;
  transition: transform 0.3s var(--ease-signature);
}

.nav-link {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--muted); }

/* Every destination lives in the drop list now, at every width, so the pill
   carries only the logo and the burger and hugs them. */
.nav-links { display: none; }

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-signature), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile-menu {
  position: fixed;
  top: 84px;
  /* same width as the pill above it, and centred the same way, so the two
     line up edge to edge */
  left: 50%;
  transform: translateX(-50%);
  width: var(--nav-w);
  z-index: 8;
  background: rgba(237, 237, 237, 0.92);
  -webkit-backdrop-filter: blur(48px);
  backdrop-filter: blur(48px);
  border-radius: 24px;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 18px;
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu-ar .nav-link { font-family: 'Cairo', var(--font); font-weight: 700; letter-spacing: 0; }

/* ---------- hero ---------- */

.hero { padding-top: 164px; }

.hero .narrow { margin: 0 auto; }

.hero-icon-stack {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 40px;
}

.hero-icon-front,
.hero-icon-peek-top,
.hero-icon-peek-bottom {
  position: absolute;
  left: 50%;
}

.hero-icon-front { z-index: 2; top: 0; transform: translateX(-50%); width: 88px; height: 88px; }
.hero-icon-peek-top { z-index: 1; top: -10px; transform: translateX(-50%); width: 84px; height: 84px; }
.hero-icon-peek-bottom { z-index: 1; bottom: -12px; transform: translateX(-50%); width: 86px; height: 86px; }

/* crossfading icons stack on top of each other inside their slot */
.hero-icon-front .app-icon,
.hero-icon-peek-top .app-icon,
.hero-icon-peek-bottom .app-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.hero-body h1 { margin-bottom: 24px; }

.hero-body { opacity: 0; }
.trusted { opacity: 0; }

/* ---------- app icon (shared) ---------- */

.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22%;
  flex-shrink: 0;
  user-select: none;
}

.app-icon.bordered { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }

/* placeholder dots icon */
.app-icon .dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22%;
  width: 40%;
  height: 40%;
}
.app-icon .dots i {
  border-radius: 50%;
  background: currentColor;
}
.app-icon .dots i:nth-child(2) { opacity: 0; }
.app-icon .dots i:nth-child(4) { opacity: 0; }
.app-icon .dots i:nth-child(6) { opacity: 0; }
.app-icon .dots i:nth-child(8) { opacity: 0; }

/* ---------- trusted by ---------- */

.trusted { margin-top: 96px; }

.trusted-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.trusted-slot {
  position: relative;
  width: 98px;
  height: 28px;
}

.trusted-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #A9A9A9;
  white-space: nowrap;
}

.trusted-layer.serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }

/* ---------- product cover: Sndibad ad-style motion graphic ---------- */

.product-cover {
  margin-top: 80px;
  aspect-ratio: 1430 / 753;
  padding: clamp(14px, 3.5vw, 52px) clamp(14px, 3.5vw, 52px) 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  perspective: 1700px;
}

.sd-app {
  font-family: 'Cairo', var(--font);
  background: #fbfafc;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 100%;
  overflow: clip;
  position: relative;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.sd-camera {
  width: 100%;
  height: 100%;
  display: flex;
  transform-origin: 0 0;
  will-change: transform;
  position: relative;
}

/* floating 3D callout cards, above the app frame */
.sd-floaters { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.sd-float {
  position: absolute;
  filter: drop-shadow(0 18px 30px rgba(23, 14, 60, 0.22));
}
.sd-float-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eeecf4;
  border-radius: 15px;
  padding: 11px 16px;
  font-family: 'Cairo', var(--font);
}
.sd-float b { display: block; font-size: 13.5px; font-weight: 700; color: #111827; line-height: 1.35; white-space: nowrap; }
.sd-float span:not(.fic) { display: block; font-size: 11px; color: #6b7280; white-space: nowrap; }
.sd-float .fic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #EEEAFF;
  color: #5433EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sd-float .fic svg { width: 16px; height: 16px; }
.sd-float .fic.gold { background: #FFF6E0; color: #B47B09; }
.sd-float .fic.mint { background: #ECFDF5; color: #047857; }
.sd-float .fic.amber { background: #FFFBEB; color: #B45309; }
.sd-float.money b { color: #047857; font-size: 15px; }

/* ----- sidebar (real shell) ----- */

.sd-side {
  width: 200px;
  background: #f7f5fb;
  border-inline-end: 1px solid #ebe8f2;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 0;
}

.sd-brandrow { display: flex; align-items: center; gap: 8px; padding: 0 8px 10px; }
.sd-wordmark { font-family: 'Fredoka', var(--font); font-weight: 600; font-size: 21px; color: #5433EB; line-height: 1; }
.sd-brandrow i {
  font-style: normal;
  background: #EEEAFF;
  color: #5433EB;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
}

.sd-storecard {
  margin: 0 2px 8px;
  background: #fff;
  border: 1px solid #ebe8f2;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sd-storecard > span {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #5433EB;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sd-storecard b { display: block; font-size: 11.5px; font-weight: 700; color: #111827; line-height: 1.3; }
.sd-storecard em { display: block; font-style: normal; font-size: 9px; color: #9ca3af; direction: ltr; text-align: end; }

.sd-nav { display: flex; flex-direction: column; overflow: clip; }
.sd-group-label { font-size: 8.5px; font-weight: 700; color: #a7a1b5; padding: 8px 10px 2px; }
.sd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4.5px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4b5563;
  transition: background-color 0.3s, color 0.3s;
}
.sd-item svg { width: 13px; height: 13px; flex-shrink: 0; color: #9ca3af; transition: color 0.3s; }
.sd-item .dot { margin-inline-start: auto; width: 5px; height: 5px; border-radius: 50%; background: #5433EB; opacity: 0; }
.sd-item.active { background: #fff; color: #5433EB; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); }
.sd-item.active svg { color: #5433EB; }
.sd-item.active .dot { opacity: 1; }

/* ----- topbar ----- */

.sd-content { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }

.sd-topbar {
  height: 46px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #ebe8f2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  flex-shrink: 0;
}

.sd-search {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 1px solid #e5e7eb;
  background: rgba(249, 250, 251, 0.8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  font-size: 10.5px;
  color: #9ca3af;
}
.sd-search svg { width: 12px; height: 12px; flex-shrink: 0; }
.sd-search > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sd-search kbd {
  margin-inline-start: auto;
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 700;
  color: #9ca3af;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 4px;
  padding: 1px 5px;
}

.sd-rafiq {
  background: #EEEAFF;
  color: #5433EB;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}
.sd-rafiq svg { width: 12px; height: 12px; }

.sd-bell {
  position: relative;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  flex-shrink: 0;
}
.sd-bell svg { width: 14px; height: 14px; }
.sd-bell b {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  background: #D92A0F;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.sd-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #5433EB;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ----- pages ----- */

.sd-pages { position: relative; flex: 1; min-height: 0; }
.sd-page {
  position: absolute;
  inset: 0;
  padding: 14px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
}
.sd-page.on { opacity: 1; visibility: visible; }

.sd-eyebrow { font-size: 9px; font-weight: 700; color: #938da5; }

.sd-bighead { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.sd-bighead h4 { font-size: 19px; font-weight: 700; color: #111827; line-height: 1.35; letter-spacing: -0.01em; }
.sd-psub { font-size: 11px; color: #6b7280; }
.sd-headaction { display: flex; gap: 7px; align-items: center; flex-shrink: 0; }

.sd-datechip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e8e5f0;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: #374151;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.sd-datechip svg { width: 12px; height: 12px; color: #9ca3af; }

.sd-channel {
  display: flex;
  border: 1px solid #e8e5f0;
  background: #fff;
  border-radius: 11px;
  padding: 3px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.sd-channel i { font-style: normal; font-size: 10px; font-weight: 600; color: #6b7280; border-radius: 8px; padding: 3px 10px; }
.sd-channel i.on { background: #EEEAFF; color: #5433EB; font-weight: 700; }

/* the live-view strip from the real overview */
.sd-livebar {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #e8e5f0;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.sd-livedot { width: 7px; height: 7px; border-radius: 50%; background: #008552; flex-shrink: 0; }
.sd-livetext { font-size: 11px; font-weight: 600; color: #374151; }
.sd-livelink { margin-inline-start: auto; font-size: 10.5px; font-weight: 700; color: #6b7280; white-space: nowrap; }

.sd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e8e5f0;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: #374151;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  white-space: nowrap;
}
.sd-btn-ghost.sm { padding: 5px 10px; font-size: 10px; }
.sd-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #5433EB;
  color: #fff;
  border-radius: 10px;
  padding: 7px 13px;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  white-space: nowrap;
}
.sd-btn-solid svg { width: 11px; height: 11px; }

/* Section card */
.sd-seccard {
  background: #fff;
  border: 1px solid #e8e5f0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sd-sechead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 13px;
  border-bottom: 1px solid #efedf4;
}
.sd-sechead h5 { font-size: 12px; font-weight: 700; color: #111827; }
.sd-secbody { padding: 9px 13px 11px; display: flex; flex-direction: column; min-height: 0; }

.sd-att-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 9px; }
.sd-att {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #eeeaf4;
  border-radius: 11px;
  padding: 7px 10px;
  background: #fff;
  min-width: 0;
}
.sd-att .ic { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sd-att .ic svg { width: 14px; height: 14px; }
.sd-att.violet .ic { background: #EEEAFF; color: #5433EB; }
.sd-att.amber .ic { background: #FFFBEB; color: #B45309; }
.sd-att.mint .ic { background: #ECFDF5; color: #047857; }
.sd-att strong { display: block; font-size: 15px; font-weight: 700; color: #111827; line-height: 1.1; }
.sd-att small { display: block; font-size: 9px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-att .min { min-width: 0; flex: 1; }
.sd-att .chev { color: #d1d5db; flex-shrink: 0; }
.sd-att .chev svg { width: 12px; height: 12px; transform: scaleX(-1); }

.sd-homezone { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; }

.sd-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sd-tile {
  background: #fff;
  border: 1px solid #e8e5f0;
  border-radius: 13px;
  padding: 8px 11px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.05);
  min-width: 0;
}
.sd-tile.active { border-color: #5433EB; }
.sd-tile p { font-size: 9.5px; font-weight: 600; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-tile .tv { font-size: 15px; font-weight: 700; color: #111827; margin-top: 2px; line-height: 1.1; letter-spacing: -0.02em; }
.sd-tile .th { margin-top: 2px; display: flex; align-items: center; gap: 4px; font-size: 8px; color: #9ca3af; white-space: nowrap; overflow: hidden; }

.sd-delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 8.5px;
  font-weight: 700;
  direction: ltr;
}
.sd-delta svg { width: 8px; height: 8px; }
.sd-delta.up { background: #ECFDF5; color: #047857; }

.sd-chartcard {
  flex: 1;
  background: #fff;
  border: 1px solid #e8e5f0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.05);
  padding: 9px 14px 8px;
  display: flex;
  flex-direction: column;
  min-height: 70px;
}
.sd-charttitle { font-size: 12px; font-weight: 700; color: #111827; margin-top: 1px; }
.sd-bigrow { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.sd-bigval { font-size: 19px; }
.sd-vsprev { font-size: 8.5px; color: #9ca3af; margin-top: 1px; }
.sd-chartzone { flex: 1; display: flex; flex-direction: column; min-height: 32px; margin-top: 4px; direction: ltr; }

.sd-plot { flex: 1; position: relative; min-height: 24px; }
.sd-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.sd-xlabels { display: flex; justify-content: space-between; padding-top: 3px; }
.sd-xlabels span { font-size: 7.5px; color: #a7a1b5; font-weight: 600; }

/* orders + products lists */
.sd-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.sd-filter {
  border: 1px solid #e8e5f0;
  background: #fff;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
}
.sd-filter b { color: #9ca3af; font-weight: 700; }
.sd-filter.on { background: #EEEAFF; border-color: #d9ceff; color: #5433EB; }
.sd-filter.on b { color: #5433EB; }
.sd-filter.on.dark { background: #141414; border-color: #141414; color: #fff; }

.sd-filterbar { display: flex; gap: 7px; align-items: center; }
.sd-fakefield {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e8e5f0;
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 10.5px;
  color: #9ca3af;
  white-space: nowrap;
}
.sd-fakefield svg { width: 12px; height: 12px; }
.sd-fakefield.grow { flex: 1; min-width: 0; }
.sd-results { font-size: 10px; color: #9ca3af; font-weight: 600; white-space: nowrap; }

.sd-olist { display: flex; flex-direction: column; min-height: 0; overflow: clip; }
.sd-orow,
.sd-prow {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid #eeecf4;
  border-radius: 12px;
  padding: 7px 13px;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  position: relative;
}
.sd-ocode { font-size: 9.5px; font-weight: 700; color: #9ca3af; direction: ltr; }
.sd-oinfo { flex: 1; min-width: 0; }
.sd-oinfo b,
.sd-oinfo span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-oinfo b { font-size: 11.5px; font-weight: 700; color: #111827; line-height: 1.4; }
.sd-oinfo span { font-size: 9.5px; color: #6b7280; }
.sd-otime { font-size: 9px; color: #9ca3af; white-space: nowrap; }
.sd-oamount { font-size: 12px; font-weight: 700; color: #111827; }

.sd-chip { font-size: 9px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.sd-chip.is-new { background: #EEEAFF; color: #5433EB; }
.sd-chip.is-ship { background: #FEF3C7; color: #B45309; }
.sd-chip.is-done { background: #E6F4EE; color: #008552; }

.sd-pthumb { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
.sd-stock { font-size: 9px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.sd-stock.ok { background: #E6F4EE; color: #008552; }
.sd-instock { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: #6b7280; white-space: nowrap; }
.sd-greendot { width: 6px; height: 6px; border-radius: 50%; background: #008552; }
.sd-newbadge {
  position: absolute;
  top: -6px;
  inset-inline-start: 10px;
  font-style: normal;
  background: #5433EB;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 8px;
}

/* POS fullscreen */
.sd-posfull { background: #fbfafc; padding: 12px 16px 0; gap: 9px; z-index: 4; }
.sd-postop { display: flex; align-items: center; gap: 9px; }
.sd-postop .sd-oinfo { flex: 0 1 auto; }
.sd-spacer { flex: 1; }
.sd-shiftbar {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #e8e5f0;
  border-radius: 10px;
  padding: 6px 13px;
  font-size: 9.5px;
  color: #6b7280;
  font-weight: 600;
}
.sd-posbody { flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; min-height: 0; }
.sd-poscatalog { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.sd-poschips { display: flex; gap: 6px; }
.sd-posgrid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 8px; min-height: 0; }
.sd-positem {
  background: #fff;
  border: 1px solid #eeecf4;
  border-radius: 11px;
  padding: 6px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sd-positem .img { position: relative; display: block; border-radius: 8px; flex: 1; min-height: 34px; margin-bottom: 5px; }
.sd-positem .img .opts {
  position: absolute;
  top: 5px;
  inset-inline-start: 5px;
  font-style: normal;
  background: rgba(20, 20, 20, 0.75);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
}
.sd-positem b { display: block; font-size: 9px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-positem .meta { font-size: 8.5px; color: #6b7280; white-space: nowrap; overflow: hidden; }

.sd-poscart {
  background: #fff;
  border: 1px solid #e8e5f0;
  border-radius: 13px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  min-height: 0;
}
.sd-poslist { display: flex; flex-direction: column; gap: 6px; overflow: clip; }
.sd-posrow {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #faf9fc;
  border: 1px solid #f0eef5;
  border-radius: 10px;
  padding: 6px 10px;
}
.sd-posrow b { flex: 1; font-size: 10px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-posrow .qty { font-size: 9.5px; color: #6b7280; font-weight: 600; }
.sd-posrow > span:last-child { font-size: 10.5px; font-weight: 700; color: #111827; }
.sd-postotals { display: flex; justify-content: space-between; font-size: 10px; color: #6b7280; padding: 0 2px; }
.sd-postotals b { font-size: 11.5px; color: #111827; }
.sd-paybtn {
  margin-top: auto;
  background: #B4A2F5;
  color: #fff;
  border-radius: 12px;
  padding: 11px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sd-paybtn .sd-odometer { color: #fff; font-size: 14px; }
.sd-payghosts { display: flex; gap: 7px; }
.sd-payghosts .sd-btn-ghost { flex: 1; justify-content: center; }

/* analytics */
.sd-anasplit { display: grid; grid-template-columns: 1.5fr 1fr; gap: 9px; flex: 1; min-height: 0; }
.sd-goalnums { font-size: 11px; color: #6b7280; }
.sd-goalnums b { font-size: 14px; font-weight: 700; color: #111827; }
.sd-goalbar { height: 9px; border-radius: 999px; background: #f3f4f6; overflow: clip; margin-top: 8px; }
.sd-goalbar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #5433EB;
  opacity: 0.9;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* odometer */
.sd-odometer {
  display: inline-flex;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.od-digit { display: inline-block; height: 1em; overflow: clip; }
.od-strip { display: flex; flex-direction: column; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.sd-odometer.fast .od-strip { transition-duration: 0.4s; }
.od-strip span { height: 1em; line-height: 1; }
.od-static { display: inline-block; height: 1em; line-height: 1; }

.sd-amount-ltr { direction: ltr; unicode-bidi: isolate; }

/* toast under the bell */
.sd-toast {
  position: absolute;
  top: 52px;
  inset-inline-end: 12px;
  background: #fff;
  border: 1px solid #ebe8f2;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 12, 43, 0.16);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}
.sd-toast .ic {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #EEEAFF;
  color: #5433EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sd-toast .ic svg { width: 14px; height: 14px; }
.sd-toast b { display: block; font-size: 11px; font-weight: 700; color: #111827; line-height: 1.4; white-space: nowrap; }
.sd-toast span { display: block; font-size: 9.5px; color: #6b7280; white-space: nowrap; }

/* tour: tablet + phone */
@media (max-width: 1024px) {
  .product-cover { aspect-ratio: auto; height: 620px; }
  .sd-side { width: 168px; }
  .sd-page { padding: 12px 14px 0; }
  .sd-tiles { grid-template-columns: repeat(2, 1fr); }
  .sd-tile:nth-child(n+3) { display: none; }
  .sd-anasplit { grid-template-columns: 1fr; }
  .sd-goalcard { display: none; }
  .sd-posgrid { grid-template-columns: repeat(3, 1fr); }
  .sd-positem:nth-child(n+7) { display: none; }
  .sd-headaction .sd-btn-ghost { display: none; }
}

@media (max-width: 640px) {
  .product-cover { height: 600px; padding: 12px 12px 0; }
  .sd-side { display: none; }
  .sd-search { display: none; }
  .sd-page { padding: 11px 12px 0; gap: 8px; }
  .sd-bighead h4 { font-size: 15px; }
  .sd-psub { display: none; }
  .sd-datechip { display: none; }
  .sd-att-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-att:nth-child(n+3) { display: none; }
  .sd-otime, .sd-ocode { display: none; }
  .sd-posbody { grid-template-columns: 1fr; }
  .sd-poscatalog { display: none; }
  .sd-float b { font-size: 12px; }
  .sd-float-inner { padding: 9px 12px; }
}

/* ---------- the Palestine globe section ---------- */

.globe-panel {
  position: relative;
  height: 660px;
  background: radial-gradient(130% 130% at 50% 60%, #0F1B32 0%, #0A1226 55%, #070D1B 100%);
  direction: rtl;
  overflow: clip;
}

#sdGlobe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#sdGlobe:active { cursor: grabbing; }

.sd-fin-chips { position: absolute; inset: 0; pointer-events: none; }
.sd-finchip {
  position: absolute;
  background: rgba(13, 24, 44, 0.55);
  border: 1px solid rgba(160, 220, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 11px;
  padding: 7px 12px;
  opacity: 0;
  font-family: 'Cairo', var(--font);
}
.sd-finchip b { display: block; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.sd-finchip span { font-size: 10px; color: rgba(255, 255, 255, 0.6); }

/* copy beside the globe, like the reference shot */
.sd-fin-copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 46px;
  width: 36%;
  max-width: 360px;
  text-align: right;
  pointer-events: none;
  font-family: 'Cairo', var(--font);
  z-index: 2;
}
.sd-fin-kicker { font-size: 10.5px; font-weight: 700; color: #8FE3C8; margin-bottom: 8px; }
.sd-fin-counter { font-size: 36px; color: #fff; letter-spacing: -0.01em; }
.sd-fin-label { font-size: 22px; font-weight: 700; color: #fff; margin-top: 10px; line-height: 1.4; }
.sd-fin-sub { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); margin-top: 3px; line-height: 1.7; }
.sd-fin-hint { font-size: 10.5px; color: rgba(255, 255, 255, 0.4); margin-top: 10px; transition: opacity 0.5s; }

@media (max-width: 1024px) {
  .globe-panel { height: 580px; }
  .sd-fin-counter { font-size: 31px; }
}

@media (max-width: 640px) {
  .globe-panel { height: 600px; }
  .sd-fin-copy {
    top: 24px;
    transform: none;
    inset-inline-start: 0;
    inset-inline-end: 0;
    width: auto;
    max-width: none;
    text-align: center;
    padding: 0 14px;
  }
  .sd-fin-counter { font-size: 28px; }
  .sd-fin-label { font-size: 17px; }
}

/* ---------- pinned stat stack ---------- */

.stats-wrap { height: 3260px; position: relative; }

.stats-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
}

.stats-icons { position: absolute; inset: 0; }

.stats-icon {
  position: absolute;
  will-change: transform;
  opacity: 0;
}

.stats-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.stats-center .eyebrow { margin-bottom: 28px; }

.stat-line {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--inactive);
  will-change: transform;
}

.stats-icon.front { z-index: 3; }

/* Arabic variant: local brand tiles + RTL invitation lines */
.stats-icon-float { will-change: transform; perspective: 500px; }
.app-icon.logo { background: #fff; }
.brandlogo { width: 74%; height: 58%; object-fit: contain; display: block; }
.stats-center-ar .eyebrow,
.stats-center-ar .stat-line { font-family: 'Cairo', var(--font); letter-spacing: 0; }
.stats-center-ar .stat-line {
  font-size: clamp(30px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .stats-center-ar .stat-line { font-size: 26px; }
}

/* ---------- tabbed ticker ---------- */

/* the pinned stack above ends with a full-height viewport of its own, so the
   standard 180px section rhythm lands on top of that trailing space */
.stats-wrap + .section { padding-top: 96px; }

.ticker-section .narrow { margin: 0 auto; }

/* Arabic header: the buyer-journey tour of the Sndibad storefront */
.ticker-head-ar { direction: rtl; }
.ticker-head-ar .h2,
.ticker-head-ar .lede,
.ticker-head-ar .tab { font-family: 'Cairo', var(--font); letter-spacing: 0; }
.ticker-head-ar .h2 { font-size: 46px; line-height: 1.4; font-weight: 700; }
.ticker-sub { margin-top: 16px; }
.ticker-head-ar .tab { font-weight: 700; }
@media (max-width: 767px) {
  .stats-wrap + .section { padding-top: 72px; }
  .ticker-head-ar .h2 { font-size: 30px; }
  .ticker-head-ar .tabs { margin-top: 32px; }
}

.tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  background: rgba(64, 64, 64, 0.06);
  border-radius: 999px;
  padding: 4px;
  margin-top: 48px;
}

.tab {
  position: relative;
  z-index: 1;
  height: 34px;
  padding: 6px 16px;
  border: none;
  background: transparent;
  border-radius: 99px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--inactive);
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); }

.tab-indicator {
  position: absolute;
  top: 4px;
  height: 34px;
  background: #fff;
  border-radius: 99px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticker-panels {
  position: relative;
  height: 668px;
  margin-top: 64px;
}

.ticker-panel {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.ticker-panel.active { visibility: visible; }

/* marquee (shared) */
.marquee { overflow: clip; width: 100%; }
.marquee-track { display: flex; gap: 20px; width: max-content; will-change: transform; }

/* screen cards */
.screen-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.screen-label {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.screen-card {
  width: 268px;
  height: 610px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: clip;
  display: flex;
  flex-direction: column;
}

.sc-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.screen-card.dark { background: #17181B; }
.screen-card.dark .sc-status { color: #fff; }

/* Sndibad bento features — animated compositions */
.bento-section { direction: rtl; font-family: 'Cairo', var(--font); }
.bento-h2 {
  font-size: 50px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}
.bento-h2 em { font-style: normal; color: #5433EB; }
.bento-lede { font-size: 17px; color: var(--muted); margin-top: 16px; line-height: 1.9; }
.bento-toggle {
  position: relative;
  display: inline-flex;
  gap: 4px;
  background: rgba(64, 64, 64, 0.06);
  border-radius: 999px;
  padding: 4px;
  margin-top: 28px;
}
.bento-toggle button {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  font-family: 'Cairo', var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--inactive);
  padding: 8px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s;
}
.bento-toggle button.on { color: var(--ink); }
.bt-ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: left 0.45s var(--ease-signature), width 0.45s var(--ease-signature);
}
/* on wide screens the bento sits inset from the page edges, not full-bleed */
.bento-section > .container { max-width: 1180px; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.bento-card {
  position: relative;
  border-radius: 26px;
  overflow: clip;
  min-height: 382px;
  padding: 34px 36px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-signature), transform 0.8s var(--ease-signature);
}
.bento-section.in .bento-card { opacity: 1; transform: translateY(0); }
.bento-card:nth-child(2) { transition-delay: 0.12s; }
.bento-card:nth-child(3) { transition-delay: 0.2s; }
.bento-card:nth-child(4) { transition-delay: 0.28s; }
.bento-card.b7 { grid-column: span 7; }
.bento-card.b5 { grid-column: span 5; }
.bento-card.b12 { grid-column: span 12; min-height: 0; padding-bottom: 42px; }
.bento-card.b12 .bento-head { text-align: center; }
.bento-card.b12 .bento-body { position: static; margin-top: 28px; }
.bento-card.b12 .bn-morechips { position: static; inset: auto; }
.bento-card.t-gray { background: #F3F3F5; }
.bento-card.t-lilac { background: linear-gradient(150deg, #F1EBFD, #E6DEFA); }
.bento-card.t-mint { background: #E9F3EC; }
.bento-card.t-warm { background: #F5F1EC; }
.bento-head h3 { font-size: 25px; font-weight: 800; color: var(--ink); }
.bento-head p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.8; }
.bento-body { position: absolute; inset: 110px 0 0 0; }

/* shared white panel inside a bento card */
.bn-panel {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 26px 54px -26px rgba(23, 15, 60, 0.32);
}
.bn-panelhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bn-panelhead b { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.bn-paneltag { font-size: 10px; font-weight: 700; color: #2E7D4F; background: #EFF7F1; border-radius: 999px; padding: 3px 9px; }
.bn-photo { width: 34px; height: 34px; border-radius: 10px; background-size: cover; background-position: center; background-color: #f5f2ee; flex-shrink: 0; }

/* card 1: stock */
.bn-stockrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f2f3f5; position: relative; transition: background 0.4s; border-radius: 10px; }
.bn-stockrow:first-of-type { border-top: none; }
.bn-stockrow.low { background: #FDF6EC; }
.bn-stockinfo { flex: 1; }
.bn-stocktop { display: flex; align-items: center; gap: 7px; }
.bn-stocktop > b { font-size: 12px; font-weight: 800; color: var(--ink); }
.bn-stockn { margin-inline-start: auto; font-size: 10.5px; color: var(--muted); font-weight: 700; }
.bn-stockn b { color: var(--ink); }
.bn-lowtag {
  font-size: 8.5px;
  font-weight: 800;
  color: #D97717;
  background: #FDF0DC;
  border-radius: 999px;
  padding: 2px 7px;
  opacity: 0;
  transition: opacity 0.3s;
}
.bn-stockrow.low .bn-lowtag { opacity: 1; }
.bn-stockbar { height: 5px; border-radius: 3px; background: #eef0f3; margin-top: 5px; overflow: clip; }
.bn-stockbar i { display: block; height: 100%; border-radius: 3px; background: #5433EB; transition: width 0.6s var(--ease-signature), background 0.4s; }
.bn-stockbar i.low { background: #D97717; }
.bn-restock {
  position: absolute;
  inset-inline-end: 8px;
  top: -9px;
  background: #2E7D4F;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 9px;
}

/* card 2: meta pixel */
.bn-connrow { display: flex; align-items: center; gap: 10px; }
.bn-flogo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1877F2;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bn-conninfo { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.bn-conninfo b { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.bn-connstate { font-size: 10px; color: var(--muted); font-weight: 700; transition: color 0.3s; }
.bn-connstate.on { color: #2E7D4F; }
.bn-switch {
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: #dfe2e7;
  position: relative;
  transition: background 0.35s;
  flex-shrink: 0;
}
.bn-switch.on { background: #5433EB; }
.bn-knob {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: left 0.35s var(--ease-signature);
}
.bn-switch.on .bn-knob { left: 17.5px; }
.bn-events { display: flex; flex-direction: column; gap: 7px; margin-top: 13px; }
.bn-event {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  background: #F6F6F8;
  border-radius: 10px;
  padding: 7px 11px;
}
.bn-event b { margin-left: auto; font-weight: 700; color: var(--ink); }
.bn-eventdot { width: 7px; height: 7px; border-radius: 50%; background: #c9cdd4; transition: background 0.3s; }
.bn-event.ping .bn-eventdot { background: #5433EB; animation: bnPing 0.9s ease-out; }
@keyframes bnPing { 0% { box-shadow: 0 0 0 0 rgba(84, 51, 235, 0.5); } 100% { box-shadow: 0 0 0 9px rgba(84, 51, 235, 0); } }

/* card 3: tracking */
.bn-delivered { font-size: 10px; font-weight: 800; color: #2E7D4F; opacity: 0; transition: opacity 0.4s; }
.bn-delivered.show { opacity: 1; }
.bn-tstep { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 7px 0; }
.bn-tdot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.4px #dcdfe4;
  background: #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.3s;
}
.bn-tstep.done .bn-tdot { background: #2E7D4F; box-shadow: none; }
.bn-tdot svg { width: 10px; height: 10px; }
.bn-tline { position: absolute; top: 27px; inset-inline-start: 9px; width: 2px; height: 18px; background: #eceef1; border-radius: 1px; overflow: clip; }
.bn-tline i { display: block; width: 100%; height: 0; background: #2E7D4F; transition: height 0.5s var(--ease-signature) 0.2s; }
.bn-tstep.done .bn-tline i { height: 100%; }
.bn-tinfo { display: flex; flex-direction: column; }
.bn-tinfo b { font-size: 12px; font-weight: 800; color: #9ca3af; transition: color 0.3s; }
.bn-tstep.done .bn-tinfo b { color: var(--ink); }
.bn-tinfo span { font-size: 9.5px; color: var(--muted); }

/* card 4: coupons */
.bn-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1.6px dashed #d9cdbd;
  border-radius: 14px;
  padding: 11px 14px;
  transition: border-color 0.35s, background 0.35s;
}
.bn-coupon.applied { border-color: #5433EB; background: #FBFAFF; }
.bn-couponcode { display: flex; flex-direction: column; gap: 1px; }
.bn-couponcode b { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); direction: ltr; }
.bn-couponcode span { font-size: 10px; font-weight: 700; color: #D97717; }
.bn-couponbtn {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: #141414;
  border-radius: 999px;
  padding: 6px 14px;
  transition: background 0.35s;
}
.bn-coupon.applied .bn-couponbtn { background: #5433EB; }
.bn-pricedemo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.bn-prices { display: flex; align-items: baseline; gap: 8px; }
.bn-prices s { font-size: 11px; color: #9ca3af; text-decoration: none; transition: color 0.3s; }
.bn-pricedemo.applied .bn-prices s { text-decoration: line-through; }
.bn-newprice { font-size: 13px; font-weight: 800; color: #2E7D4F; opacity: 0; transition: opacity 0.3s; }
.bn-pricedemo.applied .bn-newprice { opacity: 1; }
.bn-usesrow { margin-top: 10px; font-size: 10.5px; color: var(--muted); font-weight: 700; }
.bn-usesrow b { color: var(--ink); }

/* card 5: analytics */
.bn-kpis { display: flex; gap: 22px; }
.bn-kpi { display: flex; flex-direction: column; gap: 2px; }
.bn-kpi > span { font-size: 10px; color: var(--muted); font-weight: 700; }
.bn-kpin { font-size: 18px; font-weight: 800; color: var(--ink); }
.bn-chart { display: flex; align-items: flex-end; gap: 9px; height: 96px; margin-top: 14px; direction: ltr; }
.bn-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; background: #F4F4F6; border-radius: 7px; overflow: clip; }
.bn-bar i { display: block; width: 100%; border-radius: 7px; background: linear-gradient(to top, #5433EB, #7A5CFF); transition: height 0.9s var(--ease-signature); }

/* card 6: more chips */
.bn-morechips {
  position: absolute;
  inset: 64px 26px 26px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 10px;
}
.bn-morechip {
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(60, 30, 30, 0.3);
  animation: bnChipBob 3.4s ease-in-out infinite alternate;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}
.bn-morechip.hot { background: #5433EB; color: #fff; transform: scale(1.07); }
@keyframes bnChipBob { from { translate: 0 0; } to { translate: 0 -7px; } }

@media (prefers-reduced-motion: reduce) {
  .bento-card { opacity: 1; transform: none; transition: none; }
  .bn-morechip { animation: none; }
}
@media (max-width: 1024px) {
  .bento-card.b7, .bento-card.b5 { grid-column: span 12; }
  .bento-h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  .bento-h2 { font-size: 28px; }
  .bento-card { min-height: 424px; padding: 26px 22px; }
  .bn-panel { left: 16px; right: 16px; bottom: 18px; }
  .bn-morechips { inset: 62px 16px 18px; }
}

/* draggable marquee rows */
.marquee-grab {
  cursor: grab;
  /* pan-y keeps vertical page scrolling; contain stops a horizontal swipe
     from chaining to the browser's back/forward navigation gesture */
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
}
.marquee-grab.dragging { cursor: grabbing; }
.marquee-grab img { -webkit-user-drag: none; }

/* ---------- Sndibad buyer-side screen cards (sb2-*), matched to the
   real Sndibad buyer storefront ---------- */

.screen-label.sb-label,
.screen-card.sb { font-family: 'Cairo', var(--font); }
.screen-card.sb { direction: rtl; display: flex; flex-direction: column; position: relative; }

.sb2-ico { display: inline-flex; }
.sb2-ico svg { width: 12px; height: 12px; display: block; }

.sb2-hero {
  height: 330px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center 20%;
  position: relative;
}
.sb2-status { position: absolute; top: 0; left: 0; right: 0; color: #fff; direction: ltr; }
.sb2-actions {
  position: absolute;
  top: 32px;
  left: 12px;
  right: 12px;
  display: flex;
  direction: ltr;
  justify-content: flex-end;
  gap: 6px;
}
.sb2-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border-radius: 999px;
  background: rgba(30, 26, 22, 0.44);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}
.sb2-glass.ic { width: 26px; }
.sb2-glass.pill { padding: 0 12px; font-size: 9px; font-weight: 700; }
.sb2-storename {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* the Lumière Fleur wordmark uses Cairo like the Arabic UI; no direction
   override, so the Latin name aligns with the Arabic text in RTL flow */

.sb2-sheet {
  flex: 1;
  background: #fff;
  border-radius: 22px 22px 0 0;
  margin-top: -22px;
  position: relative;
  padding: 15px 13px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: clip;
}
.sb2-sheethead { display: flex; justify-content: space-between; align-items: center; }
.sb2-sheethead b { font-size: 16.5px; font-weight: 800; color: #111827; }
.sb2-filter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141414;
}
.sb2-pills { display: flex; gap: 6px; overflow: clip; }
.sb2-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 12px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ececef;
  font-size: 8.5px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  flex-shrink: 0;
}
.sb2-pill.on { background: #141414; color: #fff; box-shadow: none; }
.sb2-pillthumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #f3f4f6;
}
.sb2-pillico { display: inline-flex; color: #fff; }
.sb2-pillico svg { width: 11px; height: 11px; }
.sb2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sb2-prod { display: flex; flex-direction: column; gap: 4px; }
.sb2-photo {
  height: 132px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #f5f2ee;
}
.sb2-prodmeta { display: flex; flex-direction: column; gap: 1px; padding: 0 2px; }
.sb2-prodmeta b { font-size: 8.5px; font-weight: 700; color: #111827; }
.sb2-prodmeta span { font-size: 8.5px; font-weight: 800; color: #111827; }

/* catalog page (تصفح المنتجات) */
.sb2-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 13px;
  overflow: clip;
}
.sb2-page .sc-status { margin: 0 -13px; position: static; color: var(--ink); direction: ltr; }
.sb2-pagehead { display: flex; justify-content: space-between; align-items: center; }
.sb2-pagehead b { font-size: 18px; font-weight: 800; color: #111827; }
.sb2-searchbar {
  height: 28px;
  border-radius: 999px;
  background: rgba(64, 64, 64, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 8.5px;
  color: #9ca3af;
}
.sb2-searchbar .sb2-ico { color: #9ca3af; }
.sb2-tag {
  position: absolute;
  top: 7px;
  inset-inline-start: 7px;
  background: #141414;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}
.sb2-addbtn {
  position: absolute;
  bottom: 7px;
  inset-inline-end: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #141414;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}
.sb2-photo { position: relative; }
.sb2-fab-page { top: auto; bottom: 62px; }

/* categories page (المجموعات), matching the real "استكشف" screen */
.sb2-wordmark {
  text-align: center;
  font-family: 'Fredoka', 'Cairo', var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #5433EB;
}
.sb2-bigtitle { font-size: 23px; font-weight: 800; color: #111827; line-height: 1.3; }
.sb2-catlabel { font-size: 11px; font-weight: 800; color: #111827; }
.sb2-catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sb2-cat {
  border-radius: 16px;
  padding: 9px 10px 10px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb2-cathead {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.sb2-catic { font-size: 10px; }
.sb2-catthumbs { display: flex; gap: 6px; margin-top: auto; }
.sb2-thumb {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 9px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
}

/* product page cards (sb3-*) */
.sb3-bigphoto {
  height: 336px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-color: #f5f2ee;
  flex-shrink: 0;
}
.sb3-bigphoto.sm { height: 216px; position: relative; }
.sb2-page.tight { gap: 7px; }
.sb3-galrow { display: flex; justify-content: flex-end; margin-top: -4px; }
.sb3-galthumb {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.sb3-optrow { display: flex; align-items: center; justify-content: space-between; }
.sb3-storerow { display: flex; justify-content: space-between; align-items: center; }
.sb3-storeid { display: flex; align-items: center; gap: 6px; }
.sb3-storeid b { font-size: 9.5px; font-weight: 700; color: #111827; }
.sb3-storelogo { width: 20px; height: 20px; border-radius: 50%; background-size: cover; background-position: center; }
.sb3-dots { color: #6b7280; font-size: 11px; letter-spacing: 1px; }
.sb3-title { font-size: 16.5px; font-weight: 800; color: #111827; line-height: 1.45; }
.sb3-rating { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: #6b7280; font-weight: 700; }
.sb3-stars { color: #C98A2D; font-size: 9px; letter-spacing: 1px; }
.sb3-pricerow { display: flex; align-items: baseline; gap: 8px; }
.sb3-pricerow b { font-size: 17px; font-weight: 800; color: #111827; }
.sb3-pricerow s { font-size: 10px; color: #9ca3af; }
.sb3-optlabel { font-size: 9.5px; font-weight: 700; color: #111827; }
.sb3-sizes { display: flex; gap: 7px; }
.sb3-size {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 800;
  color: #111827;
}
.sb3-size.on { background: #141414; color: #fff; box-shadow: none; }
.sb3-size.off { color: #c3c7cd; text-decoration: line-through; }
.sb3-sizelink { font-size: 8.5px; font-weight: 700; color: #5433EB; }
.sb3-scarce { font-size: 8.5px; font-weight: 800; color: #D97717; }
.sb3-qtyrow { display: flex; justify-content: space-between; align-items: center; }
.sb3-qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 27px;
  padding: 0 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  font-size: 11px;
  color: #111827;
}
.sb3-qty b { font-size: 9.5px; }
.sb3-cta {
  height: 33px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.sb3-cta.buy { background: #5433EB; }
.sb3-cta.now { background: #141414; }
.sb3-mini-row { display: flex; gap: 8px; }
.sb3-mini {
  flex: 1;
  height: 27px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 700;
  color: #111827;
}
.sb3-desc { font-size: 9px; color: #374151; line-height: 1.9; }
.sb3-hr { border: none; border-top: 1px solid #eceef1; margin: 2px 0; }
.sb3-sechead { display: flex; justify-content: space-between; align-items: center; }
.sb3-sechead b { font-size: 13px; font-weight: 800; color: #111827; }
.sb3-pillbtn {
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  font-size: 8px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}
.sb3-review {
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sb3-review p { font-size: 8.5px; color: #374151; line-height: 1.7; }
.sb3-empty {
  border: 1.5px dashed #e2e5ea;
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.sb3-empty p { font-size: 8.5px; color: #6b7280; }
.sb3-emptyic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f3f5;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb3-qa {
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sb3-q, .sb3-a { display: flex; align-items: flex-start; gap: 7px; }
.sb3-q p { font-size: 8.5px; font-weight: 700; color: #111827; line-height: 1.7; }
.sb3-a p { font-size: 8.5px; color: #4b5563; line-height: 1.7; }
.sb3-qic, .sb3-aic {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
}
.sb3-qic { background: #141414; color: #fff; }
.sb3-aic { background: #EEEAFF; color: #5433EB; }

.sb3-related { border: 1px solid #eef0f3; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.sb3-relh { font-size: 13px; font-weight: 800; color: #111827; }
.sb3-relstore { font-size: 7px; color: #9ca3af; font-weight: 600; }
.sb3-relprice { display: flex; gap: 6px; align-items: baseline; }
.sb3-relprice b { font-size: 9px; font-weight: 800; color: #111827; }
.sb3-relprice s { font-size: 7.5px; color: #9ca3af; }
.sb3-heartbtn {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  z-index: 1;
}
.sb2-tag.ltr { direction: ltr; }
.sb3-copy { font-size: 8px; color: #6b7280; text-align: start; }
.sb3-footctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sb3-theme {
  display: inline-flex;
  background: #f1f2f4;
  border-radius: 999px;
  padding: 2px;
}
.sb3-theme .seg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 7.5px;
  font-weight: 700;
  color: #6b7280;
  padding: 3px 8px;
  border-radius: 999px;
}
.sb3-theme .seg.on { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.sb3-lang { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 700; color: #111827; }
.sb3-footlinks { display: flex; gap: 12px; font-size: 7.5px; font-weight: 600; color: #6b7280; }

/* primary CTA block pinned above the bottom nav on every screen */
.sb-ctazone {
  margin-top: auto;
  padding-bottom: 58px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* cart + checkout cards (sb4-*) */
.sb4-item { display: flex; align-items: center; gap: 9px; }
.sb4-itemph {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #f5f2ee;
  flex-shrink: 0;
}
.sb4-iteminfo { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.sb4-iteminfo b { font-size: 9px; font-weight: 700; color: #111827; }
.sb4-variant { font-size: 7.5px; color: #9ca3af; }
.sb4-itemprice { font-size: 9px; font-weight: 800; color: #111827; }
.sb4-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  font-size: 10px;
  color: #111827;
  flex-shrink: 0;
}
.sb4-qty b { font-size: 8.5px; }
.sb4-shipnote {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  font-weight: 700;
  color: #2E7D4F;
  background: #EFF7F1;
  border-radius: 10px;
  padding: 6px 9px;
}
.sb4-shipnote .sb2-ico { color: #2E7D4F; }
.sb4-sumrow { display: flex; justify-content: space-between; align-items: baseline; font-size: 9px; color: #374151; }
.sb4-sumrow.free span:last-child { color: #2E7D4F; font-weight: 800; }
.sb4-sumrow.total b { font-size: 11.5px; font-weight: 800; color: #111827; }
.sb4-steps { display: flex; align-items: center; gap: 7px; }
.sb4-step { display: flex; align-items: center; gap: 5px; font-size: 8.5px; font-weight: 700; color: #9ca3af; }
.sb4-step.on { color: #111827; }
.sb4-stepdot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.2px #d6d9de;
  color: #9ca3af;
  font-style: normal;
  font-size: 8px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sb4-stepdot.on { background: #5433EB; color: #fff; box-shadow: none; }
.sb4-stepdot.done { background: #2E7D4F; color: #fff; box-shadow: none; }
.sb4-stepdot .sb2-ico svg { width: 9px; height: 9px; }
.sb4-line { flex: 1; height: 1.5px; border-radius: 1px; background: #e5e7eb; }
.sb4-line.on { background: #2E7D4F; }
.sb4-field { display: flex; flex-direction: column; gap: 3px; }
.sb4-flabel { font-size: 7.5px; font-weight: 700; color: #6b7280; }
.sb4-input {
  height: 29px;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 600;
  color: #111827;
}
.sb4-input.empty { color: #9ca3af; font-weight: 500; }
.sb4-dd { color: #9ca3af; font-size: 9px; }
.sb4-pay {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  padding: 9px 11px;
}
.sb4-pay.on { box-shadow: inset 0 0 0 1.5px #5433EB; background: #FBFAFF; }
.sb4-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.3px #d6d9de;
  flex-shrink: 0;
}
.sb4-radio.on { box-shadow: inset 0 0 0 4.5px #5433EB; }
.sb4-payinfo { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.sb4-payinfo b { font-size: 9px; font-weight: 800; color: #111827; }
.sb4-payinfo span { font-size: 7.5px; color: #6b7280; }
.sb4-payic { color: #6b7280; }
.sb4-payic svg { width: 15px; height: 15px; }
.sb4-ordercard {
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sb4-ordertitle { font-size: 10px; font-weight: 800; color: #111827; }
.sb4-terms { font-size: 7px; color: #9ca3af; text-align: center; }
.sb4-success { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; padding: 12px 0 4px; }
.sb4-success b { font-size: 15px; font-weight: 800; color: #111827; }
.sb4-success p { font-size: 8.5px; color: #6b7280; line-height: 1.7; }
.sb4-check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #E5F3EA;
  color: #2E7D4F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 9px #F3FAF6;
  margin-bottom: 4px;
}
.sb4-check .sb2-ico svg { width: 22px; height: 22px; stroke-width: 2; }
.sb3-cta.ghost { background: #fff; color: #111827; box-shadow: inset 0 0 0 1px #e5e7eb; }

/* store info drawer (معلومات المتجر) */
.sb2-drawcardframe { background: #E7D4CD; }
.sb2-drawside {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 18px;
  background: #fff;
  overflow: clip;
}
.sb2-drawside i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  margin: 34px 3px 0;
}
.sb2-sidepill { display: block; height: 16px; border-radius: 8px 0 0 8px; background: #141414; margin: 22px 0 0 3px; }
.sb2-drawside::after { content: ''; position: absolute; inset: 0; background: rgba(150, 110, 100, 0.34); }
.sb2-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  background: linear-gradient(165deg, #EBD9D3, #E2CBC4 70%, #DEC5BE);
  overflow: clip;
  direction: rtl;
}
.sb2-drawtop {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  z-index: 2;
}
.sb2-drawbtn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141414;
}
.sb2-drawbtn.x { box-shadow: 0 0 0 2px #5433EB; background: #fff; }
.sb2-drawscroll {
  position: absolute;
  top: 46px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: sb2DrawerScroll 9s ease-in-out infinite alternate;
}
@keyframes sb2DrawerScroll {
  0%, 16% { transform: translateY(0); }
  46%, 56% { transform: translateY(-180px); }
  88%, 100% { transform: translateY(-356px); }
}
@media (prefers-reduced-motion: reduce) {
  .sb2-drawscroll { animation: none; }
}
.sb2-drawtitle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 2px 2px 0;
}
.sb2-drawtitle b { font-size: 13.5px; font-weight: 800; color: #1c1410; }
.sb2-drawlogo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}
.sb2-drawcard {
  background: rgba(255, 250, 248, 0.86);
  border-radius: 18px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sb2-drawh { font-size: 13px; font-weight: 800; color: #1c1410; margin-bottom: 4px; }
.sb2-drawhrow { display: flex; justify-content: space-between; align-items: center; }
.sb2-drawgo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #141414;
}
.sb2-drow { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; }
.sb2-drowmain { display: flex; align-items: center; gap: 8px; }
.sb2-drow b { font-size: 9.5px; font-weight: 700; color: #1c1410; }
.sb2-dchev { color: #8a7d77; font-size: 11px; }
.sb2-drowthumb {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #fff;
}
.sb2-drowico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}
.sb2-revsummary {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
  color: #C98A2D;
  margin-bottom: 2px;
}
.sb2-revsummary i { color: #8a7d77; font-style: normal; }
.sb2-review {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 11px;
  padding: 7px 9px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb2-revstars { color: #C98A2D; font-size: 8px; letter-spacing: 1px; }
.sb2-review p { font-size: 8.5px; color: #3d332e; line-height: 1.6; }
.sb2-revwho { font-size: 7.5px; color: #8a7d77; font-weight: 700; }

/* search page (البحث) */
.sb2-searchrow { display: flex; align-items: center; gap: 8px; }
.sb2-searchrow .sb2-searchbar { flex: 1; }
.sb2-searchbar.focus { color: #111827; font-weight: 700; }
.sb2-searchbar.focus .sb2-ico { color: #111827; }
.sb2-caret {
  width: 1.5px;
  height: 11px;
  background: #5433EB;
  border-radius: 1px;
  animation: sbCaret 1.1s steps(2) infinite;
}
@keyframes sbCaret { 50% { opacity: 0; } }
.sb2-cancel { font-size: 9px; font-weight: 700; color: #6b7280; flex-shrink: 0; }
.sb2-seclabel { font-size: 9.5px; font-weight: 800; color: #111827; }
.sb2-recents { display: flex; gap: 6px; flex-wrap: wrap; }
.sb2-recent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8.5px;
  font-weight: 600;
  color: #6b7280;
  background: rgba(64, 64, 64, 0.06);
  border-radius: 999px;
  padding: 4px 9px;
}
.sb2-recent .sb2-ico { color: #9ca3af; }
.sb2-recent .sb2-ico svg { width: 10px; height: 10px; }
.sb2-grid.compact .sb2-photo { height: 106px; }
.sb2-kb {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #DCDEE3;
  padding: 7px 4px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  direction: rtl;
  z-index: 2;
}
.sb2-kbrow { display: flex; gap: 3px; justify-content: center; }
.sb2-key {
  flex: 1 1 0;
  max-width: 20px;
  height: 26px;
  background: #fff;
  border-radius: 4.5px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.26);
  font-family: 'Cairo', var(--font);
  font-size: 8.5px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb2-key.mod { background: #B3B8C2; max-width: 26px; }
.sb2-key.num { flex: 1.6; max-width: none; }
.sb2-key.space { flex: 5; max-width: none; }
.sb2-key.go { flex: 1.6; max-width: none; background: #141414; color: #fff; }
.sb2-navico.on::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #141414;
}

.sb2-fab {
  position: absolute;
  top: 402px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #5B2EEA;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(84, 51, 235, 0.5);
  z-index: 3;
}
.sb2-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -4px 18px rgba(17, 12, 40, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  direction: ltr;
  z-index: 2;
}
.sb2-navico { position: relative; color: #141414; display: inline-flex; }
.sb2-navico svg { width: 17px; height: 17px; stroke-width: 1.7; }
.sb2-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 11px;
  height: 11px;
  border-radius: 6px;
  background: #141414;
  color: #fff;
  font-style: normal;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

.sc-hero {
  border-radius: 12px;
  min-height: 120px;
}

/* ---------- flows section ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 80px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.media-card figcaption { margin-top: 24px; text-align: center; }
.media-card figcaption .h3 { margin-bottom: 8px; }

.media-panel {
  height: 508px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.media-panel.short { height: 368px; }

/* phones */
.phone {
  width: 246px;
  height: 466px;
  background: #fff;
  border-radius: 24px;
  overflow: clip;
  position: relative;
}

.phone-bare { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }

.phone-bezel {
  border: 8px solid #1A1A1C;
  border-radius: 36px;
  background: #0E0E10;
}

.phone-bezel::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  opacity: 0.9;
  z-index: 5;
}

.ph-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px 4px;
  font-size: 11px;
  font-weight: 600;
}

.ph-search {
  margin: 10px 14px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  color: var(--inactive);
}

.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.ph-tile {
  height: 52px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-list { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ph-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  padding: 9px 10px;
}
.ph-item .thumb { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.ph-item .tl { flex: 1; }
.ph-item .tl b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }
.ph-item .tl span { font-size: 10px; color: var(--muted); }

/* prototype phone content */
.proto-headline {
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
  padding: 40px 18px 0;
}

.proto-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 18px; }
.proto-grid .pg { height: 74px; border-radius: 8px; background: linear-gradient(160deg, #3A3A40, #232327); }

.proto-cta {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 22px;
  white-space: nowrap;
}

.proto-hotspot {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 52px;
  border: 2.5px solid #3B82F6;
  border-radius: 999px;
  pointer-events: none;
}

/* ---------- creation panels ---------- */

.figma-toolbar {
  background: #1E1E1E;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  transform: scale(1.6);
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  transition: background-color 0.3s;
}
.ft-btn:not(.wide) { padding: 0; }
.ft-btn.lit { background: rgba(255, 255, 255, 0.18); }

.save-menu {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  width: 290px;
  padding: 14px 10px;
}

.sm-label { font-size: 12px; color: var(--muted); font-weight: 450; padding: 4px 10px 8px; }

.sm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  font-size: 14.5px;
}
.sm-row b { font-weight: 600; color: var(--ink); flex: 1; }
.sm-row.toggle.checked { background: rgba(0, 0, 0, 0.04); }

.sm-ic { width: 20px; height: 20px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sm-ic.plus { position: relative; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 50%; }
.sm-ic.plus::after { content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

.sm-bookmark { width: 12px; height: 16px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }

.sm-thumb { width: 30px; height: 30px; border-radius: 8px; }
.sm-thumb.dark { background: #17181B; }
.sm-thumb.light { background: #F2F2F2; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }

.sm-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  position: relative;
  transition: background-color 0.25s;
}
.sm-row.checked .sm-check { background: var(--ink); }
.sm-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 5px;
  width: 6px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.25s;
}
.sm-row.checked .sm-check::after { opacity: 1; }

.comment-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 18px;
}

.cc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cc-head b { font-size: 14.5px; font-weight: 600; }
.cc-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #E8B08A, #B4764C); }
.cc-time { font-size: 12.5px; color: var(--inactive); }

.cc-quote { font-size: 14.5px; line-height: 1.45; color: var(--ink); font-weight: 400; margin-bottom: 14px; }

.cc-input {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  font-size: 14px;
  position: relative;
}

.cc-caret { display: inline-block; width: 1.5px; height: 17px; background: #3B82F6; margin-left: 1px; }

.cc-send {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2E7CF6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- testimonials ---------- */

.testimonials {
  margin-top: 80px;
  height: 804px;
  max-width: 1284px;
  margin-left: auto;
  margin-right: auto;
  overflow: clip;
  column-count: 4;
  column-gap: 20px;
  -webkit-mask-image: linear-gradient(#000 85%, transparent 100%);
  mask-image: linear-gradient(#000 85%, transparent 100%);
}

.t-card {
  break-inside: avoid;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}

.t-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(64, 64, 64, 0.06);
  pointer-events: none;
}

.t-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.t-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  flex-shrink: 0;
}

.t-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
}

.t-name { font-size: 16px; line-height: 20px; font-weight: 600; color: var(--ink); }
.t-company { font-size: 14px; line-height: 18px; color: var(--muted); font-weight: 300; margin-top: 2px; }

.t-quote { font-size: 16px; line-height: 22px; font-weight: 300; letter-spacing: 0.2px; color: var(--ink); }

/* ---------- final CTA + chip marquee ---------- */

.final-cta .narrow { margin: 0 auto; }
.final-cta .lede { margin-top: 24px; }

.chip-marquees {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-right: 72px;
}

.chip-name {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.4px;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- footer ---------- */

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: #000;
  color: #fff;
  padding: 88px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-wordmark { font-size: 26px; font-weight: 650; letter-spacing: -0.3px; }

.footer-tagline { margin-top: 14px; font-size: 16px; color: #A3A3A3; font-weight: 300; }

.footer-cols { display: flex; gap: 96px; padding-right: 40px; }

.footer-cols ul { list-style: none; }

.footer-cols li { margin-bottom: 16px; }

.footer-cols a,
.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 450;
  transition: color 0.2s;
}

.footer-cols a:hover,
.footer-bottom a:hover { color: #A3A3A3; }

.footer-bottom {
  display: flex;
  gap: 220px;
  margin-top: 130px;
  font-size: 16px;
  color: #A3A3A3;
  font-weight: 300;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .two-col, .three-col { grid-template-columns: 1fr; }
  .testimonials { column-count: 2; height: auto; max-height: 1200px; }
  .footer-inner { flex-direction: column; }
  .footer-cols { gap: 56px; padding-right: 0; }
  .footer-bottom { gap: 40px; margin-top: 72px; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .h1 { font-size: 44px; line-height: 44px; letter-spacing: -0.4px; }
  .h2 { font-size: 36px; line-height: 38px; letter-spacing: -0.4px; }

  .section { padding-top: 110px; }
  .hero { padding-top: 130px; }

  /* phones go full bleed; the pill and the drop list both follow --nav-w, and
     the burger and drop list are already styled in the base rules */
  :root { --nav-w: calc(100% - 24px); }
  .nav { padding: 0 8px 0 20px; }

  .trusted-row { gap: 20px; }
  .trusted-slot:nth-child(n+4) { display: none; }

  .tabs { max-width: 100%; overflow-x: auto; }

  .stat-line { font-size: 40px; }

  .testimonials { column-count: 1; }

  .chip-name { font-size: 24px; }
  .chip { gap: 12px; margin-right: 44px; }

  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tab-indicator, .nav-burger span { transition: none; }
}

/* product spotlight card (products scene beat) */
.sd-spot {
  position: absolute;
  top: 22%;
  inset-inline-start: 38%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 152px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(23, 15, 60, 0.35);
  pointer-events: none;
}
.sd-spotimg {
  width: 132px;
  height: 98px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #f3f4f6;
}
.sd-spotmeta { display: flex; flex-direction: column; gap: 2px; }
.sd-spotmeta b { font-size: 11px; color: #111827; }
.sd-spotmeta span { font-size: 10.5px; font-weight: 700; color: #111827; }
.sd-spotmeta i { font-style: normal; font-size: 9px; font-weight: 700; color: #5433EB; }

/* product photo thumbs */
.sd-pthumb { background-size: cover; background-position: center; background-color: #f3f4f6; }
.sd-positem .img { background-size: cover; background-position: center; background-color: #f3f4f6; }

/* ---------- cinematic hero video ---------- */

.hero-cinema {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding-top: 130px;
  padding-bottom: 56px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* warm scrim keyed to the footage, keeps every word readable */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 70% at 50% 42%, rgba(18, 11, 8, 0.1) 0%, rgba(18, 11, 8, 0.4) 76%, rgba(18, 11, 8, 0.62) 100%),
    linear-gradient(180deg, rgba(18, 11, 8, 0.58) 0%, rgba(18, 11, 8, 0.36) 34%, rgba(18, 11, 8, 0.42) 62%, rgba(18, 11, 8, 0.8) 100%);
}

.hero-cinema .container { position: relative; z-index: 2; }

/* warm cream type over the espresso footage */
.hero-cinema .h1 { color: #F7F0E8; }
.hero-cinema .muted-lede { color: rgba(247, 240, 232, 0.74); }

/* Arabic hero copy: Cairo, and a line-height that clears descenders
   (the Latin 80/80 setting clipped them) */
.hero-body h1[lang='ar'],
.hero-body p[lang='ar'] { font-family: 'Cairo', var(--font); letter-spacing: 0; }
.hero-body h1[lang='ar'] { font-size: 68px; line-height: 1.42; font-weight: 700; }
.hero-body p[lang='ar'] { line-height: 2; }
@media (max-width: 900px) {
  .hero-body h1[lang='ar'] { font-size: 44px; }
}
@media (max-width: 640px) {
  .hero-body h1[lang='ar'] { font-size: 34px; }
  .hero-body p[lang='ar'] { font-size: 15px; }
}
.hero-cinema .caption { color: rgba(247, 240, 232, 0.55); }
.hero-cinema .trusted-layer { color: rgba(247, 240, 232, 0.52); }

.hero-cinema .btn-primary { background: #F7F0E8; color: #1D120C; }
.hero-cinema .btn-primary:hover { background: #EDE1D2; }
.hero-cinema .btn-secondary { border-color: rgba(247, 240, 232, 0.35); color: #F7F0E8; }
.hero-cinema .btn-secondary:hover { background: rgba(247, 240, 232, 0.12); }

.hero-cinema .app-icon.bordered { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }

@media (max-width: 640px) {
  .hero-cinema { padding-top: 108px; padding-bottom: 40px; }
  .hero-cinema .trusted { margin-top: 64px; }
}

/* ---------- hero-to-page seam ---------- */

/* tighter gap under the video hero */
.hero-cinema + .section { padding-top: 48px; position: relative; }
.hero-cinema + .section .product-cover { margin-top: 40px; }

/* one living shadow straddling the hero seam: near-opaque exactly on the
   boundary line, feathering out over the footage above and the page below.
   It breathes via WAAPI (see main.js). The panel still paints above it. */
.hero-seam {
  position: absolute;
  top: -170px;
  left: 0;
  right: 0;
  height: 380px;
  background: linear-gradient(
    180deg,
    rgba(20, 12, 9, 0) 0%,
    rgba(20, 12, 9, 0.55) 28%,
    rgba(20, 12, 9, 0.96) 40%,
    rgba(20, 12, 9, 0.96) 50%,
    rgba(20, 12, 9, 0.45) 64%,
    rgba(20, 12, 9, 0.14) 80%,
    rgba(20, 12, 9, 0) 100%
  );
  pointer-events: none;
  will-change: transform;
}

@media (max-width: 640px) {
  .hero-cinema + .section { padding-top: 32px; }
  .hero-cinema + .section .product-cover { margin-top: 28px; }
  .hero-seam { top: -120px; height: 280px; }
}

/* the coupon panel is shorter than its siblings, so bottom-anchoring left a
   big hole under the title; float it up so the free space splits evenly */
.bn-couponpanel { bottom: 60px; }
@media (max-width: 640px) { .bn-couponpanel { bottom: 34px; } }

/* ---------- three steps to start selling ---------- */

.steps-section { direction: rtl; font-family: 'Cairo', var(--font); }
.steps-h2 {
  font-size: 46px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.steps-h2 em { font-style: normal; color: #5433EB; }
.steps-lede { font-size: 17px; color: var(--muted); margin-top: 16px; line-height: 1.9; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.st-card {
  position: relative;
  border-radius: 26px;
  padding: 26px 26px 30px;
  overflow: clip;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-signature), transform 0.8s var(--ease-signature);
}
.steps-section.in .st-card { opacity: 1; transform: translateY(0); }
.st-card:nth-child(2) { transition-delay: 0.12s; }
.st-card:nth-child(3) { transition-delay: 0.24s; }
.st-card.t-lilac { background: linear-gradient(150deg, #F1EBFD, #E6DEFA); }
.st-card.t-warm { background: #F5F1EC; }
.st-card.t-mint { background: #E9F3EC; }

.st-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.st-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #5433EB;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.st-line { flex: 1; height: 2px; border-radius: 2px; background: rgba(84, 51, 235, 0.16); }

.st-stage { position: relative; height: 262px; }

.st-txt { margin-top: 24px; }
.st-txt h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.st-txt p { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.9; }

/* card 1: the storefront being built */
.st-browser {
  position: absolute;
  inset: 8px 6px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 46px -22px rgba(23, 15, 60, 0.3);
  overflow: clip;
}
.st-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1eff5;
  direction: ltr;
}
.st-bar i { width: 7px; height: 7px; border-radius: 50%; background: #e3e0ea; flex-shrink: 0; }
.st-url {
  flex: 1;
  margin-inline-start: 8px;
  background: #f5f4f8;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9.5px;
  color: #6b7280;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.st-caret { display: inline-block; width: 1.5px; height: 10px; background: #5433EB; margin-inline-start: 1px; }

.st-shop { padding: 12px; opacity: 0; }
.st-shop.on { opacity: 1; }
.st-shophead { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.st-shophead b { font-size: 12px; font-weight: 800; color: var(--ink); }
.st-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #5433EB;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-shopcart { margin-inline-start: auto; color: #9ca3af; }
.st-shopcart svg { width: 14px; height: 14px; }
.st-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.st-tile { height: 54px; border-radius: 10px; background: #f2f0f7; display: block; }
.st-tile:nth-child(2) { background: #ebe6f8; }
.st-tile:nth-child(3) { background: #f5eee9; }

.st-ready {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 12px;
  display: none;
  align-items: center;
  gap: 5px;
  background: #E6F4EE;
  color: #056b45;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
}
.st-ready.on { display: inline-flex; }
.st-ready svg { width: 11px; height: 11px; }

.st-free {
  position: absolute;
  bottom: 0;
  inset-inline-end: 4px;
  display: none;
  background: #5433EB;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 14px 26px -10px rgba(84, 51, 235, 0.6);
  transform: rotate(-4deg);
}
.st-free.on { display: block; }

/* card 2: products flying in */
.st-uploadzone {
  position: absolute;
  inset: 6px 0 18px;
  border-radius: 18px;
  border: 1.5px dashed rgba(84, 51, 235, 0.22);
  background: rgba(255, 255, 255, 0.5);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
}
.st-upicon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #fff;
  color: #5433EB;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(23, 15, 60, 0.3);
  margin-bottom: 12px;
}
.st-upicon svg { width: 15px; height: 15px; }

.st-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.st-photo { position: relative; opacity: 0; }
.st-photo.on { opacity: 1; }
.st-photoimg {
  display: block;
  height: 92px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  box-shadow: 0 12px 24px -12px rgba(23, 15, 60, 0.4);
}
.st-price {
  position: absolute;
  bottom: -7px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: none;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 9px;
  box-shadow: 0 6px 14px -6px rgba(23, 15, 60, 0.34);
  direction: ltr;
  white-space: nowrap;
}
.st-price.on { display: block; }

.st-prog {
  height: 6px;
  border-radius: 999px;
  background: rgba(84, 51, 235, 0.12);
  overflow: clip;
  margin-top: auto;
}
.st-prog i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #5433EB;
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #5433EB;
  margin-top: 9px;
  opacity: 0;
}
.st-count.on { opacity: 1; }

/* card 3: orders landing */
.st-orders { position: absolute; inset: 4px 0 74px; display: flex; flex-direction: column; gap: 9px; }
.st-order {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 14px 28px -18px rgba(23, 15, 60, 0.4);
}
.st-oic {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #E6F4EE;
  color: #056b45;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.st-oic svg { width: 14px; height: 14px; }
.st-oinfo { flex: 1; min-width: 0; }
.st-oinfo b { display: block; font-size: 11.5px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-oinfo span { display: block; font-size: 10px; color: var(--muted); }
.st-oamt { font-size: 12.5px; font-weight: 800; color: var(--ink); }

.st-totalbar {
  position: absolute;
  bottom: 6px;
  inset-inline: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 14px 28px -18px rgba(23, 15, 60, 0.4);
}
.st-totalbar > span { font-size: 11px; color: var(--muted); font-weight: 700; }
.st-total {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
.st-ostatus {
  margin-inline-start: auto;
  display: none;
  align-items: center;
  gap: 5px;
  background: #FEF3C7;
  color: #92610a;
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.st-ostatus.on { display: inline-flex; }
.st-ostatus svg { width: 11px; height: 11px; }

@media (prefers-reduced-motion: reduce) {
  .st-card { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps-h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  .steps-h2 { font-size: 28px; }
  .st-card { padding: 22px 20px 26px; }
  .st-stage { height: 240px; }
  .st-txt h3 { font-size: 19px; }
}

/* globe section caption (Arabic) */
.globe-cap { font-family: 'Cairo', var(--font); direction: rtl; text-align: center; }
.globe-cap h3 { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.globe-cap p { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.95; }
@media (max-width: 640px) {
  .globe-cap h3 { font-size: 21px; }
  .globe-cap p { font-size: 13.5px; }
}

/* ---------- final section: founding-seller form + photo wall ---------- */

.join-section { direction: rtl; font-family: 'Cairo', var(--font); }
.join-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(160deg, #F6F3FE 0%, #EFEAFC 100%);
  border-radius: 32px;
  padding: 48px;
  overflow: clip;
}

.join-badge {
  display: inline-block;
  background: #5433EB;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 18px;
}
.join-h2 { font-size: 42px; line-height: 1.3; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.join-lede { font-size: 16px; color: var(--muted); margin-top: 12px; line-height: 1.9; max-width: 34em; }

.join-form { margin-top: 26px; }
.jf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.jf-field { display: block; }
.jf-field > span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.jf-field > span i { font-style: normal; font-weight: 600; color: var(--inactive); }
.jf-field input,
.jf-field select,
.jf-field textarea {
  width: 100%;
  font-family: 'Cairo', var(--font);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #E4DFF3;
  border-radius: 13px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.jf-field textarea { resize: none; line-height: 1.7; }
.jf-field input::placeholder,
.jf-field textarea::placeholder { color: #B6B2C4; }
.jf-field input:focus,
.jf-field select:focus,
.jf-field textarea:focus {
  border-color: #5433EB;
  box-shadow: 0 0 0 4px rgba(84, 51, 235, 0.1);
}

.jf-q {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.jf-q span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.jf-q b {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 800;
  color: #5433EB;
  background: rgba(84, 51, 235, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  min-height: 20px;
}
/* no chips picked yet: the pill would otherwise read as a stray dot */
.jf-q b:empty { display: none; }

.pain-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pain-chip {
  font-family: 'Cairo', var(--font);
  font-size: 12.5px;
  font-weight: 600;
  color: #4b4b57;
  background: #fff;
  border: 1px solid #E4DFF3;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pain-chip:hover { border-color: #C9BCF5; color: var(--ink); }
.pain-chip.on { background: #5433EB; border-color: #5433EB; color: #fff; font-weight: 700; }

.jf-submit {
  width: 100%;
  font-family: 'Cairo', var(--font);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: #5433EB;
  border: none;
  border-radius: 14px;
  padding: 15px;
  margin-top: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 16px 30px -14px rgba(84, 51, 235, 0.7);
}
.jf-submit:hover { background: #4524DB; }
.jf-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; }

.jf-done { display: none; padding: 20px 0; }
.jf-done.on { display: block; }
.jf-done .jd-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #E6F4EE;
  color: #056b45;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.jf-done .jd-ic svg { width: 26px; height: 26px; }
.jf-done h3 { font-size: 24px; font-weight: 800; color: var(--ink); }
.jf-done p { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.9; }

/* photo wall */
.join-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: 560px;
  overflow: clip;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.jp-col { overflow: clip; }
.jp-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: jpScroll 50s linear infinite;
  will-change: transform;
}
.jp-col.down .jp-track { animation-direction: reverse; }
.jp-tile {
  display: block;
  height: 190px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-color: #EDE9F8;
  box-shadow: 0 18px 32px -20px rgba(23, 15, 60, 0.45);
  flex-shrink: 0;
}
@keyframes jpScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .jp-track { animation: none; }
}
@media (max-width: 1024px) {
  .join-wrap { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .join-photos { height: 300px; order: -1; }
  .jp-tile { height: 140px; }
  .join-h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  .join-wrap { padding: 26px 20px; border-radius: 26px; }
  .join-h2 { font-size: 27px; }
  .jf-row { grid-template-columns: 1fr; }
  .join-photos { grid-template-columns: repeat(2, 1fr); height: 240px; }
  .jp-tile { height: 120px; }
  .pain-chip { font-size: 11.5px; padding: 7px 12px; }
}

/* Arabic hero CTAs: Cairo type, arrow mirrored for RTL */
.btn-row-ar .btn { font-family: 'Cairo', var(--font); font-weight: 700; }
.rtl-flip { transform: scaleX(-1); }

/* trusted-by row repurposed: what every seller gets, free */
.trusted-ar .caption { font-family: 'Cairo', var(--font); font-weight: 700; letter-spacing: 0; }
.trusted-ar .trusted-row { gap: 34px; }
.trusted-ar .trusted-slot { width: 156px; height: 30px; }
.trusted-ar .trusted-layer {
  font-family: 'Cairo', var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-cinema .trusted-ar .trusted-layer { color: rgba(247, 240, 232, 0.66); }
@media (max-width: 1024px) {
  .trusted-ar .trusted-row { gap: 24px; }
  .trusted-ar .trusted-slot { width: 140px; }
  .trusted-ar .trusted-layer { font-size: 13.5px; }
}
@media (max-width: 640px) {
  .trusted-ar .trusted-row { gap: 14px; }
  .trusted-ar .trusted-slot { width: 112px; height: 26px; }
  .trusted-ar .trusted-layer { font-size: 11.5px; }
}

/* hero rotator: category glyphs */
.catmark { display: flex; align-items: center; justify-content: center; }
.catmark svg { width: 100%; height: 100%; display: block; }

/* hero rotator: category name inside the tile */
.catword {
  font-family: 'Cairo', var(--font);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  direction: rtl;
  letter-spacing: 0;
  padding: 0 6px;
}

/* ---------- lead form validation ---------- */

.jf-field.invalid input,
.jf-field.invalid select,
.jf-field.invalid textarea {
  border-color: #D92A0F;
  box-shadow: 0 0 0 4px rgba(217, 42, 15, 0.09);
}
.jf-err {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: #D92A0F;
  margin-top: 6px;
}

/* ==========================================================================
   contact.html: the lead form on its own page, no sliding sheet or footer
   reveal, so the body paints white instead of the landing page's black.
   ========================================================================== */

.contact-body {
  background: var(--page);
  font-family: 'Cairo', var(--font);
}
.contact-page { padding-top: 84px; }
.contact-page .join-section { padding-top: 40px; }

.contact-direct { padding-top: 96px; }
.contact-h2 {
  font-family: 'Cairo', var(--font);
  font-size: 30px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
  border-color: #C9BCF5;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -22px rgba(23, 15, 60, 0.45);
}
.contact-card b { font-size: 16px; font-weight: 800; color: var(--ink); }
.contact-card em {
  font-style: normal;
  font-family: var(--font);
  font-size: 14px;
  color: var(--muted);
}
.cc-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.cc-ic svg { width: 24px; height: 24px; }
.cc-ic.wa { background: #E4F5EE; color: #128C7E; }
.cc-ic.site { background: var(--surface); color: var(--ink); }

.contact-footer {
  padding: 64px 0 48px;
  text-align: center;
  border-top: 1px solid var(--hairline);
  margin-top: 96px;
}
.contact-footer-mark {
  font-family: 'Fredoka', var(--font);
  font-size: 24px;
  font-weight: 600;
  color: #5433EB;
}
.contact-footer-note { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.9; }

@media (max-width: 640px) {
  .contact-page { padding-top: 72px; }
  .contact-direct { padding-top: 64px; }
  .contact-h2 { font-size: 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-footer { margin-top: 64px; padding: 48px 0 40px; }
}

/* ---------- footer (Arabic, Sndibad) ---------- */

.site-footer[dir="rtl"] { font-family: 'Cairo', var(--font); }
.site-footer[dir="rtl"] .footer-inner { gap: 56px; }

.footer-wordmark {
  font-family: 'Fredoka', var(--font);
  font-weight: 600;
  font-size: 30px;
  color: #A08CF8;
  letter-spacing: 0;
}
.site-footer[dir="rtl"] .footer-tagline {
  font-family: 'Cairo', var(--font);
  font-size: 14.5px;
  line-height: 1.9;
  color: #9C97A8;
  margin-top: 12px;
}
.footer-cta {
  display: inline-block;
  margin-top: 20px;
  background: #5433EB;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 12px;
  padding: 11px 22px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.footer-cta:hover { background: #4524DB; }

.site-footer[dir="rtl"] .footer-cols { gap: 64px; padding: 0; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer[dir="rtl"] .footer-cols li { margin-bottom: 13px; }
.site-footer[dir="rtl"] .footer-cols a {
  font-family: 'Cairo', var(--font);
  font-size: 14px;
  font-weight: 500;
  color: #9C97A8;
}
.site-footer[dir="rtl"] .footer-cols a:hover { color: #fff; }

.site-footer[dir="rtl"] .footer-bottom {
  gap: 32px;
  margin-top: 88px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: 'Cairo', var(--font);
  font-size: 13px;
  color: #7E7A8A;
  align-items: center;
}
.site-footer[dir="rtl"] .footer-bottom a { font-size: 13px; color: #7E7A8A; font-weight: 500; }
.site-footer[dir="rtl"] .footer-bottom a:hover { color: #fff; }
.footer-made {
  margin-inline-start: auto;
  color: #9C97A8;
  font-weight: 700;
}
.footer-made::after { content: ' 🇵🇸'; }

@media (max-width: 900px) {
  .site-footer[dir="rtl"] .footer-cols { gap: 40px; flex-wrap: wrap; }
  .site-footer[dir="rtl"] .footer-bottom { margin-top: 56px; gap: 18px; }
  .footer-made { margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .footer-wordmark { font-size: 26px; }
  .site-footer[dir="rtl"] .footer-cols { gap: 32px; }
  .footer-col { min-width: 40%; }
}

/* brand logo */
.nav-logo-img { display: block; height: 21px; width: auto; }
.footer-logo { display: block; height: 34px; width: auto; }
@media (max-width: 640px) {
  .nav-logo-img { height: 19px; }
  .footer-logo { height: 29px; }
}

/* ---------- footer: mobile ---------- */

@media (max-width: 640px) {
  .site-footer[dir="rtl"] { padding: 44px 0 30px; }
  .site-footer[dir="rtl"] .footer-inner { gap: 30px; }

  .footer-logo { height: 27px; }
  .site-footer[dir="rtl"] .footer-tagline { font-size: 13.5px; line-height: 1.8; margin-top: 10px; }
  .footer-cta { margin-top: 16px; padding: 12px 20px; font-size: 13px; }

  /* two tidy columns, then the social row spans the full width */
  .site-footer[dir="rtl"] .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 16px;
  }
  .footer-col { min-width: 0; }
  .footer-col h4 { font-size: 12px; margin-bottom: 11px; }
  .site-footer[dir="rtl"] .footer-cols li { margin-bottom: 10px; }
  .site-footer[dir="rtl"] .footer-cols a { font-size: 13.5px; }

  .footer-col:nth-child(3) { grid-column: 1 / -1; }
  .footer-col:nth-child(3) ul { display: flex; flex-wrap: wrap; gap: 9px 16px; }
  .footer-col:nth-child(3) li { margin-bottom: 0; }

  /* bottom bar stays a wrapped row instead of a tall stack */
  .site-footer[dir="rtl"] .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 30px;
    padding-top: 18px;
    font-size: 11.5px;
  }
  .site-footer[dir="rtl"] .footer-bottom a { font-size: 11.5px; }
  .footer-made { margin-inline-start: 0; width: 100%; font-size: 11.5px; }
}

/* ==========================================================================
   Public legal pages (/privacy, /terms), rendered from the admin-edited text
   ========================================================================== */

.policy-page {
  padding: 132px 0 40px;
  font-family: 'Cairo', var(--font);
}
/* .narrow centres its text for marketing copy; legal prose reads from the start edge */
.policy-page .narrow { text-align: start; }
.policy-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 20px;
}
.policy-back:hover { color: var(--ink); }

.policy-h1 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.policy-updated { font-size: 13px; color: var(--muted); margin-top: 10px; }

.policy-body { margin-top: 32px; max-width: 68ch; }
.policy-body h2 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 12px;
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p {
  font-size: 15.5px;
  line-height: 2;
  color: #3d3d46;
  margin-bottom: 16px;
}

.policy-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.policy-switch a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color 0.2s, color 0.2s;
}
.policy-switch a:hover { color: var(--ink); border-color: #C9BCF5; }
.policy-switch a.on { color: #fff; background: #5433EB; border-color: #5433EB; }

@media (max-width: 640px) {
  .policy-page { padding-top: 108px; }
  .policy-h1 { font-size: 28px; }
  .policy-body p { font-size: 15px; }
  .policy-body h2 { font-size: 19px; margin-top: 32px; }
}

/* privacy notice sitting directly under the lead form's submit button */
.jf-privacy {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.jf-privacy a { color: var(--muted); text-decoration: underline; }
.jf-privacy a:hover { color: #5433EB; }
