:root {
  --bg: #f3efe6;
  --surface: #faf7f1;
  --ink: #161412;
  --muted: #6e655a;
  --faint: #9a9186;
  --primary: #1f4f46;
  --primary-fg: #f4efe4;
  --primary-soft: #dce8e4;
  --border: #ddd4c6;
  --navy: #02183d;
  --gold: #ebb74d;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; border-color: var(--border); }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: var(--font); }
button, input { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 28rem; margin: 0 auto; }
.promo { background: var(--navy); color: #fff; min-height: 100dvh; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.lang { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; }
.lang button { border: 0; background: transparent; color: rgba(255,255,255,.7); border-radius: 999px; padding: .35rem .75rem; }
.lang button.on { background: #fff; color: var(--navy); }
.hero { padding: 1rem 1.25rem 3rem; }
.kicker { color: var(--gold); font-size: 11px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; }
h1 { font-size: 2.25rem; margin: .6rem 0 0; letter-spacing: -.02em; }
.lead { font-size: 1.2rem; font-weight: 500; margin: .75rem 0 0; }
.sub { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.6; margin: .75rem 0 0; max-width: 22rem; }
.icon-xl { display: block; width: 160px; height: 160px; margin: 2rem auto 0; border-radius: 2rem; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.store { margin-top: 2.2rem; }
.store h2 { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); margin: 0 0 .75rem; }
.card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 1.1rem; padding: 1.1rem; margin-bottom: .75rem; }
.card-row { display: flex; align-items: center; gap: .75rem; }
.mark { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--navy); display: grid; place-items: center; }
.soon { width: 100%; margin-top: 1rem; height: 48px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); font-weight: 500; cursor: not-allowed; }
.note { text-align: center; font-size: 12px; color: rgba(255,255,255,.45); margin: .75rem 0 0; }
.feat { margin-top: 2rem; }
.feat li { list-style: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1.1rem; padding: 1rem; margin: 0 0 .75rem; }
.feat ul { margin: 0; padding: 0; }
.feat p { margin: .25rem 0 0; font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5; }
.cta { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 2rem; border-radius: 12px; background: var(--gold); color: var(--navy); font-weight: 600; font-size: .9rem; }
.app-shell { max-width: 28rem; margin: 0 auto; min-height: 100dvh; padding-bottom: 5.5rem; background: var(--bg); }
header.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
header.bar img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.chip { border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; padding: .25rem .75rem; font-weight: 500; }
main.pad { padding: 1.25rem; }
.hero-app { background: var(--primary); color: var(--primary-fg); border-radius: 18px; padding: 1.5rem 1.25rem 2rem; }
.hero-app .muted { color: rgba(244,239,228,.7); font-size: 12px; }
.hero-app h1 { font-size: 1.85rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 1rem; border-radius: 10px; border: 0; font-weight: 500; font-size: .9rem; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--primary-fg); border: 1px solid rgba(244,239,228,.25); }
.btn-pri { background: var(--primary); color: var(--primary-fg); width: 100%; height: 48px; font-size: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.tile h2 { font-size: .9rem; margin: .6rem 0 0; }
.tile p, .muted { color: var(--muted); font-size: 12px; }
.sample { margin-top: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.sample .big { font-size: 1.5rem; font-weight: 600; margin: .4rem 0 0; font-variant-numeric: tabular-nums; }
nav.bottom { position: fixed; left: 0; right: 0; bottom: 0; max-width: 28rem; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--surface) 95%, transparent); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
nav.bottom a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: .75rem 0; font-size: 11px; color: var(--muted); }
nav.bottom a.on { color: var(--primary); }
label.field { display: block; margin: .75rem 0; font-size: 12px; color: var(--muted); }
label.field input, .step { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); padding: 0 .75rem; font-size: .9rem; color: var(--ink); }
.step { display: flex; align-items: center; justify-content: space-between; }
.step button { width: 36px; height: 36px; border: 0; background: var(--primary-soft); color: var(--primary); border-radius: 8px; font-size: 1.1rem; }
.q { width: 100%; text-align: start; border-radius: 12px; padding: .85rem 1rem; margin: .4rem 0; border: 1px solid var(--border); background: var(--surface); }
.q.on { background: var(--primary-soft); border-color: var(--primary); }
.row { display: flex; gap: .5rem; }
.row button { flex: 1; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.row button.on { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.cat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin: .5rem 0; overflow: hidden; }
.cat summary, .cat-h { display: flex; justify-content: space-between; padding: .85rem 1rem; font-size: .9rem; }
.line { padding: .75rem 1rem; border-top: 1px solid var(--border); font-size: .85rem; }
.total-box { background: var(--primary); color: var(--primary-fg); border-radius: 18px; padding: 1.4rem 1.25rem; }
.disabled { opacity: .6; pointer-events: none; }
.hidden { display: none !important; }
