:root{
  --ground:#EAEDF2; --surface:#FFFFFF; --surface-2:#F7F9FB;
  --ink:#221E20; --muted:#66717F; --faint:#98A2B2;
  --line:#E5E9EF; --line-2:#EEF1F5;
  --red:#ED1C24; --red-strong:#C4141B; --red-tint:#FDECEC;
  --orange:#EE7F0E; --orange-strong:#D46E06; --orange-tint:#FDF2E4;
  --success:#0E9F6E; --success-tint:#E7F6EF;
  --shadow:0 1px 2px rgba(34,30,32,.04), 0 10px 26px rgba(34,30,32,.07);
  --shadow-sm:0 1px 2px rgba(34,30,32,.05);
  --r:16px;
  --body:'Readex Pro',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --display:'Outfit','Readex Pro',system-ui,sans-serif;
}
:root[dir="rtl"]{ --display:'Readex Pro',system-ui,sans-serif; }
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--body); color:var(--ink); background:var(--ground);
  min-height:100vh; display:flex; justify-content:center; align-items:flex-start;
  padding:26px 16px 40px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
.app{
  width:100%; max-width:430px; background:var(--surface);
  border-radius:28px; box-shadow:var(--shadow); overflow:hidden; border:1px solid var(--line-2);
}
.appbar{display:flex; align-items:center; justify-content:space-between; padding:15px 22px}
.brand{display:flex; align-items:center; gap:10px}
.brand img{height:30px; width:auto; display:block}
.brand .wm{font-family:var(--display); font-weight:800; font-size:18px; letter-spacing:-.2px; color:var(--ink)}
.lang{display:inline-flex; align-items:center; gap:6px; background:var(--surface); border:1.5px solid var(--line); color:var(--ink); font:inherit; font-size:12.5px; font-weight:600; padding:7px 12px; border-radius:30px; cursor:pointer; transition:border-color .15s}
.lang:hover{border-color:var(--faint)}
.lang svg{width:15px;height:15px;color:var(--muted)}
.cobrand-bar{display:flex; align-items:center; justify-content:center; gap:10px; padding:11px 22px 16px; border-bottom:1px solid var(--line-2); font-size:12px; font-weight:600; color:var(--muted)}
.cobrand-bar img{height:32px; width:auto}
.steps{display:flex; gap:6px; padding:16px 22px 0}
.steps .seg{height:4px; flex:1; border-radius:4px; background:var(--line)}
.steps .seg.on,.steps .seg.done{background:var(--red)}
.steplabel{padding:9px 22px 0; font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--faint)}
:root[dir="rtl"] .steplabel{letter-spacing:0}
.screen{display:block; padding:22px 22px 26px; animation:in .28s cubic-bezier(.2,.7,.3,1)}
@keyframes in{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none}}
@media (prefers-reduced-motion:reduce){.screen{animation:none}}
.eyebrow{display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--red); margin-bottom:13px}
:root[dir="rtl"] .eyebrow{letter-spacing:0}
.eyebrow svg,.eyebrow img{width:15px;height:15px;object-fit:contain}
h1{font-family:var(--display); font-weight:800; font-size:23px; line-height:1.22; letter-spacing:-.3px; text-transform:uppercase; text-wrap:balance; margin-bottom:9px}
:root[dir="rtl"] h1{text-transform:none; letter-spacing:0; line-height:1.4}
.sub{font-size:14px; color:var(--muted); max-width:40ch; margin-bottom:22px}
.back{display:inline-flex; align-items:center; gap:6px; background:none; border:none; color:var(--muted); font:inherit; font-size:13px; font-weight:600; cursor:pointer; padding:4px 0; margin-bottom:16px; text-decoration:none}
.back svg{width:16px;height:16px}
.back:hover{color:var(--ink)}
.amount{background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:18px; margin-bottom:22px}
.amount .lbl{font-size:12px; font-weight:600; letter-spacing:.3px; text-transform:uppercase; color:var(--faint)}
:root[dir="rtl"] .amount .lbl{letter-spacing:0}
.amount .val{font-family:var(--display); font-weight:800; font-size:32px; letter-spacing:-.5px; margin-top:3px; font-variant-numeric:tabular-nums}
.amount .val i{font-style:normal; font-size:16px; font-weight:600; color:var(--muted); margin:0 4px}
.amount .foot{display:flex; align-items:center; justify-content:space-between; margin-top:14px; padding-top:13px; border-top:1px solid var(--line); font-size:13px; color:var(--muted)}
.amount .foot a{color:var(--red-strong); font-weight:600; text-decoration:none}
.field{margin-bottom:6px}
.field label{display:block; font-size:12.5px; font-weight:600; color:var(--ink); margin-bottom:8px}
.control{display:flex; align-items:stretch; border:1.5px solid var(--line); border-radius:13px; overflow:hidden; background:var(--surface); transition:border-color .15s, box-shadow .15s}
.control:focus-within{border-color:var(--red); box-shadow:0 0 0 4px var(--red-tint)}
.control .cc{display:flex; align-items:center; padding:0 14px; background:var(--surface-2); border-right:1px solid var(--line); font-weight:600; color:var(--muted); font-size:15px}
:root[dir="rtl"] .control .cc{border-right:none; border-left:1px solid var(--line)}
.control input{flex:1; border:none; outline:none; padding:15px 16px; font:inherit; font-size:16px; color:var(--ink); background:transparent}
.control input,.otp input{direction:ltr}
.control input::placeholder{color:var(--faint)}
.single{border:1.5px solid var(--line); border-radius:13px; padding:15px 16px; width:100%; font:inherit; font-size:16px; outline:none; background:var(--surface); transition:border-color .15s, box-shadow .15s}
.single:focus{border-color:var(--red); box-shadow:0 0 0 4px var(--red-tint)}
.single::placeholder{color:var(--faint)}
.btn{display:flex; align-items:center; justify-content:center; gap:8px; width:100%; border:none; border-radius:13px; padding:15px 18px; font-family:var(--body); font-size:15px; font-weight:700; cursor:pointer; transition:transform .08s, background .15s; text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn svg{width:17px;height:17px}
.btn-primary{background:var(--red); color:#fff; box-shadow:0 6px 16px rgba(237,28,36,.26)}
.btn-primary:hover{background:var(--red-strong)}
.btn-outline{background:var(--surface); color:var(--ink); border:1.5px solid var(--line)}
.btn-outline:hover{border-color:var(--faint)}
.btn + .btn{margin-top:10px}
.btn-row{margin-top:20px}
.opt{display:flex; align-items:center; gap:14px; width:100%; text-align:start; background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r); padding:16px; cursor:pointer; transition:border-color .15s, box-shadow .15s, transform .08s; margin-top:12px; font:inherit}
.opt:hover{border-color:var(--red); box-shadow:var(--shadow-sm)}
.opt:active{transform:translateY(1px)}
.opt .ic{flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center}
.opt .ic svg{width:22px;height:22px}
.opt .ic.red{background:var(--red-tint); color:var(--red)}
.opt .ic.orange{background:var(--orange-tint); color:var(--orange-strong)}
.opt .tx{display:flex; flex-direction:column; gap:3px; min-width:0}
.opt .tx .t{font-weight:700; font-size:15px; line-height:1.3}
.opt .tx .d{font-size:12.5px; color:var(--muted); line-height:1.45}
.opt .chev{margin-inline-start:auto; color:var(--faint)}
.opt .chev svg{width:20px;height:20px}
.otp{display:flex; gap:10px; margin:6px 0 4px}
.otp input{flex:1 1 0; min-width:0; width:100%; height:58px; text-align:center; font-family:var(--display); font-size:24px; font-weight:700; border:1.5px solid var(--line); border-radius:14px; outline:none; color:var(--ink); background:var(--surface); transition:border-color .15s, box-shadow .15s; padding:0}
.otp input:focus{border-color:var(--red); box-shadow:0 0 0 4px var(--red-tint)}
.otp-input{text-align:center; font-family:var(--display); font-size:26px; font-weight:700; letter-spacing:10px; padding-inline:16px}
.otp-input::placeholder{letter-spacing:8px; color:var(--faint)}
.resend{font-size:13px; color:var(--muted); margin-top:14px}
.resend a{color:var(--red-strong); font-weight:600; text-decoration:none}
.resend-form{display:inline}
.resend-link{background:none; border:0; padding:0; font:inherit; color:var(--red-strong); font-weight:600; cursor:pointer}
.resend-link[disabled],.resend-link.disabled{color:var(--muted); cursor:default; text-decoration:none}
.forminfo{background:var(--success-tint); color:var(--success); border-radius:10px; padding:10px 14px; font-size:13px; font-weight:600; margin-bottom:14px}
.summary{border:1px solid var(--line); border-radius:var(--r); overflow:hidden; margin-bottom:20px}
.summary .r{display:flex; align-items:center; justify-content:space-between; padding:14px 16px; font-size:14px; border-bottom:1px solid var(--line-2)}
.summary .r:last-child{border-bottom:none}
.summary .r .v{font-weight:600; font-variant-numeric:tabular-nums}
.summary .r.muted{color:var(--muted)}
.summary .r .neg{color:var(--success); font-weight:700}
.summary .r.total{background:var(--surface-2)}
.summary .r.total span:first-child{font-weight:700}
.summary .r.total .v{font-family:var(--display); font-size:19px; font-weight:800}
.summary .r .pts{color:var(--success); font-weight:800; font-family:var(--display)}
.pill{display:inline-flex; align-items:center; gap:7px; background:var(--success-tint); color:var(--success); font-size:12.5px; font-weight:700; padding:8px 13px; border-radius:30px; margin-bottom:16px}
.pill svg{width:15px;height:15px}
.trust{display:flex; align-items:center; justify-content:center; gap:7px; margin-top:18px; font-size:12px; color:var(--faint); font-weight:500}
.trust svg{width:14px;height:14px}
.note{display:flex; gap:10px; background:var(--surface-2); border:1px solid var(--line); border-radius:13px; padding:13px 14px; font-size:12.5px; color:var(--muted); line-height:1.55; margin-top:16px}
.note svg{width:16px;height:16px;flex:none;color:var(--faint);margin-top:2px}
.check{width:72px;height:72px;border-radius:50%;background:var(--success-tint);display:grid;place-items:center;margin:0 auto 18px}
.check svg{width:36px;height:36px;color:var(--success)}
.points{text-align:center; margin:6px 0 4px}
.points .n{font-family:var(--display); font-weight:800; font-size:50px; line-height:1; color:var(--success); letter-spacing:-1px}
.points .c{display:block; font-size:12px; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--muted); margin-top:8px}
:root[dir="rtl"] .points .c{letter-spacing:0}
.err-ic{width:66px;height:66px;border-radius:50%;background:var(--red-tint);color:var(--red);display:grid;place-items:center;margin:0 auto 16px}
.err-ic svg{width:32px;height:32px}
.center{text-align:center}
.center.sub{margin-left:auto;margin-right:auto}
.formerr{background:var(--red-tint); color:var(--red-strong); border-radius:11px; padding:11px 14px; font-size:13px; font-weight:600; margin-bottom:16px}
:root[dir="rtl"] .ar-flip{transform:scaleX(-1)}
