/* Key House — the public site.
 *
 * The same language as the app (app/lib/theme/theme.dart): a near-white page,
 * white cards on a soft shadow, one deep teal for anything you press, orange
 * for money coming back and the brand, green for good news, sky for the calm
 * hero, yellow for the cashback card. Pills for actions and chips, 24 for
 * cards, 18 for tiles, 16 for inputs, 32 for sheets.
 *
 * Urbanist carries Latin letters and every digit; IBM Plex Sans Arabic
 * carries Kurdish and Arabic. Each face is limited by unicode-range, so a page
 * in English never downloads Plex and digits always come from Urbanist.
 */

/* ---------- Fonts ---------- */

@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-Light.ttf") format("truetype"); font-weight: 300; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2010-206F, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2010-206F, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2010-206F, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2010-206F, U+20AC, U+2122, U+2190-2199, U+2212; }

@font-face { font-family: "IBM Plex Sans Arabic"; src: url("/fonts/IBMPlexSansArabic-Light.ttf") format("truetype"); font-weight: 300; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }

/* ---------- Tones ---------- */

:root {
  color-scheme: light dark;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-alt: #ECEEF1;
  --border: #E2E5E9;
  --ink: #090502;
  --muted: #5F6369;
  --faint: #9A9EA5;
  --accent: #FF7935;
  --on-accent: #1C0A00;
  --accent-tint: #FFE6D8;
  --on-accent-tint: #9C3A06;
  --action: #0D4347;
  --on-action: #FFFFFF;
  --success: #0C9762;
  --success-tint: #D5EEE3;
  --danger: #C9372E;
  --sky: #86AFD0;
  --sky-deep: #6194BC;
  --yellow: #F9BF17;
  --glass: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(13, 67, 71, .04), 0 10px 30px rgba(13, 67, 71, .07);
  --shadow-lift: 0 2px 4px rgba(13, 67, 71, .05), 0 24px 60px rgba(13, 67, 71, .16);
  --store-bg: #090502;
  --store-ink: #FFFFFF;
  --store-border: transparent;
  --biz-bg: #0D4347;
  --brand-grad: linear-gradient(135deg, #FF8A3A 0%, #F26A22 55%, #E2541A 100%);

  --r-card: 24px;
  --r-tile: 18px;
  --r-input: 16px;
  --r-sheet: 32px;
  --r-pill: 999px;

  --gutter: 16px;
  --max: 1160px;
  --font: "Urbanist", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1012;
    --surface: #1A1C1F;
    --surface-alt: #25282C;
    --border: #2E3237;
    --ink: #F4F5F6;
    --muted: #A3A8AF;
    --faint: #6D7278;
    --accent: #FF8A4C;
    --on-accent: #1C0A00;
    --accent-tint: #3A2214;
    --on-accent-tint: #FFC2A0;
    --action: #237C78;
    --on-action: #FFFFFF;
    --success: #3DBE88;
    --success-tint: #12301F;
    --danger: #F07A72;
    --sky: #4F7899;
    --sky-deep: #34597A;
    --yellow: #E8C21A;
    --glass: rgba(32, 35, 39, .85);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .05);
    --shadow-lift: 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 60px rgba(0, 0, 0, .5);
    --store-bg: #000000;
    --store-ink: #FFFFFF;
    --store-border: rgba(255, 255, 255, .28);
    --biz-bg: #123B3E;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
:lang(ckb) body, :lang(ar) body, html:lang(ckb), html:lang(ar) { line-height: 1.75; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 300; letter-spacing: -0.02em; }
:lang(ckb) h1, :lang(ckb) h2, :lang(ar) h1, :lang(ar) h2 { letter-spacing: 0; line-height: 1.35; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; }
:lang(ckb) h3, :lang(ar) h3 { line-height: 1.5; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50; background: var(--action); color: var(--on-action); padding: 10px 18px; border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 28px; } }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--action);
}
@media (prefers-color-scheme: dark) { .eyebrow { color: #7FC9C2; } }
.eyebrow.money { color: var(--on-accent-tint); }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: calc(.775em - 4px); border-radius: 50%; background: currentColor; }
:lang(ckb) .eyebrow::before, :lang(ar) .eyebrow::before { margin-top: calc(.875em - 4px); }

.section { padding-block: 72px; }
@media (min-width: 960px) { .section { padding-block: 112px; } }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill); border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-action { background: var(--action); color: var(--on-action); }
.btn-action:hover { background: #0a3639; }
@media (prefers-color-scheme: dark) { .btn-action:hover { background: #2a8f8a; } }
.btn-light { background: #FFFFFF; color: #0D4347; }
.btn-light:hover { background: #EAF4F3; }
.btn svg { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .btn .flip { transform: scaleX(-1); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 18px;
  border-radius: var(--r-pill);
  background: var(--store-bg); color: var(--store-ink);
  border: 1px solid var(--store-border);
  text-decoration: none; line-height: 1.1;
  transition: transform .2s var(--ease), box-shadow .2s;
}
[dir="rtl"] .store { padding: 8px 18px 8px 22px; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(9, 5, 2, .18); }
.store:active { transform: scale(.97); }
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store span { display: flex; flex-direction: column; text-align: start; }
.store small { font-size: 12px; font-weight: 500; opacity: .85; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; font-family: "Urbanist", system-ui, sans-serif; }
.store small, .store b { white-space: nowrap; }
@media (max-width: 420px) {
  .stores { gap: 10px; }
  .store { flex: 1 1 0; min-width: 0; justify-content: center; padding: 8px 12px; gap: 8px; }
  [dir="rtl"] .store { padding: 8px 12px; }
  .store svg { width: 22px; height: 22px; }
  .store small { font-size: 11px; }
  .store b { font-size: 16px; }
}

/* ---------- Header ---------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--border); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; margin-inline-end: auto; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: "Urbanist", "IBM Plex Sans Arabic", sans-serif; white-space: nowrap; }

.langs {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--surface); border-radius: var(--r-pill);
  box-shadow: var(--shadow);
}
.langs a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px;
  border-radius: var(--r-pill); text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--muted); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.langs a[lang="ckb"], .langs a[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { background: var(--action); color: var(--on-action); }
.top .btn { display: none; min-height: 42px; padding: 8px 20px; font-size: 15px; }
@media (min-width: 860px) { .top .btn { display: inline-flex; } }
@media (max-width: 400px) {
  .brand span { display: none; }
  .langs a { padding-inline: 10px; }
}

/* ---------- Hero ---------- */

.hero { padding-top: 8px; }
.hero-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(255, 255, 255, .35), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #090502;
  display: grid; gap: 8px;
  padding: 40px 20px 0;
}
@media (prefers-color-scheme: dark) { .hero-card { color: #F4F5F6; } }
@media (min-width: 960px) {
  .hero-card { border-radius: var(--r-sheet); grid-template-columns: 1.08fr .92fr; align-items: center; padding: 64px 0 0 64px; min-height: 640px; }
  [dir="rtl"] .hero-card { padding: 64px 64px 0 0; }
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 24px; }
@media (min-width: 960px) { .hero-copy { padding-bottom: 64px; } }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .55); color: #0D4347;
  font-size: 14px; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .chip { background: rgba(255, 255, 255, .12); color: #F4F5F6; } }
.chip svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(42px, 11vw, 80px); line-height: 1.02; margin-top: 20px;
}
:lang(ckb) .hero h1, :lang(ar) .hero h1 { font-size: clamp(38px, 9.4vw, 68px); line-height: 1.3; }
.hl {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% .13em;
  background-position: 0 90%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[dir="rtl"] .hl { background-position: 100% 96%; }
.hero-sub { font-size: 18px; max-width: 520px; margin-top: 22px; color: inherit; opacity: .86; }
@media (min-width: 960px) { .hero-sub { font-size: 20px; } }
.hero .stores { margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14px; font-weight: 500; opacity: .85; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; }

.hero-visual { position: relative; display: flex; justify-content: center; align-self: end; height: 420px; }
@media (min-width: 480px) { .hero-visual { height: 480px; } }
@media (min-width: 960px) { .hero-visual { height: 600px; } }
.hero-visual .phone { position: absolute; top: 12px; width: 268px; }
@media (min-width: 960px) { .hero-visual .phone { top: 0; width: 318px; } }

.phone {
  border-radius: 46px; padding: 9px;
  background: #0B0B0C;
  box-shadow: var(--shadow-lift), inset 0 0 0 1.5px #2A2B2E;
}
.phone img { width: 100%; height: auto; border-radius: 37px; aspect-ratio: 1320 / 2868; background: #F5F6F8; }

.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: var(--r-tile);
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lift);
  max-width: 250px;
}
[dir="rtl"] .float { padding: 12px 12px 12px 16px; }
.float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float .ico svg { width: 22px; height: 22px; }
.float small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.float strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.float.reward .ico { background: var(--accent); color: #fff; }
.float.reward small { color: var(--on-accent-tint); }
.float.good .ico { background: var(--success); color: #fff; }
.float.good small { color: var(--success); }
.hero-visual .float.reward { top: 120px; inset-inline-start: calc(50% - 190px); }
.hero-visual .float.good { top: 280px; inset-inline-end: calc(50% - 186px); }
@media (max-width: 420px) {
  .hero-visual .float.reward { inset-inline-start: 0; top: 110px; }
  .hero-visual .float.good { inset-inline-end: 0; top: 270px; }
  .float { max-width: 210px; padding: 10px 12px 10px 10px; }
  .float strong { font-size: 14px; }
  .float .ico { width: 34px; height: 34px; }
}
@media (min-width: 960px) {
  .hero-visual .float.reward { top: 170px; inset-inline-start: calc(50% - 250px); }
  .hero-visual .float.good { top: 380px; inset-inline-end: calc(50% - 230px); }
}

/* ---------- Steps ---------- */

.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  position: relative; background: var(--surface); border-radius: var(--r-card);
  padding: 28px 24px 30px; box-shadow: var(--shadow);
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Urbanist", sans-serif; font-weight: 600; font-size: 18px;
  background: var(--action); color: var(--on-action);
}
.step.money .num { background: var(--accent); color: #fff; }
.step-ico { width: 52px; height: 52px; border-radius: var(--r-tile); display: grid; place-items: center; background: var(--surface-alt); color: var(--action); }
@media (prefers-color-scheme: dark) { .step-ico { color: #7FC9C2; } }
.step.money .step-ico { background: var(--accent-tint); color: var(--on-accent-tint); }
.step-ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 24px; font-weight: 500; }
.step p { color: var(--muted); margin-top: 10px; }

/* ---------- Cashback ---------- */

.cashback-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .cashback-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.cashback h2 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; margin-top: 14px; }
.cashback .lead { color: var(--muted); margin-top: 16px; font-size: 18px; max-width: 540px; }

.flow {
  margin-top: 32px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 6px;
  background: var(--surface); border-radius: var(--r-card); padding: 22px 16px; box-shadow: var(--shadow);
}
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.flow-node .dot { width: 52px; height: 52px; border-radius: var(--r-tile); display: grid; place-items: center; background: var(--surface-alt); color: var(--ink); }
.flow-node .dot svg { width: 26px; height: 26px; }
.flow-node .dot img { width: 52px; height: 52px; }
.flow-node.you .dot { background: var(--accent-tint); color: var(--on-accent-tint); }
.flow-node b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.flow-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 14px; min-width: 0; }
.flow-arrow svg { width: 44px; height: 24px; color: var(--accent); }
[dir="rtl"] .flow-arrow svg { transform: scaleX(-1); }
.flow-arrow small { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; max-width: 92px; }
@media (max-width: 519px) {
  .flow { grid-template-columns: 1fr; gap: 0; padding: 18px 20px; }
  .flow-node { flex-direction: row; text-align: start; gap: 14px; }
  .flow-node .dot, .flow-node .dot img { width: 44px; height: 44px; }
  .flow-node .dot { border-radius: 14px; }
  .flow-node b { font-size: 16px; }
  .flow-arrow { flex-direction: row; gap: 14px; padding: 6px 0; }
  .flow-arrow svg, [dir="rtl"] .flow-arrow svg { width: 44px; height: 30px; transform: rotate(90deg); }
  .flow-arrow small { max-width: none; text-align: start; font-size: 13px; }
}
@media (min-width: 520px) { .flow { padding: 26px 24px; gap: 10px; } .flow-arrow svg { width: 64px; } .flow-arrow small { max-width: 120px; } }

.options { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 560px) { .options { grid-template-columns: 1fr 1fr; } }
.option { border-radius: var(--r-card); padding: 24px; position: relative; overflow: hidden; }
.option .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.option .tag svg { width: 18px; height: 18px; }
.option h3 { font-size: 22px; font-weight: 500; margin-top: 14px; }
.option p { margin-top: 6px; font-size: 16px; }
.option.cash { background: var(--yellow); color: #1C1400; }
.option.cash p { color: rgba(28, 20, 0, .78); }
.option.first { background: var(--accent-tint); color: var(--on-accent-tint); }
.option.first h3 { color: var(--ink); }
.option.first p { color: var(--muted); }
.option::after {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
  inset-inline-end: -40px; top: -50px; background: rgba(255, 255, 255, .25);
}
@media (prefers-color-scheme: dark) { .option.first::after { background: rgba(255, 138, 76, .1); } }
.cb-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; color: var(--muted); font-size: 15px; }
.cb-note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--success); }
:lang(ckb) .cb-note svg, :lang(ar) .cb-note svg { margin-top: 6px; }

.cashback-visual { position: relative; height: 520px; display: flex; justify-content: center; }
@media (min-width: 960px) { .cashback-visual { height: 620px; } }
.cashback-visual::before {
  content: ""; position: absolute; inset: 40px 0 0; border-radius: var(--r-sheet);
  background: radial-gradient(70% 60% at 50% 40%, var(--accent-tint), transparent 70%);
}
.cashback-visual .phone { position: absolute; width: 250px; }
.cashback-visual .phone.back { top: 60px; inset-inline-start: calc(50% - 10px); transform: rotate(6deg); opacity: .96; }
.cashback-visual .phone.front { top: 0; inset-inline-end: calc(50% - 30px); transform: rotate(-3deg); z-index: 2; }
[dir="rtl"] .cashback-visual .phone.back { transform: rotate(-6deg); }
[dir="rtl"] .cashback-visual .phone.front { transform: rotate(3deg); }
@media (max-width: 520px) {
  .cashback-visual { height: 500px; }
  .cashback-visual .phone { width: min(206px, 62%); }
  .cashback-visual .phone.back { inset-inline-start: auto; inset-inline-end: 12px; }
  .cashback-visual .phone.front { inset-inline-end: auto; inset-inline-start: 6px; }
}
@media (min-width: 960px) { .cashback-visual .phone { width: 280px; } }

/* ---------- Features ---------- */

.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature {
  background: var(--surface); border-radius: var(--r-card); padding: 26px 24px 28px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature .tile { width: 52px; height: 52px; border-radius: var(--r-tile); display: grid; place-items: center; background: var(--surface-alt); color: var(--action); margin-bottom: 22px; }
@media (prefers-color-scheme: dark) { .feature .tile { color: #7FC9C2; } }
.feature .tile svg { width: 26px; height: 26px; }
.feature .tile.green { background: var(--success-tint); color: var(--success); }
.feature .tile.orange { background: var(--accent-tint); color: var(--on-accent-tint); }
.feature h3 { font-size: 21px; font-weight: 600; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 16px; }

.feature.afford { display: grid; gap: 22px; }
@media (min-width: 1000px) { .feature.afford { grid-column: span 2; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; } }
.mini {
  background: var(--bg); border-radius: var(--r-card); padding: 18px; display: grid; gap: 10px;
}
.mini .field {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-input);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
}
.mini .field span { font-size: 14px; color: var(--muted); font-weight: 500; }
.mini .field i { font-style: normal; font-family: "Urbanist", sans-serif; font-weight: 600; color: var(--faint); font-size: 18px; letter-spacing: .1em; }
.mini .field i::before { content: "$"; margin-inline-end: 4px; color: var(--muted); }
.mini .go { justify-self: stretch; min-height: 46px; font-size: 15px; pointer-events: none; }

.soon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  border-radius: var(--r-card); padding: 22px 24px;
  background: linear-gradient(120deg, var(--surface) 0%, var(--surface) 55%, color-mix(in srgb, var(--sky) 30%, var(--surface)) 100%);
  box-shadow: var(--shadow);
}
.soon .reel {
  width: 52px; height: 72px; border-radius: 14px; flex: none; position: relative;
  background: linear-gradient(180deg, var(--sky), var(--sky-deep));
  display: grid; place-items: center; color: #fff;
}
.soon .reel svg { width: 22px; height: 22px; }
.soon .txt { flex: 1 1 260px; }
.soon h3 { font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.soon p { color: var(--muted); margin-top: 4px; font-size: 16px; }
@media (min-width: 640px) { .soon { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .soon { grid-column: span 2; } }
.pill-soon { font-size: 12px; font-weight: 600; letter-spacing: .03em; padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--on-accent-tint); }

/* ---------- Business ---------- */

.biz {
  position: relative; overflow: hidden;
  border-radius: var(--r-card); background: var(--biz-bg); color: #fff;
  padding: 40px 22px; display: grid; gap: 36px;
}
@media (min-width: 960px) { .biz { border-radius: var(--r-sheet); padding: 72px 64px; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.biz::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  inset-inline-end: -180px; top: -220px;
  background: radial-gradient(closest-side, rgba(134, 175, 208, .28), transparent);
}
.biz > * { position: relative; }
.biz .eyebrow { color: #9FD6D0; }
.biz h2 { font-size: clamp(32px, 6vw, 50px); line-height: 1.08; margin-top: 14px; }
.biz .lead { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.biz .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.biz .actions a.link { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 15px; text-underline-offset: 4px; }
.biz .actions a.link:hover { color: #fff; }
.biz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.biz li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-tile); padding: 16px 18px; font-size: 16px; font-weight: 500;
}
.biz li svg { width: 22px; height: 22px; flex: none; color: #9FD6D0; margin-top: 1px; }
:lang(ckb) .biz li svg, :lang(ar) .biz li svg { margin-top: 4px; }

/* ---------- Download ---------- */

.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-card); background: var(--brand-grad); color: #1C0A00;
  padding: 44px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 960px) { .cta { border-radius: var(--r-sheet); padding: 80px 48px; } }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.cta::before { width: 360px; height: 360px; inset-inline-start: -120px; bottom: -200px; }
.cta::after { width: 240px; height: 240px; inset-inline-end: -60px; top: -120px; }
.cta > * { position: relative; z-index: 1; }
.cta .icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 16px 40px rgba(120, 40, 0, .3); }
.cta h2 { font-size: clamp(32px, 6.4vw, 56px); line-height: 1.08; margin-top: 26px; max-width: 760px; }
.cta p { margin-top: 14px; font-size: 18px; font-weight: 500; opacity: .85; }
.cta .stores { justify-content: center; margin-top: 30px; }
.cta .store { --store-bg: #090502; --store-border: transparent; }

/* ---------- Footer ---------- */

.foot { padding-block: 48px 40px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot .brand { color: var(--ink); margin-inline-end: 0; }
.foot .tag { flex: 1 1 200px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { text-decoration: none; font-weight: 500; color: var(--ink); }
.foot nav a:hover { color: var(--action); text-decoration: underline; text-underline-offset: 4px; }
.foot .copy { width: 100%; border-top: 1px solid var(--border); padding-top: 22px; font-size: 14px; }
.foot .copy span { font-family: "Urbanist", "IBM Plex Sans Arabic", sans-serif; }

/* Small text is never thin. */
.lead, .section-head p, .hero-sub, .step p, .feature p, .option p, .cb-note, .hero-note, .soon p, .foot { font-weight: 500; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .motion .reveal.in { opacity: 1; transform: none; }
  .motion .reveal.d1 { transition-delay: .08s; }
  .motion .reveal.d2 { transition-delay: .16s; }
  .motion .reveal.d3 { transition-delay: .24s; }

  .hero-visual .phone { animation: rise 1s var(--ease) both, bob 7s ease-in-out 1s infinite; }
  .hero-visual .float.reward { animation: pop .7s var(--ease) .5s both, drift 6s ease-in-out 1.4s infinite; }
  .hero-visual .float.good { animation: pop .7s var(--ease) .8s both, drift 6s ease-in-out 2.4s infinite reverse; }
  .hl { animation: sweep 1s var(--ease) .35s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes sweep { from { background-size: 0 .13em; } to { background-size: 100% .13em; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

.section.flush { padding-top: 0; }
