/* testkor.uz — grafit qora + lime; yorug' rejim: iliq oq */
:root {
  --bg: #FAFAF7;
  --bg-2: #F1F1EC;
  --surface: #FFFFFF;
  --surface-2: #F5F5F0;
  --text: #141518;
  --muted: #5E636B;
  --line: rgba(20, 21, 24, .1);
  --line-2: rgba(20, 21, 24, .2);
  --lime: #C8F542;
  --lime-deep: #B4E02B;
  --lime-soft: #EEF8CF;
  --accent-fg: #4A6400;
  /* to'q tugmalar va tanlangan holatlar — grafit (qorong'i rejim yuzasi bilan bir xil) */
  --ink: #2B2E34;
  --ink-2: #373A41;
  --on-lime: #141518;
  --ico-bg: #141518;
  --dots: rgba(20, 21, 24, .07);
  --hdr: rgba(250, 250, 247, .94);
  --shadow: 0 24px 50px -30px rgba(20, 21, 24, .35);
  --logo-tile: #141518;
  /* doimo qorong'i bloklar (telefon, ekran, AI namunasi, footer) */
  --dk: #141518;
  --dk-2: #1F2125;
  --dk-3: #2A2D32;
  --dk-text: #F3F4F1;
  --dk-muted: #A3A8AF;
  --dk-line: rgba(255, 255, 255, .09);
  --ok: #1FA855;
  --bad: #E5484D;
  --warn: #F2B01E;
  --f-head: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Pangolin", "Segoe Print", cursive;
  --paper: #FBF8EF;
  --paper-ink: #25262A;
  --paper-line: #E6E0D0;
  --pen: #E5484D;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #141518;
  --bg-2: #18191D;
  --surface: #1F2125;
  --surface-2: #26282D;
  --text: #F3F4F1;
  --muted: #A3A8AF;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --lime-soft: rgba(200, 245, 66, .12);
  --accent-fg: #C8F542;
  --ico-bg: #2A2D32;
  --dots: rgba(200, 245, 66, .08);
  --hdr: rgba(20, 21, 24, .94);
  --shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
  --logo-tile: #26282D;
  --ink: #141518;
  --ink-2: #2A2D32;
  --paper: #F1EDE2;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }

/* urg'u: qorong'ida lime matn, yorug'da lime marker */
.hl { font-style: normal; color: var(--text); background: linear-gradient(transparent 12%, var(--lime) 12%, var(--lime) 88%, transparent 88%); padding: 0 .12em; margin: 0 -.04em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[data-theme="dark"] .hl { color: var(--lime); background: none; padding: 0; margin: 0; }

/* ---------- tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent; font: 600 16px/1 var(--f-body); white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lime { background: var(--lime); color: var(--on-lime); }
.btn--lime:hover { background: var(--lime-deep); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
[data-theme="dark"] .sec .btn--dark { background: var(--lime); color: var(--on-lime); }
.btn--line { border-color: var(--line-2); background: var(--surface); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: var(--hdr); border-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo__mark { width: 38px; height: 38px; }
.logo__word { font: 700 22px/1 var(--f-head); letter-spacing: -.03em; }
.logo__word b { font-weight: 700; background: var(--lime); color: var(--on-lime); padding: 1px 5px 3px; margin-left: 1px; border-radius: 6px; }
[data-theme="dark"] .logo__word b { background: none; color: var(--lime); padding: 0; margin: 0; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 9px 13px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--line); }
.hdr__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hdr__login { font-weight: 600; font-size: 15px; }
.hdr__login:hover { color: var(--accent-fg); }
.lang { display: inline-flex; padding: 3px; border-radius: 11px; border: 1px solid var(--line); }
.lang button { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 10px; border-radius: 8px; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--text); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { display: none; }

/* ---------- umumiy maket elementlari ---------- */
.win__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win__bar span { margin-left: 10px; padding: 4px 12px; border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 500; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mini-btn svg { width: 15px; height: 15px; }
.mini-btn--lime { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: var(--ico-bg); color: #F3F4F1; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.1s ease-in-out infinite; }
.is-done .status i { animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ico-bg); color: var(--lime); font-size: 12px; font-weight: 700; flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dots) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 80%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero__title { margin: 0 0 22px; font-size: clamp(36px, 3.7vw, 52px); font-weight: 800; text-wrap: balance; }
.hero__title .hl { white-space: nowrap; }
.hero__lead { max-width: 540px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 36px 0 0; padding: 0; }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts b { font: 800 26px/1.1 var(--f-head); letter-spacing: -.02em; }
.hero__facts span { font-size: 14px; color: var(--muted); }

/* test muharriri */
.editor { position: relative; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(20, 21, 24, .55); overflow: hidden; }
.editor__body { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 20px; padding: 20px; }
.editor__src { position: relative; display: grid; align-content: start; gap: 14px; justify-items: start; }
.paper { position: relative; width: 100%; padding: 14px 14px 18px; background: var(--paper); color: #2A2A28; border-radius: 5px; transform: rotate(-3deg); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); font: 11.5px/1.45 Georgia, "Times New Roman", serif; overflow: hidden; border: 1px solid rgba(0, 0, 0, .06); }
.paper__head { font: 700 9.5px/1 var(--f-body); letter-spacing: .12em; color: #8A8676; margin-bottom: 8px; }
.paper__q { font-weight: 700; margin-top: 8px; }
.paper__opts { margin-top: 2px; }
.paper__circle { border: 1.5px solid #C0392B; border-radius: 50%; padding: 0 4px; margin: 0 -5px; }
.paper__scan { position: absolute; left: 0; right: 0; top: -20%; height: 26%; background: linear-gradient(180deg, transparent, rgba(200, 245, 66, .4) 85%, rgba(180, 224, 43, .95)); animation: scan 3.2s var(--ease) infinite; }
@keyframes scan { 0% { top: -30%; } 70%, 100% { top: 105%; } }
.file-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.file-chip svg { width: 16px; height: 16px; color: var(--accent-fg); }
.editor__out { display: grid; align-content: start; gap: 10px; min-width: 0; }
.editor__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 2px; }
.editor__head b { font: 700 15px/1.2 var(--f-head); }
.qc { display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.qc.is-in { opacity: 1; transform: none; }
.qc__n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--ico-bg); color: var(--lime); display: grid; place-items: center; font: 700 12px/1 var(--f-head); }
.qc__body { min-width: 0; flex: 1; }
.qc b { display: block; font-size: 13.5px; line-height: 1.35; }
.qc__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.qc__opts span { display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 7px; background: var(--surface-2); font-size: 12.5px; }
.qc__opts .is-key { background: var(--lime); color: var(--on-lime); font-weight: 700; }
.qc__opts svg { width: 13px; height: 13px; }
.qc--warn { border-color: var(--warn); box-shadow: 0 0 0 1px var(--warn) inset; }
.qc--warn .qc__n { background: #FFF1CF; color: #8A5B00; }
.qc__flag { display: inline-block; margin-top: 7px; padding: 4px 9px; border-radius: 7px; background: #FFF1CF; color: #8A5B00; font-size: 12.5px; font-weight: 600; }
.editor__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.editor__count { font-size: 14px; color: var(--muted); }
.editor__count b { font: 800 18px/1 var(--f-head); color: var(--text); }
.editor__actions { display: flex; gap: 8px; }

.strip { list-style: none; margin: 64px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); }
.strip li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.strip svg { width: 22px; height: 22px; color: var(--accent-fg); flex: none; }

/* ---------- bo'limlar ---------- */
.sec { padding: clamp(72px, 9vw, 116px) 0; background: var(--bg); }
.sec--alt { background: var(--bg-2); }
.sec--ink { background: var(--dk); color: var(--dk-text); }
[data-theme="dark"] .sec--ink { background: #0E0F11; border-block: 1px solid var(--dk-line); }
.sec__head { max-width: 720px; margin-bottom: 48px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .sec__lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-fg); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 4px; border-radius: 3px; background: var(--lime); }
.sec--ink .eyebrow { color: var(--lime); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; text-wrap: balance; }
.sec__lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 620px; }
.sec--ink .h2 { color: #fff; }
.sec--ink .sec__lead { color: var(--dk-muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; font-weight: 500; }
.ticks svg { width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: var(--lime); color: var(--on-lime); flex: none; }

/* ---------- test tuzish usullari ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.tabs button svg { width: 20px; height: 20px; color: var(--accent-fg); }
.tabs button:hover { border-color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.tabs button[aria-selected="true"] svg { color: var(--lime); }
[data-theme="dark"] .tabs button[aria-selected="true"] svg { color: #4A6400; }
.panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding: 36px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.panel[hidden] { display: none; }
.panel__copy h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; margin-bottom: 12px; }
.panel__copy > p { color: var(--muted); font-size: 16.5px; }
.vis { min-height: 320px; padding: 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); display: grid; align-content: center; gap: 16px; }

.drop { display: grid; justify-items: center; gap: 10px; padding: 26px 20px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--surface); text-align: center; }
.drop__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); }
.drop__ico svg { width: 24px; height: 24px; }
.drop b { font-size: 16px; }
.drop__types { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.drop__types i { font-style: normal; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.files { display: grid; gap: 8px; }
.frow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.frow__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-fg); }
.frow__ico svg { width: 18px; height: 18px; }
.frow__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow__ok { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: #E5F6EA; color: #13723A; font-size: 12.5px; }
.frow__ok svg { width: 14px; height: 14px; }
.frow__bar { width: 90px; height: 7px; border-radius: 9px; background: var(--line); overflow: hidden; }
.frow__bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: var(--lime-deep); animation: load 2.4s var(--ease) infinite; }
@keyframes load { from { width: 8%; } to { width: 96%; } }

.vis--paste { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.raw { margin: 0; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font: 12.5px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); white-space: pre-wrap; overflow: hidden; }
.vis__arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); }
.vis__arrow svg { width: 20px; height: 20px; }
.parsed { display: grid; gap: 10px; }
.pq { padding: 12px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); }
.pq b { display: block; font-size: 13.5px; margin-bottom: 8px; }
.pq__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.pq__opts i { font-style: normal; padding: 4px 8px; border-radius: 7px; background: var(--surface-2); font-size: 12.5px; }
.pq__opts .is-key { background: var(--lime); color: var(--on-lime); font-weight: 700; }

.prompt { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.prompt__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.prompt__chips i { font-style: normal; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.prompt__chips b { color: var(--text); }
.prompt__text { font-size: 16px; font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -3px; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt__go { justify-self: end; }
.gen { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 8px; }
.gen li { counter-increment: g; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.gen li::before { content: counter(g); flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--ico-bg); color: var(--lime); font: 700 12px/1 var(--f-head); }

.qed { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.qed__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qed__type { padding: 6px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.qed__type::after { content: " ▾"; color: var(--muted); }
.qed__tools { display: flex; gap: 6px; }
.qed__tools i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }
.qed__tools svg { width: 17px; height: 17px; }
.qed__q { font: 600 17px/1.35 var(--f-head); letter-spacing: -.01em; padding: 6px 0 4px; }
.qed__opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.qed__opt i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.qed__opt.is-key { border-color: var(--lime-deep); background: var(--lime-soft); }
.qed__opt.is-key i { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.qed__opt svg { width: 14px; height: 14px; }
.qed__add { display: flex; align-items: center; gap: 8px; padding: 8px 4px 0; color: var(--accent-fg); font-size: 14px; font-weight: 600; }
.qed__add svg { width: 18px; height: 18px; }

/* ---------- savol turlari ---------- */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.type { min-width: 0; padding: 16px 16px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.type:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.type h3 { font-size: 17px; font-weight: 700; margin: 16px 4px 4px; overflow-wrap: break-word; hyphens: auto; }
.type p { margin: 0 4px; font-size: 14px; color: var(--muted); }
.type__vis { position: relative; height: 128px; border-radius: 12px; background: var(--bg-2); padding: 14px; display: grid; align-content: center; gap: 6px; overflow: hidden; font-size: 13px; font-weight: 600; }
.mv-opts span { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.mv-opts i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.mv-opts--multi i { border-radius: 4px; }
.mv-opts .on { border-color: var(--lime-deep); }
.mv-opts .on i { background: var(--lime); border-color: var(--on-lime); box-shadow: inset 0 0 0 2px var(--lime); }
.mv-tf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.mv-tf span { display: grid; place-items: center; height: 56px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.mv-tf .on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.mv-hand { place-items: center; background: var(--paper); }
.mv-hand span { font: 400 27px/1.1 var(--f-hand); color: #25262A; padding: 0 8px 0 10px; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 65% / 100% 55%; }
.mv-hand em { position: absolute; right: 12px; bottom: 12px; font-style: normal; padding: 4px 9px; border-radius: 8px; background: #141518; color: var(--lime); font-size: 12px; }
.mv-match { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; row-gap: 14px; }
.mv-match span { position: relative; z-index: 1; padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.mv-match svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mv-match path { fill: none; stroke: var(--lime-deep); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.mv-order span { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.mv-order i { font-style: normal; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--ico-bg); color: var(--lime); font-size: 11px; }
.mv-order .drag { transform: translateX(14px) rotate(-2deg); box-shadow: var(--shadow); border-color: var(--lime-deep); }
.mv-map { justify-items: center; gap: 4px; }
.mv-map svg { width: 120px; height: 70px; }
.mv-map path { fill: var(--lime-soft); stroke: var(--accent-fg); stroke-width: 1.5; }
.mv-map circle { fill: var(--pen); stroke: #fff; stroke-width: 2; }
.mv-map span { font-size: 12.5px; color: var(--muted); }
.mv-fill p { font-size: 15px; font-weight: 500; line-height: 2; }
.mv-fill b { font: 400 21px/1 var(--f-hand); padding: 0 10px; border-bottom: 2px solid var(--text); }

/* ---------- AI tekshiruvchi ---------- */
.ai-rows { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; }
.ai-rows li { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ai-rows__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-fg); }
.ai-rows__hand { justify-self: start; font: 400 21px/1.3 var(--f-hand); padding: 0 6px; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 70% / 100% 55%; }
[data-theme="dark"] .ai-rows li:not(.is-bad) .ai-rows__hand { color: #F3F4F1; background-image: linear-gradient(rgba(200, 245, 66, .3), rgba(200, 245, 66, .3)); }
.ai-rows .is-bad .ai-rows__hand { background: linear-gradient(var(--pen), var(--pen)) no-repeat 0 55% / 100% 3px; }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.verdict svg { width: 15px; height: 15px; }
.verdict.ok { background: #E5F6EA; color: #13723A; }
.verdict.bad { background: #FDE5E6; color: #B4262B; }
[data-theme="dark"] .verdict.ok, [data-theme="dark"] .frow__ok { background: rgba(31, 168, 85, .16); color: #5FD68D; }
[data-theme="dark"] .verdict.bad { background: rgba(229, 72, 77, .16); color: #FF8A7A; }
.ai-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 16px; font-weight: 500; }
.ai-note svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--ico-bg); color: var(--lime); flex: none; }

.sheet-wrap { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.sheet-wrap::before { content: ""; position: absolute; inset: 14% 0 4% 12%; border-radius: 40px; background: var(--lime); transform: rotate(4deg); }
[data-theme="dark"] .sheet-wrap::before { opacity: .14; }
.sheet { position: relative; width: min(460px, 100%); padding: 26px 28px 22px; border-radius: 10px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 40px 70px -34px rgba(20, 21, 24, .55); transform: rotate(-2deg); }
.sheet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 96px; width: 1.5px; background: rgba(229, 72, 77, .35); }
.sheet > * { position: relative; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #8A8676; }
.sheet__key { padding: 6px 10px; border-radius: 8px; background: #141518; color: var(--lime); letter-spacing: .02em; text-transform: none; font-size: 13px; }
.sheet__q { margin: 18px 0 6px; font: 700 19px/1.35 var(--f-head); letter-spacing: -.01em; }
.sheet__list { list-style: none; margin: 0; padding: 0; background: repeating-linear-gradient(transparent 0 51px, var(--paper-line) 51px 52px); }
.ans { display: grid; grid-template-columns: 68px 1fr 34px; align-items: center; gap: 12px; height: 52px; }
.ans__who { font-size: 13px; font-weight: 600; color: #8A8676; }
.ans__hand { justify-self: start; position: relative; padding: 0 6px; font: 400 25px/1.2 var(--f-hand); clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.5, 0, .3, 1); background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 62% / 0% 58%; }
.ans.is-written .ans__hand { clip-path: inset(-10px -10px -10px -10px); }
.ans.ok.is-marked .ans__hand { background-size: 100% 58%; transition: clip-path .7s cubic-bezier(.5, 0, .3, 1), background-size .45s var(--ease); }
.ans.bad .ans__hand::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 3px; border-radius: 3px; background: var(--pen); transform: scaleX(0) rotate(-3deg); transform-origin: left; transition: transform .4s var(--ease); }
.ans.bad.is-marked .ans__hand::after { transform: scaleX(1) rotate(-3deg); }
.ans__mark { width: 30px; height: 30px; color: var(--on-lime); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease) .15s; }
.ans.bad .ans__mark { color: var(--pen); }
.ans.is-marked .ans__mark { stroke-dashoffset: 0; }
.sheet__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.sheet__status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #141518; color: #F3F4F1; font-size: 13px; font-weight: 600; }
.sheet__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.1s ease-in-out infinite; }
.sheet.is-done .sheet__status i { animation: none; }
.sheet__score { position: relative; padding: 4px 18px; font: 400 26px/1 var(--f-hand); color: var(--pen); opacity: 0; transition: opacity .3s; }
.sheet__score svg { position: absolute; left: -8px; top: -12px; width: calc(100% + 16px); height: calc(100% + 22px); color: var(--pen); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease) .2s; }
.sheet.is-done .sheet__score { opacity: 1; }
.sheet.is-done .sheet__score svg { stroke-dashoffset: 0; }

/* ---------- viktorina ---------- */
.stage { position: relative; max-width: 940px; margin: 0 auto; padding-right: 110px; }
.screen { border-radius: 22px; background: #1B1D21; border: 1px solid var(--dk-line); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); overflow: hidden; }
.screen__top { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #F3F4F1; color: var(--on-lime); }
.screen__top small { display: block; font-size: 11px; font-weight: 600; color: #5E636B; }
.screen__url b { font: 700 15px/1.2 var(--f-head); }
.screen__pin { margin-left: auto; text-align: right; }
.screen__pin b { font: 800 28px/1 var(--f-head); letter-spacing: .03em; }
.qr { display: grid; grid-template-columns: repeat(3, 11px); gap: 3px; padding: 6px; border-radius: 8px; background: #141518; }
.qr i { width: 11px; height: 11px; background: var(--lime); border-radius: 2px; }
.qr i:nth-child(2), .qr i:nth-child(4), .qr i:nth-child(8) { background: transparent; }
.screen__main { padding: 22px 24px 20px; }
.screen__meta { display: flex; justify-content: space-between; align-items: center; }
.screen__num { padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--dk-muted); font-size: 13px; font-weight: 700; }
.ring { position: relative; width: 50px; height: 50px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
.ring .ring__v { stroke: var(--lime); stroke-dasharray: 1; stroke-dashoffset: var(--off, 0); stroke-linecap: round; transition: stroke-dashoffset .4s linear; }
.ring b { position: relative; font: 800 17px/1 var(--f-head); color: #fff; }
.screen__q { margin: 12px 0 18px; text-align: center; font: 700 clamp(19px, 2.2vw, 26px)/1.3 var(--f-head); color: #fff; letter-spacing: -.01em; }
.gtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gt { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border-radius: 14px; background: #2A2D32; border: 1px solid rgba(255, 255, 255, .06); color: #fff; font-size: 16px; font-weight: 600; transition: opacity .35s, background-color .35s, color .35s, transform .35s; }
.gt i { font-style: normal; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; border: 2px solid var(--lime); color: var(--lime); font: 700 14px/1 var(--f-head); flex: none; }
.stage.is-reveal .gt:not(.is-right) { opacity: .3; }
.stage.is-reveal .gt.is-right { background: var(--lime); color: var(--on-lime); transform: scale(1.02); }
.stage.is-reveal .gt.is-right i { border-color: var(--on-lime); color: var(--on-lime); }
.screen__foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--dk-muted); }
.screen__foot b { color: #fff; }
.screen__bar { flex: 1; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.screen__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--lime); transition: width .4s linear; }
.gphone { position: absolute; right: 0; bottom: -84px; width: 212px; padding: 16px 14px 18px; border-radius: 30px; background: #0E0F11; border: 6px solid #2A2D32; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .8); color: var(--dk-text); }
.gphone__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--dk-muted); }
.gphone__top b { color: var(--lime); font-family: var(--f-head); }
.gphone__q { margin: 10px 0 12px; font: 700 15px/1.2 var(--f-head); color: #fff; }
.gtiles--sm { gap: 8px; }
.gtiles--sm .gt { min-height: 62px; justify-content: center; padding: 8px; }
.gtiles--sm .gt.is-picked { box-shadow: 0 0 0 2px var(--lime) inset; }
.toast { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 8px 10px; border-radius: 11px; background: var(--lime); color: var(--on-lime); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.toast svg { width: 15px; height: 15px; color: #E5484D; }
.stage.is-reveal .toast { opacity: 1; transform: none; }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 124px; }
.flow__step { position: relative; padding: 18px 18px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--dk-line); }
.flow__vis { height: 116px; border-radius: 12px; background: rgba(255, 255, 255, .04); display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 18px; }
.flow__n { position: absolute; top: 146px; right: 20px; font: 800 36px/1 var(--f-head); color: rgba(255, 255, 255, .08); }
.flow__step h3 { font-size: 19px; font-weight: 700; color: #fff; margin: 0 4px 8px; }
.flow__step p { margin: 0 4px; color: var(--dk-muted); font-size: 15px; }
.fv-pin i { font-style: normal; width: 34px; height: 44px; border-radius: 9px; display: grid; place-items: center; background: #F3F4F1; color: var(--on-lime); font: 800 20px/1 var(--f-head); }
.fv-pin i:nth-child(3) { margin-right: 8px; }
.fv-join { flex-direction: column; gap: 6px; }
.fv-join span, .fv-join em { width: 170px; padding: 7px 12px; border-radius: 9px; background: #F3F4F1; color: var(--on-lime); font-size: 14px; font-weight: 700; text-align: center; font-style: normal; }
.fv-join span:first-child { letter-spacing: .12em; }
.fv-join em { background: var(--lime); }
.fv-podium { align-items: flex-end; gap: 8px; padding-bottom: 0; overflow: hidden; }
.fv-podium span { display: grid; justify-items: center; gap: 6px; }
.fv-podium em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--dk-text); }
.fv-podium i { font-style: normal; width: 64px; display: grid; place-items: start center; padding-top: 8px; border-radius: 10px 10px 0 0; font: 800 20px/1 var(--f-head); color: var(--on-lime); }
.fv-podium .p1 i { height: 70px; background: var(--lime); }
.fv-podium .p2 i { height: 50px; background: #D9DBDE; }
.fv-podium .p3 i { height: 36px; background: #E9B48A; }
.chips { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--dk-line); background: rgba(255, 255, 255, .04); font-size: 15px; font-weight: 500; }
.chips svg { width: 18px; height: 18px; color: var(--lime); }

/* ---------- natijalar ---------- */
.res { padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.res__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.res__head b { display: block; font: 700 17px/1.3 var(--f-head); }
.res__head small { color: var(--muted); font-size: 13px; }
.res__head .mini-btn svg { color: #1D7A45; }
.res__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.res__stats div { padding: 12px 14px; border-radius: 13px; background: var(--surface-2); }
.res__stats small { display: block; font-size: 12.5px; color: var(--muted); }
.res__stats b { font: 800 24px/1.2 var(--f-head); letter-spacing: -.02em; }
.res__stats div:first-child { background: var(--lime); color: var(--on-lime); }
.res__stats div:first-child small { color: #3D4A1A; }
.res__rows { display: grid; gap: 6px; }
.rrow { display: grid; grid-template-columns: 34px minmax(0, 1.2fr) minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.rrow:nth-child(odd) { background: var(--surface-2); }
.rrow b { text-align: right; font-family: var(--f-head); font-size: 14px; }
.rbar { height: 8px; border-radius: 9px; background: var(--line); position: relative; overflow: hidden; }
.rbar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--lime-deep); }
.rbar--low::after { background: var(--pen); }
.is-visible .rbar::after { animation: widen 1.1s var(--ease) both; }
@keyframes widen { from { width: 0; } }
.res__qs { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.res__qs small { font-size: 13px; color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; margin-top: 10px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--lime); transform-origin: bottom; }
.bars span.low { background: var(--pen); }
.is-visible .bars span { animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- telegram ---------- */
.tphone { justify-self: center; width: min(360px, 100%); border-radius: 36px; border: 8px solid #141518; background: #DCE7D3; overflow: hidden; box-shadow: 0 50px 80px -40px rgba(20, 21, 24, .6); }
[data-theme="dark"] .tphone { border-color: #2A2D32; background: #101A14; }
.tphone__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; color: var(--on-lime); }
[data-theme="dark"] .tphone__head { background: #1F2125; color: #F3F4F1; }
.tphone__av svg { width: 38px; height: 38px; --logo-tile: #141518; }
.tphone__head b { display: block; font-size: 15px; }
.tphone__head small { color: #5E8CC9; font-size: 12.5px; }
.tchat { display: grid; gap: 10px; padding: 16px 14px 20px; }
.tmsg { max-width: 86%; padding: 10px 12px; border-radius: 16px 16px 16px 5px; background: #fff; color: var(--on-lime); font-size: 14px; font-weight: 500; display: grid; gap: 8px; }
[data-theme="dark"] .tmsg, [data-theme="dark"] .tpoll { background: #1F2125; color: #F3F4F1; }
.tmsg--me { justify-self: end; border-radius: 16px 16px 5px 16px; background: #E1FFC7; }
[data-theme="dark"] .tmsg--me { background: #2B5227; }
.tmsg--photo { padding: 6px; gap: 4px; }
.tmsg--photo small { padding: 0 6px 2px; font-size: 12px; color: #5E636B; }
[data-theme="dark"] .tmsg--photo small { color: #A3A8AF; }
.tphoto { width: 170px; height: 100px; border-radius: 12px; display: grid; place-items: center; background: repeating-linear-gradient(#FBF8EF 0 10px, #EDE8DA 10px 11px); color: #8A8676; }
.tphoto svg { width: 30px; height: 30px; }
.tbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tbtns i { font-style: normal; padding: 7px 6px; border-radius: 9px; background: rgba(94, 140, 201, .14); color: #3C73BC; font-size: 12.5px; font-weight: 600; text-align: center; }
.tpoll { max-width: 92%; padding: 12px; border-radius: 16px 16px 16px 5px; background: #fff; color: var(--on-lime); display: grid; gap: 7px; }
.tpoll small { font-size: 12px; color: #5E636B; }
.tpoll b { font-size: 14px; line-height: 1.35; }
.tpoll__o { position: relative; display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 9px; background: rgba(20, 21, 24, .05); font-size: 13px; font-weight: 600; overflow: hidden; }
[data-theme="dark"] .tpoll__o { background: rgba(255, 255, 255, .06); }
.tpoll__o i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgba(94, 140, 201, .2); }
.tpoll__o.is-right i { background: var(--lime); }
.tpoll__o.is-right { color: var(--on-lime); }
.tpoll__o span, .tpoll__o em { position: relative; font-style: normal; }

/* ---------- markazlar ---------- */
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 32px; }
.f { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.f svg { width: 22px; height: 22px; color: var(--accent-fg); flex: none; }
.dash { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dash__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash__head b { display: block; font: 700 17px/1.3 var(--f-head); }
.dash__head small { color: var(--muted); font-size: 13px; }
.dash__rate { font: 800 28px/1 var(--f-head); padding: 6px 10px; border-radius: 10px; background: var(--lime); color: var(--on-lime); }
.dash__row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin-top: 8px; font-weight: 600; font-size: 15px; }
.st { padding: 5px 11px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.st--ok { background: #E5F6EA; color: #13723A; }
.st--late { background: #FFF1CF; color: #8A5B00; }
.st--no { background: #FDE5E6; color: #B4262B; }
[data-theme="dark"] .st--ok { background: rgba(31, 168, 85, .16); color: #5FD68D; }
[data-theme="dark"] .st--late { background: rgba(230, 161, 0, .16); color: #F2C04D; }
[data-theme="dark"] .st--no { background: rgba(255, 107, 87, .16); color: #FF8A7A; }
.dash__sms { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #141518; color: var(--lime); font-size: 14px; font-weight: 600; }
[data-theme="dark"] .dash__sms { background: var(--lime-soft); }
.dash__sms svg { width: 20px; height: 20px; flex: none; }

/* ---------- tariflar ---------- */
.period { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.period button { border: 0; background: none; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); }
.period button em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--lime); color: var(--on-lime); margin-left: 4px; }
.period button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 22px; font-weight: 700; }
.plan__for { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan__price { margin: 24px 0 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 500; }
.plan__price b { font: 800 44px/1 var(--f-head); color: var(--text); letter-spacing: -.03em; }
.plan__yearly { font-size: 14px; color: var(--accent-fg); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan li svg { width: 20px; height: 20px; color: var(--accent-fg); flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.plan--pro { background: #141518; color: var(--dk-text); border-color: var(--on-lime); transform: translateY(-10px); box-shadow: 0 40px 70px -40px rgba(20, 21, 24, .7); }
[data-theme="dark"] .plan--pro { background: var(--surface-2); border: 1.5px solid var(--lime); }
.plan--pro .plan__for, .plan--pro .plan__price { color: var(--dk-muted); }
.plan--pro .plan__price b { color: #fff; }
.plan--pro .plan__yearly, .plan--pro li svg { color: var(--lime); }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-size: 12px; font-weight: 700; }
.plans__note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- savollar ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--lime-deep); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ico-bg); color: var(--lime); font: 600 20px/1 var(--f-body); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- cta ---------- */
.cta-band { padding: 0 0 clamp(72px, 9vw, 110px); background: var(--bg); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 60px); border-radius: 30px; background: var(--lime); color: var(--on-lime); }
.cta-band__in p { margin-top: 12px; font-size: 18px; font-weight: 500; color: #3D4A1A; }

/* ---------- footer ---------- */
.ftr { padding: 64px 0 28px; background: var(--dk); color: var(--dk-text); }
[data-theme="dark"] .ftr { background: #0E0F11; border-top: 1px solid var(--dk-line); }
.ftr .logo { color: #fff; --logo-tile: #26282D; }
.ftr .logo__word b { background: none; color: var(--lime); padding: 0; margin: 0; }
.ftr__in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.ftr__brand p { margin-top: 16px; max-width: 320px; color: var(--dk-muted); font-size: 15px; }
.ftr__col { display: grid; gap: 10px; align-content: start; }
.ftr__col b { color: #fff; font-size: 15px; margin-bottom: 4px; }
.ftr__col a { color: var(--dk-muted); font-size: 15px; }
.ftr__col a:hover { color: var(--lime); }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dk-line); color: var(--dk-muted); font-size: 14px; }
.ftr .lang { border-color: var(--dk-line); }
.ftr .lang button { color: var(--dk-muted); }
.ftr .lang button[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- moslashuv ---------- */
@media (max-width: 1120px) {
  .nav a { padding: 9px 9px; font-size: 14px; }
  .hdr__login { display: none; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 980px) {
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 10px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .burger { display: inline-flex; }
  .hero { padding-top: 116px; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .split, .faq { grid-template-columns: 1fr; gap: 44px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--pro { transform: none; }
  .flow { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  #natijalar .res, #markazlar .dash { order: 2; }
}
@media (max-width: 720px) {
  .stage { padding-right: 0; }
  .gphone { position: relative; right: auto; bottom: auto; margin: -40px 12px 0 auto; }
  .flow { margin-top: 56px; }
}
@media (max-width: 620px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .hdr__in { gap: 12px; }
  .hdr__tools { gap: 8px; }
  .hdr__cta { display: none; }
  .lang button { padding: 6px 8px; }
  .hero__title { font-size: 36px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 12px 22px; }
  .hero__facts b { font-size: 22px; }
  .editor__body { grid-template-columns: 1fr; padding: 16px; }
  .editor__src { display: none; }
  .editor__foot { padding: 12px 16px; }
  .editor__actions .mini-btn:first-child { display: none; }
  .strip { grid-template-columns: 1fr; gap: 12px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 11px 12px; font-size: 14px; }
  .panel { padding: 20px; border-radius: 20px; }
  .vis { padding: 16px; min-height: 0; }
  .vis--paste { grid-template-columns: 1fr; }
  .vis__arrow { justify-self: center; transform: rotate(90deg); }
  .types { gap: 12px; }
  .type { padding: 12px 12px 16px; }
  .type__vis { height: 112px; padding: 10px; font-size: 12px; }
  .type h3 { font-size: 15px; margin: 12px 2px 2px; }
  .type p { font-size: 13px; margin: 0 2px; }
  .mv-match { column-gap: 14px; }
  .mv-match span { padding: 6px 4px; font-size: 11px; }
  .mv-order .drag { transform: translateX(6px) rotate(-2deg); }
  .mv-fill p { font-size: 13px; }
  .mv-hand span { font-size: 23px; }
  .ai-rows li { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .ai-rows__tag { grid-column: 1 / -1; }
  .sheet { padding: 20px 18px 18px; transform: rotate(-1deg); }
  .sheet::before { left: 80px; }
  .ans { grid-template-columns: 56px 1fr 30px; gap: 10px; }
  .ans__hand { font-size: 22px; }
  .screen__top { flex-wrap: wrap; gap: 10px 14px; padding: 12px 14px; }
  .screen__pin b { font-size: 22px; }
  .screen__main { padding: 16px; }
  .gt { min-height: 50px; font-size: 14px; gap: 9px; padding: 8px 10px; }
  .gt i { width: 26px; height: 26px; font-size: 12px; }
  .chips li { font-size: 14px; padding: 9px 13px; }
  .res { padding: 16px; }
  .res__stats b { font-size: 19px; }
  .rrow { grid-template-columns: 30px minmax(0, 1fr) 54px; }
  .rbar { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .cta-band__in .btn { width: 100%; }
  .ftr__in { grid-template-columns: 1fr; }
  .ftr__bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .qc { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
