/* Fakturachi landing. Ranglar va shrift tokenlari :root da; dark rejim prefers-color-scheme va [data-theme] orqali. */
/* Layout: 5 boʻlim, chapga tekis matn ustunlari (max 1120px), haqiqiy skrinshotlar, rang faqat holat nuqtalarida.
   Fakturachi kengaytmasining oʻz uslubi (ui.css) asosida. */
:root {
  --bg: #ffffff;
  --page: #faf9f7;
  --tile: #f4f4f2;
  --line: #e3e3e0;
  --line-soft: #ecece9;
  --ink: #262626;
  --text: #595959;
  --muted: #6f6f6f;
  --faint: #8a8a8a;
  --ok: #2e9e5b;
  --ok-soft: #e9f6ee;
  --ok-text: #1f7a45;
  --bad: #d14a43;
  --bad-soft: #fdeeed;
  --bad-text: #a8362f;
  --warn: #d49a2a;
  --btn-bg: #262626;
  --btn-bg-hover: #000000;
  --btn-fg: #ffffff;
  --sheet: #262626;
  --font: Montserrat, "Segoe UI", system-ui, sans-serif;
  --brand-font: Nunito, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171716; --page: #121211; --tile: #222221; --line: #30302e; --line-soft: #262624;
    --ink: #ededea; --text: #b8b8b2; --muted: #9c9c96; --faint: #82827c;
    --ok: #3fb86f; --ok-soft: #173a25; --ok-text: #7fd9a1; --bad: #e0605a; --bad-soft: #3d1f1d; --bad-text: #f0a39f; --warn: #e0ad3f;
    --btn-bg: #ededea; --btn-bg-hover: #ffffff; --btn-fg: #171716; --sheet: #ededea;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171716; --page: #121211; --tile: #222221; --line: #30302e; --line-soft: #262624;
  --ink: #ededea; --text: #b8b8b2; --muted: #9c9c96; --faint: #82827c;
  --ok: #3fb86f; --ok-soft: #173a25; --ok-text: #7fd9a1; --bad: #e0605a; --bad-soft: #3d1f1d; --bad-text: #f0a39f; --warn: #e0ad3f;
  --btn-bg: #ededea; --btn-bg-hover: #ffffff; --btn-fg: #171716; --sheet: #ededea;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: var(--ink); }
button { font: inherit; cursor: pointer; }
svg { flex: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 80px; }
.band-tile { background: var(--page); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.15; margin-top: 10px; max-width: 32ch; }
.lead { color: var(--text); font-size: 17px; max-width: 56ch; margin-top: 14px; }
.sec-head { display: flex; flex-direction: column; margin-bottom: 40px; }
.muted { color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.dot-bad { background: var(--bad); }
.dot-warn { background: var(--warn); }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.brand-name { font-family: var(--brand-font); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background 0.15s ease; }
.btn:hover { background: var(--btn-bg-hover); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color 0.15s ease; }
.link:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ok); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-space { flex: 1; }

/* 1. Hero */
.hero { padding-block: 64px 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; line-height: 1.1; margin-top: 14px; }
.hero .lead { font-size: 18px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #ffffff; }
.shot img { width: 100%; height: auto; }
.shot-cap { margin-top: 10px; font-size: 13px; color: var(--faint); }

/* 2. Tizimlar: Didox → Fakturachi → Asl belgisi, Tasnif */
section[id] { scroll-margin-top: 76px; }
.flow-band { border-top: 1px solid var(--line-soft); padding-block: 72px; }
.flow { display: block; width: 100%; max-width: 920px; height: auto; margin-inline: auto; font-family: var(--font); }
#tizimlar .sec-head { align-items: center; text-align: center; }
.flow .ln { fill: none; stroke: var(--line); stroke-width: 2; }
.flow .pulse { fill: none; stroke: var(--ok); stroke-width: 1.5; }
.flow .node { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.flow .node-main { stroke: var(--ink); }
.flow .t-title { font-size: 17px; font-weight: 700; fill: var(--ink); }
.flow .t-brand { font-family: var(--brand-font); font-weight: 800; font-size: 20px; fill: var(--ink); letter-spacing: -0.01em; }
.flow .t-sub { font-size: 13px; fill: var(--text); }
.flow .t-small { font-size: 11.5px; fill: var(--faint); }
.flow .t-res { font-size: 13.5px; font-weight: 600; fill: var(--ink); }
.flow .bar { transform-origin: 372px 199px; animation: bar 3s ease-in-out infinite; }
@keyframes bar { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
/* telefon: shu oqimning tik varianti (bazalar tepada, natija pastda) */
.flow.flow-sm { display: none; max-width: 420px; }
.flow-sm .t-title { font-size: 15px; }
.flow-sm .t-sub { font-size: 11.5px; }
.flow-sm .t-num { font-size: 20px; font-weight: 700; fill: var(--ink); }
.flow-sm .t-lab { font-size: 12px; fill: var(--text); }

/* 2. Muammo → javob */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pain { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pain .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.pain h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.pain .cons { color: var(--bad-text); font-size: 13.5px; font-weight: 500; }
.pain .msg { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok-text); font-size: 13px; line-height: 1.45; }
.pain .msg b { font-weight: 600; }
/* Sahnalar: --dur davomida aylanadi, faqat .is-on (koʻrinish maydonida, main.js). Animatsiyasiz holat = yakuniy kadr. */
.pic { position: relative; height: 172px; background: var(--tile); border-bottom: 1px solid var(--line-soft); overflow: hidden; --dur: 6s; }
.scene { position: absolute; inset: 0; margin: auto; width: 244px; height: 140px; }
.dm { position: absolute; width: 72px; height: 72px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.dm svg { width: 50px; height: 50px; display: block; color: var(--ink); }
@keyframes appear { 0%, 46% { opacity: 0 } 52%, 92% { opacity: 1 } 97%, 100% { opacity: 0 } }
.s1 .dm { left: 8px; top: 34px; }
.scan { position: absolute; left: 8px; width: 72px; height: 2px; top: 36px; background: var(--bad); box-shadow: 0 0 8px var(--bad); opacity: 0; }
.is-on .scan { animation: scan var(--dur) ease-in-out infinite; }
@keyframes scan { 0% { top: 36px; opacity: 0 } 4% { opacity: 1 } 22% { top: 104px; opacity: 1 } 26%, 100% { top: 104px; opacity: 0 } }
.receipt { position: absolute; left: 108px; top: 16px; width: 128px; padding: 9px 10px 11px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px 6px 3px 3px; font-size: 10.5px; color: var(--muted); line-height: 1.5; }
.receipt b { display: block; color: var(--ink); font-weight: 600; font-size: 11px; }
.is-on .receipt { animation: receipt var(--dur) ease-out infinite; }
@keyframes receipt { 0%, 24% { transform: translateY(26px); opacity: 0 } 34%, 92% { transform: none; opacity: 1 } 97%, 100% { transform: none; opacity: 0 } }
.stamp { position: absolute; left: 126px; top: 72px; padding: 3px 9px; border: 2.5px solid var(--bad); color: var(--bad); border-radius: 5px; font-size: 12px; font-weight: 700; letter-spacing: 1px; background: color-mix(in srgb, var(--bg) 85%, transparent); transform: rotate(-10deg); }
.is-on .stamp { animation: stamp var(--dur) ease-out infinite; }
@keyframes stamp { 0%, 40% { transform: rotate(-10deg) scale(1.8); opacity: 0 } 46%, 92% { transform: rotate(-10deg) scale(1); opacity: 1 } 97%, 100% { transform: rotate(-10deg) scale(1); opacity: 0 } }
.s2 .boxes { position: absolute; left: 50%; top: 24px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(10, 16px); gap: 6px; }
.boxes i { width: 16px; height: 16px; border-radius: 4px; background: var(--ink); border: 1.5px solid transparent; opacity: .85; }
.is-on .boxes i { animation: fill var(--dur) ease-out infinite; animation-delay: calc(var(--i) * 60ms); }
@keyframes fill { 0% { opacity: .12; transform: scale(.6) } 6% { opacity: .85; transform: scale(1) } 86% { opacity: .85; transform: scale(1) } 93%, 100% { opacity: .12; transform: scale(.6) } }
.boxes i.gap { background: var(--bad-soft); border: 1.5px dashed var(--bad); opacity: 1; }
.is-on .boxes i.gap { animation: gap var(--dur) ease infinite; }
@keyframes gap { 0%, 42% { border-color: var(--line); background: transparent } 48%, 52% { border-color: var(--bad); background: var(--bad-soft) } 56% { border-color: var(--line); background: transparent } 60%, 92% { border-color: var(--bad); background: var(--bad-soft) } 97%, 100% { border-color: var(--line); background: transparent } }
.count { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 16px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.count .n { color: var(--ink); } .count .n b { font-weight: 700; display: inline-block; min-width: 2ch; text-align: right; }
.count .d { color: var(--bad-text); }
.is-on .count .d { animation: appear var(--dur) infinite; }
.s3 .dm { left: 6px; top: 34px; }
.s3 .path { position: absolute; left: 84px; top: 69px; width: 72px; border-top: 2px dotted var(--line); }
.pkt { position: absolute; left: 80px; top: 65px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: 0; }
.is-on .pkt { animation: pkt var(--dur) ease-in-out infinite; }
@keyframes pkt { 0% { transform: translateX(0); opacity: 0 } 5% { opacity: 1 } 26% { transform: translateX(72px); opacity: 1 } 30%, 100% { transform: translateX(72px); opacity: 0 } }
.asl { position: absolute; left: 160px; top: 20px; width: 80px; text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.asl .sh { position: relative; width: 56px; height: 62px; margin: 0 auto 4px; }
.asl .sh svg { position: absolute; inset: 0; width: 56px; height: 62px; }
.asl .ok { opacity: 0; }
.is-on .asl .ok { animation: shOk var(--dur) infinite; }
.is-on .asl .no { animation: shNo var(--dur) infinite; }
@keyframes shOk { 0%, 50% { opacity: 1 } 54%, 100% { opacity: 0 } }
@keyframes shNo { 0%, 50% { opacity: 0; transform: scale(.85) } 56%, 92% { opacity: 1; transform: none } 97%, 100% { opacity: 0; transform: none } }
.asl .think { position: absolute; left: 0; right: 0; top: 20px; font-size: 16px; letter-spacing: 2px; color: var(--muted); opacity: 0; }
.is-on .asl .think { animation: think var(--dur) infinite; }
@keyframes think { 0%, 27% { opacity: 0 } 31%, 48% { opacity: 1 } 52%, 100% { opacity: 0 } }
.tag { position: absolute; left: 150px; top: 108px; width: 100px; text-align: center; padding: 3px 0; border-radius: 999px; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 600; }
.is-on .tag { animation: appear var(--dur) infinite; }

/* 3. Imkoniyatlar: uchta karta, HTML maketlar */
.fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fcard { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; min-width: 0; }
.fbody { padding: 20px 22px 24px; }
.fbody .n { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.fbody h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.fbody p { color: var(--text); font-size: 14.5px; margin-top: 10px; }
.fmock { background: var(--page); border-bottom: 1px solid var(--line-soft); padding: 14px; height: 262px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--ink); }
.fmock .dot { width: 7px; height: 7px; }
.m-doc { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-tile { padding: 10px 11px; border-radius: 9px; background: var(--tile); display: flex; flex-direction: column; gap: 2px; }
.m-tile b { display: inline-flex; align-items: center; gap: 5px; font-size: 17px; font-weight: 700; }
.m-tile span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.m-tile.on { background: var(--btn-bg); color: var(--btn-fg); }
.m-tile.on span { color: inherit; opacity: 0.8; }
.m-row { padding: 11px 12px; background: var(--bg); border-radius: 9px; }
.m-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 5px; color: var(--text); font-size: 11.5px; line-height: 1.45; }
.m-note .dot { margin-top: 4px; }
.m-note b { color: var(--ink); font-weight: 600; }
.m-prog-l { display: flex; align-items: baseline; gap: 4px; font-size: 12.5px; color: var(--text); }
.m-prog-l b { font-size: 18px; font-weight: 700; color: var(--ink); }
.m-prog-l span { margin-left: auto; color: var(--faint); font-size: 11px; }
.m-bar { height: 6px; border-radius: 3px; background: var(--tile); margin-top: 6px; overflow: hidden; }
.m-bar i { display: block; height: 100%; background: var(--btn-bg); border-radius: 3px; }
.m-scan { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-banner { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 9px; background: var(--ok-soft); color: var(--ok-text); font-weight: 600; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--bg); border-radius: 9px; font-size: 11.5px; }
.m-num { width: 18px; height: 18px; border-radius: 50%; background: var(--tile); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--muted); flex: none; }
.m-item-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mini { width: 36px; height: 5px; border-radius: 3px; background: var(--tile); overflow: hidden; flex: none; }
.m-mini i { display: block; height: 100%; background: var(--btn-bg); }
.m-cnt { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.m-verdict { padding: 12px 14px; border-radius: 10px; background: var(--bad-soft); color: var(--bad-text); flex: 1; display: flex; flex-direction: column; gap: 4px; }
.m-verdict-h { font-size: 20px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.m-verdict-s { font-size: 11.5px; line-height: 1.4; }
.m-verdict-in { margin-top: auto; background: var(--bg); color: var(--ink); border-radius: 8px; padding: 8px 10px; font-size: 11.5px; }
.m-verdict-in b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-verdict-in span { color: var(--faint); font-size: 10.5px; }

/* 4. Oʻrnatish */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.video-wrap { max-width: 960px; margin-inline: auto; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #1a1a19; color: #ededea; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; padding: 0; border: 0; background: radial-gradient(ellipse at 50% 40%, #2a2a28, #1a1a19 70%); color: inherit; font: inherit; font-size: 15px; font-weight: 500; cursor: default; }
.video-ph.is-ready { cursor: pointer; }
.video-ph .play { width: 68px; height: 68px; border-radius: 50%; background: #ffffff; color: #1a1a19; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.15s ease; }
.video-ph.is-ready:hover .play { transform: scale(1.06); }
.video-ph small { font-size: 13px; color: #9c9c96; font-weight: 400; }
.step { position: relative; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.step h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.step p { color: var(--text); font-size: 15px; }
.step .act { margin-top: auto; padding-top: 8px; }
.trial { margin-top: 28px; padding: 26px 32px; border-radius: 16px; background: var(--btn-bg); color: var(--btn-fg); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.trial b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-right: auto; }
.trial .btn { background: var(--btn-fg); color: var(--btn-bg); }
.trial .link { color: inherit; text-decoration-color: currentColor; }
@media (max-width: 640px) { .trial { flex-direction: column; align-items: flex-start; } .trial b { margin-right: 0; } }

/* 5. Savollar */
.faq { display: flex; flex-direction: column; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 600; font-size: 16px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform 0.18s ease; color: var(--muted); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 2px 20px; color: var(--text); font-size: 15px; max-width: 64ch; }
#savollar .wrap { display: flex; flex-direction: column; align-items: center; }
#savollar .sec-head { align-items: center; text-align: center; }
#savollar .faq { width: 100%; }

.final { padding-block: 80px; background: var(--page); border-top: 1px solid var(--line-soft); }
.final .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.final h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.12; max-width: 30ch; }
.final .cta { justify-content: center; margin-top: 0; }
.footer { border-top: 1px solid var(--line-soft); padding-block: 28px 36px; font-size: 13.5px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .sp { flex: 1; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .fcards { grid-template-columns: 1fr; }
  .pains, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 700px) {
  .flow { display: none; }
  .flow.flow-sm { display: block; }
}
@media (max-width: 600px) {
  .band { padding-block: 56px; }
  .hero { padding-block: 40px 56px; }
  .btn { height: 46px; padding: 0 22px; }
  .nav .wrap { height: 60px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .flow .dot, .flow .pulse { display: none; }
  .flow .bar { transform: none; }
  .pic * { animation: none !important; }
}

/* Hujjat sahifalari (privacy.html) */
.doc { padding-block: 48px 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.15; margin: 0 0 8px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc .date { color: var(--muted); font-size: 13.5px; }
.doc a { color: var(--ink); }

/* v2: v1 tuzilmasi oʻzgarmagan, faqat yozuvlar, boʻshliqlar va tugmalar kattaroq (≈1.2×). */
body { font-size: 18px; line-height: 1.6; }
.wrap { max-width: 1180px; }
.band { padding-block: 96px; }
.eyebrow { font-size: 14px; }
.h2 { font-size: clamp(30px, 3.6vw, 42px); max-width: 30ch; }
.lead { font-size: 20px; margin-top: 16px; max-width: 58ch; }
.sec-head { margin-bottom: 48px; }
.brand-name { font-size: 25px; }
.dot { width: 11px; height: 11px; }
.btn { height: 58px; padding: 0 32px; font-size: 18px; gap: 10px; }
.btn-sm { height: 50px; padding: 0 24px; font-size: 16px; }
.link { font-size: 18px; }
.nav .wrap { height: 78px; gap: 32px; }
.nav-links { gap: 28px; }
.nav-links a { font-size: 16px; }
.hero { padding-block: 72px 96px; }
.hero h1 { font-size: clamp(34px, 4.2vw, 50px); }
.hero .lead { font-size: 21px; max-width: 48ch; }
.cta { gap: 16px 26px; margin-top: 36px; }
.trust { font-size: 16px; margin-top: 28px; gap: 10px 26px; }
.flow { max-width: 1080px; }
.pains, .fcards, .steps { gap: 18px; }
.pain { padding: 28px; gap: 14px; }
.pain h3 { font-size: 20px; }
.pain p { font-size: 17px; }
.pain .cons, .pain .fix, .pain .q, .pain .msg { font-size: 16px; }
.pain .fix { padding: 14px 16px; }
.pain .body { flex: 1; }
.pain .msg { margin-top: auto; }
.fbody { padding: 24px 26px 28px; }
.fbody .n { font-size: 13px; }
.fbody h3 { font-size: 22px; }
.fbody p { font-size: 16.5px; margin-top: 12px; }
.fmock { zoom: 1.1; }
.video-ph { font-size: 17px; }
.video-ph small { font-size: 15px; }
.step { padding: 28px; gap: 12px; }
.step::before { width: 36px; height: 36px; font-size: 15px; }
.step h3 { font-size: 21px; }
.step p { font-size: 17px; }
.trial { padding: 30px 36px; gap: 18px 32px; }
.trial b { font-size: 32px; }
.faq { max-width: 880px; }
.faq summary { font-size: 19px; padding: 22px 2px; }
.faq summary svg { width: 22px; height: 22px; }
.faq .ans { font-size: 17px; max-width: 70ch; padding-bottom: 24px; }
.final { padding-block: 96px; }
.final h2 { font-size: clamp(32px, 4vw, 46px); }
.footer { font-size: 15px; padding-block: 32px 40px; }
@media (max-width: 600px) {
  body { font-size: 17px; }
  .band { padding-block: 64px; }
  .btn { height: 54px; padding: 0 26px; }
  .nav .wrap { gap: 10px; }
  .nav .brand-name { font-size: 22px; }
  .nav .btn-sm { height: 44px; padding: 0 16px; font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 19px; }
  .h2 { font-size: 28px; }
  .lead { font-size: 18px; }
}

/* Galereya: asosiy rasm bosiladi, ostida nuqtalar, toʻliq ekran koʻrish */
.shot-btn { display: block; width: 100%; padding: 0; cursor: zoom-in; text-align: left; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.dots button[aria-selected="true"] { background: var(--ink); }
.dots-light button { background: rgba(255, 255, 255, 0.35); }
.dots-light button[aria-selected="true"] { background: #fff; }
.lb { position: fixed; inset: 0; z-index: 50; background: #000; display: flex; align-items: center; justify-content: center; padding: 0; }
.lb[hidden] { display: none; }
.lb-img { width: 100vw; height: 100vh; max-width: none; max-height: none; object-fit: contain; border-radius: 0; background: #000; }
.lb .dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: max(18px, env(safe-area-inset-bottom, 0px)); margin-top: 0; padding: 9px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); }
.lb-x, .lb-nav { position: absolute; border: 0; border-radius: 50%; width: 48px; height: 48px; background: rgba(255, 255, 255, 0.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-x:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.26); }
.lb-x { top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb-nav { display: none; }
}

/* Til almashtirgich (UZ / RU) */
.lang-pending body { visibility: hidden; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); flex: none; }
.lang button { min-width: 40px; height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }
@media (max-width: 600px) {
  .lang button { min-width: 34px; height: 30px; padding: 0 8px; font-size: 13px; }
}
.nav-links a { white-space: nowrap; }
.nav .lbl-short { display: none; }
@media (max-width: 1240px) {
  .nav-links { gap: 18px; margin-left: 4px; }
  .nav .wrap { gap: 20px; }
}
.nav .btn-sm { flex: none; }
@media (max-width: 1120px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .nav .wrap { gap: 8px; }
  .nav .brand-name { font-size: 20px; }
  .nav .lbl-full { display: none; }
  .nav .lbl-short { display: inline; }
  .nav .btn-sm { height: 42px; padding: 0 14px; font-size: 14px; }
  .lang button { min-width: 30px; padding: 0 6px; }
}
@media (max-width: 380px) {
  .nav .btn-sm { display: none; }
}
/* Til almashganda tugmalar joyidan siljimasin: har bir «Oʻrnatish» tugmasining eni uzunroq (ruscha)
   matnga moʻljallangan, matn markazda. Menyu ruscha havolalar bilan ham bir qatorga sigʻadi:
   sigʻmasa, oʻng guruh (UZ/RU va tugma) chetga surilib ketardi. */
.nav .btn-sm { min-width: 234px; }
.nav .wrap { gap: 20px; }
.nav-links { gap: 20px; margin-left: 4px; }
.hero .cta .btn { min-width: 300px; }
.trial .btn, .final .btn { min-width: 272px; }
.hero .cta .link, .trial .link, .final .cta .link { min-width: 104px; justify-content: center; }
@media (max-width: 1160px) {
  html[lang="ru"] .nav-links { display: none; }
}
@media (max-width: 600px) {
  .nav .wrap { gap: 8px; }
  .nav .btn-sm { min-width: 116px; }
}

/* Telefon (≤600px): ixcham boʻshliqlar, telefon eniga choʻzilgan tugmalar, kartalar yonma-yon suriladi,
   oʻrnatish qadamlari ixcham roʻyxat. Kompyuter koʻrinishi oʻzgarmaydi. */
.c-dots { display: none; }
@media (max-width: 600px) {
  .band, .flow-band { padding-block: 48px; }
  .hero { padding-block: 28px 44px; }
  .final { padding-block: 56px; }
  .sec-head { margin-bottom: 24px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 31px; }
  .h2, .final h2 { font-size: 26px; }
  .lead, .hero .lead { font-size: 17px; }

  .cta { margin-top: 24px; }
  .hero .cta, .final .cta { flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
  .hero .cta .btn, .final .btn, .trial .btn { width: 100%; min-width: 0; }
  .hero .cta .link, .final .cta .link, .trial .link { min-height: 44px; min-width: 0; justify-content: center; }
  .trust { margin-top: 14px; font-size: 15px; }
  .shot img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

  .pains, .fcards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px));
    scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .pains::-webkit-scrollbar, .fcards::-webkit-scrollbar { display: none; }
  .pain, .fcard { flex: 0 0 86%; scroll-snap-align: start; }
  .pain { padding: 16px; gap: 10px; }
  .pain h3 { font-size: 18px; }
  .pain .cons, .pain .msg { font-size: 15px; }
  .fbody { padding: 18px 18px 22px; }
  .fbody h3 { font-size: 19px; }
  .fbody p { font-size: 15.5px; }
  .c-dots { display: flex; margin-top: 16px; }

  .video-ph small { padding-inline: 16px; text-align: center; font-size: 13px; }

  .steps { gap: 10px; }
  .step { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; }
  .step::before { grid-row: 1 / span 2; margin: 0; width: 32px; height: 32px; font-size: 14px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 16px; }
  .trial { padding: 22px; align-items: stretch; gap: 12px; margin-top: 20px; }
  .trial b { font-size: 28px; }

  .faq summary { font-size: 17px; padding: 16px 2px; }
  .faq .ans { font-size: 16px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer .sp { display: none; }
}

/* Bosh rasm: barmoq yoki sichqoncha bilan yonga surilsa keyingi/oldingi rasm chiqadi; tik surish sahifani aylantiradi. */
.shot-btn { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.shot-btn img { -webkit-user-drag: none; will-change: transform; }
.shot-btn.is-drag { cursor: grabbing; }
