/* NX System — sayt (ko'p sahifali). Ranglar: kunduzgi / tungi. */
@font-face { font-family: "Inter"; src: url("fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #6b4226; --brand-2: #3e2415; --brand-3: #c28a5c; --brand-soft: #f2eae4; --brand-tint: #faf6f2;
  --bg: #fbf9f7; --bg-2: #f5efe9; --card: #ffffff; --line: #ece4dc; --line-2: #f1eae3;
  --text: #21170f; --text-2: #3b2f27; --muted: #6e625a; --muted-2: #8a7d73;
  --ok: #237a35; --ok-bg: #e9f7ec; --warn: #a15c00; --warn-bg: #fff4e0;
  --dark: #1c140e; --dark-2: #261b13; --dark-line: #3a2a1e; --on-dark: #f6efe9; --on-dark-2: #cdbcae;
  --shadow: 0 10px 30px rgba(60, 35, 15, .08); --shadow-lg: 0 40px 80px rgba(60, 35, 15, .16);
  --r: 20px; --r-sm: 12px;
  color-scheme: light;
}
[data-theme="dark"] {
  --brand: #c08a60; --brand-2: #e3b894; --brand-3: #a8724a; --brand-soft: rgba(192, 138, 96, .16); --brand-tint: #241a12;
  --bg: #120d09; --bg-2: #18110c; --card: #1e1610; --line: #33271d; --line-2: #2a2018;
  --text: #f3ece6; --text-2: #e0d4ca; --muted: #b3a296; --muted-2: #9c8b7e;
  --ok: #5fd27a; --ok-bg: rgba(95, 210, 122, .12); --warn: #f5b04a; --warn-bg: rgba(245, 176, 74, .12);
  --dark: #0b0805; --dark-2: #17110b; --dark-line: #2c2117;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35); --shadow-lg: 0 40px 80px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--brand-soft); color: var(--brand); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 40px; }

/* Tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--text); white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--brand-2); border-color: var(--brand-2); }
[data-theme="dark"] .btn-primary { color: #1c140e; }
[data-theme="dark"] .btn-primary:hover { color: #1c140e; }
.btn-outline { background: transparent; }
.btn-dark { background: #21170f; border-color: #21170f; color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.i-sun { display: none; } [data-theme="dark"] .i-sun { display: block; } [data-theme="dark"] .i-moon { display: none; }

/* Sarlavha */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; white-space: nowrap; flex: none; }
.logo:hover { color: var(--text); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav-dd > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-family: inherit; font-size: 14.5px; font-weight: 500; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav-dd > button:hover, .nav > a.on, .nav-dd.on > button { background: var(--brand-soft); color: var(--brand); }
.nav-dd { position: relative; }
.mega { position: absolute; top: calc(100% + 8px); left: -12px; width: 680px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav-dd:hover .mega, .nav-dd:focus-within .mega, .nav-dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.mega a:hover { background: var(--brand-tint); color: var(--text); }
.mega a b { display: block; font-size: 14.5px; font-weight: 600; }
.mega a small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega .mi { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px; border-radius: 12px; background: var(--brand-tint); font-weight: 600; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

/* Umumiy bo'lim */
.sec { padding: 88px 0; }
.sec-sm { padding: 56px 0; }
.sec-alt { background: var(--bg-2); }
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-dark .lead, .sec-dark .muted { color: var(--on-dark-2); }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.sec-dark .kick { color: #e3b894; }
.h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.h1 em, .h2 em { font-style: normal; color: var(--brand); }
.sec-dark .h2 em { color: #e3b894; }
.h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.028em; }
.h3 { font-size: 20px; font-weight: 700; }
.lead { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.head { max-width: 760px; }
.head.center { margin: 0 auto; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; background: radial-gradient(900px 460px at 88% -10%, color-mix(in srgb, var(--brand-3) 22%, transparent) 0%, transparent 70%), radial-gradient(700px 380px at -10% 110%, color-mix(in srgb, var(--brand-3) 12%, transparent) 0%, transparent 70%); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-vis { flex: 1 1 560px; min-width: 0; position: relative; }
.hero .lead { max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.announce { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.announce .new { background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; }
[data-theme="dark"] .announce .new { color: #1c140e; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.page-hero { padding: 64px 0 40px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--brand); }

/* Soha tanlash */
.inds { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.inds-l { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.pill { height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 600; background: var(--card); color: var(--text-2); border: 1px solid var(--line); transition: .15s; }
.pill:hover { border-color: var(--brand-3); }
.pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="dark"] .pill.on { color: #1c140e; }

/* Kartalar */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.span2 { grid-column: span 2; }
.feat { padding: 24px; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.feat { display: block; color: var(--text); }
a.feat:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-3) 50%, var(--line)); }
.feat h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.feat p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.feat .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }
.fi { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.fi svg { width: 22px; height: 22px; }
.feat-dark { background: var(--dark-2); border-color: var(--dark-line); color: var(--on-dark); }
.feat-dark h3 { color: #fff; } .feat-dark p { color: var(--on-dark-2); }
.feat-dark .fi { background: rgba(255, 255, 255, .08); color: #e3b894; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.chip.gray { background: var(--brand-tint); color: var(--muted); border: 1px solid var(--line-2); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sec-dark .chip { background: rgba(255, 255, 255, .08); color: #e9d9cc; }

/* Faktlar */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fact { padding: 20px 22px; }
.fact b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Ikki ustun: matn + rasm */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > .txt { flex: 1 1 420px; min-width: 0; }
.split > .vis { flex: 1.15 1 520px; min-width: 0; }
.split.rev { flex-direction: row-reverse; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 15.5px; color: var(--text-2); }
.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 7px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b4226' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
[data-theme="dark"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3b894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ticks b { color: var(--text); }
.sec-dark .ticks li { color: var(--on-dark-2); }
.sec-dark .ticks b { color: #fff; }

/* Qadamlar */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.step { padding: 22px; position: relative; }
.step::before { counter-increment: st; content: counter(st); width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
[data-theme="dark"] .step::before { color: #1c140e; }
.step h3 { margin-top: 14px; font-size: 17px; }
.step p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Oqim */
.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 34px; }
.flow-i { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; }
.flow-i span { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.flow-a { color: var(--muted-2); width: 18px; flex: none; }
@media (max-width: 860px) { .flow-a { display: none; } }

/* ====== Rasmlar (interfeys namunalari) ====== */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock-head b { font-size: 15px; } .mock-head small { display: block; font-size: 12px; color: var(--muted); }
.tile { background: var(--brand-tint); border-radius: 12px; padding: 10px 12px; }
.tile small { display: block; font-size: 12px; color: var(--muted); }
.tile b { display: block; font-size: 20px; font-weight: 800; margin-top: 2px; letter-spacing: -.01em; }
.tile em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; margin-top: 2px; color: var(--muted-2); }
.tile em.up { color: var(--ok); } .tile em.down { color: var(--warn); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tiles.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { background: var(--brand-tint); border-radius: 12px; padding: 12px; }
.panel-t { font-size: 12px; font-weight: 600; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.bars i { display: block; width: 100%; max-width: 28px; border-radius: 7px 7px 3px 3px; background: color-mix(in srgb, var(--brand-3) 55%, var(--line)); }
.bars i.hl { background: var(--brand); }
.bars span { font-size: 10.5px; color: var(--muted-2); }
.rows { margin-top: 6px; }
.rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.rows > div:first-child { border-top: 0; }
.rows b { white-space: nowrap; }
.mtbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.mtbl th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mtbl td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); }
.mtbl tr:last-child td { border-bottom: 0; }
.mtbl .r { text-align: right; } .mtbl td.r { font-weight: 600; white-space: nowrap; }
.prog { height: 8px; border-radius: 99px; background: var(--line); margin-top: 5px; overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.prog i.alt { background: var(--brand-3); }
.prog i.warn { background: #e8a03a; }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 2; }
.toast .ok-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.toast b { display: block; font-size: 13px; } .toast small { display: block; font-size: 12px; color: var(--muted); }

/* Telefon */
.phone { width: 260px; border-radius: 34px; background: #1d1611; padding: 9px; box-shadow: var(--shadow-lg); flex: none; }
.phone-in { border-radius: 26px; overflow: hidden; background: var(--bg); min-height: 460px; }
.phone.sm { width: 230px; } .phone.sm .phone-in { min-height: 0; }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--card); border-bottom: 1px solid var(--line-2); }
.ph-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; flex: none; }
.ph-head b { display: block; font-size: 12.5px; } .ph-head small { display: block; font-size: 10.5px; color: var(--muted); }
.tg { background: #dfe9dc; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
[data-theme="dark"] .tg { background: #1f2a22; }
.bu, .bb { max-width: 86%; padding: 8px 11px; font-size: 12.5px; line-height: 1.45; white-space: pre-line; color: #1e2633; }
.bu { align-self: flex-end; background: #e3f5d9; border-radius: 14px 14px 4px 14px; }
.bb { align-self: flex-start; background: #fff; border-radius: 14px 14px 14px 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bb b, .bu b { font-weight: 700; }
.tgb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.tgb span { background: rgba(255, 255, 255, .9); border-radius: 9px; padding: 7px; text-align: center; font-size: 12px; font-weight: 600; color: #2b6cb0; }
.app-scr { padding: 14px 12px; }
.app-scr .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.app-scr .tile { background: var(--card); border: 1px solid var(--line); }
.app-scr .tile b { font-size: 15px; }
.ai-note { margin-top: 10px; background: var(--brand); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.45; }
[data-theme="dark"] .ai-note { color: #1c140e; }

/* Nakladnoy hujjati */
.doc { background: #fff; color: #1b1b1b; border-radius: 6px; box-shadow: 0 30px 60px rgba(40, 20, 5, .18), 0 0 0 1px rgba(0, 0, 0, .05); padding: 28px 30px; font-size: 12px; aspect-ratio: 1 / 1.25; position: relative; }
.doc-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px solid #1b1b1b; padding-bottom: 12px; }
.doc-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.doc-logo span { width: 26px; height: 26px; border-radius: 7px; background: #6b4226; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.doc h4 { font-size: 16px; text-align: center; margin: 14px 0 10px; letter-spacing: .04em; }
.doc-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; font-size: 11.5px; }
.doc-meta span { color: #666; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 11.5px; }
.doc th, .doc td { border: 1px solid #c9c9c9; padding: 5px 7px; }
.doc th { background: #f3efea; text-align: left; font-weight: 700; }
.doc td.r, .doc th.r { text-align: right; }
.doc .tot td { font-weight: 800; background: #faf7f3; }
.doc-sign { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; font-size: 11px; color: #555; }
.doc-sign div { border-top: 1px solid #999; padding-top: 4px; }
.doc-qr { position: absolute; right: 30px; bottom: 26px; width: 54px; height: 54px; background: repeating-conic-gradient(#1b1b1b 0 25%, #fff 0 50%) 0 0 / 9px 9px; border: 4px solid #fff; outline: 1px solid #ddd; }
.designer { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 380px; }
.designer-side { border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-2); }
.designer-side span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; }
.designer-canvas { padding: 18px; background: repeating-linear-gradient(0deg, transparent 0 19px, var(--line-2) 19px 20px), repeating-linear-gradient(90deg, transparent 0 19px, var(--line-2) 19px 20px); }
.designer-canvas .doc { aspect-ratio: auto; padding: 18px; font-size: 11px; box-shadow: var(--shadow); }
.sel { outline: 2px dashed var(--brand); outline-offset: 3px; border-radius: 4px; position: relative; }
.sel::after { content: "{mijoz}"; position: absolute; top: -22px; left: 0; font-size: 10.5px; font-weight: 700; background: var(--brand); color: #fff; padding: 2px 6px; border-radius: 5px; }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kcol { background: var(--brand-tint); border-radius: 12px; padding: 10px; min-height: 200px; }
.kcol > small { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); }
.kcard { background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 10px; margin-top: 8px; font-size: 12.5px; }
.kcard b { display: block; font-size: 12.5px; } .kcard small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }

/* Xarita */
.map { position: relative; height: 330px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #efe8df, #e6ddd2); }
[data-theme="dark"] .map { background: linear-gradient(135deg, #241b14, #1c150f); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pin b { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 11px; box-shadow: var(--shadow); white-space: nowrap; }
.pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.pin.car i { width: 22px; height: 22px; background: #2b6cb0; }

/* Quruvchi */
.bld { display: grid; grid-template-columns: minmax(0, 1fr) 210px; min-height: 360px; }
.bld-main { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bld-field { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 13px; }
.bld-field .drag { color: var(--muted-2); letter-spacing: -2px; }
.bld-field b { flex: 1; font-weight: 600; }
.bld-field.add { border-style: dashed; color: var(--brand); font-weight: 600; justify-content: center; }
.bld-side { border-left: 1px solid var(--line); padding: 14px; background: var(--bg-2); font-size: 12.5px; display: flex; flex-direction: column; gap: 10px; }
.bld-side label { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; margin-bottom: 4px; }
.bld-in { height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); padding: 0 10px; display: flex; align-items: center; font-size: 12.5px; }
.formula { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--dark); color: #f3d9c2; border-radius: 10px; padding: 12px 14px; line-height: 1.7; }
.formula em { font-style: normal; color: #9fd3a8; } .formula u { text-decoration: none; color: #e3b894; }

/* AI suhbat */
.ai { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-lg); }
.ai-me { align-self: flex-end; max-width: 82%; background: var(--brand-soft); color: var(--text); border-radius: 14px 14px 4px 14px; padding: 9px 12px; font-size: 13.5px; }
.ai-re { align-self: flex-start; max-width: 92%; background: var(--brand-tint); border: 1px solid var(--line-2); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; }
.ai-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px dashed var(--line); }
.ai-tool::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.rank > div { display: grid; grid-template-columns: 130px minmax(0, 1fr) 48px; align-items: center; gap: 10px; font-size: 13px; margin-top: 8px; }
.rank b { text-align: right; }
.orb { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6d7bb, #c28a5c 45%, #6b4226 80%); box-shadow: 0 20px 60px rgba(194, 138, 92, .45), inset 0 -10px 30px rgba(0, 0, 0, .25); margin: 0 auto; animation: orb 4s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(1.06); box-shadow: 0 30px 80px rgba(194, 138, 92, .6), inset 0 -10px 30px rgba(0, 0, 0, .25); } }
.mcp-url { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.mcp-url code { flex: 1; background: none; padding: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcp-url button { height: 34px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--brand); color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mcp-url button.done { background: var(--ok); }
.tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.tool { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.tool code { flex: none; align-self: flex-start; }
.tool p { font-size: 13.5px; color: var(--muted); }

/* Narxlar */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; align-items: start; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 24px 50px color-mix(in srgb, var(--brand) 16%, transparent); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
[data-theme="dark"] .plan .badge { color: #1c140e; }
.plan h3 { font-size: 20px; }
.plan-for { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan-price { margin-top: 18px; font-size: 15px; color: var(--muted); }
.plan-price b { font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.plan-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.plan-limits div { background: var(--brand-tint); border-radius: 10px; padding: 8px 10px; }
.plan-limits b { display: block; font-size: 15px; } .plan-limits span { display: block; font-size: 11.5px; color: var(--muted); }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }

/* Savollar */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Murojaat */
.cta { border-radius: 30px; background: linear-gradient(135deg, #6b4226, #3e2415); color: #fff; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%); }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.025em; }
.cta p { margin-top: 12px; color: #f0dccb; font-size: 17px; }
.cta > div { flex: 1 1 380px; position: relative; z-index: 1; }
.lead-form { flex: 1 1 380px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 1; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #f6e7da; }
.lead-form label.full, .lead-form .full { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea { height: 48px; border-radius: 12px; border: 1px solid transparent; padding: 0 14px; font-family: inherit; font-size: 15px; background: #fff; color: #21170f; }
.lead-form textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.lead-form button { grid-column: 1 / -1; }
.lead-form .hp { position: absolute; left: -9999px; opacity: 0; }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #c6f0cf; } .form-msg.err { color: #ffd2c2; }
.contact-page .lead-form label { color: var(--text-2); }
.contact-page .lead-form input, .contact-page .lead-form textarea { border-color: var(--line); background: var(--card); color: var(--text); }
.contact-page .form-msg.ok { color: var(--ok); } .contact-page .form-msg.err { color: #c0392b; }

/* Pastki qism */
.footer { background: var(--dark); color: var(--on-dark); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer .logo { color: #fff; }
.footer p { margin-top: 14px; color: #b9a596; font-size: 14px; max-width: 300px; }
.footer h4 { font-size: 14px; color: #fff; letter-spacing: 0; }
.footer nav a { display: block; color: #cbbdb1; font-size: 14px; margin-top: 10px; }
.footer nav a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #33271d; margin-top: 44px; padding-top: 20px; font-size: 13px; color: #9c8b7e; }

/* Ko'rinib kelish */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .orb { animation: none; } html { scroll-behavior: auto; } }

/* Moslashuvchan */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav-dd > button { width: 100%; justify-content: space-between; height: 46px; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: minmax(0, 1fr); display: none; }
  .nav-dd.open .mega { display: grid; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .grid3, .grid4, .facts, .steps, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span2 { grid-column: auto; }
  .sec { padding: 64px 0; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-list { grid-template-columns: minmax(0, 1fr); }
  .designer { grid-template-columns: minmax(0, 1fr); } .designer-side { display: none; }
  .bld { grid-template-columns: minmax(0, 1fr); } .bld-side { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid2, .grid3, .grid4, .facts, .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 40px 0 36px; }
  .hero-vis .phone-float, .hero-vis .toast { display: none; }
  .tiles, .tiles.t4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 28px 20px; border-radius: 22px; }
  .lead-form { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn-primary { padding: 0 12px; }
  .header-row { gap: 10px; }
  .announce { font-size: 12.5px; height: auto; min-height: 32px; padding: 4px 12px 4px 6px; }
  .doc { padding: 18px; font-size: 10.5px; }
  .rank > div { grid-template-columns: 100px minmax(0, 1fr) 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
