/* ===== binkly.tech marketing site. Same tokens and components as the brand board (css/styles.css). ===== */
:root {
  --indigo: #4438FF;      /* Royal Indigo – Primary */
  --lilac: #AFA8FF;       /* Luminous Lilac – Secondary */
  --yellow: #FFE58A;      /* Butter Yellow – Accent */
  --cloud: #FAFAFC;       /* Cloud White – Background */
  --graphite: #1D1D25;    /* Deep Graphite – Text */
  --muted: #5E5E6C;     /* 6:1 on the page background */
  --soft: #7C7C8A;
  --bubble: #EEEEFB;
  --card: rgba(255, 255, 255, .62);
  --edge: 0 0 0 1px rgba(226, 228, 238, .95);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 1.5px rgba(214, 216, 232, .55), 0 18px 44px rgba(80, 70, 190, .10);
  --font: "Inter", system-ui, sans-serif;
  --font-ar: "Cairo", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--graphite); background: #F8F9FD; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; text-align: start; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; gap: 6px; }
.logo .mark { width: 34px; height: 27px; }
.logo .word { width: 66px; height: 22px; fill: var(--graphite); }
.logo.sm .mark { width: 26px; height: 20.6px; }
.logo.sm .word { width: 50px; height: 16.8px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 500; font-size: 15px; padding: 13px 24px; white-space: nowrap; transition: filter .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: linear-gradient(180deg, #6A5FFF, var(--indigo) 55%, #3528E0); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -8px rgba(68, 56, 255, .55); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: #fff; color: #3B33C9; box-shadow: inset 0 0 0 1px #E2E3EC; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--lilac); }
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-block { width: 100%; padding: 15px; }
.btn-block svg { width: 13px; height: 13px; margin-inline-start: auto; margin-inline-end: -4px; }

/* ===== Shared bits ===== */
.bubble { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bubble); color: var(--indigo); display: grid; place-items: center; }
.bubble svg { width: 50%; height: 50%; }
.bubble.sm { width: 34px; height: 34px; }
.pic { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }
.pic svg { width: 20px; height: 20px; }
.p-lilac { background: #E7E5FF; color: #6F66F0; }
.p-yellow { background: #FFF3C4; color: #8A6500; }
.p-indigo { background: var(--indigo); color: #fff; }
.cc { flex: none; width: 41px; height: 30px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--indigo); background: var(--bubble); padding: 6px 12px; border-radius: 999px; }
.panel { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; width: 100%; max-width: 420px; }
.row { display: flex; align-items: center; gap: 14px; }
.row b, .purchases b, .method b, .w-item b, .sub b { display: block; font-size: 14px; font-weight: 500; }
.row small, .purchases small, .method small, .w-item small, .sub small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.row em, .purchases em, .sub em { margin-inline-start: auto; font-style: normal; font-weight: 600; font-size: 14px; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(248, 249, 253, .75); }
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 40px; }
.links { display: flex; gap: 28px; white-space: nowrap; font-size: 14px; font-weight: 500; color: #2F3138; }
.links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.links a:hover { color: var(--indigo); }
.links a[aria-current="page"] { color: var(--indigo); border-bottom-color: var(--indigo); }
.nav-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.signin { font-size: 14px; font-weight: 500; }
.signin:hover { color: var(--indigo); }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 64px 0 40px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; color: #2A2A42; }
.lead { margin-top: 22px; max-width: 470px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: var(--muted); }
.actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.demo { display: flex; justify-content: center; }
.demo-card { width: 100%; max-width: 410px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow), 0 30px 60px rgba(68, 56, 255, .08); padding: 22px; }
.demo-head { display: flex; justify-content: space-between; align-items: center; }
.secure { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4F5058; }
.secure svg { width: 13px; height: 13px; color: var(--soft); }
.purchases { margin-top: 18px; display: grid; gap: 6px; }
.purchases button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.purchases button:hover { background: #F4F4FD; }
.purchases button.active { background: #F7F6FF; box-shadow: inset 0 0 0 1.5px #A49EF0; }
.purchases img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.pay-with { margin-top: 16px; }
.pw-label { font-size: 13px; font-weight: 500; }
.methods { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.method { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #ECECF3; font-size: 12.5px; transition: box-shadow .2s; }
.method .cc { width: 32px; height: 23px; }
.method small { font-size: 11.5px; }
.method.active { background: #F7F6FF; box-shadow: inset 0 0 0 1.5px #A49EF0; }
.bank { width: 32px; height: 23px; border-radius: 4px; background: #E9E8F6; color: #5A52E8; display: grid; place-items: center; }
.bank svg { width: 15px; height: 15px; }
#confirm { margin-top: 16px; }
.done { margin-top: 16px; display: grid; justify-items: center; text-align: center; gap: 4px; animation: pop .35s ease; }
.done b { margin-top: 10px; font-size: 18px; font-weight: 600; }
.done small { font-size: 13px; color: #4F5058; }
.ring { width: 76px; height: 76px; border-radius: 50%; background: #EEEDFB; display: grid; place-items: center; }
.ring i { width: 50px; height: 50px; border-radius: 50%; background: #C9C5F8; color: #4A43E0; display: grid; place-items: center; }
.ring svg { width: 22px; height: 22px; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

.banner { display: flex; align-items: center; gap: 14px; padding-block: 12px; padding-inline: 12px 18px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 15px; max-width: 640px; transition: box-shadow .2s; }
.banner:hover { box-shadow: 0 0 0 1.5px #A49EF0, 0 14px 40px rgba(90, 96, 160, .08); }
.banner .bubble { width: 38px; height: 38px; }
.banner .chev { width: 16px; height: 16px; margin-inline-start: auto; color: var(--indigo); }

/* ===== Merchants marquee ===== */
.merchants { padding: 72px 0 8px; }
.kicker { font-size: 15px; color: var(--muted); text-align: center; }
.marquee { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 40s linear infinite; }
.track span { padding: 12px 20px; border-radius: 999px; background: var(--card); box-shadow: var(--edge); font-size: 14px; font-weight: 500; white-space: nowrap; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 6px)); } }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.tile h3 { margin-top: 20px; font-size: 18px; font-weight: 600; }
.tile p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .copy { order: 2; }
.split h2 { margin-top: 16px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
.split .copy p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 480px; }
.split .copy .btn { margin-top: 28px; }
.split .copy .note { margin-top: 20px; font-size: 14px; color: var(--muted); }
#subscriptions .checks li { align-items: flex-start; font-weight: 400; line-height: 1.5; }
#subscriptions .checks .bubble { flex: none; }
.visual { display: flex; justify-content: center; }
.split > *, .hero > * { min-width: 0; }

/* agents */
.approve { display: grid; gap: 16px; }
.ask { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.4; }
.ask b { font-weight: 600; }
.approve .row { padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--edge); }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status { font-size: 13.5px; font-weight: 500; padding: 10px 12px; border-radius: 10px; animation: pop .3s ease; }
.status.approved { background: #EEEDFB; color: #3B33C9; }
.status.declined { background: #F3F3F6; color: #5C5D66; }

/* wallet */
.w-head { display: flex; justify-content: space-between; align-items: flex-start; }
.w-head b { display: block; font-size: 18px; font-weight: 600; }
.w-head small { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }
.plus { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--indigo); display: grid; place-items: center; box-shadow: 0 0 0 1px #EEEEF5, 0 4px 10px rgba(90, 96, 160, .08); }
.plus svg { width: 16px; height: 16px; }
.w-list { margin-top: 18px; display: grid; gap: 10px; }
.w-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #EFEFF5, 0 3px 8px rgba(90, 96, 160, .05); transition: box-shadow .2s; }
.w-item .radio { margin-inline-start: auto; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.4px #A7A8B4; display: grid; place-items: center; }
.w-item.active { background: #F7F6FF; box-shadow: inset 0 0 0 1.5px #A49EF0, 0 3px 10px rgba(68, 56, 255, .08); }
.w-item.active .radio { background: var(--indigo); box-shadow: none; }
.w-item.active .radio::after { content: ""; width: 4px; height: 7.5px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(0, -1px) rotate(45deg); }
.ship { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #EEEEF4; }
.ship small { display: block; font-size: 12px; color: var(--muted); }
.ship b { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; }

/* subscriptions */
.sub-list { display: grid; gap: 6px; }
.sub { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .2s, box-shadow .2s; }
.sub:hover { background: #F4F4FD; }
.sub.active { background: #F7F6FF; box-shadow: inset 0 0 0 1.5px #A49EF0; }
.sub-detail { margin-top: 14px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: var(--edge); display: grid; gap: 10px; font-size: 14px; }
.sub-detail div { display: flex; justify-content: space-between; gap: 12px; }
.sub-detail dt { color: var(--muted); }
.sub-detail dd { font-weight: 500; }
.pill { font-size: 12px; font-weight: 600; color: #3B33C9; background: var(--bubble); padding: 3px 10px; border-radius: 999px; }

/* protection */
.checks { margin-top: 22px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; }
.order img { width: 48px; height: 48px; border-radius: 10px; }
.steps { margin-top: 22px; margin-inline-start: 4px; }
.steps li { position: relative; height: 34px; padding-inline-start: 32px; display: flex; align-items: center; font-size: 14px; color: var(--muted); }
.steps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8.5px; width: 17px; height: 17px; border-radius: 50%; background: radial-gradient(circle, #C8C9D3 0 1.5px, #E7E7EF 1.7px); z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 7.5px; top: 24px; width: 2px; height: 19px; background: #A9A5EE; }
.steps li.done { color: var(--graphite); font-weight: 500; }
.steps li.done::before { background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.steps li.now { color: #2A2B33; }
.covered { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #3B33C9; background: var(--bubble); padding: 10px 12px; border-radius: 10px; }
.covered svg { width: 16px; height: 16px; }

/* mission */
.mission { text-align: center; max-width: 760px; }
.mission .mark { width: 92px; height: 73px; margin: 0 auto 28px; }
.mission p { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.5; color: #45454F; }
.mission .strong { margin-top: 20px; color: var(--graphite); font-weight: 600; }

/* CTAs */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cta { display: flex; flex-direction: column; gap: 22px; min-height: 230px; padding: 28px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.cta:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px #A49EF0, 0 18px 40px rgba(68, 56, 255, .1); }
.cta h3 { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.cta .more { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--indigo); }
.cta .more svg { width: 15px; height: 15px; }
.cta:first-child { background: var(--indigo); color: #fff; }
.cta:first-child .bubble { background: rgba(255, 255, 255, .16); color: #fff; }
.cta:first-child .more { color: #fff; }

/* footer */
.footer { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding: 32px 0 48px; border-top: 1px solid #E8E8F0; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--indigo); }
.footer-end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.footer-note { flex-basis: 100%; font-size: 13px; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--graphite); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13px; opacity: 0; transition: .25s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}
@media (max-width: 820px) {
  .links { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .split.rev .copy { order: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .grid4 { grid-template-columns: 1fr; }
  .signin { display: none; }
  .methods { grid-template-columns: 1fr; }
  .method { flex-direction: row; align-items: center; }
  .footer-end { margin-inline-start: 0; }
}

/* ===== Business page (business.html) ===== */
.nav-tag { margin-inline-start: -28px; font-size: 13px; font-weight: 500; color: var(--indigo); background: var(--bubble); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.hero .eyebrow { margin-bottom: 18px; }
.biz-h1 { font-size: clamp(38px, 5.4vw, 64px); }
.head-center { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.head-center h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
.head-center p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.narrow { max-width: 760px; }

/* before / after checkout */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #F0F0F7; margin-bottom: 18px; }
.seg button { text-align: center; padding: 9px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.seg button.active { background: #fff; color: var(--graphite); box-shadow: 0 2px 6px rgba(90, 96, 160, .1); }
.mode { display: grid; gap: 10px; animation: pop .3s ease; }
.fake-field { display: grid; gap: 6px; }
.fake-field span { font-size: 11.5px; color: var(--muted); }
.fake-field i { height: 34px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #E6E7ED; }
.fake-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meter { margin-top: 4px; text-align: center; font-size: 13px; color: var(--muted); }
.meter b { color: var(--graphite); }
.compare .item img { width: 48px; height: 48px; border-radius: 10px; }
.autofill { display: grid; gap: 8px; }
.af-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #F7F6FF; box-shadow: inset 0 0 0 1px #E6E3FF; }
.af-row .cc { width: 34px; height: 25px; }
.af-row small { display: block; font-size: 11.5px; color: var(--muted); }
.af-row b { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; }
.af-row .tick { margin-inline-start: auto; width: 16px; height: 16px; color: var(--indigo); }

/* steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps3 li { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.steps3 h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.steps3 p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* code */
.code { width: 100%; max-width: 520px; border-radius: 18px; background: #16162A; color: #E6E5F5; box-shadow: 0 24px 50px rgba(30, 28, 80, .25); overflow: hidden; }
.code-tabs { display: flex; gap: 4px; padding: 10px 12px 0; }
.code-tabs button { color: #9C9AC0; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 9px 9px 0 0; }
.code-tabs button.active { color: #fff; background: #222241; }
.code pre { margin: 0; padding: 20px; background: #222241; overflow-x: auto; font: 13px/1.65 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.code .c { color: #9C9AC4; } .code .t { color: #AFA8FF; } .code .a { color: #FFE58A; } .code .s { color: #9FE3B4; } .code .k { color: #8C84FF; } .code .n { color: #FFB38A; }
.code-note { padding: 10px 20px 14px; font-size: 12px; color: #A9A7CC; background: #222241; border-top: 1px solid #2E2E52; }

/* dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dash-head small { display: block; font-size: 12.5px; color: var(--muted); }
.dash-head b { display: block; margin-top: 4px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.spark { width: 100%; height: 70px; margin: 14px 0 6px; }
.tx { display: grid; gap: 4px; }
.tx li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid #F0F0F5; }
.tx b { display: block; font-size: 14px; font-weight: 500; }
.tx small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.tx em { margin-inline-start: auto; font-style: normal; font-weight: 600; font-size: 14px; }

/* pricing */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 20px; background: var(--indigo); color: #fff; box-shadow: 0 20px 44px rgba(68, 56, 255, .22); }
.plan h3 { font-size: 22px; font-weight: 600; }
.plan .price { font-size: 15px; font-weight: 600; opacity: .9; }
.plan > p:not(.price) { font-size: 15px; line-height: 1.5; opacity: .85; }
.ticks { margin: 8px 0 18px; display: grid; gap: 10px; font-size: 14.5px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan .btn { margin-top: auto; }
.plan .btn-primary { background: #fff; color: var(--indigo); box-shadow: none; }
.plan.alt { background: var(--card); color: var(--graphite); box-shadow: var(--shadow); }
.plan.alt .ticks li::before { background-color: var(--indigo); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--edge); padding: 18px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* contact band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 44px; border-radius: 24px; background: var(--indigo); color: #fff; box-shadow: 0 24px 50px rgba(68, 56, 255, .25); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; }
.cta-band p { margin-top: 8px; opacity: .85; font-size: 16px; }
.lead-form { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-form input { font: inherit; font-size: 15px; padding: 13px 18px; border-radius: 999px; border: 0; min-width: 240px; color: var(--graphite); }
.lead-form input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn-light { background: var(--yellow); color: var(--graphite); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1000px) { .nav-tag { display: none; } }
@media (max-width: 820px) {
  .steps3, .grid2 { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
  .lead-form, .lead-form input { width: 100%; min-width: 0; }
}
@media (max-width: 520px) { .nav-cta .btn { padding: 9px 14px; } }

/* ===== Developers page (developers.html) ===== */
.dev-hero { grid-template-columns: 1fr 1fr; }
.dev-hero h1 { font-size: clamp(36px, 4.4vw, 56px); }
.preview-note { margin-top: 22px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.preview-note .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 229, 138, .45); }
.tile code, .steps3 code { font: 12.5px ui-monospace, Consolas, monospace; background: var(--bubble); color: #3B33C9; padding: 1px 6px; border-radius: 6px; }

/* agent flow */
.flow-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #F0F0F5; }
.flow-head b { display: block; font-size: 14px; font-weight: 600; }
.flow-head small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.flow-steps { margin: 16px 0 18px; display: grid; gap: 4px; }
.flow-steps li { position: relative; display: flex; gap: 14px; padding: 10px 6px; border-radius: 12px; opacity: .45; transition: opacity .3s, background .3s; }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 16px; top: 34px; bottom: -8px; width: 2px; background: #ECECF4; }
.flow-steps i { flex: none; position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #DCDCE8; transition: .3s; }
.flow-steps b { display: block; font-size: 14px; font-weight: 500; }
.flow-steps small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.flow-steps li.on, .flow-steps li.done { opacity: 1; }
.flow-steps li.on { background: #F7F6FF; }
.flow-steps li.on i { box-shadow: inset 0 0 0 6px var(--indigo); }
.flow-steps li.done i { background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.flow-steps li.done::after { background: var(--lilac); }
#runFlow:disabled { opacity: .7; cursor: default; transform: none; }

/* agent limits */
.limits { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 480px; }
.limits div { padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--edge); }
.limits small { display: block; font-size: 12px; color: var(--muted); }
.limits b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }

/* webhook events */
.events { max-width: 460px; }
.ev-list { display: grid; gap: 4px; margin-bottom: 14px; }
.ev-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-align: start; transition: background .2s; }
.ev-list button:hover { background: #F7F7FB; }
.ev-list button.active { background: #F7F6FF; box-shadow: inset 0 0 0 1px #E6E3FF; }
.ev-list code { font: 500 13px ui-monospace, Consolas, monospace; color: var(--graphite); }
.ev-list small { flex: none; font-size: 12px; color: var(--muted); }
.ev-json { margin: 0; padding: 16px 18px; border-radius: 14px; background: #222241; color: #E6E5F5; overflow-x: auto; font: 12.5px/1.6 ui-monospace, Consolas, monospace; min-height: 180px; }

@media (max-width: 820px) { .dev-hero { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .limits { grid-template-columns: 1fr; } }

/* ===== Site-wide: phone menu, form states (js/site.js) ===== */
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; place-content: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--graphite); transition: transform .2s, opacity .2s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { display: grid; gap: 2px; width: min(1160px, 100% - 32px); margin-inline: auto; padding: 4px 0 18px; max-height: calc(100dvh - 72px); overflow-y: auto; }
.menu-panel a { padding: 12px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid #ECECF4; }
.menu-panel a.btn { margin-top: 12px; border: 0; justify-content: center; padding: 14px; }
.menu-panel a.signin { display: block; }
@media (max-width: 1020px) { .menu-btn { display: grid; } .links { display: none; } }
@media (min-width: 1021px) { .menu-panel { display: none !important; } }

.lead-form, .card-form { position: relative; }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-error { flex-basis: 100%; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--yellow); }
.form-done { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 15px; font-weight: 500; }
.form-done .tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--graphite); font-weight: 700; }
.lead-form button:disabled { opacity: .7; cursor: progress; transform: none; }

/* ===== Plain pages: support and legal ===== */
.doc { max-width: 760px; padding: 56px 0 88px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.doc .updated { margin-top: 10px; font-size: 14px; color: var(--muted); }
.doc .intro { margin-top: 18px; font-size: 18px; line-height: 1.6; color: #4A4B57; }
.doc h2 { margin-top: 44px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.doc h3 { margin-top: 26px; font-size: 17px; font-weight: 600; }
.doc p, .doc li { margin-top: 12px; font-size: 16px; line-height: 1.7; color: #3A3B46; }
.doc ul { margin-top: 8px; padding-inline-start: 20px; list-style: disc; }
.doc li { margin-top: 6px; }
.doc a:not(.btn) { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.doc .toc { margin-top: 28px; padding: 18px 22px; border-radius: 16px; background: var(--card); box-shadow: var(--edge); }
.doc .toc ol { list-style: decimal; padding-inline-start: 20px; }
.doc .toc li { margin-top: 4px; font-size: 15px; }

.help-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-grid a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); transition: transform .2s; }
.help-grid a:hover { transform: translateY(-2px); }
.help-grid b { font-size: 16px; }
.help-grid span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.help-grid .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; color: var(--indigo); }

.card-form { margin-top: 18px; display: grid; gap: 14px; padding: 26px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.card-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.card-form input, .card-form select, .card-form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px #A9AABA; color: var(--graphite); }
.card-form input:focus, .card-form select:focus, .card-form textarea:focus { box-shadow: inset 0 0 0 2px var(--indigo); outline: none; }
.card-form input:focus-visible, .card-form select:focus-visible, .card-form textarea:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.card-form textarea { min-height: 140px; resize: vertical; }
.card-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-form .btn { justify-self: start; }
.card-form .form-error { color: #C0262D; }
.card-form + .form-done, .doc .form-done { margin-top: 18px; border-radius: 20px; background: var(--bubble); color: #2E2A8F; }

.notfound { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 64px 0; }
.notfound .nf-code { font-size: 15px; font-weight: 600; color: var(--indigo); }
.notfound h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -.02em; }
.notfound p { color: var(--muted); font-size: 17px; }
.notfound .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

@media (max-width: 820px) { .help-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .card-form .two { grid-template-columns: 1fr; } .card-form { padding: 20px; } }

.access-forms { display: grid; gap: 12px; }
.access-alt { margin: 0; font-size: 14px; opacity: .9; }
.access-alt a, a.inline { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
a.inline { color: var(--indigo); }
.doc .help-grid a { color: inherit; text-decoration: none; }
.nav.open { background: #F8F9FD; box-shadow: 0 18px 40px rgba(90, 96, 160, .12); }

/* ===== Site-wide additions: accessibility, sign-in menu, language, RTL ===== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cc-body { fill: var(--cc); }
.cc-chip { fill: var(--chip); }
.cc-indigo { --cc: url(#cc-indigo); --chip: #3A30D8; }
.cc-lilac { --cc: url(#cc-lilac); --chip: #C5C1F3; }
.cc-yellow { --cc: url(#cc-yellow); --chip: #F2CF5C; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--graphite); color: #fff; font-size: 14px; font-weight: 500; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .menu-btn:focus-visible, .signin:focus-visible { border-radius: 999px; }
.cta-band :focus-visible, .plan:not(.alt) :focus-visible, .cta:first-child:focus-visible, .skip:focus-visible { outline-color: var(--yellow); }
.cta:focus-visible, .help-grid a:focus-visible { border-radius: 20px; }
.code :focus-visible { outline-color: var(--yellow); }

/* nav: sign-in menu and language link */
.nav-cta { gap: 14px; }
.lang { font-size: 14px; font-weight: 500; color: #2F3138; padding: 6px 4px; }
.lang:hover { color: var(--indigo); }
.signin-menu { position: relative; }
.signin { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 6px; }
.signin svg { width: 12px; height: 12px; transform: rotate(90deg); transition: transform .2s; }
.signin[aria-expanded="true"] svg { transform: rotate(-90deg); }
.signin-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; min-width: 240px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E6E7EF, 0 18px 40px rgba(60, 56, 140, .16); }
.signin-list a { display: block; padding: 10px 12px; border-radius: 10px; }
.signin-list a:hover { background: #F4F4FD; }
.signin-list b { display: block; font-size: 14px; font-weight: 600; }
.signin-list small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* phone menu: static markup, opened by js/site.js */
.menu-panel .group { padding: 14px 4px 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.menu-panel a small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.menu-panel a[aria-current="page"] { color: var(--indigo); }
@media (max-width: 1020px) { .nav-cta .lang, .signin-menu { display: none; } }

/* chips (ways to pay) */
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 12px 20px; border-radius: 999px; background: var(--card); box-shadow: var(--edge); font-size: 14px; font-weight: 500; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* forms: privacy notice and announced states */
.form-privacy { flex-basis: 100%; margin-top: 6px; font-size: 13px; line-height: 1.5; opacity: .92; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.card-form .form-privacy { color: var(--muted); opacity: 1; }
.card-form .form-privacy a { color: var(--indigo); }
.form-status:empty { display: none; }
.form-status:focus { outline: none; }
.lead-form [aria-invalid="true"] { box-shadow: 0 0 0 3px #FFB38A; }
.card-form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #C0262D; }
.cta-band .form-done { color: #fff; }

/* pricing (one plan, rate agreed per business) */
.price-card { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 32px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.price-card h3 { font-size: 22px; font-weight: 600; }
.price-card .price { margin-top: 8px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--indigo); }
.price-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.price-card .ticks li::before { background-color: var(--indigo); }
.price-card .actions { margin-top: 20px; }
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; padding: 24px; } }

/* integrations */
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.int-grid article { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.int-grid h3 { font-size: 17px; font-weight: 600; }
.int-grid p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.int-grid .state { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bubble); color: #3B33C9; }
.int-grid .state.wait { background: #FFF3C4; color: #6B4E00; }
.int-grid .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .int-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .int-grid { grid-template-columns: 1fr; } }

/* receipt panel (home) */
.receipt dl { margin-top: 14px; display: grid; gap: 8px; font-size: 14px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 12px; }
.receipt dt { color: var(--muted); }
.receipt dd { font-weight: 500; }

/* contact block (support) */
.contact-card { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 20px 24px; border-radius: 18px; background: var(--card); box-shadow: var(--edge); }
.contact-card div { display: grid; gap: 4px; }
.contact-card small { font-size: 13px; color: var(--muted); }
.contact-card a { font-weight: 600; }
.contact-card address { font-style: normal; font-weight: 600; max-width: 34ch; }

.code pre, .ev-json, code { direction: ltr; unicode-bidi: isolate; }
.code pre, .ev-json { scrollbar-width: thin; scrollbar-color: #4C4A85 transparent; }
.code pre { text-align: left; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ===== Brand layer: indigo stage, display type, crisp surfaces =====
   The hero is a deep indigo stage with the product on it, sections sit on a cool off-white, and one ink
   band carries the statement. Surfaces are white with a hairline; depth comes from the indigo, not glass. */
:root {
  --ink: #100D33;
  --paper: #F6F6FA;
  --line: #E3E3EE;
  --line-2: #D3D3E2;
  --card: #fff;
  --edge: 0 0 0 1px var(--line);
  --shadow: 0 0 0 1px var(--line), 0 6px 8px -6px rgba(16, 13, 51, .08);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dir: 1;
}
[dir="rtl"] { --dir: -1; }
body { background: var(--paper); }
.blobs { display: none; }
h1, h2, h3, .r-title, .big { font-family: var(--display); font-optical-sizing: auto; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .r-title, :lang(ar) .big { font-family: var(--font-ar); letter-spacing: 0; }

/* nav */
.nav, .nav.open { background: rgba(246, 246, 250, .88); box-shadow: 0 1px 0 var(--line); }
.links a[aria-current="page"] { border-bottom-color: transparent; }
.btn { font-weight: 600; transition: transform .3s var(--ease), background-color .2s, box-shadow .2s, filter .2s; }
.btn-primary { background: var(--indigo); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(16, 13, 51, .2); }
.btn-primary:hover { filter: none; background: #3A2EF0; }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--graphite); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--graphite); }

/* ---- hero stage (every page's first section) ---- */
.hero, .hero.wrap {
  position: relative; isolation: isolate; overflow: hidden;
  width: auto; margin: 8px 12px 0; border-radius: 24px;
  padding: clamp(56px, 8vw, 112px) max(24px, calc((100% - 1160px) / 2));
  grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 80px);
  color: #fff;
  background:
    radial-gradient(55% 75% at 88% 0%, rgba(175, 168, 255, .5), transparent 62%),
    radial-gradient(45% 55% at 0% 100%, rgba(255, 229, 138, .16), transparent 62%),
    linear-gradient(160deg, #4B40FF 0%, #3326E0 46%, #1B1480 100%);
}
.orbit { position: absolute; z-index: -1; top: -220px; inset-inline-end: -240px; width: 820px; height: 820px; fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 1; pointer-events: none; }
.hero h1, .hero .biz-h1, .dev-hero h1 { color: #fff; font-size: clamp(42px, 6vw, 82px); line-height: 1.02; font-weight: 650; letter-spacing: -.035em; }
.dev-hero h1, .hero .biz-h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; }
:lang(ar) .hero h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.22; font-weight: 800; }
:lang(ar) .dev-hero h1, :lang(ar) .hero .biz-h1 { font-size: clamp(34px, 4.2vw, 56px); }
.hl { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 540px; }
/* a darker chip under the yellow keeps it above 4.5:1 anywhere on the indigo */
.hero .eyebrow { background: rgba(16, 13, 51, .3); color: var(--yellow); }
.hero-copy .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 229, 138, .6); }
.hero-copy .btn-primary:hover { background: #FFEDA8; }
.hero-copy .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.hero-copy .btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
/* the product on the stage keeps its own light surface */
.hero .demo-card, .hero .panel { color: var(--graphite); }
.hero .demo-card :focus-visible, .hero .panel :focus-visible { outline-color: var(--indigo); }
.hero .preview-note { color: rgba(255, 255, 255, .9); }
.hero :focus-visible { outline-color: var(--yellow); }
.hero .demo-card, .hero .panel { box-shadow: 0 40px 80px -32px rgba(6, 4, 40, .65); }
.hero .code { box-shadow: 0 40px 80px -32px rgba(6, 4, 40, .75); }
.proof { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--yellow); }

.demo { position: relative; }
.float-chip { position: absolute; bottom: -30px; inset-inline-start: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55); animation: rise 1s var(--ease) .7s both; }
[dir="rtl"] .float-chip { padding: 12px 12px 12px 18px; }
.float-chip .bubble { background: rgba(255, 229, 138, .16); color: var(--yellow); }
.float-chip small { display: block; font-size: 12px; color: rgba(255, 255, 255, .62); }
.float-chip b { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; }

/* one orchestrated entrance; the end state is the resting state */
/* Motion only, never opacity: a paused animation (a background tab, a link preview, a crawler) still shows the text. */
@keyframes rise { from { transform: translateY(22px); } }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero > .demo, .hero > .visual { animation: rise 1.1s var(--ease) .18s both; }

/* ---- ways to pay ---- */
.ways { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding-top: 36px; }
.ways h2 { font: 500 14px/1.4 var(--font); color: var(--muted); text-wrap: initial; }
:lang(ar) .ways h2 { font-family: var(--font-ar); }
.ways ul { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
.ways li { padding-inline: 16px; font-size: 15px; font-weight: 600; border-inline-start: 1px solid var(--line-2); }
.ways li:first-child { border: 0; }
.ways .fine { flex-basis: 100%; margin: 0; }

/* ---- section heads ---- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.head { max-width: 720px; margin-bottom: 48px; }
.head p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.head h2, .head-center h2, .split h2, .start h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; font-weight: 650; letter-spacing: -.03em; }
:lang(ar) .head h2, :lang(ar) .head-center h2, :lang(ar) .split h2, :lang(ar) .start h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.3; font-weight: 800; }
.split h2 { margin-top: 0; }
.head-center { margin-bottom: 56px; }

/* ---- bento: each feature shows itself ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.b-tile { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 30px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.b-tile.b-wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; }
.b-tile.b-side { grid-column: span 2; }
.b-tile h3 { font-size: 26px; line-height: 1.12; font-weight: 650; letter-spacing: -.025em; }
:lang(ar) .b-tile h3 { font-size: 24px; line-height: 1.35; font-weight: 700; }
.b-tile p { font-size: 15px; line-height: 1.6; color: var(--muted); }
:lang(ar) .b-tile p { line-height: 1.8; }
.b-tile .b-copy { display: grid; gap: 10px; }
.b-vis { margin-top: auto; padding-top: 18px; }
.b-wide .b-vis { margin: 0; padding: 0; }
.b-ink { background: var(--ink); color: #fff; box-shadow: none; }
.b-ink p { color: rgba(255, 255, 255, .72); }
.b-tint { background: #EEEDFF; box-shadow: none; }
.b-tint p { color: #4A4870; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; }
.pills li:first-child { background: var(--indigo); color: #fff; box-shadow: none; }
.mask { display: grid; gap: 22px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(135deg, #6157FF, #3326E0 60%, #2219B0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.mask small { font-size: 13px; font-weight: 500; color: #fff; }
.mask b { direction: ltr; text-align: left; font: 600 19px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.otp { display: flex; gap: 8px; direction: ltr; }
.otp i { flex: 1; max-width: 48px; height: 56px; border-radius: 10px; background: #fff; display: grid; place-items: center; font: 600 22px var(--display); font-style: normal; box-shadow: 0 0 0 1px #DCDAF7; }
.otp i:last-child { box-shadow: 0 0 0 2px var(--indigo); }
.b-wide .af-row { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.b-wide .autofill { padding: 18px; border-radius: 14px; background: var(--paper); }

/* ---- split sections: the product sits on a lilac plate ---- */
.split { gap: clamp(40px, 6vw, 96px); }
.split .visual { padding: clamp(24px, 4.5vw, 64px); border-radius: 16px; background: radial-gradient(90% 90% at 25% 15%, #F1F0FF, #E2DFFF 55%, #D4D0FF); }
.split .copy p { font-size: 17.5px; }
.split .copy .btn { margin-top: 32px; }

/* ---- statement band ---- */
.statement { position: relative; isolation: isolate; overflow: hidden; margin: 0 12px; border-radius: 24px; padding: clamp(80px, 11vw, 150px) 0; background: radial-gradient(60% 90% at 100% 0%, rgba(68, 56, 255, .5), transparent 65%), var(--ink); color: #fff; }
.statement .mark { width: 72px; height: 57px; margin-bottom: 36px; }
.statement .big { max-width: 16ch; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; font-weight: 650; letter-spacing: -.035em; }
:lang(ar) .statement .big { max-width: 18ch; line-height: 1.3; font-weight: 800; }
.statement .big span { color: var(--lilac); }
.statement p:not(.big) { margin-top: 28px; max-width: 600px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.statement .orbit { top: auto; bottom: -420px; stroke: rgba(255, 255, 255, .07); }

/* the statement, with the integration beside it */
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.st-grid .big { font-size: clamp(36px, 4.6vw, 64px); }
.st-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 3px; transition: border-color .2s var(--ease), gap .2s var(--ease); }
.st-link svg { width: 18px; height: 18px; transform: scaleX(var(--dir)); }
.st-link:hover { border-color: #fff; gap: 12px; }
.code { margin: 0; border-radius: 14px; background: #0B0927; box-shadow: 0 0 0 1px rgba(175, 168, 255, .18), 0 30px 60px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid rgba(175, 168, 255, .14); font: 500 13px/1 var(--font); color: rgba(255, 255, 255, .62); }
.code-tag { padding: 4px 8px; border-radius: 6px; background: rgba(175, 168, 255, .14); color: var(--lilac); font-size: 12px; }
.code pre { margin: 0; padding: 22px 20px 24px; overflow-x: auto; font: 400 14px/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #E7E6F5; text-align: left; tab-size: 2; }
.c-k { color: #C9A9FF; }
.c-f { color: #8FD3FF; }
.c-s { color: var(--yellow); }
.c-n { color: #FFB38A; }
.c-c { color: #8A88A6; }
.code figcaption { padding: 16px 20px 20px; border-top: 1px solid rgba(175, 168, 255, .14); font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
@media (max-width: 960px) { .st-grid { grid-template-columns: 1fr; } }

/* where binkly works: a real table of markets */
.cov-scroll { border-top: 1px solid var(--ink); }
.cov { width: 100%; border-collapse: collapse; text-align: start; }
.cov th, .cov td { text-align: start; vertical-align: top; }
.cov thead th { padding: 14px 16px 14px 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.cov-group th { padding: 36px 0 12px; font: 650 19px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); border-bottom: 1px solid var(--line-2); }
:lang(ar) .cov-group th { font-family: var(--font-ar); font-weight: 700; }
.cov tbody tr:not(.cov-group) > * { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
[dir="rtl"] .cov tbody tr:not(.cov-group) > *, [dir="rtl"] .cov thead th { padding-right: 0; padding-left: 20px; }
.cov tbody tr:not(.cov-group) { transition: background-color .2s var(--ease); }
.cov tbody tr:not(.cov-group):hover { background: rgba(68, 56, 255, .035); }
.cov th[scope="row"] { width: 26%; font-weight: 400; }
.cov-market { display: flex; align-items: center; gap: 14px; }
.cov-flag { flex: none; width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16, 13, 51, .12); }
.cov-market b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.cov-market small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
[dir="rtl"] .cov-market small { text-align: right; }
.cov-prov { width: 46%; font-size: 15px; line-height: 1.6; color: var(--graphite); }
.cov-names { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0; padding: 0; list-style: none; }
.cov-names li { white-space: nowrap; }
.cov-prov .cov-names { overflow: hidden; }
.cov-prov .cov-names li { font-weight: 500; }
.cov-n { float: inline-start; display: inline-grid; place-items: center; min-width: 26px; height: 22px; margin-top: 1px; margin-inline-end: 12px; padding-inline: 6px; border-radius: 999px; background: var(--bubble); color: var(--indigo); font-size: 12.5px; font-weight: 700; vertical-align: 1px; }
.cov-ways { font-size: 15px; line-height: 1.6; color: var(--muted); }
.cov-fine { margin-top: 20px; }
@media (max-width: 760px) {
  .cov thead { display: none; }
  .cov, .cov tbody, .cov tr, .cov th, .cov td { display: block; width: auto; }
  .cov-group th { padding-top: 28px; }
  .cov tbody tr:not(.cov-group) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cov tbody tr:not(.cov-group) > *, [dir="rtl"] .cov tbody tr:not(.cov-group) > * { padding: 0; border: 0; }
  .cov th[scope="row"], .cov-prov { width: auto; }
  .cov-prov { margin-top: 12px; }
  .cov-ways { margin-top: 6px; font-size: 14px; }
}

/* ---- start: three routes as big rows ---- */
.routes { margin-top: 40px; border-top: 1px solid var(--line-2); }
.routes a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px; padding: 30px 4px; border-bottom: 1px solid var(--line-2); }
.r-title { font-size: clamp(26px, 3.4vw, 44px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; transition: transform .5s var(--ease), color .2s; }
:lang(ar) .r-title { font-weight: 700; line-height: 1.35; }
.r-sub { font-size: 15px; color: var(--muted); }
.routes svg { grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; color: var(--indigo); transition: transform .5s var(--ease); }
[dir="rtl"] .routes svg { transform: scaleX(-1); }
.routes a:hover .r-title { color: var(--indigo); transform: translateX(calc(10px * var(--dir))); }
.routes a:hover svg { transform: translateX(calc(8px * var(--dir))) scaleX(var(--dir)); }
.routes a:focus-visible { border-radius: 8px; }

/* ---- other pages' blocks, made crisp ---- */
.tile { background: none; box-shadow: none; border-radius: 0; border-top: 2px solid var(--graphite); padding: 24px 4px 0; }
.tile .bubble { width: auto; height: auto; background: none; display: flex; justify-content: flex-start; color: var(--indigo); }
.tile .bubble svg { width: 24px; height: 24px; }
.tile h3 { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.grid4 { gap: 32px; }
.steps3 li { background: none; box-shadow: none; border-radius: 0; border-top: 2px solid var(--graphite); padding: 24px 4px 0; }
.num { width: auto; height: auto; display: block; background: none; color: var(--indigo); font: 650 44px/1 var(--display); }
.steps3 h3 { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
:lang(ar) .tile h3, :lang(ar) .steps3 h3 { font-weight: 700; }
.int-grid article, .price-card, .faq details, .contact-card, .help-grid a, .card-form, .doc .toc { border-radius: 16px; }
.faq details { border-radius: 12px; }
.cta-band { border-radius: 16px; padding: clamp(32px, 5vw, 64px); background: radial-gradient(70% 130% at 100% 0%, rgba(68, 56, 255, .6), transparent 62%), var(--ink); box-shadow: none; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.03em; }
:lang(ar) .cta-band h2 { line-height: 1.35; }
.doc h1, .notfound h1 { font-weight: 650; letter-spacing: -.03em; }
.notfound .nf-code { font: 650 clamp(110px, 18vw, 220px)/.9 var(--display); letter-spacing: -.04em; color: var(--indigo); }
/* plain pages: a confident heading, and on wide screens the contents stay beside the text */
.doc { padding-top: clamp(48px, 7vw, 88px); }
.doc h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; }
:lang(ar) .doc h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.3; font-weight: 800; }
.doc .intro { max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); }
.doc h2 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
:lang(ar) .doc h2 { font-weight: 700; }
.doc .toc { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.doc .toc ol { list-style: none; padding: 0; counter-reset: toc; border-inline-start: 1px solid var(--line-2); }
.doc .toc li { counter-increment: toc; margin: 0; font-size: 14.5px; }
.doc .toc a { display: block; padding: 6px 16px; color: var(--muted); text-decoration: none; }
.doc .toc a::before { content: counter(toc) ". "; color: var(--soft); }
.doc .toc a:hover { color: var(--indigo); }
@media (min-width: 1000px) {
  .doc:has(.toc) { max-width: 1060px; display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 72px; }
  .doc:has(.toc) > * { grid-column: 2; }
  .doc:has(.toc) > :is(h1, .updated, .intro) { grid-column: 1 / -1; }
  .doc:has(.toc) > .toc { grid-column: 1; grid-row: span 400; align-self: start; position: sticky; top: 100px; margin-top: 44px; }
  .doc:has(.toc) > .toc ~ * { max-width: 68ch; }
}

/* ---- footer ---- */
.footer, .wrap.footer { display: block; width: auto; margin: 48px 12px 12px; padding: 72px 0 36px; border: 0; border-radius: 24px; background: var(--ink); color: rgba(255, 255, 255, .68); font-size: 14.5px; }
.f-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.f-brand p { margin-top: 18px; max-width: 300px; line-height: 1.6; }
.footer .logo .word { fill: #fff; }
.footer .f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.section.start { padding-bottom: clamp(48px, 6vw, 72px); }
.f-cols div { display: grid; gap: 12px; align-content: start; }
.f-h { margin-bottom: 4px; font-weight: 600; color: #fff; }
.footer a:hover { color: #fff; }
.f-end { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.f-address { flex-basis: 100%; font-style: normal; font-size: 13px; }
.f-address[dir="ltr"] { text-align: end; }
.footer .lang { padding: 0; color: rgba(255, 255, 255, .85); }
.footer .lang:hover { color: #fff; }
.footer :focus-visible { outline-color: var(--yellow); }

/* country and language picker (js/site.js): a panel that opens above the footer's button */
.region { position: relative; }
.region-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; border: 0; background: none; font: inherit; font-weight: 500; color: rgba(255, 255, 255, .9); cursor: pointer; }
.region-btn svg { width: 16px; height: 16px; }
.region-btn:hover { color: #fff; }
.region-panel { position: absolute; bottom: calc(100% + 14px); inset-inline-start: 0; z-index: 30; width: min(920px, calc(100vw - 48px)); max-height: min(70vh, 560px); overflow: auto; padding: 22px 24px; border-radius: 16px; background: #fff; color: var(--graphite); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -12px rgba(16, 13, 51, .35); }
.region-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 20px; margin: 0; padding: 0; list-style: none; }
.region-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.region-flag { flex: none; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16, 13, 51, .12); overflow: hidden; }
.region-langs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; padding-inline-start: 34px; font-size: 13px; }
.footer .region-langs a { color: var(--muted); border-radius: 4px; }
.footer .region-langs a:hover { color: var(--indigo); text-decoration: underline; }
.footer .region-langs a[aria-current="true"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.region-list li.is-current .region-flag { box-shadow: 0 0 0 2px var(--indigo); }
.footer .region-panel :focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
@media (max-width: 900px) { .region-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .region-panel { position: fixed; inset: auto 12px 12px; width: auto; max-height: 72vh; }
  .region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- scroll reveal where the browser drives it from scroll; elsewhere everything is simply visible ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .b-tile, .split .visual, .routes li, .statement .big { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

@media (max-width: 1000px) {
  .b-tile.b-wide { grid-column: span 6; }
  .b-tile.b-side { grid-column: span 6; }
}
@media (max-width: 820px) {
  .hero, .hero.wrap { grid-template-columns: 1fr; margin-inline: 8px; border-radius: 20px; }
  .float-chip { position: relative; inset: auto; width: fit-content; max-width: 100%; margin: 14px auto 0; }
  .demo { flex-direction: column; align-items: center; }
  .bento .b-tile { grid-column: span 6; }
  .b-tile.b-wide { grid-template-columns: 1fr; }
  .b-tile { min-height: 0; }
  .statement, .footer, .wrap.footer { margin-inline: 8px; border-radius: 20px; }
  .f-top { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer .f-cols { grid-template-columns: 1fr 1fr; }
  .b-tile { padding: 24px; }
  .ways ul { gap: 6px 18px; }
  .ways li { padding-inline: 0; border: 0; font-size: 14px; }
  .hero, .hero.wrap { padding-inline: 14px; }
  .hero-copy { padding-inline: 6px; }
  .hero .demo-card { padding: 16px; }
  .purchases em { white-space: nowrap; }
  .purchases button { gap: 10px; }
}

/* ===== Arabic / RTL ===== */
:lang(ar) body, :lang(ar) button, :lang(ar) input, :lang(ar) select, :lang(ar) textarea { font-family: var(--font-ar); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .split h2, :lang(ar) .head-center h2, :lang(ar) .cta h3, :lang(ar) .doc h1 { letter-spacing: 0; }
:lang(ar) .hero h1 { line-height: 1.25; }
:lang(ar) .lead, :lang(ar) .split .copy p, :lang(ar) .tile p { line-height: 1.75; }
[dir="rtl"] .btn svg, [dir="rtl"] .banner .chev, [dir="rtl"] .cta .more svg, [dir="rtl"] .help-grid .go svg { transform: scaleX(-1); }
[dir="rtl"] .signin svg { transform: rotate(90deg); }
[dir="rtl"] .signin[aria-expanded="true"] svg { transform: rotate(-90deg); }
[dir="rtl"] .marquee { mask-image: linear-gradient(-90deg, transparent, #000 10%, #000 90%, transparent); }
[dir="rtl"] .track { animation-direction: reverse; }
[dir="rtl"] .nav-tag { margin-inline-start: -28px; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .track { animation: none !important; transform: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .btn:hover, .cta:hover, .help-grid a:hover { transform: none; }
}

/* ===== Second brand pass: providers strip, routing diagram, trust band, spotlight, footer wordmark ===== */

/* providers strip: names set in the display face, drifting slowly; it stops for reduced motion */
.partners { padding-top: clamp(56px, 7vw, 88px); }
.partners h2 { text-align: center; font: 500 14px/1.5 var(--font); color: var(--muted); padding-inline: 16px; }
:lang(ar) .partners h2 { font-family: var(--font-ar); }
.logos { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos ul { display: flex; gap: 56px; width: max-content; animation: logos 60s linear infinite; }
.logos li { font: 650 clamp(20px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -.02em; color: #8E8CA6; white-space: nowrap; }
.logos:hover ul { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(calc(-50% - 28px)); } }
[dir="rtl"] .logos ul { animation-name: logos-rtl; }
@keyframes logos-rtl { to { transform: translateX(calc(50% + 28px)); } }

/* routing diagram */
.route { width: 100%; max-width: 560px; margin: 0; }
#routing .visual { padding: clamp(16px, 3vw, 36px); }
.route-svg { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
:lang(ar) .route-svg { font-family: var(--font-ar); }
.route-svg path { fill: none; stroke: #C9C5F3; stroke-width: 2; stroke-dasharray: 5 6; transition: stroke .4s; }
.route-svg path.on { stroke: var(--indigo); stroke-dasharray: none; }
.route-svg .co rect { fill: #fff; stroke: var(--line); }
.route-svg .cl { font-size: 16px; font-weight: 600; fill: var(--graphite); }
.route-svg .ca { font-size: 14.5px; fill: var(--muted); }
.route-svg .hub circle { fill: #fff; stroke: var(--indigo); stroke-width: 2; filter: drop-shadow(0 10px 18px rgba(68, 56, 255, .28)); }
.route-svg .prov rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; transition: stroke .4s, fill .4s; }
.route-svg .pn { font-size: 17px; font-weight: 600; fill: var(--graphite); }
.route-svg .ps { font-size: 14px; font-weight: 600; }
.route-svg .prov.down rect { stroke: #EBA3A3; fill: #FFF6F6; }
.route-svg .prov.down .ps { fill: #B42318; }
.route-svg .prov.paid rect { stroke: #8FD9AE; fill: #F3FCF6; }
.route-svg .prov.paid .ps { fill: #087443; }
.route-svg .dot { fill: var(--yellow); stroke: var(--indigo); stroke-width: 2.5; }
#routing .checks li { align-items: flex-start; font-weight: 400; line-height: 1.55; }
:lang(ar) #routing .checks li { line-height: 1.8; }

/* trust band */
.trust { margin: 0 12px 12px; padding: clamp(72px, 10vw, 128px) 0; border-radius: 24px; background: radial-gradient(70% 90% at 0% 0%, #F3F2FF, #E8E6FF 60%, #DEDAFF); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(68, 56, 255, .22); }
.facts li { padding: 28px 28px 0 0; }
[dir="rtl"] .facts li { padding: 28px 0 0 28px; }
.facts li + li { padding-inline-start: 28px; border-inline-start: 1px solid rgba(68, 56, 255, .16); }
.facts svg { width: 26px; height: 26px; color: var(--indigo); }
.facts h3 { margin-top: 18px; font-size: 20px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
:lang(ar) .facts h3 { font-weight: 700; line-height: 1.45; }
.facts p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #4A4870; }
:lang(ar) .facts p { line-height: 1.85; }

/* a soft light follows the pointer across the feature tiles (js/home.js sets --mx and --my) */
.b-tile { position: relative; isolation: isolate; }
.b-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(68, 56, 255, .09), transparent 46%); }
.b-ink::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(175, 168, 255, .2), transparent 46%); }
.b-tile:hover::after { opacity: 1; }

/* hero card tilts a little toward the pointer (js/home.js) */
.hero .demo-card { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); will-change: transform; }

/* footer: the name, large and quiet */
.f-word { display: block; width: 100%; height: auto; margin-top: 56px; color: rgba(255, 255, 255, .06); }

@media (max-width: 1000px) {
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 820px) { .trust { margin-inline: 8px; border-radius: 20px; } }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 24px 0 0; border-inline-start: 0; }
  .facts li + li { border-top: 1px solid rgba(68, 56, 255, .16); margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos { mask-image: none; }
  .logos ul { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; gap: 14px 32px; padding-inline: 16px; }
  .logos li[aria-hidden] { display: none; }
  .hero .demo-card { transform: none; }
}
/* the diagram shrinks with the screen, so its words grow to stay readable on a phone */
@media (max-width: 560px) {
  #routing .visual { padding: 10px; }
  .route-svg .pn { font-size: 22px; }
  .route-svg .ps { font-size: 18px; }
  .route-svg .cl { font-size: 20px; }
  .route-svg .ca { font-size: 18px; }
}

/* ===== Pause buttons for the parts that move by themselves (js/site.js keeps them in step) ===== */
.motion-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--graphite); background: #fff; box-shadow: 0 0 0 1px var(--line-2); transition: background-color .2s, box-shadow .2s; }
.motion-btn:hover { box-shadow: 0 0 0 1px var(--graphite); }
.motion-btn svg { width: 14px; height: 14px; }
.motion-btn .ic-play, .motion-btn[aria-pressed="true"] .ic-pause { display: none; }
.motion-btn[aria-pressed="true"] .ic-play { display: block; }
.motion-btn:focus-visible { border-radius: 50%; }
.mb-logos { display: grid; margin: 18px auto 0; }
.partners .motion-btn { justify-self: center; }
.mb-hero { position: absolute; bottom: 20px; inset-inline-end: 20px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.mb-hero:hover { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.hero .mb-hero:focus-visible { outline-color: var(--yellow); }
#routing .visual { position: relative; }
.mb-route { position: absolute; top: 14px; inset-inline-end: 14px; }
.motion-off .logos ul { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-btn { display: none; } }
