/* getdori.app: the café counter at work. Same world as the customer pager (public/ticket.html):
   warm paper, ink, Dori orange for action, ready green only for "ready", the drawn pager. */
@font-face { font-family: "Readex Pro"; src: url("fonts/readex-latin.woff2") format("woff2"); font-weight: 160 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex Pro"; src: url("fonts/readex-arabic.woff2") format("woff2"); font-weight: 160 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* Almarai: the Arabic text face (Latin letters and digits inside Arabic text stay in Readex Pro). */
@font-face { font-family: "Almarai"; src: url("fonts/almarai-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Almarai"; src: url("fonts/almarai-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Almarai"; src: url("fonts/almarai-arabic-800.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
/* Cairo: only for the SANDERA name in the footer (SANDERA's own type). */
@font-face { font-family: "Cairo"; src: url("fonts/cairo-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF; }
@font-face { font-family: "Cairo"; src: url("fonts/cairo-arabic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --paper: #fbf6ee; --paper-2: #f4ece0; --card: #fffdf9; --ink: #1b1712; --ink-2: #5c5249; --ink-3: #6f655b;
  --line: #e6dccd; --orange: #e8590c; --orange-ink: #c2470a; --ready: #1f9d55; --ready-soft: #e3f4ea;
  --device: #221d18; --display: #fff7ec; --led: #4a3f35;
  --wood: #b98e5f; --wood-top: #dcbf98; --wood-front: #9a7247;
  --board: #141416; --board-2: #212124; --board-line: #2d2d31;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1240px, 100% - 48px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 "Readex Pro", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--orange); color: #fff; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; letter-spacing: -.025em; line-height: 1.08; }
[dir="rtl"] body { font-family: "Almarai", "Readex Pro", system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
.code { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px;
  font: 600 17px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px -6px rgba(194, 71, 10, .55); }
.btn-primary:hover { background: var(--orange-ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 23px; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-inline-start: 12px; font-size: 16px; color: var(--ink-2); }
.nav-links a { position: relative; text-decoration: none; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: none; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; font-size: 16px; }
.lang-pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; text-decoration: none;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; transition: color .2s, box-shadow .2s, background .2s; }
.lang-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-pill span:lang(ar) { font-size: 16px; line-height: 1; }
.lang-pill:hover { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--ink-3); }
.signin { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 6px; text-decoration: none; color: var(--ink); font-weight: 500; }
.signin::after { content: ""; position: absolute; inset-inline: 6px; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: var(--from, left); transition: transform .35s var(--ease); }
[dir="rtl"] .signin::after { --from: right; }
.signin:hover::after { transform: none; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }

/* ---- hero: the counter ---- */
.hero { position: relative; overflow: hidden; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: end; padding: clamp(16px, 2.5vw, 36px) 0 clamp(20px, 2.6vw, 40px); }
.hero h1 { font-size: clamp(42px, 5vw, 76px); max-width: 13ch; }
[dir="rtl"] .hero h1 { max-width: 15ch; }
.hero-side p { font-size: 20px; color: var(--ink-2); margin-bottom: 24px; max-width: 36ch; }
.hero-side .fine { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }

.counter { position: relative; height: clamp(380px, min(34vw, 100svh - 370px), 500px); }
.counter::before { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(var(--wood-top) 0 22px, var(--wood) 22px 58%, var(--wood-front) 58%); }
.counter::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; opacity: .16; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 140px, rgba(27, 23, 18, .5) 140px 141px); }
.stage { position: relative; z-index: 2; height: 100%; width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .6fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: end; padding-bottom: 7%; }

/* cashier screen on a stand */
.station { position: relative; padding-bottom: 46px; }
.station::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 22%; height: 52px; transform: translateX(-50%); background: linear-gradient(#2b241d, #1b1712); border-radius: 6px 6px 2px 2px; }
.screen { position: relative; z-index: 1; background: var(--device); padding: 14px; border-radius: 22px; box-shadow: 0 30px 50px -24px rgba(27, 23, 18, .55); }
.screen-in { background: var(--paper); border-radius: 12px; aspect-ratio: 16 / 10.5; display: grid; grid-template-columns: 1fr .82fr; gap: 6%; padding: 7% 7%; align-items: center; }
.screen-in .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: clamp(11px, 1vw, 15px); margin-bottom: 8%; }
.screen-in .who i { width: 1.6em; height: 1.6em; border-radius: 6px; background: #0b7285; }
.screen-in h3 { font-size: clamp(16px, 1.75vw, 27px); letter-spacing: -.02em; }
.screen-in p { font-size: clamp(9px, .85vw, 13px); color: var(--ink-2); margin-top: 6%; line-height: 1.45; }
.qr { aspect-ratio: 1; padding: 8%; background: #fff; border-radius: 10px; box-shadow: 0 0 0 4px #0b7285; }
.qr svg { width: 100%; height: 100%; }
.screen-tag { position: absolute; inset-inline-start: 12px; top: -30px; font-size: 13px; color: var(--ink-3); }

/* customer phone: the real pager page in miniature */
.phone { position: relative; justify-self: center; width: min(100%, 210px); aspect-ratio: 9 / 18.6; background: #0f0d0b; border-radius: 34px; padding: 9px; box-shadow: 0 34px 50px -22px rgba(27, 23, 18, .6); margin-bottom: 4%; }
.phone-in { position: relative; height: 100%; background: var(--paper); border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding: 34px 14px 16px; text-align: center; }
.phone-in::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: #0f0d0b; border-radius: 10px; }
.p-who { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.p-who i { width: 18px; height: 18px; border-radius: 5px; background: #0b7285; }
.p-body { display: grid; align-content: center; justify-items: center; gap: 10px; }
.p-label { font-size: 11px; color: var(--ink-2); }
.pager { --s: 112px; position: relative; width: var(--s); height: var(--s); border-radius: 30%; background: var(--device); box-shadow: 0 10px 20px -8px rgba(27, 23, 18, .45); }
.pager i { position: absolute; left: 50%; top: 50%; width: 5.4%; height: 5.4%; border-radius: 50%; background: var(--led);
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(calc(var(--s) * .39)); transition: background .25s; }
.pager .disp { position: absolute; inset: 27%; border-radius: 22%; background: var(--display); display: grid; place-items: center; font-weight: 700; font-size: calc(var(--s) * .2); direction: ltr; color: var(--ink); }
.p-status { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; font-weight: 600; color: var(--orange); transition: color .3s; }
.p-status svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-hint { font-size: 10.5px; color: var(--ink-2); line-height: 1.45; max-width: 18ch; }
.banner { position: absolute; z-index: 3; top: 8px; inset-inline: 8px; background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 8px 10px; display: flex; gap: 8px; align-items: center; text-align: start;
  box-shadow: 0 8px 18px -6px rgba(27, 23, 18, .35); transform: translateY(-130%); transition: transform .5s var(--ease); }
.banner img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.banner b { display: block; font-size: 11px; }
.banner span { font-size: 10px; color: var(--ink-2); }
.rings { position: absolute; inset: -14px; pointer-events: none; }
.rings span { position: absolute; inset: 0; border-radius: 44px; border: 2px solid var(--ready); opacity: 0; }

/* staff order board */
.board { position: relative; background: var(--board); border-radius: 18px; padding: 14px; color: #f4f4f5; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); margin-bottom: 3%; }
.board-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #a1a1aa; margin-bottom: 10px; }
.board-top b { color: #fafafa; font-size: 13px; margin-inline-end: auto; }
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lane h4 { margin: 0 0 8px; font-size: 11px; font-weight: 500; color: #a1a1aa; display: flex; gap: 6px; align-items: center; }
.lane h4 i { width: 7px; height: 7px; border-radius: 50%; background: #f59f00; }
.lane.ready h4 i { background: var(--ready); }
.lane-list { display: grid; gap: 8px; min-height: 190px; align-content: start; }
.ticket { background: var(--board-2); border: 1px solid var(--board-line); border-radius: 12px; padding: 10px; }
.ticket .t-code { font-size: 26px; font-weight: 700; line-height: 1; display: flex; justify-content: space-between; align-items: baseline; direction: ltr; }
.ticket .t-code small { font-size: 10px; color: #a1a1aa; font-weight: 400; }
.ticket button { margin-top: 9px; width: 100%; min-height: 34px; border: 0; border-radius: 8px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; background: #22c55e; color: #052e16; }
.ticket button.ring { background: var(--orange); color: #fff; }
.ticket button:disabled { opacity: .5; cursor: default; }
.tap-tip { position: absolute; z-index: 4; inset-inline-end: 12px; top: -40px; background: var(--ink); color: var(--paper); font-size: 13px; padding: 7px 12px; border-radius: 10px; white-space: nowrap; transition: opacity .3s; }
.tap-tip::after { content: ""; position: absolute; bottom: -5px; inset-inline-end: 26px; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.ticket.hint button { animation: hint 1.6s var(--ease) infinite; }
.ticket.mini { padding: 9px 10px; }
.ticket.mini .t-code { font-size: 22px; }
@keyframes hint { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .0); } 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .28); } }

/* the ready moment */
.is-ready .pager i { background: var(--ready); }
.is-ready .p-status { color: var(--ready); }
.is-ready .banner { transform: none; }
.is-ready .rings span { animation: ring 1.8s var(--ease) 2; }
.is-ready .rings span:nth-child(2) { animation-delay: .35s; }
.is-ready .phone { animation: buzz .55s var(--ease); }
@keyframes ring { 0% { opacity: .7; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes buzz { 0%, 100% { rotate: 0deg; } 15% { rotate: -3deg; } 30% { rotate: 3deg; } 45% { rotate: -2deg; } 60% { rotate: 2deg; } 80% { rotate: -1deg; } }

/* ---- sections ---- */
section { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 18px; }
.sec-head p { font-size: 20px; color: var(--ink-2); max-width: 58ch; }

/* the order slip: how it works */
.slip { position: relative; background: var(--card); border-radius: 6px; padding: 8px 0; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(27, 23, 18, .35);
  display: grid; grid-template-columns: repeat(3, 1fr); }
.slip::before, .slip::after { content: ""; position: absolute; inset-inline: 0; height: 10px; background: radial-gradient(circle at 6px -2px, var(--paper) 6px, transparent 6.5px) 0 0 / 14px 10px repeat-x; }
.slip::before { top: -1px; }
.slip::after { bottom: -1px; transform: scaleY(-1); }
.step { padding: 40px 36px 44px; border-inline-start: 1.5px dashed var(--line); }
.step:first-child { border-inline-start: 0; }
.step time { display: inline-block; font-size: 15px; font-weight: 600; color: var(--ink-3); margin-bottom: 18px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--ink-2); }
.step.done time { color: var(--ready); }
.slip-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 18px 36px 22px; border-top: 1.5px dashed var(--line); font-size: 15px; color: var(--ink-2); }
.slip-foot b { color: var(--ink); }

/* every phone */
/* every phone: one phone on the right, the three ways on the left; picking a way changes the screen */
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ways .sec-head { margin-bottom: 36px; }
.way-list { border-top: 1px solid var(--line); }
.way { display: grid; grid-template-columns: 42px 1fr; gap: 16px; width: 100%; padding: 22px 4px; border: 0; border-bottom: 1px solid var(--line);
  background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; transition: background .25s; }
.way:hover { background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.way i { width: 42px; height: 42px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--ink-2); font-size: 15px; transition: background .3s, color .3s; }
.way b { display: block; font-size: 22px; font-weight: 600; color: #9a8f84; line-height: 1.3; padding-top: 6px; transition: color .3s; }
.way:hover b { color: var(--ink-2); }
.way-p { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--ink-2); font-size: 17px; transition: max-height .45s var(--ease), opacity .35s, margin .45s var(--ease); }
.way-bar { display: block; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 0; opacity: 0; transition: opacity .3s; }
.way-bar u { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: var(--from, left); }
[dir="rtl"] .way-bar u { --from: right; }
.way.on i { background: var(--orange); color: #fff; }
.way.on b { color: var(--ink); }
.way.on .way-p { margin-top: 6px; max-height: 9em; opacity: 1; }
.way.on .way-bar { opacity: 1; margin-top: 14px; }
.way.on .way-bar u { animation: way-time var(--way-ms, 5s) linear forwards; }
.ways.paused .way.on .way-bar u { animation-play-state: paused; }
@keyframes way-time { to { transform: scaleX(1); } }
.way-stage { display: grid; place-items: center; background: var(--paper-2); border-radius: 28px; padding: 44px 24px; }
.way-phone { position: relative; width: min(280px, 100%); aspect-ratio: 9 / 19; border-radius: 44px; padding: 10px; background: #0f0d0b; box-shadow: 0 40px 60px -32px rgba(27, 23, 18, .6); }
.way-scr { position: absolute; inset: 10px; border-radius: 34px; overflow: hidden; color: #fff; padding: 58px 14px 16px; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(170deg, #3b2f25, #1d1712 60%); opacity: 0; transition: opacity .5s var(--ease); }
.way-scr.android { background: linear-gradient(170deg, #2b3540, #141a20 60%); }
.way-scr.on { opacity: 1; }
.way-scr .time { font-size: 60px; font-weight: 600; line-height: 1; letter-spacing: -.02em; direction: ltr; }
.way-scr .date { font-size: 14px; opacity: .8; margin-bottom: auto; }
.way-scr > :last-child { transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease) .12s, opacity .5s var(--ease) .12s; }
.way-scr.on > :last-child { transform: none; opacity: 1; }
.la { width: 100%; background: rgba(28, 24, 20, .92); border-radius: 22px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: start; }
.la .pager { --s: 54px; }
.la .pager i { background: var(--ready); }
.la b { display: block; font-size: 15px; }
.la span { font-size: 12px; color: #7ee2a8; }
.la img { width: 28px; height: 28px; border-radius: 8px; }
.wallet { width: 100%; border-radius: 18px; background: var(--device); color: var(--paper); padding: 16px; display: grid; gap: 4px; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.wallet .w-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.wallet .w-top img { width: 26px; height: 26px; border-radius: 8px; }
.wallet .w-code { font-size: 46px; font-weight: 700; direction: ltr; text-align: start; line-height: 1.1; }
.wallet .w-row { display: flex; justify-content: space-between; font-size: 11px; opacity: .8; }
.wallet .w-row b { display: block; font-size: 14px; opacity: 1; color: #7ee2a8; }
.notif { width: 100%; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 20px; padding: 13px 14px; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; text-align: start; }
.notif small { grid-column: 1 / -1; font-size: 11px; color: var(--ink-3); }
.notif b { font-size: 15px; }
.notif span { font-size: 13px; color: var(--ink-2); grid-column: 1; }
.notif img { grid-row: 2 / 4; grid-column: 2; width: 40px; height: 40px; border-radius: 11px; }

/* staff and owners: dark band, like the board itself */
.dark { background: var(--board); color: #f4f4f5; }
.dark .sec-head p { color: #a1a1aa; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.facts { display: grid; gap: 30px; }
.facts h3 { font-size: 22px; margin-bottom: 6px; }
.facts p { color: #a1a1aa; font-size: 17px; }
/* the staff board demo: works like the real one (light by default, dark on the switch) */
.big-board { --bb-bg: #ffffff; --bb-card: #fafafa; --bb-line: #e4e4e7; --bb-ink: #18181b; --bb-mute: #71717a; --bb-track: #e4e4e7; --bb-chip: #f4f4f5;
  background: var(--bb-bg); color: var(--bb-ink); border: 1px solid var(--bb-line); border-radius: 20px; padding: 18px 18px 14px;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); transition: background .35s, color .35s, border-color .35s; }
.big-board[data-theme="dark"] { --bb-bg: #0c0c0e; --bb-card: #1c1c1f; --bb-line: #2d2d31; --bb-ink: #fafafa; --bb-mute: #a1a1aa; --bb-track: #3f3f46; --bb-chip: #1c1c1f; }
.bb-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; }
.bb-top > b { font-size: 14px; margin-inline-end: auto; }
.bb-branch { position: relative; }
.bb-branch-btn, .bb-theme { font: inherit; font-size: 12.5px; color: var(--bb-ink); background: var(--bb-chip); border: 1px solid var(--bb-line); border-radius: 9px; }
.bb-branch-btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 8px 0 11px; cursor: pointer; transition: background .2s, border-color .2s; }
.bb-branch-btn:hover { border-color: var(--bb-mute); }
.bb-branch-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .25s var(--ease); }
.bb-branch-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bb-menu { position: absolute; z-index: 5; top: calc(100% + 6px); inset-inline-end: 0; min-width: 180px; background: var(--bb-bg); border: 1px solid var(--bb-line); border-radius: 12px; padding: 5px;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .45); animation: bb-pop .2s var(--ease); }
.bb-menu button { display: block; width: 100%; text-align: start; font: inherit; font-size: 13px; color: var(--bb-ink); background: none; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.bb-menu button:hover { background: var(--bb-chip); }
@keyframes bb-pop { from { opacity: 0; transform: translateY(-4px); } }
.bb-theme { display: inline-flex; padding: 3px; height: 32px; }
.bb-theme button { font: inherit; font-size: 12px; border: 0; background: none; color: var(--bb-mute); border-radius: 6px; padding: 0 9px; cursor: pointer; transition: background .2s, color .2s; }
.bb-theme button[aria-pressed="true"] { background: var(--bb-bg); color: var(--bb-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.big-board .lanes { gap: 14px; }
.big-board .lane h4 { color: var(--bb-mute); }
.big-board .lane-list { min-height: 290px; }
.big-board .ticket { padding: 14px; background: var(--bb-card); border-color: var(--bb-line); color: var(--bb-ink); transition: background .35s, border-color .35s; }
.big-board .ticket .t-code { font-size: 34px; }
.big-board .ticket .t-code small { color: var(--bb-mute); }
.big-board .ticket button { transition: filter .15s, transform .15s; }
.big-board .ticket button:not(:disabled):hover { filter: brightness(1.06); }
.big-board .ticket button:not(:disabled):active { transform: scale(.98); }
.big-board .ticket.rang { animation: bb-rang .9s var(--ease); }
@keyframes bb-rang { 0% { box-shadow: 0 0 0 0 rgba(232, 89, 12, .55); } 100% { box-shadow: 0 0 0 14px rgba(232, 89, 12, 0); } }
.big-board .empty { font-size: 13px; color: var(--bb-mute); padding: 18px 4px; }
.bb-try { margin: 12px 2px 0; font-size: 12.5px; color: var(--bb-mute); }
.bar { height: 3px; border-radius: 3px; background: var(--bb-track, #3f3f46); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #f59f00; }
.bar.late i { background: #ef4444; }

/* analytics */
.heat { background: var(--card); border-radius: 18px; padding: 26px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(27, 23, 18, .4); }
.heat-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.heat-head b { font-size: 18px; }
.heat-head span { font-size: 13px; color: var(--ink-3); }
.heat-grid { display: grid; grid-template-columns: 44px repeat(16, 1fr); gap: 4px; font-size: 11px; color: var(--ink-3); }
.heat-grid i { aspect-ratio: 1; border-radius: 4px; background: var(--orange); }
.heat-grid .d { align-self: center; }
.heat-grid .h { text-align: center; }
.kpis { display: flex; gap: 40px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.kpis div { font-size: 13px; color: var(--ink-3); }
.kpis b { display: block; font-size: 28px; color: var(--ink); font-weight: 600; direction: ltr; text-align: start; }
.list-plain { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.list-plain li { display: flex; gap: 12px; font-size: 18px; }
.list-plain svg { width: 22px; height: 22px; flex: none; margin-top: 4px; fill: none; stroke: var(--ready); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* your brand */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 22px; overflow: hidden; }
.brand-tile { padding: 44px 30px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.brand-tile .pager { --s: 150px; }
.brand-tile .pager i { background: var(--tile); }
.brand-tile b { font-size: 20px; }
.brand-tile span { font-size: 14px; color: var(--ink-2); }
.brands-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* pricing */
.pricing-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 12px; padding: 4px; }
.seg button { font: 500 15px/1 inherit; font-family: inherit; border: 0; background: transparent; padding: 11px 16px; border-radius: 9px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(27, 23, 18, .12); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { position: relative; background: var(--card); border-radius: 20px; padding: 30px; display: grid; gap: 18px; align-content: start; box-shadow: 0 0 0 1px var(--line); }
.plan.rec { box-shadow: 0 0 0 2px var(--orange); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 8px; }
.plan h3 { font-size: 24px; }
.price b { font-size: 46px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { display: block; white-space: nowrap; color: var(--ink-3); font-size: 15px; margin-top: 2px; }
.price s { color: var(--ink-3); font-size: 18px; margin-inline-start: 8px; }
.plan .how { font-size: 14px; color: var(--ink-2); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: none; stroke: var(--ready); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { margin-top: 6px; width: 100%; }
.pricing-note { margin-top: 26px; font-size: 15px; color: var(--ink-3); }
.plans-empty { padding: 40px; background: var(--card); border-radius: 20px; text-align: center; color: var(--ink-2); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; margin-top: 4px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }

/* close */
.close { background: var(--orange); color: #fff; border-radius: 28px; padding: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.close h2 { font-size: clamp(36px, 4.4vw, 64px); max-width: 14ch; }
.close p { margin-top: 16px; font-size: 19px; color: #fff3e8; max-width: 44ch; }
.close .btn-ink { background: var(--ink); }
.close .pager { --s: 170px; }
.close .pager i { background: #7ee2a8; }
footer { padding: 48px 0 60px; font-size: 15px; color: var(--ink-3); }
footer .wrap { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
footer .brand { font-size: 18px; color: var(--ink); }
footer .brand img { width: 26px; height: 26px; border-radius: 7px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sp { margin-inline-start: auto; }
.from { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.from span { font-weight: 300; font-size: 17px; letter-spacing: .06em; color: var(--ink-2); }
.from img { width: 21px; height: auto; }
.from b { font-family: "Cairo", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .16em; color: var(--ink); direction: ltr; }
.from:hover b { color: #000; }
[dir="rtl"] .from b { letter-spacing: 0; direction: rtl; font-size: 19px; } /* spacing would break the Arabic joins */

/* ---- small screens ---- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-copy { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .counter { height: auto; }
  /* stacked devices: the whole stage stands on the counter */
  .counter::before, .counter::after { inset: 56px 0 0; height: auto; }
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); row-gap: 32px; padding: 0 0 40px; }
  .board { grid-column: 1 / -1; margin: 0; }
  .split, .faq { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; gap: 28px; }
  /* on one column: heading, then the phone, then the list, so a tap shows its screen */
  .ways > div:first-child { display: contents; }
  .ways .sec-head { order: 1; margin-bottom: 0; }
  .way-stage { order: 2; padding: 28px 16px; }
  .way-list { order: 3; }
  .way-phone { width: min(230px, 70vw); }
  .way-phone .la { padding: 10px; gap: 8px; border-radius: 18px; }
  .way-phone .la .pager { --s: 40px; }
  .way-phone .la b { font-size: 13px; white-space: nowrap; }
  .way-phone .la span { font-size: 11px; white-space: nowrap; }
  .way-phone .la img { width: 22px; height: 22px; }
  .way-scr .time { font-size: 48px; }
  .brands { grid-template-columns: 1fr; }
  .close { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav .wrap { height: 64px; gap: 14px; }
  .signin { display: none; }
  .lang-pill { padding: 0 11px; }
  .hero-copy { padding: 24px 0 36px; }
  .counter { height: auto; }
  .stage { grid-template-columns: 1fr; gap: 28px; padding: 0 0 40px; }
  .station { padding-bottom: 0; width: 100%; max-width: 380px; justify-self: center; }
  .station::after { display: none; }
  .screen-tag { top: -26px; }
  .faq { gap: 12px; }
  .faq .sec-head { margin-bottom: 0; }
  .close .btn { white-space: normal; text-align: center; min-height: 52px; height: auto; padding: 14px 20px; line-height: 1.3; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .from { padding-inline-start: 0; border: 0; margin-top: 8px; }
  .phone { width: 210px; }
  .slip { grid-template-columns: 1fr; }
  .step { border-inline-start: 0; border-top: 1.5px dashed var(--line); padding: 30px 26px; }
  .step:first-child { border-top: 0; }
  .slip-foot { flex-direction: column; padding: 18px 26px; }
  .heat-grid { grid-template-columns: 34px repeat(16, 1fr); gap: 2px; font-size: 9px; }
  .kpis { gap: 22px; flex-wrap: wrap; }
  footer .sp { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* the trial number waits for the live value (see the head script) */
.days-pending [data-days] { visibility: hidden; }

/* ---- quiet motion: sections ease in once, controls answer the pointer ---- */
.js [data-reveal] { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(16px); }
.btn:hover { transform: translateY(-1px); }
.btn-ink:hover, .btn-line:hover { box-shadow: 0 8px 18px -10px rgba(27, 23, 18, .45); }
.plan { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(27, 23, 18, .4); }
.plan.rec:hover { box-shadow: 0 0 0 2px var(--orange), 0 18px 36px -24px rgba(194, 71, 10, .45); }
.brand-tile .pager { transition: transform .45s var(--ease); }
.brand-tile:hover .pager { transform: translateY(-4px) rotate(-2deg); }
.step { transition: background .3s; }
.step:hover { background: color-mix(in srgb, var(--paper-2) 45%, transparent); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--orange-ink); }
footer a { transition: color .2s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal]:not(.in) { opacity: 1; transform: none; } }
.btn:active { transform: translateY(0) scale(.98); }

/* ---- the real iPhone: metal frame, side buttons, island, glass sheen ---- */
.iphone { background: linear-gradient(145deg, #5a5a5e, #1c1c1e 30%, #2c2c2e 70%, #6b6b70);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18), 0 50px 70px -40px rgba(27, 23, 18, .65), 0 10px 20px -10px rgba(27, 23, 18, .35); }
.iphone::before, .iphone::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(#6b6b70, #2c2c2e); }
.iphone::before { left: -3px; top: 26%; height: 10%; box-shadow: 0 -150% 0 #48484c; }
.iphone::after { right: -3px; top: 30%; height: 15%; }
.iphone .island { position: absolute; z-index: 3; top: 4%; left: 50%; transform: translateX(-50%); width: 32%; height: 4.6%; border-radius: 20px; background: #000; }
.iphone .glass { position: absolute; z-index: 3; inset: 10px; border-radius: 34px; background: linear-gradient(125deg, rgba(255, 255, 255, .12), transparent 40%); pointer-events: none; }
/* Soft sky wallpaper on the lock screens */
.way-scr, .way-scr.android { background: radial-gradient(100% 60% at 80% 0%, #9fd6d2, transparent 60%), linear-gradient(180deg, #5aa6a8 0%, #a9cfc4 50%, #f1e2c8 100%); }
.way-scr .time, .way-scr .date { text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }
.way-scr .notif { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
/* the counter phone shows the pager page itself: frame only */
.phone.iphone { padding: 8px; border-radius: 36px; }
.phone.iphone .phone-in { border-radius: 28px; }
.phone.iphone .phone-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, .14), transparent 35%); pointer-events: none; }
.way-phone .la { gap: 10px; padding: 12px; }
.way-phone .la .pager { --s: 44px; }
.way-phone .la b, .way-phone .la span { white-space: nowrap; }

/* Privacy and support pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.15; margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; }
.doc a { color: var(--ink); }
.doc-date { font-size: 15px; color: var(--ink-3); margin-bottom: 32px; }
