/* AutoCAD 2027 + Хиймэл оюун — cad.monhydro.com · хар хөх + улбар шар */
:root {
  --navy-950: #060c20; --navy-900: #0b1533; --navy-800: #111e45; --navy-700: #1a2a5c; --navy-600: #263a78;
  --ink: #0b1220; --text: #1e293b; --muted: #5b6678; --faint: #8f9aad; --line: #e4e8f0; --line-2: #eef1f6;
  --bg: #f5f7fb; --card: #fff; --soft: #f8fafc;
  --acc: #ff6a2b; --acc-2: #ffa53d; --acc-d: #e85512; --acc-grad: linear-gradient(135deg, #ff6a2b 0%, #ff9a3d 100%); --acc-soft: #fff2ea;
  --ai: #38bdf8; --ai-2: #818cf8; --ai-grad: linear-gradient(90deg, #7dd3fc, #a5b4fc 55%, #fdba74);
  --ok: #16a34a; --ok-soft: #e7f8ee; --warn: #d97706; --warn-soft: #fff7e6; --bad: #e11d48; --bad-soft: #ffe8ee;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 26px;
  --sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .07);
  --sh-2: 0 12px 32px -14px rgba(15, 23, 42, .28);
  --sh-3: 0 30px 70px -24px rgba(6, 12, 32, .55);
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --nav-h: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); letter-spacing: -.02em; line-height: 1.2; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.boot { min-height: 100vh; display: grid; place-items: center; background: var(--navy-900); }
.ring { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--acc); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nojs { max-width: 640px; margin: 80px auto; padding: 0 16px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- товч ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s; user-select: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-acc { background: var(--acc-grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 106, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-acc:hover { box-shadow: 0 14px 30px -10px rgba(255, 106, 43, .85), inset 0 1px 0 rgba(255, 255, 255, .25); filter: saturate(1.08); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--soft); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-soft { background: var(--line-2); color: var(--ink); }
.btn-soft:hover { background: var(--line); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-lg { height: 54px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.link { color: var(--acc-d); font-weight: 700; }
.link:hover { text-decoration: underline; }

/* ---------- навигаци ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: rgba(11, 21, 51, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); color: #fff; }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 11.5px; color: rgba(255, 255, 255, .55); letter-spacing: 0; margin-top: -2px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links button { height: 36px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.nav-links button:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .sp { flex: 1; }
.nav .btn { height: 38px; font-size: 14px; padding: 0 16px; border-radius: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background:
  radial-gradient(900px 480px at 85% -10%, rgba(255, 122, 47, .26), transparent 60%),
  radial-gradient(700px 420px at -5% 110%, rgba(56, 189, 248, .18), transparent 60%),
  linear-gradient(180deg, var(--navy-900), var(--navy-800)); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
  linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; mask-image: linear-gradient(180deg, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 48px; padding: 52px 0 60px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #fdba74; margin-bottom: 18px; }
.crumbs i { font-style: normal; color: rgba(255, 255, 255, .35); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.1vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 760px; }
.hero h1 .ai { background: var(--ai-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin: 18px 0 0; font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 700px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); font-size: 14px; font-weight: 600; color: #fff; backdrop-filter: blur(6px); }
.badge .ico { width: 17px; height: 17px; color: #fdba74; }
.badge.hot { background: rgba(255, 106, 43, .16); border-color: rgba(255, 140, 70, .45); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.byline b { color: #fff; }
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 14px; color: #fff; background: var(--acc-grad); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.meta-line span { display: inline-flex; align-items: center; gap: 7px; }
.meta-line .ico { width: 16px; height: 16px; }

/* ---------- нүүрний үндсэн хэсэг ---------- */
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 48px; align-items: start; }
.lp-main { padding: 40px 0 24px; min-width: 0; }
.lp-side { position: relative; z-index: 5; align-self: stretch; }
.sec { margin-bottom: 44px; }
.sec > h2 { font-size: 25px; font-weight: 800; margin-bottom: 18px; }
.learn { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-1); }
.learn h2 { font-size: 23px; margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks li { display: flex; gap: 12px; font-size: 14.8px; line-height: 1.5; color: var(--text); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.feat .fi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; background: var(--acc-soft); color: var(--acc-d); }
.feat .fi .ico { width: 21px; height: 21px; }
.feat:nth-child(2) .fi { background: #eef2ff; color: #4f46e5; } .feat:nth-child(3) .fi { background: #e0f7ff; color: #0284c7; } .feat:nth-child(4) .fi { background: var(--ok-soft); color: var(--ok); }
.feat b { display: block; font-family: var(--f-head); font-size: 15px; color: var(--ink); line-height: 1.3; }
.feat p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* хичээлийн агуулга (accordion) */
.cur-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 12px; font-size: 14px; color: var(--muted); }
.cur-sum b { color: var(--text); font-weight: 600; }
.cur { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--sh-1); }
.cur-m + .cur-m { border-top: 1px solid var(--line); }
.cur-h { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--soft); text-align: left; transition: background .15s; }
.cur-h:hover { background: #f1f4f9; }
.cur-h .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .25s; }
.cur-m.open .cur-h .chev { transform: rotate(180deg); }
.cur-h b { flex: 1; min-width: 0; font-family: var(--f-head); font-size: 15.5px; color: var(--ink); }
.cur-h b small { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1px; }
.cur-h span { flex: none; font-size: 13.5px; color: var(--muted); }
.cur-b { display: none; padding: 6px 0 10px; }
.cur-m.open .cur-b { display: block; }
.cur-l { display: flex; align-items: center; gap: 12px; padding: 9px 20px 9px 22px; font-size: 14.5px; color: var(--text); }
.cur-l .ico { width: 17px; height: 17px; color: var(--faint); }
.cur-l .t { flex: 1; min-width: 0; }
.cur-l .d { flex: none; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.pv { flex: none; font-size: 13px; font-weight: 700; color: var(--acc-d); text-decoration: underline; text-underline-offset: 3px; }
.pv.soon { color: var(--faint); text-decoration: none; font-weight: 600; cursor: default; }
.cur-l.has-pv .t { color: var(--ink); }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.blist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.blist li { position: relative; padding-left: 22px; font-size: 14.8px; }
.blist li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.lists h2 { font-size: 21px; margin-bottom: 14px; }
.inst { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.inst .av { width: 76px; height: 76px; font-size: 24px; box-shadow: 0 10px 24px -10px rgba(255, 106, 43, .7); }
.inst h3 { font-size: 19px; }
.inst .role { font-size: 14px; color: var(--acc-d); font-weight: 600; margin-top: 2px; }
.inst p { margin: 10px 0 0; font-size: 14.8px; color: var(--muted); }
.inst .ilinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* худалдан авах карт */
.buy { position: sticky; top: calc(var(--nav-h) + 20px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; border: 1px solid rgba(255, 255, 255, .6); }
.cover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; text-align: left; background:
  radial-gradient(420px 220px at 90% 0%, rgba(255, 122, 47, .55), transparent 60%), radial-gradient(360px 240px at 0% 100%, rgba(56, 189, 248, .35), transparent 60%), linear-gradient(135deg, #0b1533, #1a2a5c); }
.cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; }
.cover.img { background-size: cover; background-position: center; }
.cover.img::before { display: none; }
.cover-t { position: absolute; left: 22px; top: 20px; right: 22px; font-family: var(--f-head); font-weight: 800; line-height: 1.05; }
.cover-t .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .6); text-transform: uppercase; }
.cover-t .a { display: block; font-size: 30px; margin-top: 6px; letter-spacing: -.02em; }
.cover-t .b { display: inline-block; margin-top: 4px; font-size: 22px; background: var(--ai-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover .xh { position: absolute; right: 22px; bottom: 18px; width: 58px; height: 58px; opacity: .9; }
.cover .xh path { stroke: #ff8a3d; stroke-width: 3; stroke-linecap: round; }
.cover .xh rect { stroke: #fff; stroke-width: 2.2; fill: rgba(11, 21, 51, .6); }
.cover .play { position: absolute; left: 22px; bottom: 18px; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy-900); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .2s; }
.cover .play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.cover .play .ico { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 3px; }
.cover:hover .play { transform: scale(1.07); }
.cover .cap { position: absolute; left: 84px; bottom: 32px; font-size: 14.5px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.cover.noplay .play, .cover.noplay .cap { display: none; }
.buy-b { padding: 22px 24px 24px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price b { font-family: var(--f-head); font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price s { color: var(--faint); font-size: 17px; }
.price small { width: 100%; font-size: 13.5px; color: var(--muted); }
.buy .btn-acc { margin-top: 16px; }
.buy .btn-line { margin-top: 10px; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 12.8px; color: var(--muted); text-align: center; }
.pay-note .ico { width: 15px; height: 15px; color: var(--ok); }
.incl { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.incl h4 { font-size: 15px; margin-bottom: 10px; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.incl li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.incl li .ico { width: 17px; height: 17px; color: var(--navy-600); }
.side-mentor { width: 100%; margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: left; line-height: 1.4; transition: border-color .2s, background .2s; }
.side-mentor:hover { border-color: #ffc9a8; background: var(--acc-soft); }
.side-mentor b { color: var(--ink); display: block; font-size: 14px; }
.side-mentor > span:not(.fi) { flex: 1; min-width: 0; }
.side-mentor > .ico { color: var(--faint); }
@media (min-width: 1081px) { .buy.compact .cover { display: none; } .buy.compact .incl li:nth-child(n+5) { display: none; } }
.side-mentor .fi { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-d); }

/* 1:1 сургалт */
.mentor { position: relative; overflow: hidden; color: #fff; margin-top: 24px; background:
  radial-gradient(700px 420px at 100% 0%, rgba(255, 122, 47, .30), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(129, 140, 248, .22), transparent 60%),
  linear-gradient(160deg, var(--navy-900), var(--navy-700)); }
.mentor::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; }
.mentor .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; padding-top: 76px; padding-bottom: 80px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #fed7aa; background: rgba(255, 106, 43, .16); border: 1px solid rgba(255, 140, 70, .4); }
.mentor h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-top: 16px; letter-spacing: -.03em; }
.mentor .lead { margin: 14px 0 0; font-size: 17px; color: rgba(255, 255, 255, .78); max-width: 560px; }
.mstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; max-width: 540px; }
.mstat { padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.mstat b { display: block; font-family: var(--f-head); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.mstat span { font-size: 13px; color: rgba(255, 255, 255, .65); }
.mlist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.mlist li { display: flex; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.mlist li .ico { color: #fdba74; margin-top: 3px; }
.mprice { margin-top: 28px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mprice b { font-family: var(--f-head); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.mprice span { color: rgba(255, 255, 255, .65); font-size: 14.5px; }
.form-card { background: #fff; color: var(--text); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-3); }
.form-card h3 { font-size: 22px; }
.form-card > p { margin: 6px 0 18px; font-size: 14px; color: var(--muted); }
.fld { display: block; margin-bottom: 14px; }
.fld > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fld input, .fld select, .fld textarea { width: 100%; height: 46px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--soft); padding: 0 14px; font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.fld textarea { height: 92px; padding: 11px 14px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--acc); background: #fff; box-shadow: 0 0 0 4px rgba(255, 106, 43, .14); }
.fld input.bad, .fld select.bad { border-color: var(--bad); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-err { min-height: 20px; margin: 2px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--bad); }
.fine { margin: 12px 0 0; font-size: 12.8px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { padding: 72px 0 40px; }
.faq .wrap { max-width: 860px; }
.faq h2 { font-size: 30px; text-align: center; margin-bottom: 28px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; box-shadow: var(--sh-1); overflow: hidden; }
.qa summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .25s; flex: none; }
.qa[open] summary .chev { transform: rotate(180deg); }
.qa p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* footer */
.foot { background: var(--navy-950); color: rgba(255, 255, 255, .65); padding: 44px 0 calc(36px + env(safe-area-inset-bottom)); margin-top: 40px; font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.foot .brand { color: #fff; }
.foot .sp { flex: 1; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a:hover, .foot nav button:hover { color: #fff; }
.foot .copy { width: 100%; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.foot .copy button { color: rgba(255, 255, 255, .35); font-size: 12.5px; }

/* гар утасны доод мөр */
.mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(15, 23, 42, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(110%); transition: transform .3s ease; }
.mbar.on { transform: none; }
.mbar div { flex: 1; min-width: 0; line-height: 1.2; }
.mbar b { display: block; font-family: var(--f-head); font-size: 21px; font-weight: 800; color: var(--ink); }
.mbar small { font-size: 12px; color: var(--muted); }
.mbar .btn { height: 48px; padding: 0 22px; }
.banner { background: var(--warn-soft); border-bottom: 1px solid #fde3b0; font-size: 14px; color: #7c4a03; }
.banner .wrap { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.banner a { font-weight: 700; text-decoration: underline; }
.banner .x { margin-left: auto; font-size: 20px; line-height: 1; color: #b45309; padding: 4px 8px; }

/* ---------- модал ---------- */
.mo { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(6, 12, 32, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.mo-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-3); animation: pop .22s ease; }
.mo-card h3 { font-size: 22px; padding-right: 30px; }
.mo-card .lead { margin: 6px 0 18px; font-size: 14px; color: var(--muted); }
.mo-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--line-2); }
.mo-x:hover { background: var(--line); color: var(--ink); }
.mo-x .ico { width: 18px; height: 18px; }
.mo-prod { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); margin: 14px 0 18px; }
.mini-cv { flex: none; width: 74px; aspect-ratio: 16 / 10; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(80px 50px at 100% 0%, rgba(255, 122, 47, .55), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.mini-cv img { width: 30px; height: 30px; border-radius: 7px; }
.mo-prod div { flex: 1; min-width: 0; line-height: 1.35; }
.mo-prod div b { display: block; font-size: 14.5px; color: var(--ink); }
.mo-prod div small { font-size: 12.5px; color: var(--muted); }
.mo-prod > b { font-family: var(--f-head); font-size: 18px; color: var(--ink); white-space: nowrap; }
.codein { width: 100%; height: 58px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); text-align: center; font-family: var(--f-mono); font-size: 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; outline: none; color: var(--ink); }
.codein:focus { border-color: var(--acc); background: #fff; box-shadow: 0 0 0 4px rgba(255, 106, 43, .14); }
.mo-dark .mo-card { max-width: 860px; background: #0d1530; color: #fff; padding: 22px; }
.mo-dark h3 { color: #fff; }
.mo-dark .lead { color: rgba(255, 255, 255, .6); }
.mo-dark .mo-x { background: rgba(255, 255, 255, .1); color: #fff; }
.pv-cta { padding: 16px 0 4px; }
.pvl { display: grid; gap: 6px; margin-top: 14px; }
.pvl button { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-align: left; color: rgba(255, 255, 255, .85); transition: background .15s; }
.pvl button:hover { background: rgba(255, 255, 255, .06); }
.pvl button.on { background: rgba(255, 255, 255, .1); color: #fff; }
.pvl .mini { flex: none; width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; }
.pvl span { flex: 1; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.pvl small { display: block; font-weight: 500; color: rgba(255, 255, 255, .5); font-size: 12.5px; margin-top: 2px; }

/* ---------- thumbnail ---------- */
.th { position: relative; background: #1a2340 center / cover no-repeat; overflow: hidden; }
.th-gen { background: linear-gradient(135deg, var(--h1), var(--h2)); }
.th-gen { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--h2) 75%, transparent), transparent 62%), linear-gradient(135deg, var(--h1), color-mix(in srgb, var(--h1) 55%, #060c20)); }
.th-gen::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 14% 22%; }
.th-n { position: absolute; left: 9%; bottom: 10%; font-family: var(--f-head); font-weight: 800; font-size: 2.1em; line-height: 1; color: #fff; letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.th-m { position: absolute; left: 9%; top: 11%; right: 9%; font-size: .62em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-x { position: absolute; right: 9%; bottom: 12%; width: 22%; aspect-ratio: 1; opacity: .55; }
.th-x path { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.mini { font-size: 11px; }
.mini .th-m { display: none; }

/* ---------- видео тоглуулагч ---------- */
.pl { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; display: grid; place-items: center; user-select: none; -webkit-user-select: none; outline: none; }
.pl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pl.v916 video { object-fit: contain; }
.pl-wm { position: absolute; z-index: 5; pointer-events: none; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .4); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); transition: top 1.2s ease, left 1.2s ease; white-space: nowrap; letter-spacing: .03em; }
.pl-wmt { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .055; background-repeat: repeat; }
.pl-shield { position: absolute; inset: 0; z-index: 6; }
.pl-big { position: absolute; z-index: 8; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--navy-900); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: transform .2s, opacity .2s; }
.pl-big:hover { transform: scale(1.06); }
.pl-big .ico { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.pl-spin { position: absolute; z-index: 7; width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: spin .8s linear infinite; display: none; pointer-events: none; }
.pl.loading .pl-spin { display: block; }
.pl.loading .pl-big { opacity: 0; pointer-events: none; }
.pl-ctl { position: absolute; z-index: 9; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); opacity: 0; transition: opacity .25s; }
.pl:hover .pl-ctl, .pl.paused .pl-ctl, .pl.touch .pl-ctl, .pl:focus-within .pl-ctl { opacity: 1; }
.pl.playing:not(:hover):not(.touch) { cursor: none; }
.pl-seek { position: relative; height: 16px; display: flex; align-items: center; }
.pl-seek input { width: 100%; height: 16px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; --b: 0%; }
.pl-seek input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--p), rgba(255, 255, 255, .45) var(--p), rgba(255, 255, 255, .45) var(--b), rgba(255, 255, 255, .2) var(--b)); }
.pl-seek input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--p), rgba(255, 255, 255, .45) var(--p), rgba(255, 255, 255, .45) var(--b), rgba(255, 255, 255, .2) var(--b)); }
.pl-seek input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; box-shadow: 0 0 0 4px rgba(255, 106, 43, .35); }
.pl-seek input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.pl-row { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.pl-row button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.pl-row button:hover { background: rgba(255, 255, 255, .14); }
.pl-row button .ico { width: 21px; height: 21px; }
.pl-row button .fill { fill: currentColor; stroke: none; }
.pl-row .pl-txt { width: auto; padding: 0 10px; font-size: 13.5px; font-weight: 700; }
.pl-time { color: #e5e7eb; font-size: 13px; font-variant-numeric: tabular-nums; margin-left: 6px; white-space: nowrap; }
.pl-row .sp { flex: 1; }
.pl-msg { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; text-align: center; padding: 24px; color: rgba(255, 255, 255, .85); background: rgba(5, 8, 20, .7); font-size: 15px; }
.pl-msg b { display: block; font-family: var(--f-head); font-size: 19px; color: #fff; margin-bottom: 6px; }
.pl-end { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(5, 8, 20, .82); backdrop-filter: blur(4px); color: #fff; text-align: center; padding: 20px; }
.pl-end .k { font-size: 13px; color: rgba(255, 255, 255, .6); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.pl-end h4 { color: #fff; font-size: 20px; margin: 6px auto 18px; max-width: 520px; }
.pl-end .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pl.pseudo { position: fixed; inset: 0; z-index: 100; aspect-ratio: auto; width: 100% !important; height: 100% !important; max-height: none !important; }
.pl:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; max-height: none; }
.pl-soon { color: #fff; }
.pl-soon .th { position: absolute; inset: 0; font-size: 26px; }
.pl-soon .th::after { content: ""; position: absolute; inset: 0; background: rgba(5, 8, 20, .45); }
.pl-soon .msg { position: relative; z-index: 2; text-align: center; padding: 20px; }
.pl-soon .msg .ico { width: 44px; height: 44px; margin: 0 auto 12px; color: #fdba74; }
.pl-soon .msg b { display: block; font-family: var(--f-head); font-size: 22px; }
.pl-soon .msg span { display: block; margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ---------- суралцагчийн хэсэг (Udemy player маяг) ---------- */
body.is-learn { background: #fff; }
.lh { position: sticky; top: 0; z-index: 40; height: 60px; background: var(--navy-900); color: #fff; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lh .brand img { width: 32px; height: 32px; }
.lh .vd { width: 1px; height: 26px; background: rgba(255, 255, 255, .16); flex: none; }
.lh-t { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .92); }
.lh-prog { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .75); white-space: nowrap; padding: 6px 8px; border-radius: 10px; }
.pring { width: 36px; height: 36px; position: relative; flex: none; }
.pring svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.pring circle { fill: none; stroke-width: 3.5; }
.pring .bg { stroke: rgba(255, 255, 255, .16); }
.pring .fg { stroke: var(--acc); stroke-linecap: round; transition: stroke-dashoffset .5s; }
.pring i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; }
.lh .btn { height: 36px; font-size: 13.5px; padding: 0 12px; }
.lh .uav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-grad); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.menu { position: absolute; right: 12px; top: 56px; z-index: 60; width: 260px; background: #fff; color: var(--text); border-radius: 14px; box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 8px; animation: pop .15s ease; }
.menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .who b { display: block; color: var(--ink); font-size: 14.5px; }
.menu .who code { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; text-align: left; }
.menu button:hover, .menu a:hover { background: var(--soft); }
.menu .ico { width: 17px; height: 17px; color: var(--muted); }
.lx { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: start; }
.lx-main { min-width: 0; }
.stage { background: #04060e; }
.stage .pl { width: min(100%, calc((100vh - 200px) * 16 / 9)); margin: 0 auto; max-height: calc(100vh - 200px); }
.lx-bar { display: flex; align-items: center; gap: 16px; padding: 18px 28px 14px; border-bottom: 1px solid var(--line); }
.lx-bar .t { flex: 1; min-width: 0; }
.lx-bar .k { font-size: 12.5px; font-weight: 700; color: var(--acc-d); text-transform: uppercase; letter-spacing: .06em; }
.lx-bar h1 { font-size: 21px; margin-top: 3px; }
.lx-bar .acts { display: flex; gap: 8px; flex: none; }
.tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; height: 52px; padding: 0 12px; font-weight: 700; font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ink); }
.tabs button .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--line-2); font-size: 11.5px; color: var(--muted); }
.panel { padding: 26px 28px 60px; max-width: 920px; }
.panel h3 { font-size: 19px; margin-bottom: 10px; }
.panel .desc { margin: 0; font-size: 15.5px; color: var(--text); white-space: pre-line; }
.ov-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.ov-meta div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.ov-meta span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ov-meta b { display: block; font-size: 15.5px; color: var(--ink); margin-top: 2px; }
.nextc { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.nextc:hover { border-color: #cbd5e1; box-shadow: var(--sh-2); }
.nextc .mini { flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 10px; font-size: 13px; }
.nextc div { flex: 1; min-width: 0; }
.nextc small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.nextc b { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.35; margin-top: 2px; }
.ov-course { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.ov-course ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.ov-course li { margin: 4px 0; }
.files { display: grid; gap: 10px; }
.file { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.file .fx { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--navy-600); text-transform: uppercase; }
.file .fx.zip { background: #7c3aed; } .file .fx.pdf { background: #dc2626; } .file .fx.txt, .file .fx.lsp { background: #0f766e; } .file .fx.dwg, .file .fx.dxf { background: #c2410c; } .file .fx.xlsx { background: #15803d; }
.file div { flex: 1; min-width: 0; }
.file b { display: block; color: var(--ink); font-size: 15px; }
.file small { display: block; font-size: 13px; color: var(--muted); }
.snip { margin-top: 14px; border: 1px solid #1f2a48; border-radius: var(--r); background: #0d1428; overflow: hidden; }
.snh { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid #1f2a48; font-size: 13.5px; color: #e2e8f0; }
.snh b { flex: 1; min-width: 0; font-weight: 700; }
.snh .cp { flex: none; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; }
.snh .cp:hover { background: rgba(255, 255, 255, .14); }
.snh .cp.ok { background: var(--ok); border-color: var(--ok); }
.snip pre { margin: 0; padding: 14px 16px; font-size: 13.2px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: #dbe4f3; font-family: var(--f-mono); user-select: text; -webkit-user-select: text; }
.sgroup { margin-top: 26px; }
.sgroup > summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 10px 0; }
.sgroup h4 { font-size: 14px; color: var(--muted); margin: 18px 0 0; font-family: var(--f-body); font-weight: 700; }
.empty { padding: 28px 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r); font-size: 14.5px; }
.helpc { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(135deg, #fff, var(--soft)); }
.helpc .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.helpc ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.helpc li { margin: 5px 0; }

/* хажуугийн хичээлийн жагсаалт */
.lx-side { position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; border-left: 1px solid var(--line); background: #fff; overscroll-behavior: contain; }
.panel .cs-head { position: static; }
.cs-head { position: sticky; top: 0; z-index: 2; padding: 16px 18px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.cs-head b { font-family: var(--f-head); font-size: 16px; color: var(--ink); }
.cs-head .pt { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.8px; color: var(--muted); font-weight: 600; }
.pbar { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; margin-top: 6px; }
.pbar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--acc-grad); transition: width .5s; }
.cs-m { border-bottom: 1px solid var(--line); }
.cs-h { width: 100%; display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; background: var(--soft); text-align: left; }
.cs-h:hover { background: #f0f3f8; }
.cs-h div { flex: 1; min-width: 0; }
.cs-h b { display: block; font-family: var(--f-head); font-size: 14.5px; color: var(--ink); line-height: 1.35; }
.cs-h small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.cs-h .chev { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); transition: transform .25s; }
.cs-m.open .cs-h .chev { transform: rotate(180deg); }
.cs-b { display: none; }
.cs-m.open .cs-b { display: block; }
.cs-l { position: relative; display: flex; gap: 12px; padding: 11px 18px 11px 16px; transition: background .12s; }
.cs-l:hover { background: var(--soft); }
.cs-l.on { background: #eef2fb; }
.cs-l.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--acc); }
.cs-ck { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; border: 2px solid #b8c1d1; display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s; }
.cs-ck .ico { width: 13px; height: 13px; stroke-width: 3.2; }
.cs-ck:hover { border-color: var(--navy-600); }
.cs-l.done .cs-ck { background: var(--ok); border-color: var(--ok); color: #fff; }
.cs-a { flex: 1; min-width: 0; display: block; }
.cs-t { display: block; font-size: 14px; line-height: 1.4; color: var(--text); }
.cs-l.on .cs-t { color: var(--ink); font-weight: 600; }
.cs-mt { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.cs-mt .ico { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.bad { background: var(--bad-soft); color: var(--bad); } .tag.warn { background: var(--warn-soft); color: var(--warn); } .tag.acc { background: var(--acc-soft); color: var(--acc-d); } .tag.blue { background: #e8eefc; color: #2747a8; }

/* ---------- төлбөрийн үр дүн ---------- */
.pd { min-height: 100vh; display: flex; flex-direction: column; background:
  radial-gradient(800px 460px at 90% -10%, rgba(255, 122, 47, .28), transparent 60%), radial-gradient(700px 420px at 0% 110%, rgba(56, 189, 248, .18), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.pd .nav { position: static; background: transparent; border: 0; }
.pd-in { flex: 1; display: grid; place-items: center; padding: 24px 16px 64px; }
.pd-card { width: 100%; max-width: 520px; background: #fff; border-radius: var(--r-xl); padding: 34px 30px; box-shadow: var(--sh-3); text-align: center; animation: pop .25s ease; }
.pd-ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--ok-soft); color: var(--ok); }
.pd-ic .ico { width: 34px; height: 34px; stroke-width: 2.6; }
.pd-ic.wait { background: var(--acc-soft); color: var(--acc-d); }
.pd-ic.bad { background: var(--bad-soft); color: var(--bad); }
.pd-card h2 { font-size: 25px; }
.pd-card > p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.codebox { margin: 24px 0 8px; padding: 20px 16px; border: 2px dashed #ffc7a6; border-radius: var(--r-lg); background: var(--acc-soft); }
.codebox small { display: block; font-size: 12.5px; font-weight: 700; color: var(--acc-d); text-transform: uppercase; letter-spacing: .08em; }
.codebox .code { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: clamp(24px, 7vw, 34px); font-weight: 800; letter-spacing: .08em; color: var(--ink); user-select: all; -webkit-user-select: all; }
.pd-card .btns { display: grid; gap: 10px; margin-top: 18px; }
.pd-card .note { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; color: var(--muted); text-align: left; }
.pd-card .note b { color: var(--ink); }
.bank { margin: 20px 0 0; padding: 16px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); text-align: left; font-size: 14.5px; white-space: pre-line; color: var(--ink); }
.pd-card .ring { margin: 4px auto 18px; border-color: var(--line); border-top-color: var(--acc); }
.steps3 { display: grid; gap: 8px; margin-top: 18px; text-align: left; }
.steps3 div { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.steps3 i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--navy-700); }

/* ---------- эзэн ---------- */
body.is-admin { background: var(--bg); }
.adm { padding-top: 24px; padding-bottom: 64px; }
.adm h1 { font-size: 24px; }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 18px 0 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh-1); }
.kpi span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi b { display: block; font-family: var(--f-head); font-size: 22px; color: var(--ink); margin-top: 4px; letter-spacing: -.02em; }
.kpi.hl { background: var(--navy-900); border-color: var(--navy-900); }
.kpi.hl span { color: rgba(255, 255, 255, .6); } .kpi.hl b { color: #fff; }
.adm .tabs { padding: 0; background: transparent; margin-bottom: 16px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); margin-bottom: 16px; }
.box h3 { font-size: 16.5px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--line); }
.chip.on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chips .gap { width: 12px; }
.tblw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl th { color: var(--faint); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.tbl td small { display: block; color: var(--muted); font-size: 12.5px; }
.tbl .mono { font-family: var(--f-mono); font-weight: 700; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.tbl .num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.tbl .acts { white-space: nowrap; display: flex; gap: 6px; flex-wrap: wrap; }
.tbl tr.dim td { opacity: .55; }
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.form input { height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--soft); padding: 0 12px; font-size: 14px; outline: none; }
.form input:focus { border-color: var(--acc); background: #fff; }
.made { margin-top: 14px; display: grid; gap: 10px; }
.made textarea { width: 100%; height: 90px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); padding: 10px; font-size: 13px; resize: vertical; }
.mcard { display: grid; gap: 4px; }
.mcard .tel { font-weight: 700; color: var(--navy-600); }

#toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--navy-900); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--sh-3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .lx { grid-template-columns: minmax(0, 1fr) 340px; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; padding: 40px 0 44px; }
  .lp-grid { grid-template-columns: 1fr; gap: 0; }
  .lp-side { order: -1; margin: 0 !important; padding-top: 24px; }
  .buy { position: static; box-shadow: var(--sh-2); border-color: var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buy .cover { height: 100%; aspect-ratio: auto; min-height: 240px; }
  .lp-main { padding-top: 32px; }
  .mbar { display: flex; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .mentor .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 60px; }
  .nav-links { display: none; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 960px) {
  .lx { grid-template-columns: 1fr; }
  .lx-side { display: none; }
  .stage .pl { width: 100%; max-height: none; }
  .lx-bar { padding: 14px 16px 12px; gap: 12px; flex-wrap: wrap; }
  .lx-bar h1 { font-size: 18px; }
  .lx-bar .acts { width: 100%; }
  .lx-bar .acts .btn { flex: 1; }
  .tabs { padding: 0 8px; }
  .panel { padding: 20px 16px 48px; }
  .panel .cs { margin: -20px -16px 0; }
  .lh-prog span { display: none; }
  .lh .vd, .lh-t { display: none; }
  .lh .sp-m { flex: 1; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 12px; }
  .brand small { display: none; }
  .hero-grid { padding: 30px 0 34px; }
  .hero .sub { font-size: 16px; margin-top: 14px; }
  .badges { gap: 8px; margin-top: 20px; }
  .badge { height: 32px; font-size: 13px; padding: 0 12px 0 9px; }
  .byline { margin-top: 22px; }
  .buy { grid-template-columns: 1fr; }
  .buy .cover { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .buy-b { padding: 18px 18px 20px; }
  .learn { padding: 20px 18px; }
  .checks { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 14px 13px; }
  .lists { grid-template-columns: 1fr; gap: 32px; }
  .sec { margin-bottom: 36px; }
  .sec > h2 { font-size: 22px; }
  .cur-h { padding: 14px 14px; gap: 10px; }
  .cur-h span { font-size: 12.5px; }
  .cur-l { padding: 9px 14px; gap: 10px; font-size: 14px; }
  .cur-sum { flex-direction: column; align-items: flex-start; gap: 4px; }
  .inst { flex-direction: column; gap: 14px; padding: 20px; }
  .mstats { gap: 8px; }
  .mstat { padding: 12px; }
  .mstat b { font-size: 20px; }
  .form-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .faq { padding: 52px 0 24px; }
  .faq h2 { font-size: 24px; }
  .qa summary { padding: 16px; font-size: 15px; }
  .qa p { padding: 0 16px 16px; }
  .foot .copy { flex-direction: column; }
  .mo { align-items: end; padding: 0; }
  .mo-card { max-width: none; border-radius: 22px 22px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); max-height: 92vh; }
  .mo-dark .mo-card { padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
  .mo-dark .mo-card > h3, .mo-dark .mo-card > .lead, .mo-dark .pvl, .mo-dark .pv-cta { padding-left: 14px; padding-right: 14px; }
  .cur-h { flex-wrap: wrap; row-gap: 2px; }
  .cur-h span { width: 100%; padding-left: 28px; }
  .ov-meta { grid-template-columns: 1fr 1fr; }
  .nextc .mini { width: 104px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-card { padding: 28px 20px; }
  .lh { gap: 10px; padding: 0 10px 0 12px; }
  .lh .brand span { display: none; }
  .pl-row button { width: 34px; height: 34px; }
  .pl-row [data-a="back"], .pl-row [data-a="fwd"] { display: none; }
  .pl-big { width: 64px; height: 64px; }
  .tabs .lg { display: none; }
  .tabs button { padding: 0 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
