/* Me'morBIM - umumiy uslublar (2026-11, 2-tahrir).
   Qora hero + oq yirik sarlavhalar, yashil nuqtali "pill" yorliqlar, och bo'limlar to'r chiziqlari bilan.
   Shrift shkalasi (px): 14 · 16 · 18 · 21 · 28 · 40 · 64 · 84 (logo va telefon raqami bundan mustasno). */

/* Manrope - saytning o'zidan (Google'ga so'rov yo'q) */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  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 {
  --bk: #07080b;
  --bk2: #0f1116;
  --bd: rgba(255, 255, 255, .1);
  --bd2: rgba(255, 255, 255, .18);
  --lt: #f4f4f2;
  --ink: #0b0c0f;
  --mut: #5f636c;
  --mutd: rgba(255, 255, 255, .64);
  --grn: #2fc4cc;
  --grn-d: #137f88;
  --warn: #8a5a00;
  --grid: #dcdcd8;
  --line-l: #e2e2dd;
  --max: 1280px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* shrift shkalasi */
  --f14: 14px; --f16: 16px; --f18: 18px; --f21: 21px; --f28: 28px;
  --f40: clamp(30px, 3.2vw, 40px);
  --f64: clamp(36px, 4.4vw, 64px);
  --f84: clamp(44px, 5.4vw, 84px);
  --sec: 140px;
  /* Mavzu: qorong'i (standart). Qora bo'limlar shu o'zgaruvchilardan foydalanadi; och bo'limlar (.light) ikkala mavzuda och. */
  --fg: #fff;
  --fg-m: rgba(255, 255, 255, .42);
  --fg-45: rgba(255, 255, 255, .45);
  --fg-35: rgba(255, 255, 255, .35);
  --nav-bg: rgba(7, 8, 11, .88);
  --hov: rgba(255, 255, 255, .08);
  --hov2: rgba(255, 255, 255, .04);
  --grn-t: #2fc4cc;
  --hero-glow: #1b1f2a;
  --btnw-bg: #fff; --btnw-fg: #0b0c0f;
  --lg-ink: #fff; --lg-dome: #2fc4cc; --lg-fin: #5cc96b;
  color-scheme: dark;
}
/* Yorug' mavzu: html[data-theme="light"] (head'dagi skript sahifa chizilishidan oldin qo'yadi). Urg'u matni to'q firuza #137f88 (WCAG AA). */
html[data-theme="light"] {
  --bk: #ffffff;
  --bk2: #f1f3f6;
  --bd: rgba(11, 12, 15, .1);
  --bd2: rgba(11, 12, 15, .18);
  --mutd: #5f636c;
  --fg: #0b0c0f;
  --fg-m: rgba(11, 12, 15, .38);
  --fg-45: rgba(11, 12, 15, .55);
  --fg-35: rgba(11, 12, 15, .42);
  --nav-bg: rgba(255, 255, 255, .9);
  --hov: rgba(11, 12, 15, .05);
  --hov2: rgba(11, 12, 15, .03);
  --grn-t: #137f88;
  --hero-glow: #e3f2f4;
  --btnw-bg: #0b0c0f; --btnw-fg: #fff;
  --lg-ink: #0f3d68; --lg-dome: #1a9aa5; --lg-fin: #5cc96b;
  color-scheme: light;
}
/* Doim qora "orolchalar" (aloqa formasi, plagin oynalari, video joyi): mavzuga qaramaydi */
.fm, .mock, .sample, .demo, .photo {
  --bd: rgba(255, 255, 255, .1); --bd2: rgba(255, 255, 255, .18); --mutd: rgba(255, 255, 255, .64);
  --fg: #fff; --grn-t: #2fc4cc; --btnw-bg: #fff; --btnw-fg: #0b0c0f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: var(--f18); line-height: 1.6; color: var(--fg); background: var(--bk); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; position: relative; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--grn-t); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }

/* ---------------------------------------------------------------- NAV */
.site-nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-nav.solid { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--bd); }
.site-nav .wrap { display: flex; align-items: center; height: 84px; gap: 44px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--fg); white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo .bim { color: var(--grn-t); }
.wm { display: block; height: 19px; width: auto; flex: none; }
.logo svg.wm { width: auto; height: 19px; }
@media (max-width: 400px) { .site-nav .wrap { padding: 0 14px; gap: 10px; } .site-nav .nb { gap: 8px; } }
@media (max-width: 700px) { .logo svg.wm { height: 15px; } .site-nav .logo { gap: 8px; } .site-nav .logo svg:not(.wm) { width: 30px; height: 30px; } } .wm-a { fill: var(--lg-ink); } .wm-b { fill: var(--lg-dome); }
.lg-ink { stroke: var(--lg-ink); } .lg-dome { stroke: var(--lg-dome); } .lg-fin { fill: var(--lg-fin); }
.menu { display: flex; gap: 32px; font-size: var(--f16); font-weight: 500; color: var(--mutd); }
.menu a { transition: color .2s; }
.menu a:hover, .menu a.active { color: var(--fg); }
.nb { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.lng { font-size: var(--f14); color: var(--mutd); display: flex; gap: 6px; }
.lng a:hover { color: var(--fg); }
.lng a.on { color: var(--fg); font-weight: 700; }
/* Kabinetga kirish havolasi (sarlavhada, hamma sahifada) */
.acc-lnk { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--bd2); border-radius: 10px; font-size: var(--f14); font-weight: 700; color: var(--mutd); white-space: nowrap; max-width: 180px; transition: color .2s, background .2s; }
.acc-lnk span { overflow: hidden; text-overflow: ellipsis; }
.acc-lnk:hover { color: var(--fg); background: var(--hov); }
.acc-lnk.in { color: var(--fg); }
.acc-lnk svg { width: 18px; height: 18px; flex: none; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--bd2); border-radius: 10px; background: transparent; color: var(--fg); cursor: pointer; place-items: center; }

/* ---------------------------------------------------------------- BUTTONS, PILLS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 10px; font-size: var(--f16); font-weight: 700; border: 1px solid var(--bd2); transition: transform .3s, box-shadow .3s, background .3s; cursor: pointer; background: transparent; color: inherit; white-space: nowrap; }
.btn.w { background: var(--btnw-bg); color: var(--btnw-fg); border-color: var(--btnw-bg); }
.btn.w:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, .15); }
.btn.g:hover { background: var(--hov); }
.btn.k { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.k:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.light .btn.g { border-color: #cfcfca; }
.light .btn.g:hover { background: #fff; }
.btn.sm { height: 44px; padding: 0 20px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--bd2); border-radius: 99px; font-size: var(--f14); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--hov2); }
.pill:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 10px var(--grn); }
.light .pill { border-color: #cfcfca; background: #fff; color: var(--ink); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--bd2); border-radius: 8px; font-size: var(--f14); font-weight: 600; color: var(--mutd); }
.light .chip { border-color: #d6d6d0; color: var(--mut); background: #fff; }
.st2 { display: inline-block; width: max-content; font-size: var(--f14); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 12px; border-radius: 99px; background: #fff3d6; color: var(--warn); }
.st2.ok { background: #dcf7e7; color: var(--grn-d); }
.st2.vid { background: #eef0f3; color: #33363d; }

/* ---------------------------------------------------------------- TYPE */
h1 { font-size: var(--f84); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 24px 0; text-wrap: balance; }
h1 .m, h2 .m { color: var(--fg-m); }
h2 { font-size: var(--f64); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin: 24px 0 20px; text-wrap: balance; }
.light h2 .m { color: #a3a39d; }
h3 { font-size: var(--f28); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: var(--f21); color: var(--mutd); max-width: 580px; margin-bottom: 36px; }
.light .lead { color: var(--mut); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.rise { opacity: 0; transform: translateY(30px); animation: rise 1s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.rv { opacity: 0; transform: translateY(44px); transition: opacity 1s, transform 1s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- SECTIONS */
section { padding: var(--sec) 0; position: relative; }
.light { background: var(--lt); color: var(--ink); }
.light + .light { padding-top: 0; }
.light .gridbg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); }
.plus { position: absolute; width: 18px; height: 18px; color: #9a9a94; }
.plus:before, .plus:after { content: ""; position: absolute; background: currentColor; }
.plus:before { left: 8px; top: 0; width: 2px; height: 18px; }
.plus:after { top: 8px; left: 0; height: 2px; width: 18px; }
.hd { text-align: center; max-width: 860px; margin: 0 auto 72px; }
.hd.l { text-align: left; margin-left: 0; }
.hd p { font-size: var(--f21); color: var(--mutd); }
.light .hd p { color: var(--mut); }
.hd-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.hd-row .hd { margin-bottom: 0; }
.hd-row > p { max-width: 420px; font-size: var(--f18); color: var(--mutd); }

/* ---------------------------------------------------------------- HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 112px 0 0;
  background: radial-gradient(900px 600px at 78% 40%, var(--hero-glow) 0%, transparent 70%), var(--bk); }
.hero > .wrap { width: 100%; flex: 1; display: flex; flex-direction: column; }
.hero-g { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; width: 100%; padding-bottom: 56px; }
.hero.sub > .wrap { display: block; }
.hero .lead { margin-bottom: 36px; }
.hero.sub { min-height: 0; padding: 190px 0 110px; }
.hero.sub h1, .hero h1.tl { font-size: var(--f64); }
#iso { width: 100%; aspect-ratio: 1/1; max-height: 600px; display: block; }
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--bd); }
.dirs a { padding: 28px 0 32px; display: flex; flex-direction: column; gap: 2px; }
.dirs a + a { padding-left: 40px; border-left: 1px solid var(--bd); }
.dirs b { font-size: var(--f21); font-weight: 800; letter-spacing: -.01em; transition: color .3s; }
.dirs span { font-size: var(--f16); color: var(--mutd); }
.dirs a:hover b { color: var(--grn-t); }

/* ---------------------------------------------------------------- CARDS (light) */
.cat { background: #fff; border: 1px solid var(--line-l); border-radius: 16px; padding: 28px; transition: transform .4s, box-shadow .4s, border-color .4s; display: flex; flex-direction: column; color: var(--ink); }
a.cat:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .08); border-color: #bdbdb6; }
.cat h3 { margin: 4px 0 10px; }
.cat > span, .cat p { font-size: var(--f18); line-height: 1.55; color: var(--mut); }
.cat .ill { position: relative; overflow: hidden; height: 260px; margin-bottom: 24px; border-radius: 10px;
  background: linear-gradient(#ececE8 1px, transparent 1px), linear-gradient(90deg, #ececE8 1px, transparent 1px); background-size: 20px 20px; }
.cat .ill canvas { width: 100%; height: 100%; display: block; }
.more2 { margin-top: auto; padding-top: 20px; font-size: var(--f16); color: var(--grn-d); }
.dir3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: var(--f14); font-weight: 700; letter-spacing: .04em; background: #fff; border: 1px solid var(--line-l); border-radius: 99px; padding: 3px 12px; color: var(--ink); }
.phase:empty { display: none; }
.replay { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-l); background: #fff; color: var(--ink); display: none; place-items: center; cursor: pointer; }
.replay.on { display: grid; }
.replay svg { width: 16px; height: 16px; }
.stk { position: absolute; inset: 0; overflow: hidden; border-radius: 10px; }
.stk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 55%; }
.stk .cly { opacity: 0; }
.scl { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--grn); box-shadow: 0 0 18px 4px rgba(47, 196, 204, .45); display: none; }

/* instrument kartalari */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool .ti { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 24px; }
.tool .ti .icon { width: 28px; height: 28px; }
.tool.off .ti { background: #e9e9e4; color: #8a8a84; }
.tool h3 { font-size: var(--f21); }
.tool p { font-size: var(--f16); margin-bottom: 20px; }
.tool .st2 { margin-top: auto; }

/* ---------------------------------------------------------------- PORTFOLIO (dark) */
.works { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.work { position: relative; border-radius: 16px; overflow: hidden; background: var(--bk2); border: 1px solid var(--bd); display: block; }
.work:first-child { grid-row: span 2; }
.work .pic { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.work:first-child .pic { aspect-ratio: auto; height: calc(100% - 118px); min-height: 360px; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.work:hover img { transform: scale(1.04); }
.work .meta { padding: 22px 26px 26px; }
.work .tg { font-size: var(--f14); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grn-t); }
.work h3 { font-size: var(--f21); margin: 6px 0 2px; }
.work .by { font-size: var(--f16); color: var(--mutd); }
.sample { position: absolute; top: 14px; left: 14px; font-size: var(--f14); font-weight: 700; padding: 3px 12px; border-radius: 99px; background: rgba(7, 8, 11, .7); color: #fff; border: 1px solid var(--bd2); }

/* ---------------------------------------------------------------- PROCESS (light) */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: pr; }
.pstep { background: #fff; border: 1px solid var(--line-l); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; color: var(--ink); }
.pstep:before { counter-increment: pr; content: "0" counter(pr); font-size: var(--f40); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #c9c9c3; margin-bottom: 36px; }
.pstep h3 { font-size: var(--f21); margin-bottom: 10px; }
.pstep p { font-size: var(--f16); color: var(--mut); margin-bottom: 22px; }
.pstep .chip { margin-top: auto; width: max-content; }

/* ---------------------------------------------------------------- ABOUT (dark) */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.photo { position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; border: 1px solid var(--bd);
  background: radial-gradient(500px 400px at 30% 20%, #232835, transparent 70%), var(--bk2); display: grid; place-items: center; }
.photo .ini { font-size: 120px; font-weight: 800; letter-spacing: -.04em; color: rgba(255, 255, 255, .12); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about .lead { max-width: none; }
.about p.body { color: var(--mutd); margin-bottom: 18px; max-width: 620px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--bd); margin: 36px 0; }
.facts div { padding: 22px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--bd); }
.facts b { display: block; font-size: var(--f21); font-weight: 800; }
.facts span { font-size: var(--f16); color: var(--mutd); }

/* ---------------------------------------------------------------- FAQ (light) */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq .hd { margin: 0; position: sticky; top: 120px; }
.qa { border-top: 1px solid #d6d6d0; }
.qa details { border-bottom: 1px solid #d6d6d0; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: var(--f21); font-weight: 700; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:after { content: ""; flex-shrink: 0; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s; }
.qa details[open] summary:after { transform: rotate(225deg) translate(-3px, -3px); }
.qa details p { padding: 0 48px 26px 0; color: var(--mut); }

/* ---------------------------------------------------------------- DARK FEATURES */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--bd); }
.feat { padding: 40px 32px 0 0; }
.feat + .feat { padding-left: 32px; border-left: 1px solid var(--bd); }
.feat .icon { width: 30px; height: 30px; color: var(--grn-t); margin-bottom: 26px; }
.feat h3 { font-size: var(--f21); margin-bottom: 10px; }
.feat p { font-size: var(--f16); color: var(--mutd); }

/* qadamlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line-l); border-radius: 16px; padding: 36px; color: var(--ink); }
.step:before { counter-increment: st; content: "0" counter(st); display: block; font-size: var(--f14); font-weight: 800; color: var(--mut); letter-spacing: .1em; margin-bottom: 40px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: var(--f18); color: var(--mut); }
.req { margin-top: 36px; font-size: var(--f16); color: var(--mut); }

/* yakuniy blok */
.final { border: 1px solid var(--bd); border-radius: 24px; padding: 72px 80px; display: flex; justify-content: space-between; align-items: center; gap: 40px;
  background: radial-gradient(600px 300px at 85% 50%, rgba(255, 255, 255, .08), transparent), var(--bk2); }
.final h2 { margin: 18px 0 0; }

/* ---------------------------------------------------------------- PLUGIN MOCK / SHOT */
.mock { background: #1f2329; border: 1px solid #3a414c; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); color: #e8ebf0; font-size: 15px; max-width: 560px; margin-left: auto; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #3a414c; font-weight: 700; background: #262b33; }
.mock-head .dots { margin-left: auto; display: flex; gap: 6px; }
.mock-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a414c; }
.mock-body { padding: 10px 8px; }
.mock-row { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 8px; }
.mock-row:nth-child(odd) { background: #1b1f24; }
.mock-row .cb { width: 18px; height: 18px; border-radius: 5px; background: #3d7bf0; position: relative; flex-shrink: 0; }
.mock-row .cb:after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mock-row .cb.off { background: transparent; border: 1.5px solid #5b6675; }
.mock-row .cb.off:after { display: none; }
.mock-row .num { font-weight: 700; color: #8db7ff; min-width: 56px; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-top: 1px solid #3a414c; color: #9aa3b2; font-size: 14px; }
.mock-foot b { white-space: nowrap; background: #3d7bf0; color: #fff; padding: 8px 18px; border-radius: 8px; font-size: 14px; }
.mock-row .r { margin-left: auto; color: #9aa3b2; font-size: 14px; }
.mock-bar { display: flex; gap: 8px; padding: 12px 16px 2px; font-size: 13px; color: #9aa3b2; }
.mock-bar span { border: 1px solid #3a414c; border-radius: 6px; padding: 4px 10px; background: #1b1f24; }
.mock-bar b { color: #e8ebf0; margin-left: 4px; }
/* Me'morTools hero: almashinadigan instrument oynalari */
.showcase { max-width: 560px; margin-left: auto; }
.sc-stage { display: grid; }
.sc-stage .mock-body { flex: 1; }
.sc-stage > .mock { grid-area: 1 / 1; display: flex; flex-direction: column; margin: 0; max-width: none; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s, transform .6s; pointer-events: none; }
.sc-stage > .mock.on { opacity: 1; transform: none; pointer-events: auto; }
@keyframes scbar { to { width: 100%; } }

.trial { margin-top: 16px; font-size: var(--f14); color: var(--mutd); }

/* video / demo bloki (qo'llanma va Me'morTools) */
.demo { margin: 8px 0 36px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-l); background: #1f2329; position: relative; }
.demo video, .demo img { width: 100%; height: auto; display: block; }
.demo figcaption { background: #fff; color: var(--mut); font-size: var(--f14); padding: 12px 18px; border-top: 1px solid var(--line-l); }
.demo .ph { aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; color: #9aa3b2; font-size: var(--f16); padding: 20px;
  background: radial-gradient(600px 300px at 50% 40%, #2a303a, transparent 70%), #1f2329; }
.demo .ph b { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.demo .ph b svg { width: 28px; height: 28px; color: #fff; margin-left: 4px; }

/* ---------------------------------------------------------------- CONTACT */
.ct { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.ctl { font-size: var(--f21); color: var(--mut); max-width: 480px; margin-bottom: 44px; }
.ci { display: flex; gap: 18px; margin-bottom: 28px; }
.ci svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 4px; }
.ci b { display: block; font-size: var(--f14); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.ci a { font-size: var(--f28); font-weight: 700; letter-spacing: -.01em; transition: color .2s; }
.ci a:hover { color: var(--grn-d); }
.ci small { display: block; font-size: var(--f16); color: var(--mut); }
.fm { background: var(--ink); border-radius: 20px; padding: 48px; display: grid; gap: 22px; color: #fff; }
.fm label { display: grid; gap: 10px; font-size: var(--f14); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.fm input, .fm textarea, .fm select { background: #16181e; border: 1px solid var(--bd); border-radius: 10px; padding: 16px 20px; font: 500 var(--f18) var(--font); color: #fff; outline: 0; transition: border-color .3s; width: 100%; letter-spacing: 0; text-transform: none; }
.fm select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fm input:focus, .fm textarea:focus, .fm select:focus { border-color: var(--grn); }
.fm textarea { min-height: 130px; resize: vertical; }
.fm .btn { height: 60px; margin-top: 6px; }
.fm .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: var(--f16); min-height: 1.6em; }
.form-msg.ok { color: var(--grn); }
.form-msg.err { color: #ff9b8a; }

/* ---------------------------------------------------------------- TELEGRAM TUGMASI */
.tg-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 99px;
  background: var(--grn); color: var(--ink); font-size: var(--f16); font-weight: 800; box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s; }
.tg-fab.on { opacity: 1; transform: none; pointer-events: auto; }
.tg-fab:hover { transform: translateY(-2px); }
.tg-fab svg { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- FOOTER */
.ft { background: var(--bk); padding: 100px 0 0; color: var(--mutd); font-size: var(--f16); }
.fg { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.fg p { margin: 20px 0 0; max-width: 340px; }
.fg h5 { font-size: var(--f14); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin-bottom: 22px; }
.fg a:not(.logo) { display: block; margin-bottom: 12px; transition: color .2s; }
.fg a:hover { color: var(--fg); }
.soonf { display: block; color: var(--fg-35); }
.cp { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--bd); padding: 28px 0 36px; font-size: var(--f14); }

/* ---------------------------------------------------------------- DOWNLOAD / CHANGELOG */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { background: #fff; border: 1px solid var(--line-l); border-radius: 16px; padding: 40px; color: var(--ink); }
.box h3 { margin-bottom: 18px; }
.box ul, .box ol { padding-left: 1.3em; color: var(--mut); }
.box li { margin-bottom: 10px; }
.box li::marker { color: var(--ink); font-weight: 700; }
.box .lnk { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--grn-d); }
.dl-note { margin-top: 14px; font-size: var(--f16); color: var(--mutd); max-width: 520px; }
.rel { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid #d6d6d0; }
.rel:last-child { border-bottom: 1px solid #d6d6d0; }
.rel .v { font-size: var(--f40); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rel .d { display: block; margin-top: 10px; font-size: var(--f16); color: var(--mut); }
.rel ul { list-style: none; display: grid; gap: 12px; }
.rel li { position: relative; padding-left: 26px; }
.rel li:before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grn); }

/* ---------------------------------------------------------------- DOCS */
.docs-page { padding: 150px 0 120px; }
.docs { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; }
.docs-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; font-size: var(--f16); max-height: calc(100vh - 130px); overflow: auto; padding-right: 6px; }
.docs-nav .group { margin: 22px 0 8px; font-size: var(--f14); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.docs-nav .group:first-child { margin-top: 0; }
.docs-nav a { padding: 8px 14px; border-radius: 8px; color: #33363d; transition: background .2s; }
.docs-nav a:hover { background: #e9e9e4; }
.docs-nav a.active { background: var(--ink); color: #fff; font-weight: 700; }
.docs-nav .soon { padding: 8px 14px; color: #9a9a94; }
.docs-nav .soon small { font-size: var(--f14); }
.doc { background: #fff; border: 1px solid var(--line-l); border-radius: 20px; padding: 56px 64px; max-width: 900px; }
.doc .crumbs { font-size: var(--f14); color: var(--mut); margin-bottom: 8px; }
.doc .crumbs a { color: var(--mut); font-weight: 500; text-decoration: none; }
.doc .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.doc h1 { font-size: var(--f40); line-height: 1.1; margin: 6px 0 22px; }
.doc h2 { font-size: var(--f28); letter-spacing: -.02em; margin: 44px 0 14px; }
.doc h3 { font-size: var(--f21); margin: 28px 0 10px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: #8a8a84; }
.doc a { color: var(--grn-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.doc .lead { color: var(--mut); max-width: none; font-size: var(--f21); margin-bottom: 24px; }
.doc code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .88em; background: #f1f1ee; border: 1px solid var(--line-l); border-radius: 6px; padding: 1px 6px; word-break: break-word; }
.doc .kbd { display: inline-block; font-size: .85em; font-weight: 700; padding: 1px 8px; border: 1px solid #cfcfca; border-bottom-width: 3px; border-radius: 6px; background: #fafaf8; }
.doc .muted { color: var(--mut); }
.note { margin: 22px 0; padding: 18px 22px; border-radius: 12px; background: #fff7e3; border: 1px solid #f3dfa8; font-size: var(--f16); }
.note.info { background: #eaf8f0; border-color: #bfe8cf; }
.doc .help { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: var(--f16); color: var(--mut); }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 20px; }
.nf h1 { font-size: clamp(90px, 16vw, 200px); margin: 0; }
.nf .cta-row { justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1180px) {
  .proc { grid-template-columns: 1fr 1fr; }
  .fg { grid-template-columns: 1fr 1fr; }
  .fg > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  :root { --sec: 96px; --f18: 17px; --f21: 19px; --f28: 24px; }
  .wrap { padding: 0 22px; }
  .site-nav .wrap { gap: 16px; height: 72px; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 22px 22px; background: var(--bk); border-bottom: 1px solid var(--bd); font-size: 19px; height: calc(100vh - 72px); overflow: auto; }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--bd); }
  .menu-btn { display: grid; }
  .nb .btn { display: none; }
  .acc-lnk { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .acc-lnk span { display: none; }
  .logo { font-size: 21px; }
  .hero { padding-top: 112px; }
  .hero.sub { padding: 140px 0 80px; }
  .hero-g, .ct, .two, .docs, .about, .faq { grid-template-columns: 1fr; }
  .hero-g { gap: 12px; padding-bottom: 32px; }
  .hd, .hd-row { margin-bottom: 48px; }
  .hd-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dirs, .dir3, .tools, .steps { grid-template-columns: 1fr; }
  .dirs a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--bd); }
  .works { grid-template-columns: 1fr; }
  .work:first-child { grid-row: auto; }
  .work:first-child .pic { height: auto; min-height: 0; aspect-ratio: 16/10; }
  .about { gap: 40px; }
  .photo { max-width: 420px; }
  .faq { gap: 32px; }
  .faq .hd { position: static; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat { padding: 32px 20px 32px 0; }
  .feat + .feat { padding-left: 0; border-left: 0; }
  .feat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--bd); }
  .feat:nth-child(n+3) { border-top: 1px solid var(--bd); }
  .final { flex-direction: column; align-items: flex-start; padding: 44px 28px; }
  .fm { padding: 28px; }
  .mock, .showcase { margin: 0; }
  .rel { grid-template-columns: 1fr; gap: 18px; }
  .docs-page { padding: 110px 0 80px; }
  .docs-nav { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .docs-nav .group { width: 100%; margin: 10px 0 2px; }
  .docs-nav a, .docs-nav .soon { background: #fff; border: 1px solid var(--line-l); padding: 6px 12px; font-size: var(--f14); }
  .doc { padding: 32px 22px; border-radius: 16px; }
  .box { padding: 28px; }
  .tg-fab { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .tg-fab span { display: none; }
}
@media (max-width: 560px) {
  .sc-tabs { gap: 4px; }
  .proc, .fg { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .feat:nth-child(even) { padding-left: 0; border-left: 0; }
  .feat + .feat { border-top: 1px solid var(--bd); }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .facts div { padding-bottom: 14px; }
  .lng { font-size: var(--f14); }
  .ci a { font-size: 22px; }
  .qa details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .rise, .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---- Me'morTools hero: 3D ko'rinish (Revit oynasidek chuqurlik) ---- */
.showcase { perspective: 1400px; }
.sc-stage { position: relative; transform-style: preserve-3d; transform: rotateY(-17deg) rotateX(6deg) rotateZ(.6deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.sc-stage::before, .sc-stage::after { content: ""; position: absolute; inset: 0; border-radius: 14px; border: 1px solid #3a414c; background: linear-gradient(160deg, #262b33, #1a1e24); pointer-events: none; }
.sc-stage::before { transform: translateZ(-46px) translate(16px, 14px); opacity: .75; }
.sc-stage::after { transform: translateZ(-92px) translate(32px, 28px); opacity: .45; }
.sc-stage > .mock { transform-style: preserve-3d; border-color: #4a5260; box-shadow: 1px 1px 0 #2a2f37, 2px 2px 0 #2a2f37, 3px 3px 0 #262b33, 4px 4px 0 #262b33, 5px 5px 0 #20242a, -30px 50px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(47, 196, 204, .10), 0 0 50px rgba(47, 196, 204, .08); transform: translateZ(-70px) translateX(30px) scale(.97); }
.sc-stage > .mock.on { transform: translateZ(0); }
.sc-stage > .mock::after { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%); }
.mock-head { background: linear-gradient(#2d323b, #252a32); border-top: 2px solid var(--grn); }
.mock-foot { background: #20242a; }
.mock-foot b { box-shadow: 0 3px 0 #2a5fc4, 0 8px 18px rgba(61, 123, 240, .35); }
.sc-tabs { transform: translateZ(0); position: relative; z-index: 1; }
.showcase:hover .sc-stage { transform: rotateY(-8deg) rotateX(3deg); }
@media (max-width: 1000px) { .sc-stage { transform: rotateY(-9deg) rotateX(4deg); } .sc-stage::before, .sc-stage::after { display: none; } .showcase { max-width: 520px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .sc-stage, .showcase:hover .sc-stage { transform: none; } .sc-stage::before, .sc-stage::after { display: none; } }

/* yangilanish izohi (o'rtada, oynalar bilan birga almashadi) */
.sc-tabs { display: grid; gap: 0; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--bd); position: relative; text-align: center; min-height: 104px; }
.sc-tabs .n { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sc-tabs .n.on { opacity: 1; transform: none; }
.sc-tabs .nv { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--grn-t); background: rgba(47, 196, 204, .10); border: 1px solid rgba(47, 196, 204, .35); border-radius: 999px; padding: 3px 10px; }
.sc-tabs .n b { font-size: var(--f18); font-weight: 800; margin-top: 4px; }
.sc-tabs .nt { font-size: var(--f14); color: var(--mutd); max-width: 460px; }
.sc-tabs .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grn); }
.sc-tabs .bar.go { animation: scbar 4.5s linear forwards; }
.showcase.paused .sc-tabs .bar { animation-play-state: paused; }
.trial b { color: var(--fg); font-weight: 800; }

/* ---- Rekvizitlar, rozilik, huquqiy sahifalar va narxlar ---- */
.req { margin: 0; padding: 0 0 22px; font-size: var(--f14); color: var(--fg-45); }
.fm-note { margin: -6px 0 0; font-size: var(--f14); line-height: 1.5; color: rgba(255, 255, 255, .5); }
.fm-note a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.dl-note { margin: 16px 0 0; font-size: var(--f16); color: var(--mutd); }
.dl-note a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 960px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal-tabs a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-l); background: #fff; font-size: var(--f14); font-weight: 700; color: #33363d; transition: background .2s; }
.legal-tabs a:hover { background: #e9e9e4; }
.legal-tabs a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc .upd { font-size: var(--f14); color: var(--mut); margin-bottom: 8px; }
.doc ol.steps { padding-left: 1.4em; }
.doc ol.steps li { margin-bottom: 14px; }
.icon.ok, .icon-sm.ok { color: var(--grn-d); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line-l); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; color: var(--ink); }
.plan.feat { border: 2px solid var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
.plan h3 { font-size: var(--f21); }
.plan .pb { position: absolute; top: -13px; left: 24px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.plan .price b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan .price span { font-size: var(--f14); color: var(--mut); }
.plan .pn { font-size: var(--f14); color: var(--mut); min-height: 44px; margin: 0 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: var(--f16); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { margin-top: 4px; }
.plan .btn { margin-top: auto; width: 100%; height: 48px; }
.tbl { overflow-x: auto; margin: 56px 0 0; background: #fff; border: 1px solid var(--line-l); border-radius: 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: var(--f16); min-width: 640px; }
.ptable th, .ptable td { padding: 16px 20px; border-bottom: 1px solid var(--line-l); text-align: center; }
.ptable thead th { font-size: var(--f14); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.ptable tbody th { text-align: left; font-weight: 600; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable .no { color: #b0b0aa; }
.pfaq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.pfaq > div { background: #fff; border: 1px solid var(--line-l); border-radius: 16px; padding: 26px; }
.pfaq h3 { font-size: var(--f18); margin-bottom: 8px; }
.pfaq p { margin: 0; font-size: var(--f16); color: var(--mut); }
.pfaq a, .pnote a { color: var(--grn-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pnote { margin: 32px 0 0; font-size: var(--f14); color: var(--mut); max-width: 900px; }
@media (max-width: 1180px) { .plans { grid-template-columns: 1fr 1fr; } .pfaq { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plans, .pfaq { grid-template-columns: 1fr; } .plan .pn { min-height: 0; } }

/* ---- Mavzu tugmasi (◐ ☀ ☾): sarlavhada; telefonda menyu ichida ---- */
.tsw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--bd); background: var(--hov2); flex: none; }
.tsw button { display: grid; place-items: center; width: 32px; height: 30px; border: 0; border-radius: 7px; background: transparent; color: var(--mutd); cursor: pointer; transition: color .2s, background .2s; }
.tsw button:hover { color: var(--fg); }
.tsw button[aria-pressed="true"] { background: var(--hov); color: var(--grn-t); }
.tsw svg { width: 17px; height: 17px; }
.menu .tsw { display: none; }
body:has(.kab) .tsw { display: none !important; }
@media (max-width: 1000px) {
  .nb .tsw { display: none; }
  .menu .tsw { display: inline-flex; align-self: flex-start; margin-top: 18px; }
  .menu .tsw button { width: 44px; height: 40px; }
}

/* ================================================================ Bosh sahifa v2 (2026-11-12, Launch UI uslubi) ====
   Markaziy hero (qorong'ida tugmalar ostida iliq nur), yo'nalishlar qatori, xizmatlar, "Nega BIM", mahsulotlar, aloqa. */
:root { --hp-card: rgba(255, 255, 255, .04); --hp-card-bd: rgba(255, 255, 255, .08); --hp-card-sh: none; --hp-h-a: #fff; --hp-h-b: #9aa0a8;
  --hp-ic-bg: rgba(255, 255, 255, .05); --hp-in-bg: rgba(11, 12, 15, .6); --hp-soon: #f5c451; --tm-bg: #1c1f26; }
html[data-theme="light"] { --hp-card: #fff; --hp-card-bd: #eceef2; --hp-card-sh: 6px 6px 54px rgba(0, 0, 0, .06); --hp-h-a: #0f3d68; --hp-h-b: #6b7a8c;
  --hp-ic-bg: #eef7f8; --hp-in-bg: #f1f3f6; --hp-soon: #9a5300; --tm-bg: #0b0c0f; }
.tm-bg { fill: var(--tm-bg); }
.hp-hero { position: relative; overflow-x: clip; background: radial-gradient(1000px 420px at 50% -120px, rgba(255, 255, 255, .06), transparent 70%), var(--bk); }
html[data-theme="light"] .hp-hero { background: radial-gradient(1000px 420px at 50% -120px, rgba(26, 154, 165, .08), transparent 70%), var(--bk); }
.hp-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 168px; padding-bottom: 140px; }
/* iliq nur - faqat qorong'i mavzuda (oq fonda bilinmaydi) */
.hp-center:after { content: ""; position: absolute; left: 50%; bottom: -260px; width: 1100px; height: 520px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 140, 70, .30), rgba(140, 76, 32, .10) 55%, transparent); animation: hp-glow 2.4s cubic-bezier(.2, .7, .2, 1) .4s both; }
@keyframes hp-glow { from { opacity: 0; } to { opacity: 1; } }
html[data-theme="light"] .hp-center { padding-bottom: 96px; }
html[data-theme="light"] .hp-center:after { display: none; }
.hp-pill { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--bd2); font-size: var(--f14); font-weight: 500; color: var(--mutd); transition: border-color .2s; }
.hp-pill:hover { border-color: var(--fg-35); }
.hp-pill b { color: var(--fg); font-weight: 700; }
.hp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 8px var(--grn); }
.hp-h1, .hp-h2 { font-weight: 800; letter-spacing: -.035em; text-wrap: balance;
  background: linear-gradient(90deg, var(--hp-h-a) 0%, var(--hp-h-a) 32%, var(--hp-h-b) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hp-h1 { margin-top: 44px; font-size: clamp(40px, 6.7vw, 96px); line-height: 1.04; }
.hp-lead { margin-top: 28px; max-width: 560px; font-size: 20px; line-height: 1.5; color: var(--mutd); font-weight: 500; text-wrap: balance; }
.hp-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hp-center .hp-row { margin-top: 44px; }
.hp-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 8px; padding-bottom: 40px; }
.hp-strip > * { display: flex; flex-direction: column; gap: 2px; padding: 10px 24px; border-left: 1px solid var(--bd); border-radius: 0; transition: color .2s; }
.hp-strip > *:first-child { border-left: 0; }
.hp-strip b { font-size: var(--f16); color: var(--fg); }
.hp-strip span { font-size: var(--f14); color: var(--fg-45); }
.hp-strip a:hover b { color: var(--grn-t); }
.hp-sec { position: relative; padding: 120px 0; }
.hp-hd { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 64px; }
.hp-tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grn-t); }
.hp-h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; max-width: 760px; }
.hp-sub { font-size: var(--f18); line-height: 1.55; color: var(--mutd); max-width: 580px; font-weight: 500; text-wrap: balance; }
.hp-h3 { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--fg); }
.hp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--hp-card); border: 1px solid var(--hp-card-bd); box-shadow: var(--hp-card-sh); transition: transform .3s, border-color .3s; }
.hp-card:hover { transform: translateY(-3px); border-color: var(--bd2); }
.hp-im { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.hp-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hp-card:hover .hp-im img { transform: scale(1.04); }
.hp-tx { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; font-size: 15px; line-height: 1.6; color: var(--mutd); }
.hp-more { margin-top: auto; padding-top: 6px; font-size: var(--f14); font-weight: 700; color: var(--fg); }
.hp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.hp-feat { display: flex; flex-direction: column; gap: 10px; }
.hp-feat .hp-h3 { font-size: 17px; }
.hp-feat p { font-size: 15px; line-height: 1.6; color: var(--mutd); }
.hp-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--hp-ic-bg); border: 1px solid var(--bd); flex: none; }
.hp-ic .icon { width: 20px; height: 20px; color: var(--grn-t); }
.hp-feat .hp-ic { margin-bottom: 6px; }
.hp-bento { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.hp-bx { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 380px; padding: 36px; border-radius: 20px; background: var(--hp-card); border: 1px solid var(--hp-card-bd); box-shadow: var(--hp-card-sh); }
.hp-bx p { font-size: var(--f16); line-height: 1.6; color: var(--mutd); max-width: 440px; }
.hp-big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hp-bx .hp-row { margin-top: auto; justify-content: flex-start; }
.hp-bx .hp-row.hp-row-top { margin-top: 4px; }
.hp-row-top ~ .hp-hubg { position: static; margin-top: auto; width: 100%; }
.hp-tools:before { content: ""; position: absolute; right: -140px; bottom: -180px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(47, 196, 204, .22), transparent); pointer-events: none; }
html[data-theme="light"] .hp-tools:before { display: none; }
.hp-tm { position: absolute; right: -40px; bottom: -40px; width: 300px; height: 300px; opacity: .9; pointer-events: none; }
.hp-tm-h { stroke: rgba(255, 255, 255, .25); }
.hp-tm-m { stroke: var(--grn-t); }
html[data-theme="light"] .hp-tm-h { stroke: rgba(15, 61, 104, .3); }
.hp-tools > :not(.hp-tm) { position: relative; }
.hp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hp-chips span { height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--bd2); font-size: 13px; font-weight: 600; color: var(--mutd); display: inline-flex; align-items: center; }
.hp-soon { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-soon); background: color-mix(in srgb, var(--hp-soon) 14%, transparent); padding: 5px 10px; border-radius: 99px; }
.hp-hubg { position: absolute; left: 36px; right: 36px; bottom: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hp-hubg i { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--bd); background: var(--hov2); display: grid; place-items: center; }
.hp-hubg .icon { width: 44%; height: 44%; color: var(--fg-45); }
/* aloqa */
.hp-ct-sec { overflow: hidden; }
.hp-ct-sec:before { content: ""; position: absolute; left: 50%; bottom: -300px; width: 1100px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47, 196, 204, .20), rgba(19, 127, 136, .07) 55%, transparent); pointer-events: none; }
html[data-theme="light"] .hp-ct-sec:before { display: none; }
.hp-ct { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.hp-ct .hp-h2 { margin-top: 18px; text-align: left; }
.hp-ct .hp-sub { margin-top: 18px; }
.hp-cis { margin-top: 36px; display: flex; flex-direction: column; }
.hp-ci { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--bd); }
.hp-ci small { display: block; font-size: 13px; color: var(--fg-45); }
.hp-ci b { font-size: var(--f16); color: var(--fg); }
.hp-ci:hover b { color: var(--grn-t); }
.hp-form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 20px; background: var(--hp-card); border: 1px solid var(--bd); box-shadow: var(--hp-card-sh); }
.hp-form label { display: flex; flex-direction: column; gap: 8px; font-size: var(--f14); font-weight: 600; color: var(--fg); }
.hp-form input, .hp-form select, .hp-form textarea { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--bd2); background: var(--hp-in-bg); color: var(--fg); font: 500 15px var(--font); }
.hp-form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.hp-form input:focus, .hp-form select:focus, .hp-form textarea:focus { outline: 2px solid var(--grn-t); outline-offset: 0; border-color: transparent; }
.hp-form .btn { width: 100%; margin-top: 4px; }
.hp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-req { color: var(--grn-t); font-weight: 800; }
.hp-note { font-size: 13px; line-height: 1.55; color: var(--mutd); }
.hp-note a { text-decoration: underline; }
.hp-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 1000px) {
  .hp-cards, .hp-feats { grid-template-columns: 1fr 1fr; }
  .hp-bento, .hp-ct { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hp-center { padding-top: 124px; padding-bottom: 96px; }
  .hp-h1 { margin-top: 32px; font-size: clamp(34px, 10vw, 44px); }
  .hp-lead { font-size: 17px; }
  .hp-row .btn { flex: 1 1 140px; }
  .hp-center:after { width: 640px; height: 380px; bottom: -190px; }
  .hp-strip { grid-template-columns: 1fr; gap: 6px; padding-bottom: 24px; }
  .hp-strip > * { border-left: 0; padding: 8px 0; }
  .hp-sec { padding: 80px 0; }
  .hp-hd { margin-bottom: 40px; }
  .hp-cards, .hp-feats, .hp-two { grid-template-columns: 1fr; }
  .hp-bx { min-height: 340px; padding: 28px; }
  .hp-tm { width: 170px; height: 170px; right: -50px; bottom: -50px; opacity: .3; }
  .hp-hubg { left: 28px; right: 28px; bottom: 28px; }
  .hp-form { padding: 22px; }
}
