/* Stampzi home page ("The builder" design, live since 23 Nov 2026). Used only by index.html and ar/index.html. */
:root {
  --paper: #FFF5E1;
  --paper-2: #FBEBCB;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #1C1A18;
  --ink-3: #2C2926;
  --stone: #6B6259;
  --line: rgba(17, 17, 17, .10);
  --line-dark: rgba(255, 245, 225, .12);
  --accent: #D91E2A;
  --accent-deep: #B3141F;
  --blush: #FBE1DC;
  --ok: #1F8A4C;
  --on-dark: #FFF5E1;
  --on-dark-2: rgba(255, 245, 225, .70);
  --font: "Archivo", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --wrap: 1200px;
  --g: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:lang(ar) { --font: "IBM Plex Sans Arabic", "Archivo", system-ui, sans-serif; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
html:lang(ar) h1, html:lang(ar) h2, html:lang(ar) h3, html:lang(ar) h4 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--g)); margin-inline: auto; }
@media (min-width: 720px) { :root { --g: 28px; } }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
html:lang(ar) .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--accent); }
.h2 { font-size: clamp(34px, 6.4vw, 60px); font-stretch: 108%; }
.h2 em, h1 em { font-style: italic; color: var(--accent); font-weight: 800; }
html:lang(ar) .h2 em, html:lang(ar) h1 em { font-style: normal; }
.lede { font-size: clamp(17px, 2.2vw, 19px); color: var(--stone); max-width: 58ch; margin-top: 18px; }
.dark .lede { color: var(--on-dark-2); }
.sec { padding-block: clamp(72px, 11vw, 128px); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.note { font-size: 13px; color: var(--stone); }
.dark .note { color: var(--on-dark-2); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--paper-2); color: var(--stone); vertical-align: middle; }
html:lang(ar) .tag { letter-spacing: 0; font-size: 12px; }
.dark .tag { background: rgba(255,245,225,.1); color: var(--on-dark-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(217, 30, 42, .9); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border-color: currentColor; background: transparent; }
.dark .btn-line { color: var(--on-dark); border-color: rgba(255,245,225,.35); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
html[dir="rtl"] .arr { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(3px); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { flex-shrink: 0; display: flex; }
.brand img { width: 128px; height: auto; }
.links { display: none; gap: 26px; margin-inline: auto; }
.links a, .acts .lang, .acts .login { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); opacity: .82; }
.links a:hover, .acts a:hover { opacity: 1; }
.acts { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.acts .lang, .acts .login { display: none; }
.menu { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.menu span, .menu span::before, .menu span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease; }
.menu span::before { position: absolute; top: -6px; }
.menu span::after { position: absolute; top: 6px; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); padding-block: 8px 18px; }
.mnav a { display: block; padding: 13px 2px; font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 16px; width: 100%; border: 0; }
@media (max-width: 379px) { .acts .btn { display: none; } }
@media (min-width: 960px) {
  .links { display: flex; }
  .acts { margin-inline-start: 0; }
  .acts .lang, .acts .login { display: inline; }
  .menu, .mnav { display: none !important; }
}

/* Hero */
.dark { background: var(--ink); color: var(--on-dark); }
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 9vw, 104px) clamp(64px, 9vw, 112px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%); opacity: .55; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; inset-inline-end: -220px; top: -160px; background: radial-gradient(circle, rgba(217,30,42,.32), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.hero h1 { font-size: clamp(40px, 8vw, 72px); font-stretch: 110%; line-height: .98; }
html:lang(ar) .hero h1 { font-size: clamp(38px, 7.6vw, 70px); line-height: 1.22; }
.hero h1 em { display: inline-block; }
.from { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.from-price { font-size: 15px; color: var(--on-dark-2); }
.from-price b { font-size: 34px; color: var(--on-dark); font-weight: 800; letter-spacing: -.02em; margin-inline: 4px; vertical-align: -3px; }
.cur { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); }
.cur select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 6px 34px 6px 14px; border-radius: 10px; border: 1px solid rgba(255,245,225,.22); background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FAF6F0' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--on-dark); font-weight: 600; font-size: 14px; cursor: pointer; }
html[dir="rtl"] .cur select { padding: 6px 14px 6px 34px; background-position: left 12px center; }
.light .cur select { background-color: var(--white); border-color: var(--line); color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316110E' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.light .cur { color: var(--stone); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.hero .note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(217,30,42,.22); }

/* Phone + pass */
.phone { position: relative; width: 100%; max-width: 310px; margin-inline: auto; border-radius: 46px; background: #0B0807; padding: 11px; box-shadow: 0 0 0 1.5px #3a302a, 0 40px 80px -30px rgba(0,0,0,.75); direction: ltr; text-align: left; }
.phone-scr { position: relative; border-radius: 36px; background: #F1F1F1; min-height: 520px; overflow: hidden; color: #202124; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.phone-scr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 88px; height: 24px; border-radius: 20px; background: #0B0807; transform: translateX(-50%); z-index: 3; }
.st { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 13px; font-weight: 700; height: 40px; }
.w-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 12px; font-weight: 700; font-size: 15px; }
.w-top i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: #e3e3e3; display: grid; place-items: center; font-size: 13px; }
.pass { --pc: #2B1D14; --pt: #FFF6E8; --ps: #E9B872; margin: 0 12px; border-radius: 18px; background: var(--pc); color: var(--pt); padding: 15px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.55); transition: background .3s ease, color .3s ease; }
.pass-hd { display: flex; align-items: center; gap: 10px; }
.pass-logo { width: 36px; height: 36px; border-radius: 50%; background: var(--pt); color: var(--pc); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; transition: inherit; }
.pass-name { font-weight: 700; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.pass-count { text-align: right; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; line-height: 1.2; }
.pass-count b { display: block; font-size: 17px; letter-spacing: 0; opacity: 1; }
.stamps { --cols: 5; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 6px; margin: 13px 0; padding: 11px; border-radius: 13px; background: color-mix(in srgb, var(--pt) 9%, transparent); }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--pt) 38%, transparent); display: grid; place-items: center; }
.stamp.on { border: 0; background: var(--ps); color: var(--pc); }
.stamp.on::after { content: ""; width: 42%; height: 24%; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translate(6%, -18%); }
.stamp.gift { border-style: solid; border-color: var(--ps); }
.stamp.gift::after { content: "🎁"; font-size: 12px; }
.pass-row { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.pass-row b { display: block; font-size: 14px; text-transform: none; letter-spacing: 0; opacity: 1; margin-top: 2px; }
.pass-row div:last-child { text-align: right; }
.pass-qr { margin: 14px auto 2px; width: 92px; padding: 6px; background: #fff; border-radius: 10px; }
.pass-qr img { width: 100%; height: auto; }
.pass-id { text-align: center; font-size: 10px; letter-spacing: .14em; opacity: .7; margin-top: 4px; }
.w-foot { display: flex; justify-content: center; gap: 8px; margin: 14px 12px 18px; }
.w-foot span { font-size: 12px; font-weight: 600; padding: 8px 12px; background: #fff; border-radius: 99px; color: #3c4043; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Arabic content inside the LTR phone frames */
.pass[dir="rtl"], .w-top[dir="rtl"] { text-align: right; }
.pass[dir="rtl"] .pass-count, .pass[dir="rtl"] .pass-row div:last-child { text-align: left; }
.notif[dir="rtl"] { text-align: right; }
.notif[dir="rtl"] small { float: left; }
html:lang(ar) .pass-count, html:lang(ar) .pass-row { letter-spacing: 0; text-transform: none; }

/* Hero visual chips */
.hero-vis { position: relative; padding-block: 10px; }
.chips { position: absolute; inset-inline: 0; top: 34%; height: 0; z-index: 4; pointer-events: none; }
.chip { position: absolute; inset-inline-start: 50%; width: min(290px, 92%); transform: translateX(-50%); display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; animation: chip 12s infinite; font-size: 13px; line-height: 1.35; }
html[dir="rtl"] .chip { transform: translateX(50%); animation-name: chip-rtl; }
.chip:nth-child(2) { animation-delay: 4s; }
.chip:nth-child(3) { animation-delay: 8s; }
.chip .ico { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.chip .ico img { width: 32px; border-radius: 9px; }
.chip b { display: block; font-size: 13px; }
.chip small { color: var(--stone); font-size: 11px; font-weight: 600; }
@keyframes chip { 0% { opacity: 0; transform: translate(-50%, 14px) scale(.96); } 4%, 29% { opacity: 1; transform: translate(-50%, 0) scale(1); } 33%, 100% { opacity: 0; transform: translate(-50%, -10px) scale(.98); } }
@keyframes chip-rtl { 0% { opacity: 0; transform: translate(50%, 14px) scale(.96); } 4%, 29% { opacity: 1; transform: translate(50%, 0) scale(1); } 33%, 100% { opacity: 0; transform: translate(50%, -10px) scale(.98); } }
.demo-tag { position: absolute; top: 0; inset-inline-end: 4px; z-index: 5; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); border: 1px solid rgba(255,245,225,.25); padding: 4px 10px; border-radius: 99px; }
html:lang(ar) .demo-tag { letter-spacing: 0; font-size: 12px; }
.float-stamp { position: absolute; z-index: 4; inset-inline-start: 2%; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line-dark); box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); font-size: 12px; color: var(--on-dark-2); }
.float-stamp b { display: block; color: var(--on-dark); font-size: 15px; }
.float-stamp .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 900; }
@media (max-width: 420px) { .float-stamp { display: none; } }
@media (min-width: 960px) { .float-stamp { inset-inline-start: -4%; } }

/* Shop strip */
.shops { padding-block: 40px 44px; background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); overflow: hidden; }
.shops-title { text-align: center; font-size: 14px; color: var(--on-dark-2); margin-bottom: 22px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); direction: ltr; }
.track { display: flex; gap: 14px; padding-inline-end: 14px; flex-shrink: 0; animation: slide 42s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.mini { width: 200px; flex-shrink: 0; border-radius: 16px; padding: 14px; background: var(--pc); color: var(--pt); }
.mini .pass-hd { gap: 9px; }
.mini .pass-logo { width: 32px; height: 32px; font-size: 12px; }
.mini .t { font-size: 11px; opacity: .75; }
.mini .dots { display: flex; gap: 5px; margin-top: 14px; }
.mini .dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--pt) 45%, transparent); }
.mini .dots i.on { background: var(--ps); border: 0; }
.mini .rw { margin-top: 12px; font-size: 12px; font-weight: 700; }
.shops .note { text-align: center; margin-top: 18px; }

/* Designer */
.designer { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .designer { grid-template-columns: 1fr 1fr; gap: 64px; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 4vw, 34px); box-shadow: 0 30px 60px -40px rgba(17,17,17,.35); }
.field { margin-bottom: 22px; }
.field > label, .field > .lbl { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field input[type="text"] { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 16px; }
.field input[type="text"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(217,30,42,.15); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--paper-2); border-radius: 14px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-width: 56px; min-height: 40px; padding: 6px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; }
.seg input:checked + span { background: var(--white); box-shadow: 0 2px 6px rgba(17,17,17,.12); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { position: relative; width: 44px; height: 44px; }
.swatches input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatches span { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(17,17,17,.12); transition: transform .15s ease; cursor: pointer; }
.swatches input:checked + span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); transform: scale(.92); }
.swatches input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 4px; }
.form .btn { width: 100%; margin-top: 6px; white-space: normal; text-align: center; }
.form .note { margin-top: 12px; text-align: center; }
.preview-wrap { position: relative; }
.preview-wrap::before { content: ""; position: absolute; inset: 8% 10%; background: radial-gradient(circle, rgba(217,30,42,.22), transparent 65%); filter: blur(10px); }
.preview-wrap .phone { max-width: 290px; }
.preview-wrap .phone-scr { min-height: 500px; }

/* How it works */
.steps3 { display: grid; gap: 28px; }
@media (min-width: 860px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.step3 { text-align: center; }
.mphone { width: 220px; height: 400px; margin: 0 auto 22px; border-radius: 36px; background: #0B0807; padding: 9px; box-shadow: 0 30px 60px -34px rgba(17,17,17,.6); direction: ltr; }
.mphone > div { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; position: relative; font-family: system-ui, -apple-system, sans-serif; }
.cam { background: linear-gradient(160deg, #3b302a, #17110e); display: grid; place-items: center; }
.cam .frame { width: 132px; height: 132px; position: relative; display: grid; place-items: center; }
.cam .frame img { width: 96px; border-radius: 6px; }
.cam .frame::before, .cam .frame::after { content: ""; position: absolute; inset: 0; border: 3px solid #fff; border-radius: 18px; clip-path: polygon(0 0, 30% 0, 30% 100%, 0 100%, 0 0, 100% 0, 100% 100%, 70% 100%, 70% 0); }
.cam .frame::after { clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%, 0 70%, 100% 70%, 100% 100%, 0 100%); border-color: transparent; }
.cam .scanline { position: absolute; inset-inline: 14px; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); top: 50%; animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-52px); } 50% { transform: translateY(52px); } }
.cam .pill { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.92); color: #202124; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 99px; white-space: nowrap; }
.sheet { background: #F1F1F1; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet .pass { margin: 0 12px 14px; padding: 13px; }
.sheet .stamps { margin: 10px 0 4px; padding: 8px; gap: 5px; }
.sheet .add { margin: 0 12px 18px; text-align: center; background: #202124; color: #fff; padding: 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.lock { background: radial-gradient(120% 80% at 50% 0%, #6b3a26 0%, #2a1a14 55%, #120c0a 100%); color: #fff; text-align: center; padding-top: 46px; }
.lock .time { font-size: 54px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.lock .date { font-size: 13px; opacity: .8; margin-top: 4px; }
.notif { margin: 26px 10px 0; text-align: left; background: rgba(255,255,255,.88); color: #111; border-radius: 16px; padding: 10px 11px; display: flex; gap: 9px; font-size: 12px; line-height: 1.35; }
.notif img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.notif b { font-size: 12px; }
.notif small { float: right; opacity: .55; font-size: 11px; }
.step3 .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.step3 h3 { font-size: 22px; }
.step3 p { color: var(--stone); margin-top: 8px; max-width: 30ch; margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 48px; padding: 22px 10px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-align: center; }
.facts b { display: block; font-size: clamp(30px, 6vw, 46px); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.facts span { font-size: 13px; color: var(--stone); display: block; margin-top: 6px; }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-4 { grid-column: span 4; } .b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } }
.tile { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(22px, 3.4vw, 32px); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile h3 { font-size: clamp(22px, 2.6vw, 28px); }
.tile p { color: var(--stone); }
.tile.dark { background: var(--ink); border-color: var(--ink); }
.tile.dark p { color: var(--on-dark-2); }
.tile.blush { background: var(--blush); border-color: transparent; }
.tile.blush p { color: #5a3d33; }
.tile.hot { background: var(--accent); border-color: transparent; color: var(--ink); }
.tile.hot p { color: rgba(17,17,17,.78); }
.tile .lab { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
html:lang(ar) .tile .lab { letter-spacing: 0; font-size: 13px; }
.tile.dark .lab { color: var(--accent); }
.tile.hot .lab { color: var(--ink); }
.vis { margin-top: auto; padding-top: 14px; }
.near { display: grid; gap: 18px; align-items: center; }
@media (min-width: 560px) { .near { grid-template-columns: 1fr 1fr; } }
.lockcard { background: rgba(255,245,225,.08); border: 1px solid var(--line-dark); border-radius: 18px; padding: 12px; direction: ltr; text-align: left; }
.lockcard .notif { margin: 0; background: rgba(255,255,255,.94); }
.lockcard .notif + .notif { margin-top: 8px; opacity: .55; transform: scale(.96); }
.timeline-mini { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.timeline-mini .seg-l { flex: 1; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #c9a99c 0 8px, transparent 8px 14px); }
html[dir="rtl"] .timeline-mini .seg-l { background: repeating-linear-gradient(-90deg, #c9a99c 0 8px, transparent 8px 14px); }
.timeline-mini .dot { flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: var(--white); color: var(--ink); white-space: nowrap; }
.timeline-mini .dot.hot { background: var(--ink); color: var(--paper); }
.days { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.days button { min-height: 40px; min-width: 52px; padding: 6px 12px; border-radius: 99px; border: 1.5px solid rgba(17,17,17,.2); background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.winback { margin-top: 14px; direction: ltr; text-align: left; }
.winback .notif { margin: 0; background: var(--white); box-shadow: 0 16px 30px -20px rgba(17,17,17,.5); }
.pin-pad { display: flex; gap: 10px; align-items: center; }
.pin-pad i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.pin-pad i.off { background: transparent; border: 2px solid var(--line); }
.scanbox { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--paper); }
.scanbox img { width: 54px; border-radius: 6px; }
.scanbox .ok { font-weight: 700; font-size: 14px; color: var(--ok); }
.scanbox small { display: block; color: var(--stone); font-size: 12px; font-weight: 500; }
.rowstamps { display: flex; gap: 6px; flex-wrap: wrap; }
.rowstamps i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); }
.rowstamps i.off { background: transparent; border: 2px dashed rgba(17,17,17,.25); }
.ready { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; background: var(--blush); color: var(--accent-deep); padding: 8px 12px; border-radius: 99px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: var(--paper); border-radius: 12px; padding: 10px; }
.stats b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stats span { font-size: 11px; color: var(--stone); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--paper-2); }
.bars i.hi { background: var(--accent); }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit div { background: rgba(255,255,255,.55); border-radius: 14px; padding: 12px; font-weight: 700; font-size: 14px; }
.kit div span { display: block; font-size: 22px; margin-bottom: 4px; }

/* Messages */
.msgs { display: grid; gap: 12px; }
@media (min-width: 760px) { .msgs { grid-template-columns: 1fr 1fr; } }
.msg { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.msg.key { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.msg .e { width: 42px; height: 42px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.msg b { display: block; font-size: 15px; }
.msg small { color: var(--accent-deep); font-weight: 700; font-size: 12px; }
.msg p { color: var(--stone); font-size: 15px; margin-top: 4px; }
.optin { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--stone); max-width: 70ch; }

/* Timeline */
.tl { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 860px) { .tl { grid-template-columns: repeat(4, 1fr); } }
.tl li { list-style: none; position: relative; padding: 24px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-dark); }
.tl li::before { counter-increment: s; content: "0" counter(s); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.tl li small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 6px; }
html:lang(ar) .tl li small { letter-spacing: 0; }
.tl h3 { font-size: 21px; }
.tl p { color: var(--on-dark-2); margin-top: 8px; font-size: 15px; }
.tl { padding: 0; margin: 0; }
.tl-wrap { position: relative; }
@media (min-width: 860px) { .tl-wrap::before { content: ""; position: absolute; inset-inline: 48px; top: 46px; height: 1.5px; background: linear-gradient(90deg, var(--accent), rgba(217,30,42,.15)); } }

/* Pricing */
.controls { display: grid; gap: 16px; padding: clamp(18px, 3vw, 26px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); margin-bottom: 22px; }
@media (min-width: 900px) { .controls { grid-template-columns: 1fr auto auto; align-items: end; } }
.ctl-lbl { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--paper-2); }
.branches button, .bill button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; padding: 6px 8px; }
.branches button[aria-pressed="true"], .bill button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bill { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--paper-2); }
.bill button { padding-inline: 14px; }
.bill .save { font-size: 11px; font-weight: 800; color: var(--accent-deep); margin-inline-start: 4px; }
.bill button[aria-pressed="true"] .save { color: var(--accent); }
.plans { display: grid; gap: 16px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--r); background: var(--white); border: 1.5px solid var(--line); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.plan.rec { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.plan.pick { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,30,42,.25), 0 30px 60px -36px rgba(217,30,42,.7); transform: translateY(-4px); }
.plan .badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 24px; margin-bottom: 10px; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--accent); color: var(--ink); }
html:lang(ar) .badge { letter-spacing: 0; font-size: 12px; }
.badge.fit { background: var(--blush); color: var(--accent-deep); display: none; }
.plan.pick .badge.fit { display: inline-block; }
.plan h3 { font-size: 24px; }
.plan .for { font-size: 14px; color: var(--stone); margin-top: 4px; }
.plan.rec .for, .plan.rec .bnote, .plan.rec li { color: var(--on-dark-2); }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amt { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .per { font-size: 15px; color: var(--stone); }
.plan.rec .price .per { color: var(--on-dark-2); }
.bnote { font-size: 13px; color: var(--stone); margin-top: 8px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' stroke='%23C8340E' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan.rec li::before { background-color: rgba(217,30,42,.18); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .big { font-size: 36px; font-weight: 800; margin-top: 22px; letter-spacing: -.02em; }
.included { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 26px; font-size: 14px; font-weight: 600; }
.included span::before { content: "✓"; color: var(--accent-deep); margin-inline-end: 6px; font-weight: 800; }
.billing-note { text-align: center; margin-top: 12px; }
.compare { margin-top: 48px; }
.compare h3 { font-size: 22px; margin-bottom: 14px; }
.tbl-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--line); }
thead th { font-size: 13px; background: var(--paper); position: sticky; top: 0; }
tbody th { font-weight: 600; color: var(--stone); }
td.yes { color: var(--accent-deep); font-weight: 800; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.col-rec { background: rgba(217,30,42,.05); }

/* FAQ */
.faq-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p { color: var(--stone); padding-bottom: 20px; max-width: 64ch; }
.faq-side .btn { margin-top: 22px; }

/* CTA + footer */
.cta { padding-block: 0 clamp(64px, 9vw, 96px); }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--accent); color: var(--ink); padding: clamp(36px, 7vw, 76px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1.4fr auto; } }
.cta-box h2 { font-size: clamp(32px, 5.6vw, 56px); font-stretch: 108%; }
.cta-box p { margin-top: 12px; font-size: 18px; color: rgba(17,17,17,.78); }
.cta-box .cta-row { margin-top: 0; }
.cta-box .btn-line { border-color: rgba(17,17,17,.4); }
.cta-box::after { content: ""; position: absolute; width: 340px; height: 340px; inset-inline-end: -110px; bottom: -150px; border-radius: 50%; border: 50px solid rgba(255,255,255,.14); pointer-events: none; }
.ftr { background: var(--ink); color: var(--on-dark-2); padding-block: 56px 32px; font-size: 15px; }
.ftr-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ftr-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .ftr-brand { grid-column: auto; } }
.ftr-brand img { width: 140px; margin-bottom: 14px; }
.ftr h4 { color: var(--on-dark); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
html:lang(ar) .ftr h4 { letter-spacing: 0; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ftr a { text-decoration: none; display: inline-block; padding-block: 4px; }
.ftr a:hover { color: var(--on-dark); }
.ftr-bot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
.alldesigns { color: var(--on-dark) !important; font-weight: 700; }

.no-js .js-only { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .chip:first-child { opacity: 1; transform: translateX(-50%); }
  html[dir="rtl"] .chip:first-child { transform: translateX(50%); }
  .track[aria-hidden="true"] { display: none; }
  .marquee { overflow-x: auto; }
}

/* Keep "$29" / "1,499 ج.م" in reading order inside Arabic text */
[data-from], [data-amt] { unicode-bidi: isolate; direction: ltr; display: inline-block; }
/* The Arabic chip is taller, so drop it below the wallet pills */
[dir="rtl"] .float-stamp { bottom: -22px; }

/* Nearby buzz: a small street map drawn in SVG (no map service). The walker
   enters the dashed zone at about 56% of the loop, when the nearby message pops. */
.map { position: relative; --walk: 162px; }
[dir="rtl"] .map { --walk: -162px; }
.map-svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.m-road { fill: #3A2E27; }
.m-block { fill: #1E1714; }
.m-bld { fill: #29201B; }
.m-park { fill: #1F2B1D; }
.m-tree { fill: #2C3F28; }
.m-mid { stroke: rgba(255,245,225,.18); stroke-width: 1; stroke-dasharray: 6 6; }
.m-label { fill: rgba(255,245,225,.55); font: 600 8px/1 "Archivo", "IBM Plex Sans Arabic", sans-serif; letter-spacing: .04em; }
.m-label.sm { font-size: 6.5px; }
.m-label.park-l { fill: rgba(170,210,150,.55); }
[dir="rtl"] .m-label { font-family: "IBM Plex Sans Arabic", "Archivo", sans-serif; letter-spacing: 0; }
.m-zone { fill: rgba(217,30,42,.1); stroke: rgba(217,30,42,.75); stroke-width: 1.4; stroke-dasharray: 4 4; animation: zone 10s ease-in-out infinite; }
.m-zone-tag rect { fill: #111111; stroke: rgba(217,30,42,.5); stroke-width: .8; }
.m-zone-tag text { fill: #FBE1DC; font: 700 7px/1 "Archivo", "IBM Plex Sans Arabic", sans-serif; }
.m-pin path { fill: var(--accent); stroke: #111111; stroke-width: 1; }
.m-pin circle { fill: #FFF5E1; }
.m-shop rect { fill: #FFF5E1; }
.m-shop text { fill: #111111; font: 800 8.5px/1 "Archivo", "IBM Plex Sans Arabic", sans-serif; }
.m-me { fill: #FFF5E1; stroke: #111111; stroke-width: 1.2; }
.m-me-ring { fill: rgba(255,245,225,.18); animation: me 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.m-fig { fill: #111111; }
.m-fig-l { stroke: #111111; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.m-walk { animation: walk 10s ease-in-out infinite; }
.map .dist { position: absolute; inset-inline-end: 8px; top: 8px; font-size: 12px; color: var(--on-dark-2); background: rgba(17,17,17,.8); border: 1px dashed rgba(255,245,225,.3); padding: 4px 10px; border-radius: 99px; }
@keyframes walk {
  0%, 4% { transform: translateX(0); opacity: 0; }
  7% { opacity: 1; }
  64%, 92% { transform: translateX(var(--walk)); opacity: 1; }
  98%, 100% { transform: translateX(var(--walk)); opacity: 0; }
}
@keyframes zone {
  0%, 54% { fill: rgba(217,30,42,.08); stroke: rgba(217,30,42,.55); }
  58%, 92% { fill: rgba(217,30,42,.22); stroke: rgba(217,30,42,1); }
  100% { fill: rgba(217,30,42,.08); stroke: rgba(217,30,42,.55); }
}
@keyframes me { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.lockcard .notif.buzz { animation: buzz 10s ease-in-out infinite; }
@keyframes buzz {
  0%, 55% { opacity: .55; transform: scale(.96); box-shadow: none; }
  57% { opacity: 1; transform: scale(1.05) rotate(-1deg); box-shadow: 0 0 0 3px var(--accent); }
  59% { transform: scale(1.03) rotate(1deg); }
  61% { transform: scale(1.04) rotate(-.6deg); }
  63%, 92% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 2px var(--accent); }
  100% { opacity: .55; transform: scale(.96); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .m-walk { transform: translateX(var(--walk)) !important; opacity: 1 !important; }
  .m-zone { fill: rgba(217,30,42,.22) !important; stroke: var(--accent) !important; }
  .lockcard .notif.buzz { opacity: 1 !important; box-shadow: 0 0 0 2px var(--accent) !important; }
}

/* Stampzi buttons (brand kit, 24 Nov 2026): white text on Vermilion Deep on light
   backgrounds; on dark sections the bright accent #FF5A5F with Espresso text. */
.btn-accent { background: var(--accent-deep); color: #FFFFFF; box-shadow: 0 14px 30px -14px rgba(179, 20, 31, .8); }
.dark .btn-accent, .hero .btn-accent, .plan.rec .btn-accent { background: #FF5A5F; color: #111111; box-shadow: 0 14px 30px -14px rgba(255, 90, 95, .8); }

/* Cherry Stamp (24 Nov 2026): wide ticket logo, Archivo Black at 125% width for display type */
.brand img { width: auto; height: 26px; }
.ftr-brand img { width: auto; height: 30px; }
h1, h2 { font-weight: 900; }
.hero h1, .h2, .cta-box h2 { font-stretch: 125%; letter-spacing: -.02em; }
.btn-accent { background: #D91E2A; color: #FFFFFF; box-shadow: 0 14px 30px -14px rgba(217, 30, 42, .8); }
.btn-accent:hover { background: #B3141F; }
@media (max-width: 420px) { .brand img { height: 20px; } }
