/*
 * payzy — the public site: the landing page, /get and /developers.
 *
 * Built on payzy.css (tokens, buttons, badges). Light only, after Apple's
 * guidelines adapted to the web: content first, white and light-grey bands,
 * the tint kept for what can be pressed, no decorative gradients.
 */

:root {
  --glass: rgba(255, 255, 255, .82);
  --glass-strong: rgba(255, 255, 255, .92);
  --hero-from: #FFFFFF;
  --hero-to: #F5F5F7;
  --kicker-line: transparent;
  --how-n: #E5E5EA;
  --track: #E5E5EA;
  --code-bg: #F2F2F7;
}

.landing { background: var(--white); color: var(--text); overflow-x: hidden; font-size: 17px; }
.l-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }
.flip-rtl:dir(rtl), [dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ── Header ───────────────────────────────────────────────────────── */
.l-top { position: sticky; top: 0; z-index: 20; transition: background .2s, box-shadow .2s; }
.l-top.scrolled { background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.l-top-row { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.l-logo { display: inline-flex; text-decoration: none; }
.l-nav { display: flex; gap: 2px; margin-inline-start: auto; }
.l-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.l-nav a:hover { color: var(--ui-violet); }
.l-top-cta { min-height: 36px; padding-inline: 14px; font-size: 14px; border-radius: var(--r-pill); }
.btn .ico { flex: none; }
.btn { gap: 8px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.l-hero { position: relative; margin-top: -60px; padding-block: 124px 88px; background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%); overflow: hidden; }
.l-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.l-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--tint-soft); color: var(--ui-violet); font-weight: 600; font-size: 14px; }
.l-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; margin: 0 0 20px; }
:lang(ar) .l-hero h1 { letter-spacing: 0; line-height: 1.25; }
.l-grad { color: var(--ui-violet); }
.l-lead { font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 54ch; }
.l-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn.l-big { min-height: 50px; padding-inline: 24px; font-size: 17px; border-radius: var(--r-pill); }

.l-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-weight: 500; font-size: 15px; }
.l-trust li { display: inline-flex; align-items: center; gap: 6px; }
.l-trust .ico { color: var(--ok); }

/* The phone */
.l-phone-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.l-phone { position: relative; width: 330px; padding: 12px; border-radius: 48px; background: #1D1D1F; box-shadow: 0 30px 60px rgba(0, 0, 0, .18), inset 0 0 0 2px #3A3A3C; }

.l-phone-notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: #000; border-radius: 16px; z-index: 2; }
.l-screen { background: #F2F2F7; border-radius: 38px; padding: 56px 18px 96px; display: grid; gap: 14px; min-height: 580px; align-content: start; }
.l-screen-top { display: flex; gap: 8px; align-items: center; color: var(--text-2); }
.l-limit { border-radius: 16px; padding: 16px; color: var(--white); background: var(--ui-violet); display: grid; gap: 4px; }
.l-limit .small { color: rgba(255, 255, 255, .8); }
.l-limit strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.l-limit-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; margin-top: 8px; }
.l-limit-bar i { display: block; height: 100%; border-radius: inherit; background: var(--white); }
.l-screen-title { font-weight: 700; margin-top: 4px; }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-steps li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--white); font-size: 13px; font-weight: 500; white-space: nowrap; }
.l-steps li.done { background: var(--ok-bg); border-color: transparent; }
.l-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #E5E5EA; color: var(--text-2); font-size: 13px; }
.l-steps li.done .l-dot { background: var(--ok); color: var(--white); }
.l-screen-note { font-size: 12px; color: var(--text-2); text-align: center; }
.l-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--glass-strong); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-pop); font-size: 14px; }
.l-float strong { display: block; }
.l-float .small { display: block; color: var(--text-2); font-size: 13px; }
.l-float-a { inset-inline-start: -24px; bottom: 34px; }
.l-float-b { inset-inline-end: -36px; top: 16px; animation-delay: -3s; }
.l-float-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint-soft); color: var(--ui-violet); }
.l-float-ico.ok { background: var(--ok-bg); color: var(--ok); }

/* ── Figures ──────────────────────────────────────────────────────── */
.l-stats { padding-block: 8px 24px; }
.l-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.l-stats-row > div { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; background: var(--canvas); }
.l-stats-row strong { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.l-stats-row span { color: var(--text-2); font-weight: 500; }

/* ── Sections ─────────────────────────────────────────────────────── */
.l-section { padding-block: 96px; }
.l-section h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin: 0 0 20px; max-width: 22ch; }
:lang(ar) .l-section h2 { letter-spacing: 0; line-height: 1.3; }
.l-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 17px; font-weight: 600; color: var(--ui-violet); }

.l-tint { background: var(--canvas); }

.l-how { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: how; }
.l-how-step { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--canvas); display: grid; gap: 12px; align-content: start; }

.l-how-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--white); background: var(--ui-violet); }
.l-how-n { position: absolute; top: 22px; inset-inline-end: 24px; font-size: 34px; font-weight: 700; color: var(--how-n); }
.l-how-step h3 { font-size: 20px; font-weight: 600; }
.l-how-step p { color: var(--text-2); }

.l-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.l-calc-grid > * { min-width: 0; }
.l-calc { padding: 28px; border-radius: 20px; box-shadow: var(--shadow-pop); gap: 14px; }
.l-calc-label { font-weight: 600; color: var(--text-2); }
.l-calc-price { font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.l-calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; margin-inline: 0; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ui-violet) var(--fill, 38%), var(--track) var(--fill, 38%)); outline: none; }
[dir="rtl"] .l-calc input[type="range"] { background: linear-gradient(270deg, var(--ui-violet) var(--fill, 38%), var(--track) var(--fill, 38%)); }
.l-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .04); cursor: grab; }
.l-calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--ui-violet); cursor: grab; }
.l-calc-scale { display: flex; justify-content: space-between; color: var(--text-2); }
.l-calc-parts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.l-calc-parts li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--canvas); }
.l-calc-parts li:first-child { background: var(--tint-soft); color: var(--ui-violet); }
.l-calc-parts span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.l-calc-parts li:first-child span { color: var(--ui-violet); }
.l-calc-parts strong { font-size: 19px; }

.l-features { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l-feature { padding: 24px; border-radius: 20px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.l-feature h3 { font-size: 19px; font-weight: 600; }
.l-feature p { color: var(--text-2); }
.l-feature-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--tint-soft); color: var(--ui-violet); }

.l-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.l-ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.l-ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.l-tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.l-till { background: var(--surface); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-pop); display: grid; gap: 6px; justify-items: start; }
.l-till-head { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.l-till .small { color: var(--text-2); }
.l-price { font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 14px; }
.l-code { font-size: 36px; font-weight: 700; letter-spacing: .14em; margin: 0 0 14px; padding: 10px 18px; border-radius: 12px; background: var(--tint-soft); color: var(--ui-violet); }
.l-till .badge.ok::before { display: none; }

.l-dev { margin-top: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; border-radius: 20px; background: var(--canvas); color: var(--text); text-decoration: none; }
.l-dev:hover { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--ui-violet); }
.l-dev strong { display: block; font-size: 19px; }
.l-dev span span { color: var(--text-2); }
.l-dev-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--white); color: var(--ui-violet); }
.l-dev-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ui-violet); white-space: nowrap; }

.l-deep { background: var(--canvas); color: var(--text); }

.l-app { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.l-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.l-store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px; border-radius: 12px; background: #1D1D1F; color: var(--white); text-decoration: none; }
.l-store:hover { color: var(--white); background: #000; text-decoration: none; }
.l-store span span { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.l-store strong { display: block; font-size: 17px; }
.l-store.soon { background: var(--white); color: var(--text); cursor: default; box-shadow: inset 0 0 0 1px var(--field-line); }
.l-store.soon span span { color: var(--text-2); }
.l-deep .notice { margin-top: 16px; }
.l-qr { margin: 0; justify-self: center; display: grid; gap: 16px; justify-items: center; text-align: center; padding: 24px; border-radius: 20px; background: var(--white); }
.l-qr-code { background: var(--white); padding: 12px; border-radius: 16px; line-height: 0; }
.l-qr-code svg { width: 200px; height: 200px; }
.l-qr figcaption { display: grid; gap: 4px; max-width: 240px; }
.l-qr figcaption span { color: var(--text-2); font-size: 14px; }

.l-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.l-faq { border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; background: var(--canvas); }

.l-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding-block: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ui-violet); transition: transform .2s; }
.l-faq[open] summary::after { transform: rotate(45deg); }
.l-faq p { margin: 0 0 18px; color: var(--text-2); }

.l-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l-contact-card { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 20px; background: var(--canvas); color: var(--text); text-decoration: none; }
.l-contact-card:hover { color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ui-violet); }
.l-contact-card strong { font-size: 18px; }
.l-mail { color: var(--ui-violet); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────────────── */
.l-foot { background: var(--canvas); color: var(--text-2); padding-block: 48px 28px; font-size: 13px; border-top: 1px solid var(--line); }
.l-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.l-foot-brand p { margin-top: 14px; max-width: 30ch; }
.l-foot nav { display: grid; gap: 10px; align-content: start; }
.l-foot nav strong { color: var(--text); margin-bottom: 4px; font-weight: 600; }
.l-foot a { color: var(--text-2); text-decoration: none; }
.l-foot a:hover { color: var(--text); }
.l-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 1320px) {
  .l-nav { display: none; }
  .l-top .langs { margin-inline-start: auto; }
}

@media (max-width: 1020px) {
  .l-hero-grid, .l-split, .l-calc-grid, .l-app, .l-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .l-features, .l-contact { grid-template-columns: repeat(2, 1fr); }
  .l-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .l-top-cta { display: none; }
  .l-hero { padding-block: 112px 56px; }
  .l-section { padding-block: 64px; }
  .l-stats-row, .l-how, .l-features, .l-contact { grid-template-columns: 1fr 1fr; }
  .l-how, .l-features, .l-contact { grid-template-columns: 1fr; }
  .l-phone-stage { min-height: 0; }
  .l-phone { width: min(300px, 84vw); }
  .l-screen { min-height: 0; padding-bottom: 72px; }
  .l-float-a { inset-inline-start: 0; bottom: 12px; }
  .l-float-b { display: none; }
  .l-stats-row strong { font-size: 22px; }
  .l-stats-row > div { padding: 18px; }
  .l-dev { grid-template-columns: auto 1fr; }
  .l-dev-cta { grid-column: 1 / -1; }
  .l-calc { padding: 22px; }
  .l-calc-price { font-size: 32px; }
  .l-foot-grid { grid-template-columns: 1fr; }
  .l-foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .l-float { animation: none; }
  .l-how-step, .l-contact-card, .l-dev { transition: none; }
}

/* ── /get ─────────────────────────────────────────────────────────── */
.get { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: var(--canvas); overflow: hidden; }
.get-card { position: relative; width: min(520px, 100%); background: var(--surface); border-radius: 20px; padding: 36px 28px 24px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.get-logo img { border-radius: 22%; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.get-card h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.get-card .l-lead { font-size: 17px; }
.get-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.l-store.dark { background: var(--ink); color: var(--white); }
.l-store.dark:hover { color: var(--white); }
.l-store.dark span span { color: rgba(255, 255, 255, .7); }
.get-qr { margin: 8px 0 0; display: grid; gap: 12px; justify-items: center; }
.get-qr .l-qr-code { border: 1px solid var(--line); }
.get-qr figcaption { display: grid; gap: 2px; }
.get-qr figcaption span { color: var(--text-2); font-size: 14px; }
.get-foot { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.get-foot a { text-decoration: none; font-weight: 600; }
.get[data-platform="android"] [data-desktop-only], .get[data-platform="ios"] [data-desktop-only] { display: none; }
.l-screen { overflow: hidden; }
.l-screen > * { min-width: 0; }
.l-steps li { grid-template-columns: 26px minmax(0, 1fr) auto; }
.l-steps li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 680px) {
  .l-screen { padding-inline: 12px; }
  .l-steps li { font-size: 12px; gap: 8px; padding-inline: 10px; }
  .l-limit strong { font-size: 22px; }
}

.l-social { display: flex; gap: 10px; margin-top: 18px; }
.l-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gray-fill); color: var(--text); }
.l-social a:hover { background: var(--tint-soft); color: var(--ui-violet); }
