/* ==========================================================================
   2Brain — bosh sahifa.
   Bitta vizual dunyo: qog'oz va qora bo'laklar, lime faqat harakat va urg'u.
   Mavzu almashtirgichi yo'q — ranglar shu yerda qat'iy belgilangan, shuning
   uchun telefon qorong'i rejimda bo'lsa ham sahifa bir xil ko'rinadi.
   ========================================================================== */

body.ld {
  --paper: #EEEEE8;
  --paper-2: #E5E5DD;
  --line: rgba(18, 19, 16, .14);
  --ink: #121310;
  --ink-soft: #3A3B35;
  --mut: #6C6D64;
  --night: #121310;
  --night-2: #1C1D19;
  --night-3: #2A2B26;
  --night-ink: #F4F5EF;
  --night-mut: #8E9086;
  --night-line: rgba(244, 245, 239, .12);
  --lime: #D2F34C;
  --lime-600: #C3E633;
  --late: #E5484D;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --ease-o: cubic-bezier(.16, 1, .3, 1);

  /* tokens.css komponentlari (tugma, input) shu qiymatlarni olsin */
  --bg: var(--paper);
  --surface: #FFFFFF;
  --surface-2: #F6F6F1;
  --surface-3: #EAEAE3;
  --ink-2: var(--ink-soft);
  --muted: var(--mut);
  --muted-2: #9A9B92;
  --border: #E2E2DA;
  --border-2: #CFCFC6;
  --brand: var(--ink);
  --brand-600: #2A2B26;
  --brand-ink: #FFFFFF;

  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  color-scheme: light;
}
body.ld ::selection { background: var(--lime); color: var(--ink); }
.ld img, .ld svg { max-width: 100%; }
.ld a { color: inherit; }
.ld button { font: inherit; cursor: pointer; }
.ld :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: none; }
.ld .band :focus-visible { outline-color: var(--lime); }

.skip { position: absolute; left: 16px; top: -48px; z-index: 300; padding: 8px 16px; border-radius: var(--r-full); background: var(--ink); color: var(--lime); text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- Tipografiya ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--mut);
  margin: 0 0 24px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(18, 19, 16, .18); }
.band .eyebrow { color: var(--night-mut); }
.band .eyebrow::before { box-shadow: none; }

.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 80px); line-height: 1; letter-spacing: -.045em;
  margin: 0; text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 54ch; margin: 24px 0 0; }
.band .lead { color: var(--night-mut); }

/* Harakat uchun so'zlar (motion.js) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ---------- Tugmalar ---------- */
.ld .btn { border-radius: var(--r-full); font-weight: 600; letter-spacing: -.01em; min-height: 44px; }
.ld .btn-sm { min-height: 40px; }
.ld .btn-lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.ld .btn-lime:hover { background: var(--lime-600); }
.ld .btn-ghost { background: transparent; border-color: transparent; color: var(--ink); }
.ld .btn-ghost:hover { background: rgba(18, 19, 16, .06); }
.ld .btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.ld .btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ld .btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .45s var(--ease-o), background .3s, box-shadow .3s;
}
.hdr.stuck { background: rgba(238, 238, 232, .86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 72px; display: flex; align-items: center; gap: 32px; }
.ld .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.ld .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.ld .brand-name { font-size: 21px; }
.hdr-nav { display: flex; gap: 4px; }
.hdr-nav a { padding: 8px 14px; border-radius: var(--r-full); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.hdr-nav a:hover { color: var(--ink); background: rgba(18, 19, 16, .06); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ld .lang { background: rgba(18, 19, 16, .06); padding: 4px; }
.ld .lang button { min-height: 32px; min-width: 36px; padding: 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--mut); background: none; border: 0; border-radius: var(--r-full); }
.ld .lang button.active { background: var(--ink); color: var(--paper); box-shadow: none; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-o); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger.on span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.on span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 72px 0 auto; z-index: 99; padding: 16px var(--gut) 24px;
  background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 24px 48px rgba(18, 19, 16, .12);
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease-o);
}
.mobile-nav.open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav a { padding: 14px 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }
.mnav-lang { align-self: flex-start; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(120px, 15vw, 184px) 0 clamp(64px, 8vw, 112px); }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6.6vw, 108px); line-height: .98; letter-spacing: -.05em;
  margin: 0;
}
.hero-title .line { display: block; }
.hero-title .line + .line { color: var(--ink); }
.hero-title .line:last-child { position: relative; }
.hero-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.hero-lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 50ch; margin: 0; }
.hero-form {
  margin-top: 32px; display: flex; gap: 8px; padding: 6px; max-width: 520px;
  background: #fff; border-radius: var(--r-full); box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(18, 19, 16, .08);
}
.hero-input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 20px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.hero-input::placeholder { color: #9A9B92; }
.hero-form:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 12px 32px rgba(18, 19, 16, .08); }
.hero-note { margin: 16px 0 0 20px; font-size: 14px; color: var(--mut); }

/* Chat parchalari — rahbar har kuni ko'radigan tartibsizlik */
.noise { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.msg {
  align-self: flex-start; margin: 0 0 0 var(--o, 0%); max-width: min(100%, 340px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: end;
  padding: 10px 14px 10px 16px; border-radius: 18px 18px 18px 6px;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(18, 19, 16, .06);
  transform: rotate(var(--r, 0deg)); font-size: 15px; line-height: 1.4;
}
.msg b { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: #2F7FC1; }
.msg span { color: var(--ink); }
.msg time { font-size: 11px; color: var(--mut); font-variant-numeric: tabular-nums; }
.msg:nth-child(2) b, .msg:nth-child(6) b { color: #C2410C; }
.msg:nth-child(3) b { color: #15803D; }
.msg:nth-child(4) b { color: #7C3AED; }
.msg:nth-child(5) b { color: #BE185D; }

/* ---------- Video ---------- */
.vid { padding: 0 0 clamp(80px, 10vw, 140px); }
.vid-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.vid-h .eyebrow { order: 2; margin: 0; }
.vid-frame { position: relative; border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: 0 30px 80px rgba(18, 19, 16, .18); }
.vid-frame video { display: block; width: 100%; height: auto; }
.vid-tall { display: none !important; }
.vid-toggle {
  position: absolute; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(18, 19, 16, .7); color: var(--night-ink); display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.vid-toggle svg { width: 20px; height: 20px; }
.vid-toggle .i-play { display: none; }
.vid-frame.is-paused .vid-toggle .i-play { display: block; }
.vid-frame.is-paused .vid-toggle .i-pause { display: none; }
@media (max-width: 760px) {
  .vid-wide { display: none !important; }
  .vid-tall { display: block !important; }
  .vid-frame { border-radius: 22px; max-width: 420px; margin-inline: auto; }
}

/* ---------- Qora bo'laklar ---------- */
.band { background: var(--night); color: var(--night-ink); position: relative; }
.band .h2 { color: var(--night-ink); }
.sys .h2 { font-size: clamp(32px, 3.6vw, 52px); }

/* ---------- Chatdan tizimga ---------- */
.sys { padding: clamp(80px, 10vw, 140px) 0; }
.sys-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sys-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 12px; }
.sys-facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.5; color: var(--night-ink); }
.sys-facts li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23121310' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.stage { display: grid; gap: 16px; }
.tg { background: #17212B; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--night-line); }
.tg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #232E3C; }
.tg-head b { display: block; font-size: 15px; font-weight: 600; }
.tg-head small { font-size: 12px; color: #7F91A4; }
.tg-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #E8A54B; color: #fff; font-weight: 700; font-size: 14px; }
.tg-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.tg-m { margin: 0; align-self: flex-start; max-width: 88%; padding: 8px 12px 10px; border-radius: 14px 14px 14px 4px; background: #182533; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); font-size: 14px; line-height: 1.4; }
.tg-m b { display: block; font-size: 13px; font-weight: 600; color: #6AB3F3; margin-bottom: 2px; }
.tg-m:nth-child(3) b { color: #E8A54B; }
.tg-m:nth-child(4) b { color: #7ED07E; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.col { background: var(--night-2); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; }
.col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 4px 4px 8px; font-size: 13px; font-weight: 600; color: var(--night-mut); }
.col h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--night-mut); }
.col:nth-child(2) h3 i { background: #6AB3F3; }
.col:nth-child(3) h3 i { background: #E8A54B; }
.col:nth-child(4) h3 i { background: var(--lime); }
.tk { background: var(--night-3); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.tk b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.tk small { font-size: 12px; color: var(--night-mut); }
.tk.late { box-shadow: inset 3px 0 0 var(--late); }
.tk.late small { color: #FF8A8E; }
.tk.done { background: var(--lime); color: var(--ink); }
.tk.done small { color: rgba(18, 19, 16, .65); }
/* Harakatsiz holatda bitta vazifa uch joyda turmasin — faqat yakuniy holati */
.mover[data-step="1"], .mover[data-step="2"] { display: none; }

/* ---------- Og'riqlar ---------- */
.sec { padding: clamp(88px, 11vw, 160px) 0; }
.sec-h { max-width: 980px; margin-bottom: clamp(40px, 6vw, 80px); }
.pains { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.pain-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 5vw, 80px);
  padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); align-items: baseline;
}
.pain-p {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 3vw, 42px); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance;
}
.pain-p mark {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / var(--hl, 100%) .36em;
  color: inherit; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pain-f { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Bir ish kuni ---------- */
.day { padding: clamp(80px, 10vw, 128px) 0 clamp(72px, 8vw, 104px); overflow: hidden; }
.day-pin { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.day-h { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 var(--gut); }
.day-h .h2 { max-width: 16ch; }
.day-track { display: flex; gap: 20px; padding: 0 var(--gut) 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); width: max-content; }
.moment {
  width: 360px; flex: none; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: 28px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line);
}
.moment time { font-family: var(--font-display); font-weight: 600; font-size: 52px; line-height: 1; letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; }
.moment.is-month time { font-size: 40px; }
.moment h3 { margin: 8px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.moment p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--night-mut); }
.mock { margin-top: auto; padding-top: 12px; }
.bot { background: var(--night-3); border-radius: 14px 14px 14px 4px; padding: 10px 14px 12px; font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 4px; }
.bot b { font-size: 12px; font-weight: 600; color: var(--lime); }
.btns { display: flex; gap: 6px; margin-top: 6px; }
.btns i { flex: 1; font-style: normal; text-align: center; padding: 7px 8px; border-radius: 8px; background: rgba(244, 245, 239, .08); font-size: 13px; font-weight: 600; }
.script { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; padding: 14px; border-radius: 14px; background: var(--night-3); font-size: 13.5px; line-height: 1.4; }
.script dt { color: var(--lime); font-weight: 600; font-variant-numeric: tabular-nums; }
.script dd { margin: 0; }
.voice { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--night-3); }
.play { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--lime); position: relative; }
.play::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { flex: 1; border-radius: 2px; background: var(--night-mut); height: 30%; }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(4n) { height: 100%; } .wave i:nth-child(5n) { height: 50%; }
.wave i:nth-child(-n+6) { background: var(--lime); }
.voice small { font-size: 12px; color: var(--night-mut); font-variant-numeric: tabular-nums; }
.pubs { list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: var(--night-3); display: flex; flex-direction: column; }
.pubs li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; font-size: 14px; }
.pubs li b { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-full); background: var(--lime); color: var(--ink); }
.pf { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.pf svg { width: 15px; height: 15px; fill: currentColor; }
.pf[data-p="instagram"] { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.pf[data-p="telegram"] { background: #27A7E7; }
.pf[data-p="youtube"] { background: #FF0033; }
.day-bar { display: none; }

/* ---------- KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.formula { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.formula li { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.formula b { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.formula span { font-size: 16px; color: var(--ink-soft); }
.kpi-table { background: #fff; border-radius: 28px; padding: clamp(16px, 2.4vw, 32px); box-shadow: 0 1px 0 var(--line), 0 24px 64px rgba(18, 19, 16, .08); }
.kt-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .6fr) minmax(0, .6fr) minmax(0, 1.5fr); gap: 16px; align-items: center; padding: 16px 8px; border-top: 1px solid var(--border); font-size: 15px; }
.kt-head { border-top: 0; padding-top: 0; font-size: 13px; font-weight: 600; color: var(--mut); }
.kt-row b { font-weight: 600; }
.kt-row small { display: block; font-size: 13px; color: var(--mut); }
.kt-row .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.score { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 12px; align-items: center; }
.score i { height: 10px; border-radius: var(--r-full); background: var(--surface-3); position: relative; overflow: hidden; }
.score i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--ink); transform-origin: left; transform: scaleX(var(--s, 1)); }
.kt-row:nth-child(2) .score i::after { background: var(--lime); box-shadow: inset 0 0 0 1px rgba(18, 19, 16, .12); }
.score.is-low i::after { background: #B9BAB0; }
.score b { font-family: var(--font-display); font-size: 20px; letter-spacing: -.04em; text-align: right; font-variant-numeric: tabular-nums; }
.kt-foot { margin: 16px 8px 0; font-size: 13px; color: var(--mut); }

/* ---------- Narxlar ---------- */
.price { padding-top: 0; }
.price .lead { margin-top: 20px; }
.seatcalc { background: var(--night); color: var(--night-ink); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: center; margin-bottom: 24px; }
.seatcalc-in label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; color: var(--night-mut); margin-bottom: 20px; }
.seatcalc-in label b { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.04em; color: var(--night-ink); white-space: nowrap; }
#seatRange { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--r-full); background: linear-gradient(var(--lime), var(--lime)) 0 / var(--fill, 8%) 100% no-repeat, var(--night-3); outline: none; }
#seatRange::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); border: 4px solid var(--night); box-shadow: 0 0 0 1px var(--lime); cursor: grab; }
#seatRange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--night); cursor: grab; }
#seatRange:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }
.seatcalc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seatcalc-out > div { padding: 16px 18px; border-radius: 18px; background: var(--night-2); display: flex; flex-direction: column; gap: 4px; }
.seatcalc-out > div.is-hl { background: var(--lime); color: var(--ink); }
.seatcalc-out span { font-size: 14px; font-weight: 600; }
.seatcalc-out b { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.seatcalc-out small { font-size: 12px; color: var(--night-mut); line-height: 1.4; }
.seatcalc-out .is-hl small { color: rgba(18, 19, 16, .7); }
.seatcalc-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--night-mut); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 2.6vw, 36px); border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.plan h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.plan-d { margin: 0; font-size: 15px; color: var(--mut); }
.plan-p { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.plan-p span:first-child { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-p .per { font-size: 15px; color: var(--mut); }
.plan-note { margin: 0 0 16px; font-size: 14px; color: var(--mut); }
.ticks { list-style: none; margin: 0 0 24px; padding: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.45; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23D2F34C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { background: var(--night); color: var(--night-ink); box-shadow: none; }
.plan.featured .plan-d, .plan.featured .plan-note, .plan.featured .plan-p .per { color: var(--night-mut); }
.plan.featured .ticks { border-top-color: var(--night-line); }
.plan.featured .ticks li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23121310' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-tag { position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: var(--r-full); background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 600; }
.price-addon { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin: 32px 0 0; font-size: 14px; color: var(--mut); text-align: center; }

/* ---------- Savollar ---------- */
.faq-sec { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .sec-h { position: sticky; top: 104px; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.fitem { border-bottom: 1px solid var(--line); }
.fitem summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.fitem summary::-webkit-details-marker { display: none; }
.fitem summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: rgba(18, 19, 16, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23121310' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--ease-o), background-color .2s; }
.fitem[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.fitem p { margin: 0 0 24px; max-width: 60ch; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Yakun ---------- */
.final { padding: clamp(64px, 8vw, 112px) 0 clamp(80px, 10vw, 144px); overflow: hidden; }
.marquee { overflow: hidden; border-block: 1px solid var(--night-line); padding: 20px 0; margin-bottom: clamp(56px, 8vw, 112px); }
.marquee-in { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee-in span { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.035em; color: var(--night-mut); white-space: nowrap; padding-right: .6em; }
@keyframes mq { to { transform: translateX(-50%); } }
.final-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.final-t { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 9vw, 152px); line-height: .95; letter-spacing: -.055em; margin: 0; color: var(--lime); }
.final .lead { margin: 32px 0 40px; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--night-mut); padding: 0 0 48px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 48px; border-top: 1px solid var(--night-line); }
.foot .brand { color: var(--night-ink); }
.foot-note { margin: 16px 0 0; font-size: 14px; line-height: 1.55; max-width: 36ch; }
.foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--night-ink); }
.foot-grid a:not(.brand) { display: block; padding: 6px 0; font-size: 14px; text-decoration: none; }
.foot-grid a:not(.brand):hover { color: var(--lime); }

/* ---------- Kirish oynasi ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-back { position: absolute; inset: 0; background: rgba(18, 19, 16, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(100%, 440px); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 32px; transform: translateY(12px) scale(.98); transition: transform .35s var(--ease-o); }
.modal.open .modal-card { transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); }
.modal-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; }
.auth-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-full); background: var(--surface-2); margin-bottom: 24px; }
.atab { flex: 1; min-height: 40px; border: 0; border-radius: var(--r-full); background: none; font-weight: 600; font-size: 14px; color: var(--mut); }
.atab.active { background: var(--ink); color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .reg-only { display: none; }
.auth-form.register .reg-only { display: block; }
.auth-form .input { width: 100%; min-height: 48px; border-radius: 14px; }
.auth-err { margin: 0; min-height: 1em; font-size: 14px; color: var(--late); }
.auth-submit { width: 100%; }

/* ---------- Moslashuv ---------- */
@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .burger { display: block; }
  .hdr-right > .btn-ghost { display: none; }
}
@media (max-width: 999px) {
  .sys-in, .kpi-grid, .faq-grid, .seatcalc { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .sec-h { position: static; }
  .board { overflow-x: auto; grid-template-columns: repeat(4, minmax(180px, 1fr)); padding-bottom: 4px; scrollbar-width: thin; }
  .day-track { width: auto; flex-direction: column; }
  .moment { width: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .noise { gap: 10px; }
  .msg { font-size: 14px; margin-left: calc(var(--o, 0%) * .6); }
  .msg:nth-child(n+5) { display: none; }
  .pain-row { grid-template-columns: minmax(0, 1fr); }
  .seatcalc-out { grid-template-columns: minmax(0, 1fr); }
  .seatcalc-out > div { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
  .seatcalc-out small { flex-basis: 100%; }
  .kt-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr) minmax(0, 1.2fr); }
  .kt-row > :nth-child(3) { display: none; }
  .hero-form { flex-direction: column; border-radius: 24px; padding: 8px; }
  .hero-input { min-height: 48px; padding: 0 12px; }
  .hero-note { margin-left: 0; }
}
@media (max-width: 480px) {
  .hdr-right .lang { display: none; }
  .moment { padding: 22px; border-radius: 22px; }
  .moment time { font-size: 44px; }
  .modal-card { padding: 24px; }
}

/* ---------- Harakat yoqilganda (motion.js, katta ekran) ---------- */
@media (min-width: 1000px) {
  .has-motion .mover[data-step="1"], .has-motion .mover[data-step="2"] { display: flex; }
  .has-motion .sys { min-height: 100vh; display: flex; align-items: center; padding: 96px 0 40px; }
  .has-motion .sys-in { width: 100%; }
  .has-motion .stage { position: relative; height: min(520px, 68vh); display: block; }
  .has-motion .tg, .has-motion .board { position: absolute; inset: 0; }
  .has-motion .tg { inset: 0 18% 0 0; }
  .has-motion .board { align-content: stretch; }
  .has-motion .day { min-height: 100vh; display: flex; align-items: center; padding: 96px 0 40px; }
  .has-motion .day-pin { width: 100%; }
  .has-motion .day-bar { display: block; max-width: var(--wrap); width: calc(100% - 2 * var(--gut)); margin: 0 auto; height: 3px; border-radius: 3px; background: var(--night-3); overflow: hidden; }
  .has-motion .day-bar i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
}

@media (min-width: 1000px) and (max-height: 820px) {
  .has-motion .day .h2, .has-motion .sys .h2 { font-size: 48px; }
  .has-motion .day-pin { gap: 32px; }
  .has-motion .moment { padding: 22px; gap: 8px; }
  .has-motion .moment time { font-size: 40px; }
  .has-motion .sys .lead { margin-top: 16px; }
  .has-motion .sys-facts { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-in { animation: none; }
  .hdr { transition: none; }
}
