
:root {
  --bg: #0e1016; --sidebar: #12141c; --surface: #181b26; --surface-2: #1c2030; --hover: #1f2331; --border: #262b3b; --border-strong: #363c52;
  --text: #e9ecf6; --muted: #8f97ae; --faint: #5e667f;
  --accent: #6366f1; --accent-hover: #7b7ef7; --accent-soft: #23264f; --accent-text: #a5a8ff;
  --success: #34d399; --warning: #f5b544; --danger: #f4727c;
  --shadow: 0 24px 70px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f4fa; --sidebar: #ffffff; --surface: #ffffff; --surface-2: #f5f6fb; --hover: #eff0f9; --border: #e2e5f0; --border-strong: #c9cee0;
  --text: #12141c; --muted: #667085; --faint: #98a2b3;
  --accent: #5457e5; --accent-hover: #4346d2; --accent-soft: #e7e8fd; --accent-text: #4346d2;
  --success: #12a66a; --warning: #e08a0b; --danger: #e0424f;
  --shadow: 0 24px 70px rgba(30, 34, 60, .15);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.6; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* ---------- buttons / fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-weight: 600; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, transform .08s, box-shadow .15s; }
.btn:hover { background: var(--hover); border-color: var(--border-strong); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); border-color: transparent; color: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); border-color: transparent; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--hover); color: var(--text); border-color: transparent; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 17px; border-radius: 14px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface-2); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { padding: 12px 14px; border-radius: 11px; font-size: 14.5px; margin-bottom: 16px; display: none; }
.msg.err { display: block; color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.msg.ok { display: block; color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); border: 1px solid color-mix(in srgb, var(--success) 35%, transparent); }

/* ---------- header ---------- */
header.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); }
header.nav .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--text); text-decoration: none !important; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.menu { display: flex; gap: 6px; margin-left: 12px; }
.menu a { white-space: nowrap; color: var(--muted); padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: 15px; text-decoration: none; }
.menu a:hover { color: var(--text); background: var(--hover); }
.nav .spacer { flex: 1; }
.nav select { height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); padding: 0 10px; font-size: 14px; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 40px; position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(900px 480px at 50% -10%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 14px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; max-width: 900px; margin: 0 auto 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent-text), var(--success)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 34px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 18px; color: var(--faint); font-size: 14px; }
.shot { margin: 64px auto 0; width: min(1000px, 100%); border-radius: 18px; border: 1px solid var(--border-strong); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }
.shot img { width: 100%; }
:root[data-theme="light"] .shot .dark, :root:not([data-theme="light"]) .shot .light { display: none; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--sidebar); border-block: 1px solid var(--border); }
.eyebrow { color: var(--accent-text); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
h2.title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.12; margin-bottom: 16px; }
p.sub { color: var(--muted); font-size: 18px; max-width: 680px; }
.center { text-align: center; } .center p.sub { margin-inline: auto; }
.grid { display: grid; gap: 20px; margin-top: 52px; }
.grid.f3 { grid-template-columns: repeat(3, 1fr); }
.grid.f2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15.5px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.step { position: relative; padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 6px; } .step p { color: var(--muted); font-size: 15.5px; }

.price { max-width: 520px; margin: 52px auto 0; padding: 40px; border-radius: 24px; border: 1px solid var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 22%, transparent); text-align: center; position: relative; }
.price .badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 6px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 700; }
.price .amount { font-size: 72px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .amount small { font-size: 22px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price ul { list-style: none; text-align: left; margin: 30px 0; display: grid; gap: 13px; }
.price li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.price li svg { color: var(--success); margin-top: 3px; }

details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 12px; }
details summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: '+'; color: var(--accent-text); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { padding: 0 22px 20px; color: var(--muted); }
.faq { max-width: 820px; margin: 52px auto 0; }

footer { padding: 56px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14.5px; }
footer .row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer a { color: var(--muted); } footer a:hover { color: var(--text); }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- forms pages ---------- */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 20px;
  background: radial-gradient(800px 420px at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.auth .box { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.auth h1 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.auth p.s { color: var(--muted); margin-bottom: 24px; }
.auth .alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: 15px; }
.tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 12px; margin-bottom: 24px; }
.tabs button { flex: 1; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.2); }

.dash { padding: 56px 0 90px; }
.dash h1 { font-size: 32px; letter-spacing: -.03em; margin-bottom: 8px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; margin-top: 22px; }
.panel h2 { font-size: 18px; margin-bottom: 14px; }
.keybox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.key { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 20px; letter-spacing: .06em; padding: 12px 18px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border-strong); user-select: all; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.t th { text-align: left; color: var(--faint); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; }
table.t td { padding: 12px 10px; border-top: 1px solid var(--border); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.tag.ok { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.tag.warn { color: var(--warning); background: color-mix(in srgb, var(--warning) 14%, transparent); }
.tag.bad { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
.dl b { display: block; font-size: 15px; word-break: break-all; } .dl small { color: var(--muted); }
.legal { max-width: 800px; margin: 60px auto; padding: 0 20px; }
.legal h1 { font-size: 36px; letter-spacing: -.03em; margin-bottom: 20px; } .legal h2 { margin: 28px 0 8px; font-size: 20px; } .legal p, .legal li { color: var(--muted); margin-bottom: 10px; } .legal ul { padding-left: 22px; }

@media (max-width: 900px) {
  .grid.f3, .steps { grid-template-columns: 1fr; }
  .grid.f2 { grid-template-columns: 1fr; }
  .menu { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 24px; }
}
.input.otp { font-size: 28px; letter-spacing: 10px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats { padding: 8px 0 48px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; border: 1px solid var(--border); border-radius: 20px; padding: 26px 12px; background: var(--surface); }
.stat-row b { display: block; font-size: 34px; letter-spacing: -.02em; color: var(--accent); }
.stat-row span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }
.os .card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.os .card p { flex: 1; margin-bottom: 18px; }
.os .ic svg { fill: currentColor; stroke: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.chips span { padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; font-weight: 500; }
.fam .card:hover, .os .card:hover { transform: none; }

/* ---------- sign-in page ---------- */
.authwrap { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 440px; gap: 28px; align-items: stretch; }
.pitch { border-radius: 22px; padding: 40px; color: #fff; background: linear-gradient(150deg, #5457e5 0%, #3b3dbf 55%, #2a2c8f 100%); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.pitch h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 26px; }
.pitch ul { list-style: none; display: grid; gap: 16px; }
.pitch li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.pitch li svg { width: 22px; height: 22px; flex: none; stroke: #9ff0c9; stroke-width: 2.4; fill: none; }
.pitch-foot { margin-top: 34px; display: flex; gap: 10px; font-size: 14px; opacity: .85; align-items: flex-start; }
.pitch-foot svg { width: 18px; height: 18px; flex: none; stroke: #fff; fill: none; stroke-width: 2; }
.authwrap .box { width: 100%; }
.steps2 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.steps2 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.steps2 span.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.steps2 span.done { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.steps2 i { flex: 1; height: 2px; background: var(--border); border-radius: 2px; }
.flash { animation: flash 1.6s ease 1; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 35%, transparent); } }
@media (max-width: 880px) { .authwrap { grid-template-columns: 1fr; } .pitch { padding: 26px; } .pitch ul { gap: 10px; } .pitch-foot { display: none; } }

/* ---------- payment methods ---------- */
.paybox { margin-top: 22px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); }
.paybox h3 { margin-bottom: 14px; font-size: 18px; }
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.method { text-align: left; padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; color: var(--text); font: inherit; transition: border-color .15s, transform .15s; }
.method:hover { border-color: var(--accent); transform: translateY(-2px); }
.method.on { border-color: var(--accent); background: var(--accent-soft); }
.method b { display: block; font-size: 15px; } .method small { color: var(--muted); font-size: 13px; }
.ops { display: flex; gap: 18px; flex-wrap: wrap; } .ops label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.muted { color: var(--muted); }
.waiting { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--muted); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--border-strong); border-top-color: var(--accent); animation: sp .8s linear infinite; flex: none; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ---------- account dashboard ---------- */
.dash { padding: 40px 0 90px; }
.dash-head { margin-bottom: 20px; } .dash-head p { color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.dash .panel { margin-top: 0; margin-bottom: 22px; padding: 24px; }
.dash .panel h2 { font-size: 17px; margin-bottom: 16px; }
.lic-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 30px; margin-bottom: 22px; color: #fff;
  background: linear-gradient(140deg, #5457e5 0%, #3b3dbf 55%, #2a2c8f 100%); box-shadow: var(--shadow); }
.lic-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
.lic-hero.none { background: linear-gradient(140deg, #3d4166 0%, #2b2e4d 100%); }
.lic-hero.warn { background: linear-gradient(140deg, #b45309 0%, #92400e 100%); }
.lic-hero.bad { background: linear-gradient(140deg, #b91c1c 0%, #7f1d1d 100%); }
.lic-hero h2 { font-size: 24px; letter-spacing: -.02em; margin: 14px 0 8px; color: #fff; }
.hl-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; z-index: 1; }
.state { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 99px; background: rgba(255,255,255,.16); font-weight: 600; font-size: 14px; }
.state i { width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7; } .state.warn i { background: #fcd34d; } .state.bad i { background: #fca5a5; }
.hl-plan { opacity: .8; font-size: 14px; }
.hl-key { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; position: relative; z-index: 1; }
.hl-key code { font: 600 clamp(17px, 3.4vw, 24px)/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; background: rgba(0,0,0,.22); padding: 14px 18px; border-radius: 14px; }
.hl-key .btn, .hl-actions .btn:not(.btn-primary) { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.hl-meta { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14.5px; opacity: .92; position: relative; z-index: 1; }
.hl-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.18); margin: 16px 0 12px; position: relative; z-index: 1; overflow: hidden; }
.hl-bar i { display: block; height: 100%; border-radius: 8px; background: #fff; }
.hl-help, .hl-text { font-size: 14px; opacity: .8; position: relative; z-index: 1; }
.hl-text { font-size: 15.5px; max-width: 560px; }
.hl-actions { margin-top: 20px; position: relative; z-index: 1; }
.lic-hero .btn-primary { background: #fff; color: #3b3dbf; box-shadow: none; }
.dev-list, .pay-list, .dl-list { display: grid; gap: 10px; }
.dev, .pay, .dl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.dev-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.dev-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dev-info { flex: 1; min-width: 0; } .dev-info b, .pay b { display: block; font-size: 15px; } .dev small, .pay small { color: var(--muted); font-size: 13px; }
.dev { justify-content: flex-start; } .dev .btn { margin-left: auto; }
/* checkout */
.checkout { padding: 0 !important; overflow: hidden; border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); box-shadow: var(--shadow); }
.co-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--border); background: var(--surface); }
.co-head h2 { margin: 0 !important; font-size: 22px; font-weight: 800; }
.co-close { border: 0; background: var(--surface-2); width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); transition: all .15s; }
.co-close:hover { background: var(--hover); color: var(--text); }
.co-body { display: grid; grid-template-columns: 320px 1fr; min-height: 480px; }
.co-sum { padding: 28px 24px; background: var(--surface-2); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.sum-line, .sum-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sum-line span { color: var(--muted); font-size: 15px; }
.sum-line b { font-size: 16px; font-weight: 700; }
.sum-total { border-top: 1px dashed var(--border-strong); padding-top: 16px; font-size: 20px; font-weight: 800; color: var(--text); }
.sum-total b { color: var(--accent-text); }
.co-sum ul { list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.co-sum li::before { content: '✓ '; color: var(--success); font-weight: 800; }
.sum-secure { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.sum-secure svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--success); stroke-width: 2; }
.co-pay { padding: 28px; min-width: 0; background: var(--surface); }
.checkout .methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 0 0 24px; }
.checkout .method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface-2); transition: all .15s ease; cursor: pointer; text-align: left; }
.checkout .method:hover { border-color: var(--border-strong); background: var(--hover); transform: translateY(-1px); }
.m-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
.m-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-momo { background: #fff3e0; color: #e86a00; } .m-paypal { background: #e6f0ff; color: #0b4fb3; } .m-paypal svg { fill: currentColor; stroke: none; } .m-crypto { background: #fff7d6; color: #b7791f; } .m-manual { background: var(--surface-2); color: var(--muted); }
.m-tx { flex: 1; min-width: 0; } .m-tx b { display: block; font-size: 15px; font-weight: 700; } .m-tx small { color: var(--muted); font-size: 12.5px; } .m-go { font-size: 20px; color: var(--faint); }
.checkout .method.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.checkout .method.on .m-go { color: var(--accent-text); transform: translateX(2px); }

.ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 6px; }
.op { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 13px; cursor: pointer; background: var(--surface-2); font-weight: 600; font-size: 14.5px; transition: all .15s ease; }
.op:hover { border-color: var(--border-strong); background: var(--hover); }
.op:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.phone { display: flex; align-items: stretch; border-radius: 13px; }
.phone span { display: grid; place-items: center; padding: 0 16px; border: 1.5px solid var(--border); border-right: 0; border-radius: 13px 0 0 13px; background: var(--surface-2); font-weight: 700; color: var(--accent-text); font-size: 16px; }
.phone .input { border-radius: 0 13px 13px 0; border-width: 1.5px; font-size: 17px; font-weight: 600; letter-spacing: 0.5px; height: 50px; }
.amount-callout { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--surface-2); border: 1.5px solid var(--border); border-radius: 14px; margin: 14px 0 20px; }
.amount-callout .ac-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.amount-callout .ac-val { font-size: 20px; font-weight: 800; color: var(--success); }
.redirect { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 36px 20px; font-size: 16px; font-weight: 600; color: var(--accent-text); background: var(--surface-2); border-radius: 16px; }

/* Enhanced in-progress flow */
.momo-flow { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: color-mix(in srgb, var(--accent) 6%, var(--surface-2)); border: 1.5px solid color-mix(in srgb, var(--accent) 32%, var(--border)); border-radius: 20px; animation: pop .28s ease; }
.momo-flow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.momo-live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; padding: 6px 14px; border-radius: 20px; background: rgba(52, 211, 153, 0.15); color: var(--success); border: 1px solid rgba(52, 211, 153, 0.35); }
.momo-live-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-live 1.5s infinite; }
@keyframes pulse-live { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }
.momo-title { font-size: 19px; font-weight: 800; margin: 0; color: var(--text); }
.momo-desc { font-size: 14px; color: var(--muted); margin: -8px 0 0; line-height: 1.45; }

.momo-recap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.momo-recap-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.momo-recap-item small { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.momo-recap-item b { font-size: 15px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.momo-recap-item .recap-amount { color: var(--success); font-size: 17px; }
.momo-recap-item .op-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; width: fit-content; }

.momo-steps-box { display: flex; flex-direction: column; gap: 10px; }
.momo-step-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); transition: all .2s; }
.momo-step-card.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 18%, transparent); }
.momo-step-card.done { border-color: color-mix(in srgb, var(--success) 35%, var(--border)); opacity: 0.85; }
.momo-step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 800; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.momo-step-card.active .momo-step-num { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.momo-step-card.done .momo-step-num { background: var(--success); color: #fff; border-color: transparent; }
.momo-step-txt b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.momo-step-txt p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.45; }

.momo-ticker { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--accent-text); border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--border)); }
.momo-tip { padding: 12px 16px; border-radius: 12px; background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(99, 102, 241, 0.25); font-size: 13.5px; color: var(--text); line-height: 1.5; }
.momo-tip b { color: var(--accent-text); }
.spin-indicator { width: 18px; height: 18px; border: 2.5px solid color-mix(in srgb, var(--accent) 30%, transparent); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.75s linear infinite; flex: none; }

.momo-success-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 36px 24px; background: color-mix(in srgb, var(--success) 10%, var(--surface-2)); border: 2px solid var(--success); border-radius: 20px; animation: pop .35s cubic-bezier(.2,.8,.2,1) both; }
.momo-success-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 800; box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4); }
.momo-success-box h3 { font-size: 22px; font-weight: 800; margin: 0; }
.momo-success-box p { font-size: 14.5px; color: var(--muted); max-width: 440px; margin: -4px 0 0; }
.momo-success-key { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: 1.5px; padding: 12px 24px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--success); user-select: all; }

@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } .co-body { grid-template-columns: 1fr; } .co-sum { border-right: 0; border-bottom: 1px solid var(--border); } .momo-recap { grid-template-columns: 1fr; } }

.coinfo { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--border); } .coinfo h3 { font-size: 16px; margin-bottom: 4px; }
.pf { display: grid; gap: 0 14px; } .pf2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .pf .field { margin-bottom: 12px; }
@media (max-width: 560px) { .pf2 { grid-template-columns: 1fr; } }

.inv { font-size: 13px; font-weight: 600; margin-right: 8px; }

/* ---------- language menu, user chip ---------- */
.lang { position: relative; }
.langbtn, .userchip > button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 14px inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.langbtn:hover, .userchip > button:hover { border-color: var(--border-strong); background: var(--surface-2); }
.langbtn .i, .userchip .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .chev { width: 14px !important; height: 14px !important; opacity: .6; }
.langmenu, .chipmenu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); z-index: 60; }
.langmenu[hidden], .chipmenu[hidden] { display: none; }
.langmenu button, .chipmenu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font: 500 14.5px inherit; cursor: pointer; text-align: start; }
.langmenu button:hover, .chipmenu button:hover { background: var(--hover); } .langmenu button.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.langmenu button.on i::before { content: '✓'; }
.userchip { position: relative; } .userchip .mail { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6366f1, #3b3dbf); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
@media (max-width: 640px) { .userchip .mail { display: none; } .langbtn #langCur { display: none; } .nav .btn.btn-sm { padding-inline: 10px; } }

/* ---------- dashboard polish ---------- */
.dash-head h1 { font-size: clamp(26px, 4vw, 36px); } .dash-head p { margin-top: 2px; }
.dash .panel { box-shadow: 0 1px 2px rgba(20, 24, 50, .04); }
.quick { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface)); }
.steps3 { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.steps3 li { display: flex; gap: 14px; align-items: flex-start; } .steps3 li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 14px; background: var(--accent-soft); color: var(--accent-text); }
.steps3 li.done > span { background: var(--accent); color: #fff; } .steps3 b { display: block; } .steps3 small { color: var(--muted); font-size: 14px; }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ostile { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 20px 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); transition: border-color .15s, transform .15s; }
.ostile:not(.soon):hover { border-color: var(--accent); transform: translateY(-2px); } .ostile.soon { opacity: .65; }
.os-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 8px; }
.os-ic svg { width: 26px; height: 26px; fill: currentColor; stroke: none; } .ostile small { color: var(--muted); margin-bottom: 10px; }
.os-ext { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: 14px; } .os-ext b { margin-inline-end: 6px; font-size: 14.5px; }
.help p { margin-bottom: 14px; font-size: 14.5px; }
@media (max-width: 640px) { .os-grid { grid-template-columns: 1fr; } .ostile { flex-direction: row; text-align: start; justify-content: flex-start; gap: 14px; padding: 14px 16px; } .os-ic { margin: 0; flex: none; } .ostile b { flex: 1; } .ostile small { margin: 0; } }

/* ---------- right-to-left languages (Arabic) ---------- */
html[dir="rtl"] body { text-align: start; }
html[dir="rtl"] th, html[dir="rtl"] td { text-align: right; }
html[dir="rtl"] .hl-key code, html[dir="rtl"] .key, html[dir="rtl"] .mono, html[dir="rtl"] .otp, html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"], html[dir="rtl"] #momoPhone { direction: ltr; unicode-bidi: plaintext; }
html[dir="rtl"] .co-sum { border-right: 0; border-left: 1px solid var(--border); }
html[dir="rtl"] .phone span { border-radius: 0 12px 12px 0; border-right: 1px solid var(--border); border-left: 0; } html[dir="rtl"] .phone .input { border-radius: 12px 0 0 12px; }
html[dir="rtl"] .m-go, html[dir="rtl"] .co-sum li::before { transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] .stamp { right: auto; left: 48px; }

/* =====================================================================
   Account area: application shell (sidebar + views), cards, modals
   ===================================================================== */
.app { min-height: calc(100vh - 68px); background:
  radial-gradient(900px 420px at 88% -60px, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
  radial-gradient(700px 380px at -10% 20%, color-mix(in srgb, var(--success) 7%, transparent), transparent 70%), var(--bg); }
.shell { max-width: 1240px; margin: 0 auto; padding: 30px 24px 90px; display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 34px; align-items: start; }
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.who { display: flex; gap: 13px; align-items: center; padding: 16px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.avatar.big { width: 48px; height: 48px; font-size: 20px; }
.wtxt { min-width: 0; } .wtxt b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wtxt small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snav { display: flex; flex-direction: column; gap: 3px; padding: 8px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.snav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.snav a svg, .sidelogout svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.snav a:hover { background: var(--hover); color: var(--text); } .snav a.on { background: var(--accent-soft); color: var(--accent-text); }
.snav a em { margin-inline-start: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); } .snav a em:empty { display: none; }
.snav a.on em { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-text); }
.sidelogout { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--muted); font: 600 15px inherit; cursor: pointer; transition: color .15s, border-color .15s; }
.sidelogout:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); }
.content { min-width: 0; }
.view { animation: viewin .38s cubic-bezier(.2, .8, .2, 1) both; } .view[hidden] { display: none; }
@keyframes viewin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vhead { margin-bottom: 24px; } .vhead h1 { font-size: clamp(27px, 3.4vw, 36px); letter-spacing: -.03em; line-height: 1.15; } .vhead p { margin-top: 6px; max-width: 640px; }
.skel { background: linear-gradient(100deg, var(--surface-2) 30%, color-mix(in srgb, var(--surface-2) 55%, var(--surface)) 50%, var(--surface-2) 70%); background-size: 220% 100%; animation: shim 1.3s linear infinite; }
@keyframes shim { from { background-position: 120% 0; } to { background-position: -100% 0; } }

/* license hero */
.lic2 { position: relative; overflow: hidden; border-radius: 28px; padding: 34px 36px; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center;
  background: radial-gradient(520px 280px at 100% 0%, rgba(255,255,255,.2), transparent 62%), radial-gradient(380px 260px at 0% 110%, rgba(110,231,183,.16), transparent 60%), linear-gradient(135deg, #5a5df0 0%, #3b3dbf 52%, #22247a 100%);
  box-shadow: 0 28px 60px -22px rgba(60, 63, 200, .6); }
.lic2.warn { background: radial-gradient(520px 280px at 100% 0%, rgba(255,255,255,.18), transparent 62%), linear-gradient(135deg, #d97706 0%, #b45309 55%, #7c2d12 100%); box-shadow: 0 28px 60px -22px rgba(217, 119, 6, .5); }
.lic2.bad { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); box-shadow: 0 28px 60px -22px rgba(220, 38, 38, .5); }
.lic2.none { background: radial-gradient(520px 280px at 100% 0%, rgba(255,255,255,.14), transparent 62%), linear-gradient(135deg, #475069 0%, #262b45 100%); box-shadow: 0 28px 60px -26px rgba(40, 46, 80, .6); }
.l-chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip2 { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-weight: 600; font-size: 13.5px; }
.chip2 i { width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,.25); } .lic2.warn .chip2 i { background: #fde68a; box-shadow: 0 0 0 4px rgba(253,230,138,.25); } .lic2.bad .chip2 i, .lic2.none .chip2 i { background: #fca5a5; box-shadow: 0 0 0 4px rgba(252,165,165,.25); }
.lic2 h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; margin: 16px 0 8px; color: #fff; } .lic2 .l-text { opacity: .86; max-width: 540px; font-size: 15.5px; }
.keyrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 14px; }
.keycode { font: 700 clamp(17px, 2.5vw, 23px)/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .07em; padding: 15px 19px; border-radius: 15px; background: rgba(0,0,0,.26); border: 1px solid rgba(255,255,255,.14); user-select: all; }
.copybtn { height: 48px; padding: 0 17px; border-radius: 13px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.13); color: #fff; font: 700 14px inherit; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .15s, transform .15s; }
.copybtn:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); } .copybtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.l-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14.5px; opacity: .92; } .l-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.lic2 .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; box-shadow: none; } .lic2 .btn-primary { background: #fff; color: #3b3dbf; border-color: #fff; } .lic2.warn .btn-primary { color: #b45309; } .lic2.none .btn-primary { color: #262b45; }
.ring { position: relative; width: 168px; height: 168px; flex: none; } .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 10; } .ring .bg { stroke: rgba(255,255,255,.18); } .ring .fg { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .ring b { font-size: 44px; line-height: 1; letter-spacing: -.03em; } .ring small { opacity: .8; font-size: 13.5px; margin-top: 2px; }

/* tiles, panels */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.tile { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); transition: border-color .15s, transform .15s; } .tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.ti { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; } .ti svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile small { display: block; color: var(--muted); font-size: 13px; } .tile b { display: block; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.dots { display: flex; gap: 5px; margin-top: 7px; } .dots i { width: 24px; height: 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); } .dots i.on { background: var(--accent); border-color: var(--accent); }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: start; } .two:has(#quickBox[style*="none"]) { grid-template-columns: 1fr; }
.app .panel { margin: 0; padding: 24px; border-radius: 22px; box-shadow: 0 1px 2px rgba(20, 24, 50, .04); } .app .panel h2 { font-size: 17px; margin-bottom: 16px; }
.steps3 li { position: relative; } .steps3 li > span { transition: background .2s; } .steps3 .go { margin-top: 8px; }
.tl { list-style: none; display: grid; gap: 0; position: relative; margin: 0; padding: 0; } .tl li { display: flex; gap: 14px; padding: 0 0 18px; position: relative; } .tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ''; position: absolute; inset-inline-start: 17px; top: 36px; bottom: 0; width: 2px; background: var(--border); } .tl li:last-child::before { display: none; }
.tl .d { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); z-index: 1; } .tl .d svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl .d.ok { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); } .tl b { display: block; font-size: 14.5px; } .tl small { color: var(--muted); font-size: 13px; }

/* devices */
.meter { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); margin-bottom: 18px; flex-wrap: wrap; }
.meter b { font-size: 18px; } .meter .bar { flex: 1; min-width: 160px; height: 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; } .meter .bar i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--accent), #8b8ef7); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.devgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.dcard { padding: 22px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 16px; transition: border-color .15s, transform .15s, box-shadow .15s; } .dcard:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(30, 34, 80, .3); }
.dtop { display: flex; gap: 14px; align-items: center; } .dos { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent) 22%, transparent)); color: var(--accent-text); } .dos svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.dtop b { display: block; font-size: 17px; } .dtop small { color: var(--muted); font-size: 13px; }
.presence { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); } .presence i { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); } .presence.on { color: var(--success); } .presence.on i { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 22%, transparent); }
.dmeta { display: flex; flex-wrap: wrap; gap: 8px; } .dmeta span { padding: 4px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.btn-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); background: transparent; } .btn-danger:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); }
.empty { text-align: center; padding: 44px 24px; border: 1.5px dashed var(--border-strong); border-radius: 24px; background: color-mix(in srgb, var(--surface) 70%, transparent); } .empty .ei { width: 76px; height: 76px; border-radius: 24px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); } .empty .ei svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.empty h3 { font-size: 20px; margin-bottom: 6px; } .empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }

/* downloads */
.dlgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.dlcard { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); transition: border-color .15s, transform .15s, box-shadow .15s; } .dlcard.ok:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 36px -20px rgba(70, 73, 210, .5); } .dlcard.soon { opacity: .7; }
.dlcard .dos { margin-bottom: 8px; width: 60px; height: 60px; } .dlcard h3 { font-size: 21px; } .dlcard p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 14px; } .dlcard .vsz { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } .dlcard .vsz span { padding: 3px 10px; border-radius: 99px; font-size: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.extgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .extcard { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); } .extcard .ti { width: 52px; height: 52px; } .extcard b { display: block; } .extcard small { color: var(--muted); display: block; margin-bottom: 8px; font-size: 13.5px; }

/* billing, help */
.bsum { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 24px 26px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); } .bsum .grow { flex: 1; min-width: 220px; } .bsum h3 { font-size: 19px; margin-bottom: 4px; } .bsum p { color: var(--muted); font-size: 14.5px; }
.brow { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-top: 1px solid var(--border); flex-wrap: wrap; } .brow:first-child { border-top: 0; padding-top: 0; }
.brow .ti { width: 44px; height: 44px; } .brow .grow { flex: 1; min-width: 160px; } .brow b { display: block; } .brow small { color: var(--muted); font-size: 13px; } .brow .amt { font-weight: 700; font-size: 17px; } .brow .acts { display: flex; gap: 8px; align-items: center; }
.helpgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; } .helpcol { display: grid; gap: 18px; }
.helpcard { padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); } .helpcard h3 { font-size: 18px; margin-bottom: 14px; } .helpcard p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }

/* toasts, modals */
.toasts { position: fixed; inset-inline: 0; bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 120; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 13px 18px; border-radius: 16px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14.5px; box-shadow: 0 18px 46px -12px rgba(0, 0, 0, .45); animation: toastin .32s cubic-bezier(.2, .8, .2, 1) both; } .toast.out { animation: toastout .25s ease both; }
.toast i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-style: normal; font-size: 13px; background: var(--success); color: #fff; } .toast.err i { background: var(--danger); }
@keyframes toastin { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } } @keyframes toastout { to { opacity: 0; transform: translateY(8px); } }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; overflow-y: auto; } .modal[hidden] { display: none; }
.modal-bg { position: fixed; inset: 0; background: rgba(8, 10, 26, .58); backdrop-filter: blur(7px); animation: fadein .2s ease both; }
.modal-card { position: relative; width: min(1040px, 96vw); max-height: calc(100vh - 40px); overflow: auto; border-radius: 26px !important; animation: pop .3s cubic-bezier(.2, .8, .2, 1) both; background: var(--surface); }
.modal-card.small { width: min(440px, 100%); padding: 28px; } .modal-card.small h3 { font-size: 20px; margin-bottom: 8px; } .askbtns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } } @keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
body.noscroll { overflow: hidden; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 10px; }

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; gap: 18px; padding: 14px 16px 90px; }
  .side { position: sticky; top: 68px; z-index: 40; flex-direction: row; margin: 0 -16px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
  .who, .sidelogout { display: none; } .snav { flex-direction: row; background: transparent; border: 0; padding: 0; gap: 8px; } .snav a { white-space: nowrap; border: 1px solid var(--border); background: var(--surface); padding: 9px 14px; }
  .lic2 { grid-template-columns: 1fr; padding: 26px 22px; } .ring { width: 112px; height: 112px; order: -1; margin-bottom: -4px; } .ring b { font-size: 30px; } .ring small { font-size: 11.5px; } .stats, .two, .dlgrid, .extgrid, .helpgrid { grid-template-columns: 1fr; }
  .co-body { grid-template-columns: 1fr; } .co-sum { border-inline-end: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) { .keycode { font-size: 16px; padding: 13px 14px; } .modal { padding: 0; align-items: end; } .modal-card { border-radius: 24px 24px 0 0 !important; max-height: 94vh; } }

/* ---------- shared header / footer (public pages) ---------- */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .15s; } .skip:focus { top: 10px; }
header.nav .navin { gap: 14px; }
.menu a[aria-current="page"] { color: var(--text); background: var(--hover); }
.menu .menu-auth { display: none; }
.langmenu a, .chipmenu a { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; background: transparent; color: var(--text); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.langmenu a:hover, .chipmenu a:hover { background: var(--hover); } .langmenu a.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; } .langmenu a.on i::before { content: '✓'; }
.authlinks { display: flex; gap: 8px; }
.burger { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); } body.menu-open .burger span:nth-child(2) { opacity: 0; } body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; inset-inline: 0; top: 68px; flex-direction: column; gap: 2px; margin: 0; padding: 14px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
  body.menu-open .menu { display: flex; }
  .menu a { padding: 13px 14px; font-size: 16px; }
  .menu .menu-auth { display: flex; gap: 10px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--border); } .menu .menu-auth .btn { flex: 1; }
  .authlinks { display: none; }
}
@media (max-width: 420px) { #themeBtn { display: none; } }

footer.foot { padding: 64px 0 28px; background: var(--sidebar); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 36px; }
.foot-brand p { margin-top: 14px; max-width: 300px; line-height: 1.55; }
.foot h4 { color: var(--text); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid > div > a { display: block; padding: 5px 0; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; } .foot-langs a { padding: 3px 0; } .foot-langs a[aria-current] { color: var(--text); font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13.5px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* language suggestion bar */
.langbar { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 18px 46px -12px rgba(0, 0, 0, .5); font-size: 14.5px; }
.langbar span { flex: 1; } .langbar button { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 6px; }

/* ---------- page blocks ---------- */
.container.narrow { width: min(820px, 100% - 40px); }
.pagehero { padding: 84px 0 36px; text-align: center; background: radial-gradient(900px 380px at 50% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.pagehero.small { padding: 56px 0 8px; }
.pagehero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; letter-spacing: -.03em; max-width: 860px; margin: 8px auto 18px; }
.pagehero.small h1 { font-size: clamp(28px, 4vw, 40px); }
.pagehero .lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 720px; margin: 0 auto; }
h2.title.left { text-align: start; margin-bottom: 18px; }
.prose { color: var(--muted); font-size: 17.5px; line-height: 1.75; margin-bottom: 18px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -.01em; } .legal p { color: var(--muted); margin-bottom: 12px; line-height: 1.7; } .legal b { color: var(--text); } .legal a { color: var(--accent-text); }
section.finalcta { padding: 72px 0; }
.cta-card { text-align: center; padding: 56px 24px; border-radius: 28px; background: linear-gradient(135deg, #4f46e5, #3b3dbf 55%, #0f766e); color: #fff; }
.cta-card h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; margin-bottom: 12px; } .cta-card p { opacity: .88; font-size: 18px; margin-bottom: 26px; }
.cta-card .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-card .btn-primary { background: #fff; color: #3b3dbf; } .cta-card .btn-primary:hover { background: #eef0ff; }
.cta-card .ghostw { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; } .cta-card .ghostw:hover { background: rgba(255, 255, 255, .14); }
.page404 { padding: 110px 0 120px; text-align: center; } .page404 h1 { font-size: clamp(30px, 5vw, 48px); margin: 6px 0 14px; } .page404 .sub { margin: 0 auto 28px; } .page404 .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.eyebrow { display: block; }

/* screenshots tour */
.tour { margin-top: 44px; }
.tabs2 { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.tabs2 button { height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.tabs2 button:hover { color: var(--text); border-color: var(--border-strong); } .tabs2 button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tourpane { display: none; text-align: center; } .tourpane.on { display: block; }
.tourpane .frame { width: min(980px, 100%); margin-inline: auto; border-radius: 18px; border: 1px solid var(--border-strong); overflow: hidden; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.tourpane .frame.narrow { width: min(360px, 100%); }
.tourpane .frame img { width: 100%; height: auto; display: block; }
:root[data-theme="light"] .tourpane .frame .dark, :root:not([data-theme="light"]) .tourpane .frame .light { display: none; }
.tourpane p { color: var(--muted); max-width: 640px; margin: 22px auto 0; font-size: 17px; }

/* contact */
.contactwrap { padding: 20px 0 90px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cform-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 34px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b90a8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-inline-end: 38px; }
:root[dir="rtl"] select.input { background-position: left 12px center; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 140px; line-height: 1.5; font-family: inherit; }
fieldset.channels { border: 0; padding: 0; min-width: 0; } fieldset.channels legend { font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 9px; padding: 0; }
.chan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chan label { cursor: pointer; display: block; } .chan input { position: absolute; opacity: 0; pointer-events: none; }
.chan span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); font-size: 14px; text-align: center; transition: border-color .15s, background .15s, color .15s; }
.chan span svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chan label:hover span { border-color: var(--border-strong); }
.chan input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.chan input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.count { align-self: flex-end; color: var(--faint); font-size: 12.5px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 18px; cursor: pointer; } .consent input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; }
.csent { text-align: center; padding: 30px 6px; } .csent h2 { margin: 18px 0 8px; } .csent p { color: var(--muted); max-width: 440px; margin: 0 auto 14px; }
.okring { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.okring svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cside { display: grid; gap: 14px; }
.icard { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.icard .ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.icard .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icard h3 { font-size: 16px; margin-bottom: 2px; } .icard p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .cgrid { grid-template-columns: 1fr; } .cform-card { padding: 22px; } .chan { grid-template-columns: repeat(2, 1fr); } }
html { scroll-behavior: smooth; } section[id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.statsec { padding: 8px 0 48px; }
.steps { list-style: none; padding: 0; margin-inline: 0; }
.menu { gap: 2px; margin-inline-start: 22px; } .menu a, .authlinks .btn, .nav .btn { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 961px) { .menu a { padding: 8px 10px; font-size: 14.5px; } header.nav .navin { gap: 10px; } .logo { font-size: 18px; } #themeBtn { display: none; } }
.menu a.btn { display: inline-flex; padding: 0 14px; } .menu a.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); } .menu a.btn-primary:hover { color: #fff; }
.count { direction: ltr; }

/* smooth cross-fade between pages (browsers without support just navigate) */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; } }
header.nav { view-transition-name: wdm-nav; }
::view-transition-group(wdm-nav) { animation-duration: 0s; }

.boot { min-height: calc(100vh - 68px); display: grid; place-items: center; } .boot .spin { width: 30px; height: 30px; border-width: 3px; }
.pfmore { margin: 2px 0 10px; } .pfmore summary { cursor: pointer; font-size: 14px; color: var(--muted); padding: 4px 0 10px; user-select: none; } .pfmore summary:hover { color: var(--text); }

/* ---- payment: brand marks, method rows, operator tiles */
.plogo { display: inline-block; width: 52px; height: 32.5px; border-radius: 7px; flex: none; object-fit: contain; vertical-align: middle; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); background: #fff; }
.plogo.sm { width: 40px; height: 25px; border-radius: 5px; }
.plogo.mono { display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: 15px; }
.checkout .methods { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 22px; }
.checkout .method { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface); transition: border-color .15s, box-shadow .15s, background .15s; }
.checkout .method:hover { border-color: var(--border-strong); background: var(--surface); transform: none; box-shadow: 0 6px 20px -14px rgba(20, 24, 60, .35); }
.checkout .method.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); box-shadow: 0 0 0 1px var(--accent), 0 10px 28px -16px color-mix(in srgb, var(--accent) 60%, transparent); }
.m-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; transition: border-color .15s; flex: none; }
.method.on .m-radio { border-color: var(--accent); } .method.on .m-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pop .2s ease both; }
.m-logos { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.checkout .m-tx b { font-size: 15.5px; } .checkout .m-tx small { display: block; line-height: 1.35; }
.ops { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.op { position: relative; padding: 10px 12px; gap: 11px; border-radius: 14px; background: var(--surface); }
.op input { position: absolute; opacity: 0; pointer-events: none; }
.op .opn { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.op .opok { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; transition: all .15s; }
.op:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: 0 0 0 1px var(--accent); color: var(--text); }
.op:has(input:checked) .opok { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.500'/%3E%3C/svg%3E") center / 11px no-repeat; }
.op:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opchip { display: inline-flex; align-items: center; gap: 8px; } .opchip .plogo { width: 36px; height: 22.5px; border-radius: 5px; } .opchip b { font-size: 14px !important; white-space: normal !important; }
.pay-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 20px; border: 1.5px dashed var(--border-strong); border-radius: 18px; background: var(--surface-2); color: var(--muted); }
.pay-empty svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .55; margin-bottom: 4px; } .pay-empty b { font-size: 16px; color: var(--text); } .pay-empty small { font-size: 13.5px; }
.brow .ti { background: none !important; padding: 0 !important; width: auto !important; height: auto !important; } .brow .ti .plogo { width: 44px; height: 27.5px; }
/* checkout shell: calmer, more spacious */
.modal-card.checkout { border-radius: 28px !important; box-shadow: 0 40px 100px -30px rgba(10, 14, 50, .55); }
.co-head { padding: 22px 30px; } .co-head h2 { font-size: 21px; letter-spacing: -.01em; }
.co-sum { background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 9%, var(--surface-2)), var(--surface-2) 62%); padding: 30px 26px; }
.sum-total b { font-size: 30px; letter-spacing: -.02em; } .sum-total { align-items: baseline; }
.co-pay { padding: 30px; } .coinfo h3 { font-size: 17px; margin-bottom: 4px; }
.amount-callout { background: color-mix(in srgb, var(--success) 7%, var(--surface)); border-color: color-mix(in srgb, var(--success) 28%, var(--border)); }
.momo-flow { border-radius: 22px; } .momo-success-box { border-radius: 22px; }
.pay-accept { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 13.5px; }
.pay-accept .plogo { width: 40px; height: 25px; border-radius: 5px; }
@media (max-width: 760px) { .co-body { grid-template-columns: 1fr; } .co-sum { border-right: 0; border-bottom: 1px solid var(--border); padding: 20px; } .co-pay { padding: 20px; } .checkout .method { grid-template-columns: auto 1fr; } .m-logos { grid-column: 2; justify-content: flex-start; } }
.ops { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.op .opn { overflow: visible; text-overflow: clip; white-space: normal; }
.plogo.sm { width: 46px; height: 28.75px; }

/* ---- checkout, step 1: compact billing line, folded method choice, one clear pay button */
.co-body { min-height: 0; } .co-pay { display: flex; flex-direction: column; gap: 14px; }
.billto { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.bt-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; } .bt-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.bt-tx { display: grid; line-height: 1.25; min-width: 0; flex: 1; } .bt-tx small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .bt-tx b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bt-tx em { font-style: normal; font-size: 13px; color: var(--muted); }
.bt-edit { border: 0; background: none; color: var(--accent-text); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; padding: 6px 8px; border-radius: 8px; } .bt-edit:hover { background: var(--accent-soft); }
.bt-title { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.pfwrap { margin-top: 10px; } .coinfo { margin: 0 !important; } .coinfo .pf .field { margin-bottom: 8px; } .coinfo .field label { font-size: 13px; }
.chosen { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); animation: pop .22s ease both; } .chosen[hidden] { display: none; }
.chosen .m-radio { border-color: var(--accent); } .chosen .m-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.paypanel { display: grid; gap: 16px; animation: pop .25s ease both; } .paypanel p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.paypanel .btn svg, #momoGo svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.paypanel .btn { gap: 10px; }
#payForm { animation: none; } #payForm > * { animation: pop .25s ease both; }
@media (max-width: 760px) { .chosen { grid-template-columns: auto 1fr auto; } .chosen .m-logos { display: none; } }
.checkout .methods[hidden], .pfwrap[hidden] { display: none; }

/* ---- checkout, step 2: waiting, success and failure screens */
.paywait #coInfo, .paywait #coChosen { display: none; } .paywait .co-pay { justify-content: center; }
.pw { display: grid; gap: 20px; justify-items: center; text-align: center; animation: pop .3s ease both; }
.pw h3 { font-size: 22px; letter-spacing: -.01em; margin: 0; } .pw p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 440px; } .pw p b { color: var(--text); }
.pw-hero { display: grid; gap: 12px; justify-items: center; }
.pw-ring { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.pw-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pw-track { fill: none; stroke: var(--border); stroke-width: 5; } .pw-bar { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; transition: stroke-dashoffset 4s linear; }
.pw-ring::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); animation: pwping 2s ease-out infinite; }
@keyframes pwping { from { transform: scale(.82); opacity: .9; } to { transform: scale(1.18); opacity: 0; } }
.pw-logo .plogo { width: 78px; height: 48.75px; border-radius: 11px; box-shadow: 0 8px 24px -10px rgba(10, 14, 50, .45), 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); } .pw-logo .plogo.mono { font-size: 26px; }
.pw-steps { list-style: none; display: grid; gap: 4px; width: 100%; max-width: 420px; margin: 0; padding: 0; text-align: left; }
.pw-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: var(--muted); font-size: 14.5px; }
.pw-steps li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-style: normal; font-weight: 800; font-size: 13px; background: var(--surface-2); border: 1px solid var(--border-strong); }
.pw-steps li.done { color: var(--text); } .pw-steps li.done i { background: var(--success); border-color: transparent; color: #fff; }
.pw-steps li.on { color: var(--text); font-weight: 700; background: var(--accent-soft); } .pw-steps li.on i { background: var(--accent); border-color: transparent; } .pw-steps li.on .spin-indicator { width: 13px; height: 13px; border-width: 2px; border-color: rgba(255, 255, 255, .45); border-top-color: #fff; }
.pw .momo-tip { max-width: 440px; text-align: left; }
.pw-time { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pw-actions { display: grid; gap: 8px; width: 100%; max-width: 420px; } .pw-actions .btn-lg { width: 100%; }
.pw-mark { width: 96px; height: 96px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pw-mark circle { stroke-dasharray: 227; stroke-dashoffset: 227; animation: pwdraw .6s ease forwards; } .pw-mark path { stroke-dasharray: 70; stroke-dashoffset: 70; animation: pwdraw .45s .45s ease forwards; }
@keyframes pwdraw { to { stroke-dashoffset: 0; } }
.pw-ok .pw-mark { stroke: var(--success); } .pw-ko .pw-mark { stroke: var(--danger); }
.pw-ok .btn { margin-top: 6px; min-width: 260px; }
.pw-recap { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 26px; justify-content: center; padding: 14px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); text-align: left; }
.pw-recap small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 3px; } .pw-recap b { font-size: 14.5px; }
@media (max-width: 560px) { .pw-recap { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pw-ring::after, .pw-mark circle, .pw-mark path { animation: none; stroke-dashoffset: 0; } }
.pw p b { white-space: nowrap; }
/* checkout on phones: summary shrinks to one total line, nothing wraps awkwardly */
@media (max-width: 760px) {
  .modal-card.checkout { border-radius: 22px !important; max-height: calc(100vh - 16px); width: calc(100vw - 16px); }
  .co-head { padding: 14px 18px; } .co-head h2 { font-size: 18px; }
  .co-sum { padding: 12px 18px; gap: 0; } .co-sum .sum-line, .co-sum ul, .co-sum .sum-secure { display: none; }
  .co-sum .sum-total { border-top: 0; padding-top: 0; font-size: 15px; } .co-sum .sum-total b { font-size: 22px; }
  .co-pay { padding: 16px 18px 20px; gap: 12px; }
  .amount-callout { gap: 12px; padding: 12px 14px; } .amount-callout .ac-val { white-space: nowrap; font-size: 18px; flex: none; }
  #momoGo, #payGo { font-size: 15px; padding-inline: 12px; } #momoGo span, #payGo span { white-space: normal; text-align: center; }
  .pw-ring { width: 112px; height: 112px; } .pw-logo .plogo { width: 66px; height: 41px; }
}

/* ---------- menu v2: icons, readable states, mobile drawer ---------- */
.menu a, .menu-auth a { display: inline-flex; align-items: center; gap: 8px; }
.mi { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu .mc { display: none; }
.menu a .mi { opacity: .7; transition: opacity .15s, color .15s; }
.menu a:hover .mi, .menu a[aria-current="page"] .mi { opacity: 1; color: var(--accent-text); }
.menu a { border-radius: 11px; transition: background .15s, color .15s; }
.menu a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.menu .menu-auth { display: none; }
.authlinks .btn .mi, .btn .mi { width: 17px; height: 17px; }
@media (max-width: 1180px) and (min-width: 961px) { .menu .mi { display: none; } }
@media (max-width: 960px) {
  body.menu-open { overflow: hidden; }
  .menu { display: none; position: fixed; inset-inline: 12px; top: 76px; z-index: 45; max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; gap: 4px; margin: 0; padding: 10px; border: 1px solid var(--border-strong); border-radius: 22px; background: var(--surface); box-shadow: 0 34px 80px -24px rgba(8, 10, 30, .6); transform-origin: top center; animation: menuin .24s cubic-bezier(.2, .8, .2, 1) both; }
  body.menu-open .menu { display: flex; }
  .menu a { gap: 14px; padding: 9px 10px; font-size: 16px; font-weight: 600; color: var(--text); border-radius: 15px; }
  .menu a:hover, .menu a:active { background: var(--hover); }
  .menu a .mi { width: 40px; height: 40px; padding: 10px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); opacity: 1; }
  .menu a .mc { display: block; width: 18px; height: 18px; margin-inline-start: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; }
  html[dir="rtl"] .menu a .mc { transform: scaleX(-1); }
  .menu .menu-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; padding: 12px 2px 2px; border-top: 1px solid var(--border); }
  .menu .menu-auth .btn { height: 50px; padding: 0 10px; justify-content: center; gap: 8px; font-size: 15px; }
  .menu .menu-auth .btn .mi { width: 18px; height: 18px; padding: 0; background: none; border-radius: 0; opacity: 1; color: inherit; }
  .menu-scrim { display: block; position: fixed; inset: 68px 0 0 0; z-index: 35; background: rgba(8, 10, 26, .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
}
@media (min-width: 961px) { .menu-scrim { display: none; } }
@keyframes menuin { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- language list: stays short, scrolls ---------- */
.langmenu { min-width: 220px; max-height: min(62vh, 372px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; padding: 6px; }
.langmenu::-webkit-scrollbar { width: 8px; } .langmenu::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.langmenu::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; border: 2px solid var(--surface); } .langmenu::-webkit-scrollbar-thumb:hover { background: var(--faint); }
.langmenu a, .langmenu button { padding: 9px 12px; }
.langmenu .on span { font-weight: 700; } .langmenu .on i { color: var(--accent-text); font-style: normal; }

/* ---------- sign-in page ---------- */
.auth { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 15% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(700px 420px at 100% 100%, color-mix(in srgb, #14b8a6 14%, transparent), transparent 70%); }
.authwrap { grid-template-columns: 1.05fr 460px; gap: 0; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 40px 100px -40px rgba(10, 14, 50, .55); width: min(1040px, 100%); }
.authwrap .pitch { position: relative; overflow: hidden; border-radius: 0; box-shadow: none; padding: 40px 40px 0; display: flex; flex-direction: column; background: linear-gradient(155deg, #5a5df0 0%, #3f41c8 50%, #26286f 100%); }
.pitch-glow { position: absolute; width: 360px; height: 360px; inset-inline-end: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 68%); pointer-events: none; }
.pitch-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #fff; text-decoration: none; margin-bottom: 26px; } .pitch-brand img { border-radius: 10px; }
.pitch h2 { font-size: clamp(26px, 2.8vw, 33px); line-height: 1.15; margin-bottom: 24px; }
.pitch ul { gap: 14px; } .pitch li { align-items: center; font-size: 15.5px; gap: 14px; }
.pitch .pi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.pitch .pi svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pitch-shot { margin: 28px -40px 0; padding: 0 40px; flex: 1; min-height: 120px; overflow: hidden; position: relative; }
.pitch-shot img { width: 100%; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 50px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .18); display: block; transform: translateY(6px); }
.pitch-foot { margin: 0 -40px; padding: 16px 40px; background: rgba(0, 0, 0, .22); font-size: 13.5px; opacity: 1; align-items: center; gap: 10px; } .pitch-foot svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.authwrap .box { border: 0; border-radius: 0; box-shadow: none; padding: 40px 38px 34px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; }
.box-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent-soft); color: var(--accent-text); } .box-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.authwrap .tabs { margin-bottom: 22px; } .authwrap h1 { font-size: 27px; } .authwrap p.s { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
.inp { position: relative; } .inp svg { position: absolute; inset-inline-start: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .15s; }
.inp .input { padding-inline-start: 44px; height: 52px; font-size: 16px; border-radius: 14px; } .inp:focus-within svg { stroke: var(--accent); }
#sendBtn, #verifyBtn { height: 54px; font-size: 16.5px; } #sendBtn .mi { width: 18px; height: 18px; transition: transform .15s; } #sendBtn:hover .mi { transform: translateX(3px); } html[dir="rtl"] #sendBtn .mi { transform: scaleX(-1); }
.sentto { color: var(--muted); margin: 0 0 14px; font-size: 15px; } .sentto b { color: var(--text); word-break: break-all; }
.otp6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin: 2px 0 18px; }
.otp6 input { width: 100%; min-width: 0; height: 58px; text-align: center; font: inherit; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--surface-2); color: var(--text); caret-color: var(--accent); transition: border-color .15s, box-shadow .15s, background .15s; padding: 0; }
.otp6 input:focus { outline: 0; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.otp6 input:not(:placeholder-shown), .otp6 input[value]:not([value=""]) { border-color: color-mix(in srgb, var(--accent) 55%, var(--border-strong)); }
.otp6.bad input { border-color: var(--danger); animation: shake .35s ease; } @keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.codelinks { margin: 16px 0 0; font-size: 14px; text-align: center; color: var(--faint); display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 880px) { .auth { padding: 20px 14px 40px; place-items: start center; } .authwrap { grid-template-columns: 1fr; border-radius: 24px; } .authwrap .pitch { padding: 24px 24px 0; } .pitch-brand { margin-bottom: 14px; } .pitch h2 { margin-bottom: 16px; font-size: 24px; } .pitch ul { gap: 10px; } .pitch li { font-size: 14.5px; } .pitch .pi { width: 34px; height: 34px; } .pitch-shot { display: none; } .pitch-foot { display: none; } .authwrap .pitch { padding-bottom: 24px; } .authwrap .box { padding: 28px 22px 26px; } }
@media (max-width: 420px) { .otp6 { gap: 6px; } .otp6 input { height: 52px; font-size: 22px; border-radius: 12px; } }
.sum-line[hidden] { display: none; }

/* signed-in header on laptops: the avatar is enough, the long e-mail pushed the page wider than the screen */
@media (max-width: 1400px) { .userchip .mail { display: none; } .userchip > button { padding: 0 10px; } }
@media (min-width: 1401px) { .userchip .mail { max-width: 200px; } }
