/* Uchqun AI — landing (A «Chaqmoq»). Ranglar logodan: binafsha chiziqlar, sariq chaqmoq va tugmalar; fon — chizma qog'ozi (to'r, halqalar).
   Harakat tili bitta: binafsha chiziq chapdan o'ngga chiziladi, so'zlar niqob ostidan ko'tariladi, holat o'zgarsa chaqmoq uradi.
   Tokenlar faqat shu yerda; pastdagi qoidalar var(--…) ishlatadi. Skriptsiz sahifa to'liq ko'rinadi (yashirish faqat html.js ostida). */
/* Shriftlar saytning o'zida turadi (lotin to'plami, o‘zbekcha ‘ ’ belgilari bilan) — tashqi xizmatga so'rov ketmaydi. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("inter.3100e775e8.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("inter-tight.77fefe8ca1.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "M PLUS Rounded 1c"; font-style: normal; font-weight: 800; font-display: swap; src: url("mplus-rounded-800.69a2ee93cd.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --tint: #f6f2ff;
  --tint-2: #ede6ff;
  --ink: #15101f;
  --ink-2: #544d66;
  --ink-3: #8a8499;
  --acc: #6f45f0;
  --acc-ink: #4f27c4;
  --acc-wash: #f3eeff;
  --acc-rgb: 111, 69, 240;
  --err: #e0283a;
  --err-ink: #c01f30;
  --err-wash: #fff3f4;
  --yellow: #ffd23f;
  --yellow-hi: #ffdc5e;
  --yellow-edge: #e3b300;
  --yellow-wash: #fff5cf;
  --zap-edge: #c98a00;
  --rule: #e8e3f2;
  --rule-2: #d4cde4;
  --well: #f7f5fb;
  --cell: #f0ecf8;
  --bar: #ded8ec;
  --back: #cfc7e2;
  --grid: rgba(var(--acc-rgb), 0.1);
  --grid-2: rgba(var(--acc-rgb), 0.055);
  --gsh: rgba(48, 20, 120, 0.22);
  --shade: rgba(28, 12, 70, 0.18);
  --btn-sh: rgba(160, 110, 0, 0.55);
  --pad: clamp(20px, 5.6vw, 80px);
  --max: 1280px;
  --nav-h: 68px;
  --r1: 8px;
  --r2: 12px;
  --r3: 18px;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-mark: "M PLUS Rounded 1c", "Inter", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Logo yozuvi (wordmark.js chizadi) ---------- */
.ws { display: inline-grid; line-height: 1; white-space: nowrap; }
.ws > span { grid-area: 1 / 1; white-space: nowrap; }
.wf > span, .wh { -webkit-background-clip: text; background-clip: text; color: transparent; }
.ff6 { font-family: var(--f-mark); font-weight: 800; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand .mk { width: 32px; height: 32px; flex: none; }
.brand .mk svg { width: 100%; height: 100%; }

/* ---------- Tugmalar ---------- */
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r2); font: 600 16px/1 var(--f-body); white-space: nowrap; transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background-color 0.16s; }
.btn { color: var(--ink); background: linear-gradient(var(--yellow-hi), var(--yellow)); box-shadow: inset 0 0 0 1px var(--yellow-edge), 0 1px 0 var(--shade); }
.btn-ghost { color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--acc); }
.btn.sm, .btn-ghost.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--yellow-edge), 0 8px 18px -8px var(--btn-sh); }
.btn-ghost:hover { background: var(--acc-wash); }
.btn:active, .btn-ghost:active { transform: translateY(0) scale(0.985); }
.btn[disabled] { cursor: default; opacity: 0.62; transform: none; box-shadow: inset 0 0 0 1px var(--yellow-edge); }
.zap { display: inline-block; flex: none; width: 12px; height: 18px; }
.zap svg { width: 100%; height: 100%; overflow: visible; }
.zap path, .mq-g path { fill: var(--yellow); stroke: var(--zap-edge); stroke-width: 7; stroke-linejoin: round; }

/* ---------- Nav: tagida binafsha ingichka chiziq (hero.js uni chapdan o'ngga chizadi) ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg-glass); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); transform: scaleX(var(--nav-p, 1)); transform-origin: 0 50%; }
.nav-in { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.16s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: none; }
html.js:not(.ready) .nav { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; isolation: isolate; background:
    radial-gradient(circle calc(var(--br, 480px) * 0.98) at var(--bx, 80%) var(--by, 46%), rgba(var(--acc-rgb), 0.24), rgba(var(--acc-rgb), 0.08) 58%, rgba(var(--acc-rgb), 0) 100%),
    radial-gradient(ellipse 60% 75% at 0% 100%, rgba(var(--acc-rgb), 0.1), rgba(var(--acc-rgb), 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--tint) 100%); }
.hero-bg, .hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-bg { z-index: -1; }
.hero-fx { z-index: 3; }
.hero-flash { position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) min(clamp(220px, 29vw, 392px), max(200px, calc((100svh - 240px) * 0.6526))); align-items: center; gap: clamp(16px, 3vw, 48px); min-height: min(calc(100svh - var(--nav-h) - 49px), 760px); padding-block: clamp(24px, 5vh, 64px); }
.hero-copy { min-width: 0; }
.h1 { font: 800 clamp(52px, 8.4vw, 120px)/0.9 var(--f-head); letter-spacing: -0.024em; }
.ln { display: block; overflow: hidden; padding: 0.04em 0.08em 0.16em 0.08em; margin: -0.04em 0 -0.16em -0.08em; }
.ln > span { display: inline-block; }
#nol { position: relative; z-index: 0; }
.hl { position: absolute; left: -0.07em; right: -0.09em; top: 0.1em; bottom: 0; z-index: -1; border-radius: var(--r1); background: var(--yellow); transform-origin: 0 50%; }
.lead { margin-top: clamp(20px, 3vw, 36px); max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.hero-art { position: relative; aspect-ratio: 372 / 570; }
.hero-bolt { position: absolute; inset: 0; perspective: 900px; }
#bolt { width: 100%; height: 100%; will-change: transform; }
.hero-shadow { position: absolute; left: 12%; right: 12%; bottom: -4%; height: 7%; background: radial-gradient(closest-side, var(--gsh), transparent); }
.hair { display: block; height: 1px; background: var(--acc); transform-origin: 0 50%; }
.mq-band { background: var(--bg-glass); }
.mq { display: flex; align-items: center; height: 47px; overflow: hidden; }
.mq-t { display: flex; width: max-content; will-change: transform; }
.mq-g { display: inline-flex; align-items: center; flex: none; }
.mq-g span { padding: 0 22px; font: 600 15px/1 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.mq-g svg { flex: none; width: 11px; height: 17px; overflow: visible; }
html.js:not(.ready) .hero :is(.h1, .lead, .cta, .hero-art, .mq-band) { visibility: hidden; }
/* Butun oyna ustidagi chaqmoq qatlami (fx.js): bo'limlardagi bir martalik urishlar */
.gfx { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Bo'limlar: tepada binafsha chiziq chiziladi, sarlavha so'zlari niqob ostidan chiqadi ---------- */
/* Fon ikki xil, navbat bilan: oq bo'limda burchakdan halqa to'lqinlari va yorug'lik; och-binafsha bo'limda (.tint) chizma to'ri.
   --cx/--cy — halqalar markazi; --base — bo'limning asosiy rangi (halqalar chetda shu rangga so'nadi). */
.sec { --base: var(--bg); --cx: 100%; --cy: 0%; --rr: clamp(420px, 56vw, 820px);
  position: relative; padding: clamp(72px, 10vw, 144px) 0; scroll-margin-top: var(--nav-h); overflow-x: clip;
  background:
    radial-gradient(circle var(--rr) at var(--cx) var(--cy), rgba(var(--acc-rgb), 0.13), rgba(var(--acc-rgb), 0) 100%),
    radial-gradient(circle var(--rr) at var(--cx) var(--cy), rgba(255, 255, 255, 0) 30%, var(--base) 100%),
    repeating-radial-gradient(circle at var(--cx) var(--cy), rgba(var(--acc-rgb), 0) 0 95px, rgba(var(--acc-rgb), 0.2) 95px 96px),
    var(--base); }
.sec.tint { --base: var(--tint);
  background:
    radial-gradient(ellipse 46% 60% at var(--cx) var(--cy), rgba(255, 210, 63, 0.2), rgba(255, 210, 63, 0) 72%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 16px / 136px 136px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 16px 0 / 136px 136px,
    linear-gradient(var(--grid-2) 1px, transparent 1px) 0 16px / 34px 34px,
    linear-gradient(90deg, var(--grid-2) 1px, transparent 1px) 16px 0 / 34px 34px,
    linear-gradient(180deg, var(--tint), var(--tint-2)); }
/* Qadamlar bo'limi baland (oyna yopishib turadi) — burchak halqasi ko'rinmay qolardi, shuning uchun butun bo'yiga nuqtali to'r. */
#qadamlar { background:
    radial-gradient(circle var(--rr) at 100% 0%, rgba(var(--acc-rgb), 0.13), rgba(var(--acc-rgb), 0) 100%),
    radial-gradient(circle var(--rr) at 0% 100%, rgba(255, 210, 63, 0.16), rgba(255, 210, 63, 0) 100%),
    radial-gradient(circle at 2px 2px, rgba(var(--acc-rgb), 0.24) 1.2px, rgba(var(--acc-rgb), 0) 1.9px) 14px 14px / 34px 34px,
    var(--bg); }
/* Savollar: to'r faqat sarlavha tagidagi bo'sh chap tomonda — o'ngdagi savol chiziqlari bilan aralashmaydi. */
#savollar { --fade: linear-gradient(90deg, rgba(246, 242, 255, 0) 24%, var(--tint) 44%); background:
    radial-gradient(ellipse 46% 60% at 0% 0%, rgba(255, 210, 63, 0.2), rgba(255, 210, 63, 0) 72%),
    var(--fade),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 16px / 136px 136px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 16px 0 / 136px 136px,
    linear-gradient(var(--grid-2) 1px, transparent 1px) 0 16px / 34px 34px,
    linear-gradient(90deg, var(--grid-2) 1px, transparent 1px) 16px 0 / 34px 34px,
    var(--tint); }
#ariza { --cx: 74%; --cy: 52%; --rr: clamp(420px, 50vw, 760px); }
#sohalar { --cx: 100%; --cy: 100%; }
.sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--acc); }
#farqi::before { display: none; }
html.js .sec::before { transform: scaleX(0); transform-origin: 0 50%; }
html.js .sec.in::before { transform: none; transition: transform 1.1s var(--ease-out); }
.h2 { position: relative; z-index: 0; font: 800 clamp(34px, 5.4vw, 76px)/1 var(--f-head); letter-spacing: -0.02em; text-wrap: balance; }
.wo { position: relative; display: inline-block; }
.w { display: inline-block; clip-path: inset(-0.14em -0.08em -0.14em -0.08em); }
.wi { display: inline-block; }
html.js .h2 .wi { transform: translateY(130%); }
html.js .sec.in .h2 .wi { transform: none; transition: transform 0.9s var(--ease-out) calc(var(--i) * 45ms); }
html.js .sec .fade { opacity: 0; }
html.js .sec.in .fade { opacity: 1; transition: opacity 0.8s var(--ease-out) 0.25s; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; }
.sec-h p { max-width: 34em; color: var(--ink-2); }
.sub { margin-top: 24px; max-width: 36em; color: var(--ink-2); }

/* ---------- Farqi: eski gap binafsha chiziq bilan o'chiriladi, jadval qatorlariga chaqmoq uradi ---------- */
.duel { font-size: clamp(30px, 4.4vw, 62px); letter-spacing: -0.01em; }
.duel .old, .duel .new { display: block; }
.duel .new { margin-top: 0.12em; }
.duel .old { color: var(--ink-3); }
.old .wo::after { content: ""; position: absolute; left: -0.04em; right: -0.22em; top: 54%; height: max(2px, 0.035em); background: var(--acc); transform-origin: 0 50%; }
.old .wo:last-child::after { right: 0; }
html.js .old .wo::after { transform: scaleX(0); }
html.js .sec.in .old .wo::after { transform: none; transition: transform 0.35s var(--ease) calc(700ms + var(--i) * 110ms); }
.cmp { margin-top: clamp(40px, 6vw, 80px); }
.cmp-head, .cmp-r { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 clamp(20px, 3vw, 48px); }
.cmp-head { padding-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.cmp-head .us { font-weight: 700; color: var(--ink); }
.cmp-r { position: relative; align-items: baseline; padding: clamp(20px, 2.6vw, 32px) 0; }
.cmp-r::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-2); transform-origin: 0 50%; }
.cmp-r:last-child { border-bottom: 1px solid var(--rule-2); }
.cmp-k { font: 800 clamp(20px, 2vw, 26px)/1.15 var(--f-head); letter-spacing: -0.005em; }
.cmp-a { color: var(--ink-2); }
.cmp-b { display: flex; align-items: baseline; gap: 12px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.35; }
.cmp-b .zap { width: 14px; height: 21px; transform-origin: 50% 60%; }
html.js .cmp-r::before { transform: scaleX(0); }
html.js .cmp-r.in::before { transform: none; transition: transform 0.9s var(--ease-out); }
html.js .cmp-r > * { opacity: 0; }
html.js .cmp-r.in > * { opacity: 1; transition: opacity 0.6s var(--ease-out) 0.1s; }
html.js .cmp-r.in > .cmp-a { transition-delay: 0.2s; }
html.js .cmp-r.in > .cmp-b { transition-delay: 0.35s; }
html.js .cmp-r .zap { transform: scale(0) rotate(-30deg); }
html.js .cmp-r.in .zap { transform: none; transition: transform 0.5s var(--ease-pop) 0.45s; }

/* ---------- Nima quramiz: soha tanlanadi, o'ngda dastur qatlam-qatlam yig'iladi ---------- */
.tabs { position: relative; display: flex; gap: 4px; margin-top: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--rule-2); }
.tab { min-height: 52px; padding: 0 20px; border: 0; background: none; font: 600 17px/1 var(--f-body); color: var(--ink-2); white-space: nowrap; transition: color 0.16s; }
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tab-ind { position: absolute; left: 0; bottom: -1px; width: 1px; height: 2px; background: var(--acc); transform-origin: 0 50%; transform: translateX(var(--ix, 0px)) scaleX(var(--iw, 0)); transition: transform 0.45s var(--ease-out); }
.soha { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.panes { padding-top: clamp(0px, 4vw, 56px); }
.pane h3 { font: 800 clamp(26px, 2.8vw, 38px)/1.1 var(--f-head); letter-spacing: -0.008em; text-wrap: balance; }
.pane-p { margin-top: 12px; max-width: 26em; color: var(--ink-2); }
.pts { display: grid; gap: 14px; margin: 28px 0 32px; }
.pts li { display: flex; align-items: baseline; gap: 12px; }
@keyframes pane-in { from { opacity: 0; } to { opacity: 1; } }
html.js .pane:not([hidden]) { animation: pane-in 0.4s var(--ease-out); }
.lay-fig { min-width: 0; }
.lay-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); text-align: center; }
.lay { position: relative; width: 100%; }
/* Sahna (layers.js): 600×740 (tor ekranda 420×740) o'lchamda quriladi va konteynerga qarab kichrayadi */
.lay .lay-st { position: absolute; left: 50%; top: 0; transform-origin: 50% 0; }
.lay .scene { position: absolute; inset: 0; perspective: 1900px; perspective-origin: var(--ox) 45%; }
.lay .iso { position: absolute; left: var(--ox); top: 580px; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.lay .floor { position: absolute; left: -320px; top: -320px; width: 640px; height: 640px; transform: translateZ(-26px); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); }
.lay .ring { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border: 1.5px solid var(--acc); border-radius: 50%; transform: translateZ(-24px) scale(0); opacity: 0; }
.lay .gsh { position: absolute; left: -170px; top: -118px; width: 340px; height: 236px; border-radius: 30px; background: var(--gsh); filter: blur(22px); transform: translateZ(-25px); }
.lay .mk0 { position: absolute; left: 0; top: 0; width: 0; height: 0; }
/* Qatlam: shaffoflik opacity bilan emas, --o bilan (opacity 3D ni tekislab, orqa qatlamni oldinga chiqaradi) */
.lay .pl { position: absolute; left: -150px; top: -100px; width: 300px; height: 200px; padding: 13px 16px; border: 1px solid rgba(21, 17, 15, calc(0.18 * var(--o, 1))); border-radius: 16px; background: rgba(255, 255, 255, var(--o, 1)); font-size: 13px; line-height: 1.3; transform-style: preserve-3d; will-change: transform; }
.lay .pl::before { content: ""; position: absolute; inset: -1px; border-radius: 16px; background: var(--back); transform: translateZ(-8px); opacity: var(--o, 1); }
.lay .pin { position: absolute; right: 0; bottom: 0; width: 0; height: 0; }
.lay .lb { will-change: transform; }
.lay .pt { display: flex; align-items: baseline; justify-content: space-between; height: 22px; }
.lay .pt b { font: 800 17px/1 var(--f-head); letter-spacing: -0.01em; }
.lay .pt em { font: 500 12px/1 var(--f-body); font-style: normal; color: var(--ink-2); }
.lay .cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 12px; transform-style: preserve-3d; }
.lay .cell { position: relative; height: 62px; overflow: hidden; border-radius: 7px; background: var(--cell); box-shadow: inset 0 0 0 1px var(--grid); }
.lay .cell i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--yellow); box-shadow: inset 0 1px 0 var(--yellow-edge); }
.lay .cell.low { box-shadow: inset 0 0 0 1.5px var(--err); }
.lay .rows { display: grid; gap: 8px; margin-top: 10px; transform-style: preserve-3d; }
.lay .row { display: flex; align-items: center; justify-content: space-between; height: 20px; font: 600 13px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.lay .row em { font-style: normal; }
.lay .tot { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--rule); }
.lay .tot span { font: 500 12px/1 var(--f-body); color: var(--ink-2); }
.lay .tot b { margin-right: auto; font: 800 22px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.lay .tot u { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 34px; border-radius: 9px; background: linear-gradient(var(--yellow-hi), var(--yellow)); box-shadow: inset 0 0 0 1px var(--yellow-edge); font: 600 13px/1 var(--f-body); text-decoration: none; }
.lay .tot u.ok { background: var(--ink); box-shadow: none; color: var(--bg); }
.lay .big { margin-top: 8px; font: 800 30px/1 var(--f-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lay .big small { margin-left: 6px; font: 500 12px/1 var(--f-body); letter-spacing: 0; color: var(--ink-2); }
.lay .bars { display: flex; align-items: flex-end; gap: 9px; height: 96px; margin-top: 8px; transform-style: preserve-3d; }
.lay .bars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--bar); }
.lay .bars i:last-child { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow-edge); }
/* «Boshqa soha»: bo'sh qolip — qatlamlar punktir, ichida savol */
.lay.ghost .pl { border: 1px dashed rgba(var(--acc-rgb), var(--o, 1)); }
.lay.ghost .pl::before { display: none; }
.lay .gq { margin-top: 14px; font: 600 16px/1.3 var(--f-body); color: var(--ink-2); }
.lay .gls { display: grid; gap: 10px; margin-top: 18px; transform-style: preserve-3d; }
.lay .gls i { height: 18px; border: 1px dashed var(--rule-2); border-radius: 6px; }
.lay .gls i:nth-child(2) { width: 72%; }
.lay .gls i:nth-child(3) { width: 46%; }
.lay .lbolt { position: absolute; left: 0; top: 0; z-index: 6; width: 200px; height: 306px; perspective: 900px; will-change: transform; }
.lay .lbolt-in { width: 100%; height: 100%; }
.lay .tag { position: absolute; left: 460px; top: 0; z-index: 7; width: 130px; will-change: transform; }
.lay .tag b { display: block; font: 800 16px/1.15 var(--f-head); }
.lay .tag span { display: block; font: 400 13px/1.3 var(--f-body); color: var(--ink-2); }
.lay .lfx { position: absolute; left: 0; top: 0; z-index: 8; pointer-events: none; }
.lay.compact .tag { display: none; }

/* ---------- Qanday ishlaymiz: sahifa aylanganda chapdagi oynada dastur bosqichma-bosqich quriladi ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 5vw, 64px); }
.how-art { position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50vh - 240px)); }
.how-win { overflow: hidden; border: 1px solid var(--rule-2); border-radius: var(--r3); background: var(--bg); box-shadow: 0 24px 48px -32px var(--shade); }
.how-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--rule); }
.how-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-2); }
.how-bar b { margin-left: 10px; font: 600 13px/1 var(--f-body); color: var(--ink-2); }
#hw-box svg { display: block; width: 100%; height: auto; }
.hw text { font-family: var(--f-body); font-variant-numeric: tabular-nums; fill: var(--ink); }
.hw .hd { font-family: var(--f-head); font-weight: 800; }
.hw .mut { fill: var(--ink-2); }
.hw-q rect { fill: var(--well); stroke: var(--rule-2); }
.hw-a rect { fill: var(--yellow-wash); stroke: var(--yellow-edge); }
.hw-wire { fill: none; stroke: var(--acc); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.hw-dr { stroke-dasharray: 1; }
.gr { transform-box: fill-box; transform-origin: 50% 100%; }
.hw-side { fill: var(--well); }
.hw-rule { stroke: var(--rule); }
.hw-pill { fill: none; }
.hw-pill.on { fill: var(--bg); stroke: var(--rule-2); }
.hw-pill.new { fill: var(--yellow-wash); stroke: var(--yellow-edge); }
.hw-card { fill: var(--bg); stroke: var(--rule-2); }
.hw-bar { fill: var(--bar); }
.hw-bar.hi { fill: var(--yellow); stroke: var(--yellow-edge); }
.hw-sk { fill: var(--rule); }
.hw-chip { fill: var(--yellow-wash); stroke: var(--yellow-edge); }
.steps-w { position: relative; }
.steps-line { position: absolute; left: 22px; top: 0; width: 1px; height: 0; background: var(--rule-2); }
.steps-line i { position: absolute; inset: 0; background: var(--acc); transform: scaleY(var(--p, 1)); transform-origin: 50% 0; }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; min-height: clamp(200px, 34vh, 320px); padding-bottom: 32px; }
.step:last-child { min-height: 0; padding-bottom: 0; }
.nd { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 50%; background: var(--bg); font: 800 17px/1 var(--f-head); transition: background-color 0.3s, border-color 0.3s; }
.step.on .nd { border-color: var(--yellow-edge); background: var(--yellow); }
.step h3 { margin-top: 6px; font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--f-head); letter-spacing: -0.008em; transition: color 0.3s; }
.step p { margin-top: 10px; max-width: 26em; color: var(--ink-2); }
html.js .step:not(.on) h3 { color: var(--ink-3); }

/* ---------- Savollar ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-in .h2 { position: sticky; top: calc(var(--nav-h) + 32px); font-size: clamp(34px, 4.4vw, 60px); }
.qa { border-top: 1px solid var(--rule-2); }
.qa:last-child { border-bottom: 1px solid var(--rule-2); }
.q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 72px; padding: 14px 0; border: 0; background: none; text-align: left; font: 700 clamp(18px, 1.7vw, 22px)/1.25 var(--f-head); }
.q i { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--acc); transition: transform 0.35s var(--ease-out), background-color 0.2s; }
.q i::before, .q i::after { content: ""; position: absolute; left: 14px; top: 21.5px; width: 16px; height: 1px; background: var(--acc); }
.q i::after { transform: rotate(90deg); }
.q:hover i { background: var(--acc-wash); }
.q[aria-expanded="true"] i { background: var(--acc-wash); transform: rotate(45deg); }
.a { display: grid; grid-template-rows: 1fr; }
.a-in { min-height: 0; overflow: hidden; }
html.js .a { grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
html.js .qa.open .a { grid-template-rows: 1fr; }
html.js .qa:not(.open) .a-in { visibility: hidden; transition: visibility 0s 0.45s; }
html.js .qa.open .a-in { visibility: visible; transition: none; }
.a p { max-width: 40em; padding: 0 64px 24px 0; color: var(--ink-2); }

/* ---------- Ariza ---------- */
.apply { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.apply-copy p { margin-top: 20px; max-width: 28em; color: var(--ink-2); }
.apply-next { display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.apply-next li { display: flex; gap: 12px; color: var(--ink-2); }
.apply-next .zap { margin-top: 4px; }
.call { display: grid; justify-items: start; gap: 4px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.call h3 { margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.tel { display: inline-flex; align-items: center; min-height: 44px; font: 800 clamp(24px, 2.4vw, 30px)/1 var(--f-head); letter-spacing: -0.005em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-edge); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: color 0.16s, text-decoration-color 0.16s; }
.tel:hover { color: var(--acc-ink); text-decoration-color: var(--acc); }
.box { position: relative; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--acc); border-radius: var(--r3); background: var(--bg); box-shadow: 0 32px 64px -40px rgba(var(--acc-rgb), 0.55); }
.frm { display: grid; gap: 20px; }
.fld { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld > label, .fld > legend { padding: 0; font-size: 15px; font-weight: 600; }
.fld legend { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--ink-2); }
.inp { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: var(--r2); background: var(--bg); font-size: 16px; transition: border-color 0.16s, box-shadow 0.16s; }
textarea.inp { min-height: 104px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.inp::placeholder { color: var(--ink-3); }
.inp:hover { border-color: var(--ink-3); }
.inp:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow-wash); }
.inp-row { display: flex; align-items: stretch; }
.inp-row .pre { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--rule-2); border-right: 0; border-radius: var(--r2) 0 0 var(--r2); background: var(--well); font-size: 16px; color: var(--ink-2); }
.inp-row .inp { min-width: 0; border-radius: 0 var(--r2) var(--r2) 0; }
.fld.bad .inp, .fld.bad .pre { border-color: var(--err); }
.fld-e { display: none; font-size: 14px; color: var(--err-ink); }
.fld.bad .fld-e { display: block; }
.fld-n { display: flex; justify-content: flex-end; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color 0.16s, color 0.16s, background-color 0.16s; }
.pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pick label:hover { border-color: var(--ink-3); color: var(--ink); }
.pick label:has(input:checked) { border-color: var(--yellow-edge); background: var(--yellow-wash); color: var(--ink); font-weight: 600; }
.pick label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.frm-e { display: none; padding: 12px 16px; border: 1px solid var(--err); border-radius: var(--r2); background: var(--err-wash); font-size: 15px; color: var(--err-ink); }
.frm-e.on { display: block; }
.frm-e a { font-weight: 700; white-space: nowrap; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.frm .btn { width: 100%; }
.frm-p { margin-top: -8px; font-size: 13px; color: var(--ink-2); }
/* Tuzoq maydoni: odam ko'rmaydi va to'ldirmaydi, avtomat to'ldirsa ariza hisobga olinmaydi */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp label, .hp input { display: block; width: 1px; height: 1px; padding: 0; border: 0; }
.done { display: grid; justify-items: start; gap: 16px; padding: 12px 0; }
.done:focus { outline: none; }
.done-mk { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow-edge); }
.done-mk svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font: 800 28px/1.15 var(--f-head); letter-spacing: -0.005em; }
.done p { color: var(--ink-2); }
@keyframes pop { 0% { transform: scale(0) rotate(-20deg); } 70% { transform: scale(1.12); } 100% { transform: none; } }
.done:not([hidden]) .done-mk { animation: pop 0.5s var(--ease-out); }

/* ---------- Pastki qism: katta logo ---------- */
.foot { position: relative; padding: clamp(48px, 7vw, 96px) 0 32px; border-top: 1px solid var(--acc); overflow: hidden;
  background:
    radial-gradient(ellipse 50% 90% at 100% 100%, rgba(var(--acc-rgb), 0.16), rgba(var(--acc-rgb), 0) 70%),
    linear-gradient(var(--grid-2) 1px, transparent 1px) 0 16px / 34px 34px,
    linear-gradient(90deg, var(--grid-2) 1px, transparent 1px) 16px 0 / 34px 34px,
    linear-gradient(180deg, var(--tint), var(--tint-2)); }
.foot-brand { gap: clamp(10px, 1.6vw, 24px); min-height: 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(32px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--rule); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-left: -12px; }
.foot-tel { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-tel a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.foot-tel a:hover { color: var(--acc-ink); }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; color: var(--ink-2); transition: color 0.16s; }
.foot nav a:hover { color: var(--ink); }
.foot small { font-size: 14px; color: var(--ink-2); }

/* ---------- Tor ekran ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; gap: 12px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-block: 16px 32px; }
  .hero-art { order: -1; justify-self: end; width: min(36vw, 170px); }
  .hero-shadow { display: none; }
  .h1 { font-size: min(13vw, 76px); }
  .cta .btn, .cta .btn-ghost { flex: 1 1 200px; }
  .sec-h, .faq-in, .apply, .soha, .how { grid-template-columns: minmax(0, 1fr); }
  .cmp-head { display: none; }
  .cmp-r { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cmp-a::before, .cmp-b-t::before { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
  .cmp-a::before { content: "Qutidagi tayyor dastur"; }
  .cmp-b-t::before { content: "Uchqun AI"; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 0; }
  .tab { min-height: 48px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 99px; font-size: 15px; }
  .tab[aria-selected="true"] { border-color: var(--yellow-edge); background: var(--yellow-wash); }
  .tab-ind { display: none; }
  .panes { padding-top: 0; }
  .pane .btn-ghost, .apply .btn-ghost { width: 100%; padding: 12px 18px; line-height: 1.3; text-align: center; white-space: normal; }
  .how { gap: 24px; }
  #qadamlar { background: var(--bg); }
  #savollar { --fade: none; }
  .how-art { top: var(--nav-h); z-index: 2; padding: 12px 0 16px; background: var(--bg); }
  .how-win { box-shadow: none; }
  .step { min-height: 30vh; }
  .faq-in .h2 { position: static; }
  .a p { padding-right: 0; }
  .foot nav { width: 100%; }
}
@media (max-width: 400px) {
  .nav-in { gap: 8px; }
  .nav .btn.sm { padding: 0 12px; font-size: 14px; }
}

/* ---------- Harakat o'chiq: sinov kadrlari va «kamroq harakat» sozlamasi ---------- */
html.fx-off *, html.fx-off *::before, html.fx-off *::after { animation: none !important; transition: none !important; }
html.fx-off { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
