/* checkout + return pages (paid / failed / cancelled): same dark MEGA look as the download page */
:root { --bg: #121211; --card: rgba(255,255,255,.04); --card2: rgba(255,255,255,.07); --line: rgba(255,255,255,.12); --line2: rgba(255,255,255,.22); --text: #f4efe7; --muted: #b3ada4; --dim: #938d84;
  --red: #ab1c27; --red2: #f0525c; --orange: #f58a4b; --green: #7fd4a0; --err: #ff9aa2; --head: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif; --body: "IBM Plex Sans Arabic", system-ui, sans-serif; color-scheme: dark; }
:root[lang=he] { --head: "Heebo", system-ui, sans-serif; --body: "Heebo", system-ui, sans-serif; }
:root[lang=en] { --head: "Alexandria", system-ui, sans-serif; --body: "Heebo", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1; background: radial-gradient(closest-side, rgba(171,28,39,.22), transparent 70%); pointer-events: none; }
a { color: #ffb08a; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(980px, 100% - 32px); margin-inline: auto; padding-block: 24px 70px; }
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
nav.top .acts { display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 18px "Alexandria", sans-serif; letter-spacing: .24em; direction: ltr; text-decoration: none; color: var(--text); }
.logo img { width: 30px; height: 30px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.lang button { all: unset; cursor: pointer; font: 600 13px "Alexandria", "Heebo", sans-serif; min-width: 30px; text-align: center; padding: 5px 9px; border-radius: 99px; color: var(--muted); }
.lang button.on { background: var(--text); color: #161616; }
.lang button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.preview { background: #3a2c10; border: 1px solid #e0a64a; color: #ffd27a; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 22px; }
h1 { font: 700 clamp(28px, 4vw, 42px)/1.2 var(--head); margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 26px; max-width: 70ch; }
.grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
legend { font: 700 19px var(--head); margin-bottom: 12px; padding: 0; }
.plans { display: grid; gap: 12px; }
.plan { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line2); background: rgba(0,0,0,.2); cursor: pointer; }
.plan:has(input:checked) { border-color: var(--red2); background: rgba(171,28,39,.16); }
.plan input { accent-color: var(--red2); width: 20px; height: 20px; flex: none; }
.plan .sp { flex: 1; min-width: 0; }
.plan b { font: 700 18px var(--head); display: block; }
.plan small { color: var(--muted); font-size: 14px; display: block; }
.plan small.launch { color: #ffd27a; font-weight: 600; }
.plan .price { font: 800 20px var(--head); white-space: nowrap; }
.plan .price s { color: var(--dim); font-size: 15px; font-weight: 600; margin-inline-end: 4px; }
.tag { display: inline-block; font: 600 12px var(--head); background: linear-gradient(110deg, var(--red), var(--orange)); color: #fff; padding: 2px 10px; border-radius: 99px; margin-inline-start: 6px; vertical-align: middle; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 15px; color: var(--muted); }
.field input, .field select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0,0,0,.28); color: var(--text); font: 16px var(--body); }
.field input[readonly] { background: rgba(127,212,160,.08); border-color: rgba(127,212,160,.5); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid #ffbf47; outline-offset: 1px; border-color: transparent; }
.field input[type=email], .field input[type=tel] { direction: ltr; text-align: start; }
.hint { font-size: 13px; color: var(--dim); }
.hint.small { margin: 4px 0 0; }
.hint .ok { color: var(--green); }
.linkbtn { all: unset; cursor: pointer; color: #ffb08a; text-decoration: underline; font-size: 13px; }
.linkbtn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--red2); flex: none; margin-top: 2px; }
.req { color: var(--err); }
.errors { color: var(--err); font-size: 15px; margin: 6px 0 0; }
.errors:empty { display: none; }
.pay, .btn { display: inline-block; text-align: center; text-decoration: none; padding: 16px 28px; border: 0; border-radius: 999px; font: 700 18px var(--head); color: #fff; cursor: pointer; background: linear-gradient(110deg, var(--red), var(--orange)); box-shadow: 0 10px 30px -10px rgba(240,82,92,.55); }
.pay { width: 100%; margin-top: 10px; }
.btn.ghost { background: none; border: 1.5px solid var(--line2); box-shadow: none; color: var(--text); }
.secure { color: var(--muted); font-size: 13px; margin-top: 10px; text-align: center; }
.sum h2 { font: 700 19px var(--head); margin: 0 0 12px; }
.sum dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 16px; font-size: 15px; }
.sum dt { color: var(--muted); } .sum dd { margin: 0; text-align: end; }
.sum .total { border-top: 1px solid var(--line); padding-top: 12px; font: 700 18px var(--head); display: flex; justify-content: space-between; }
.sum .launch { color: #ffd27a; font-size: 14px; margin: 8px 0 0; }
.sum ul { margin: 16px 0 0; padding-inline-start: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.done { background: rgba(127,212,160,.1); border: 1px solid rgba(127,212,160,.5); color: #c9f1d7; border-radius: 14px; padding: 12px 14px; margin-top: 12px; font-size: 15px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; margin-top: 30px; }
.legal-links a { color: var(--muted); }
/* return pages */
.result { max-width: 640px; margin: 30px auto 0; text-align: center; }
.result .icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font: 800 34px var(--head); }
.result .icon.ok { background: rgba(127,212,160,.15); color: var(--green); border: 2px solid rgba(127,212,160,.6); }
.result .icon.bad { background: rgba(255,154,162,.12); color: var(--err); border: 2px solid rgba(255,154,162,.6); }
.result .icon.wait { background: rgba(255,255,255,.06); color: var(--muted); border: 2px solid var(--line2); }
.result p { color: var(--muted); }
.result ol { text-align: start; color: var(--muted); display: grid; gap: 8px; margin: 22px auto; max-width: 520px; }
.result .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.result .order { font-size: 13px; color: var(--dim); direction: ltr; }
.ph { background: rgba(245,138,75,.2); color: #ffd9b8; border-radius: 5px; padding: 0 4px; }

/* social links (footer) */
.social{display:flex;gap:10px;align-items:center}.social a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--text);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);transition:background .2s,border-color .2s}.social a:hover{background:rgba(240,82,92,.2);border-color:rgba(240,82,92,.6)}.social svg{width:20px;height:20px}
.social{margin-top:30px}
.social + .legal-links{margin-top:14px}

/* ---------- accounts: login / account / activate / verify / reset ---------- */
.acct-link { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line2); white-space: nowrap; }
.acct-link.in::before { content: "●"; color: var(--green); font-size: 10px; margin-inline-end: 6px; vertical-align: middle; }
.narrow { max-width: 480px; margin-inline: auto; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { all: unset; cursor: pointer; text-align: center; padding: 10px; border-radius: 99px; font: 600 15px var(--head); color: var(--muted); }
.tabs button[aria-selected=true] { background: var(--text); color: #161616; }
.tabs button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border-radius: 999px; background: #fff; color: #1f1f1f; font: 600 16px var(--body); text-decoration: none; border: 1px solid #dadce0; }
.gbtn svg { width: 20px; height: 20px; flex: none; }
.gbtn.off { opacity: .45; cursor: not-allowed; }
.g-note { text-align: center; font-size: 13px; color: var(--dim); margin: 6px 0 0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pwd { position: relative; }
.pwd input { padding-inline-end: 64px; }
.pwd .show { all: unset; cursor: pointer; position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #ffb08a; }
.pwd .show:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.otp input { letter-spacing: .5em; font: 700 24px/1 "Alexandria", monospace; text-align: center; direction: ltr; }
.msg { border-radius: 12px; padding: 10px 14px; font-size: 15px; margin: 12px 0 0; background: rgba(255,154,162,.1); border: 1px solid rgba(255,154,162,.45); color: var(--err); }
.msg[data-kind=ok] { background: rgba(127,212,160,.1); border-color: rgba(127,212,160,.5); color: #c9f1d7; }
.msg[data-kind=info] { background: rgba(255,255,255,.05); border-color: var(--line2); color: var(--muted); }
.ts { margin: 10px 0; min-height: 0; }
.btn[disabled], .pay[disabled] { opacity: .6; cursor: wait; }
.sec-list { display: grid; gap: 16px; }
.card h2 { font: 700 20px var(--head); margin: 0 0 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.badge-ok { color: var(--green); font-size: 13px; font-weight: 600; margin-inline-start: 6px; }
.badge-no { color: #ffd27a; font-size: 13px; font-weight: 600; margin-inline-start: 6px; }
.devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.devices li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); }
.devices .d-main { flex: 1; min-width: 200px; }
.devices b { display: block; font-weight: 600; }
.devices code { direction: ltr; unicode-bidi: isolate; font-size: 13px; color: var(--muted); }
.devices small { display: block; color: var(--dim); font-size: 13px; }
.btn.small { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.btn.danger { background: none; border: 1.5px solid rgba(255,154,162,.6); color: var(--err); box-shadow: none; }
.row-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.qr { background: #fff; padding: 10px; border-radius: 12px; width: max-content; margin: 10px 0; }
.qr svg, .qr img { display: block; width: 180px; height: 180px; }
.secret { direction: ltr; unicode-bidi: isolate; font: 600 15px monospace; letter-spacing: .08em; word-break: break-all; }
dialog.confirm { border: 1px solid var(--line2); border-radius: 18px; background: #1d1c1a; color: var(--text); padding: 22px; max-width: min(420px, calc(100vw - 32px)); }
dialog.confirm::backdrop { background: rgba(0,0,0,.6); }
dialog.confirm h2 { font: 700 19px var(--head); margin: 0 0 8px; }
dialog.confirm p { color: var(--muted); margin: 0 0 16px; }
.who { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.linkbtn.inline { font-size: inherit; }
