/* Verf landing — dizayn: «Verf — landing page» (Claude Design, 2026-11-26).
   Ranglar ilovaning qorong'i palitrasidan (Design/Tokens.swift). */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/InstrumentSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/JetBrainsMono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #16181B;
  --surface: #1C1F23;
  --popover: #1F2226;
  --chip: #22262B;
  --line: #2A2F35;
  --line-strong: #3A4048;
  --text: #F5F4F0;
  --text-2: #A5ACB4;
  --text-3: #868D95;
  --bar: #6B727A;
  --accent: #EF9F27;
  --accent-ring: rgba(239, 159, 39, 0.16);
  --accent-halo: rgba(239, 159, 39, 0.22);
  --violet: #7F77DD;
  --shadow: 0 30px 80px -32px rgba(0, 0, 0, 0.8);
  --shadow-soft: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

/* Ikkala shriftda kirill yo'q: rus sahifasi butunlay tizim shriftida
   (Mac'da SF Pro / SF Mono — ilovaning o'z shrifti). Aks holda bitta
   gapda lotin va kirill harflari ikki xil shriftda chiqardi. */
html[lang='ru'] {
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--text); }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg { flex: none; }

.m { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.el { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nw { white-space: nowrap; }
.grow { flex: 1; }
.t2 { color: var(--text-2); }
.t3 { color: var(--text-3); }
.ac { color: var(--accent); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--bg); }

/* ── Sahifa karkasi ─────────────────────────────────────────────── */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sec { padding-top: 112px; }
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 72px; }

.h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.kicker {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.lead { margin: 20px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.lead + .lead { margin-top: 16px; }
.lead--lg { margin: 0; font-size: 18px; }
.lead--lg + .lead--lg { margin-top: 20px; }
.hl { color: var(--text); }

.req { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-3); }
.touch-hint { margin: 10px 0 0; max-width: 34em; font-size: 13px; line-height: 1.55; color: var(--text-2); }

/* Verf faqat Mac uchun: sensorli, sichqonchasiz qurilmada (telefon, planshet)
   yuklab olish o'rniga «Havolani Mac'ga yuborish» ko'rinadi. */
@media (hover: none) and (pointer: coarse) { .desk-only { display: none !important; } }
@media (hover: hover), (pointer: fine) { .touch-only { display: none !important; } }

/* ── Tugmalar va havolalar ──────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: filter 0.15s, border-color 0.15s, background-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--accent); color: var(--bg); font-weight: 600; }
.btn--primary:hover { filter: brightness(1.08); color: var(--bg); }
.btn--secondary { padding: 0 18px; border: 1px solid var(--line-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--text-3); background-color: var(--surface); color: var(--text); }
.btn--sm { height: 36px; padding: 0 14px; gap: 8px; font-size: 14px; }
.btn--lg { height: 48px; padding: 0 22px; }
.btn--block { width: 100%; justify-content: center; }

.ln { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.ln:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* ── Navigatsiya ────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 24, 27, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__links { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.lang { display: flex; align-items: center; gap: 2px; margin: 0 -8px; }
.lang a {
  padding: 4px 6px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current='page'] { color: var(--text); background: var(--line); }

/* ── Hero ───────────────────────────────────────────────────────── */

.hero { padding-top: 96px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px 64px; }
.hero__copy { flex: 1 1 440px; min-width: 0; max-width: 580px; }
.hero__copy .kicker { margin-bottom: 22px; }
.hero__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.hero__lead { margin: 22px 0 0; max-width: 34em; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }

/* Menyu satri va popover */
.mb { flex: 0 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; }
.mb__bar {
  align-self: stretch;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-2);
}
.mb__item { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 5px; background: var(--line); color: var(--text); font-size: 12px; }
.mb__clock { padding: 0 8px; white-space: nowrap; }

.pop {
  width: 300px;
  max-width: 100%;
  margin: 8px 20px 0 0;
  padding: 16px 18px 18px;
  background: var(--popover);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 28px 64px -24px rgba(0, 0, 0, 0.75);
}
.pop__head { display: flex; align-items: center; justify-content: space-between; }
.pop__brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.pop__more { color: var(--text-3); letter-spacing: 2px; font-size: 13px; }
.pop__project { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.pop__name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.pop__state { font-size: 12px; color: var(--accent); }
.pop__time { margin-top: 20px; text-align: center; font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.pop__since { margin-top: 10px; text-align: center; font-size: 12px; color: var(--text-3); }
.pop__track { position: relative; height: 6px; margin-top: 22px; background: var(--bg); border-radius: 3px; }
.pop__track span { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--bar); }
.pop__track span.on { background: var(--accent); }
.pop__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: var(--text-3); }
.pop__buttons { display: flex; gap: 8px; margin-top: 18px; }
.pop__buttons span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
}

.dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }
.dot--ring { box-shadow: 0 0 0 3px var(--accent-ring); }
.dot--sm { width: 6px; height: 6px; }
.dot--xs { width: 5px; height: 5px; }

/* ── Ilova oynasi maketlari ─────────────────────────────────────── */

.shot { overflow-x: auto; padding-bottom: 48px; }
.shot--how { margin-top: 56px; padding-bottom: 40px; }
.hero .shot { margin-top: 88px; }

.frame {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame--soft { box-shadow: var(--shadow-soft); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.cap { font-size: 10px; letter-spacing: 0.05em; color: var(--text-3); text-transform: uppercase; }
.cap--lg { font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; }
.chip {
  height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  font-family: var(--mono);
  font-size: 11px;
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 4px;
  white-space: nowrap;
}
.chip--add { gap: 4px; font-family: var(--sans); background: none; border: 1px dashed var(--line-strong); color: var(--text-3); }
.badge { font-size: 10px; font-weight: 500; color: var(--text-2); padding: 1px 6px; border-radius: 9px; background: var(--line); }

.ctl {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.ctl--quiet { gap: 9px; padding: 0 10px 0 11px; border: 1px solid var(--line); font-weight: 400; color: var(--text-2); }
.ctl--raised { background: var(--chip); border: 1px solid var(--line-strong); }
.ctl--accent { padding: 0 14px; background: var(--accent); color: var(--bg); }
.ctl .plus { color: var(--text-2); font-size: 14px; line-height: 1; margin-top: -1px; }

.seg { display: flex; padding: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font-size: 11.5px; white-space: nowrap; }
.seg span { padding: 4px 10px; color: var(--text-3); }
.seg span.on { border-radius: 4px; background: var(--line); color: var(--text); font-weight: 500; }
.seg--sm span { padding: 3px 9px; }
.seg--surface { background: var(--surface); }

/* Bugun oynasi */
.win { display: flex; min-width: 1040px; }
.side {
  width: 196px;
  flex: none;
  padding: 0 10px 12px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12.5px;
  color: var(--text-2);
}
.side__lights { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 6px; }
.side__lights > span:not(.grow) { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.side__brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 12px; color: var(--text); }
.side__brand b { font-size: 13px; font-weight: 500; }
.side__item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 5px; }
.side__item.on { background: var(--line); color: var(--text); }
.side__item--search { border: 1px solid var(--line); margin-bottom: 6px; }
.side__group { padding: 12px 8px 4px; font-size: 10px; letter-spacing: 0.05em; color: var(--text-3); }
.kbd { font-family: var(--mono); font-size: 10px; color: var(--text-3); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar { height: 54px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.bar__title { font-size: 14px; font-weight: 500; }
.bar__sub { margin-top: 2px; font-size: 11px; color: var(--text-2); }
.bar__nav { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.bar__nav span { width: 26px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--text-2); font-size: 14px; }
.bar__nav span + span { border-left: 1px solid var(--line); color: var(--line-strong); }

.today { padding: 22px 24px 30px; display: flex; flex-direction: column; gap: 26px; }

.summary { display: flex; align-items: flex-start; gap: 24px; padding: 16px 18px 15px; }
.big { display: flex; align-items: baseline; white-space: nowrap; line-height: 1.1; }
.big b { font-size: 30px; font-weight: 500; letter-spacing: -0.6px; }
.big b + i { margin-left: 6px; }
.big i { font-style: normal; font-size: 14px; color: var(--text-2); }
.big i + b { margin-left: 10px; }
.vr { width: 1px; align-self: stretch; background: var(--line); }
.stats { display: flex; flex-wrap: wrap; gap: 12px 26px; white-space: nowrap; }
.stats--row { flex-wrap: nowrap; padding-top: 3px; }
.stat__label { font-size: 10.5px; color: var(--text-3); }
.stat__value { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; font-size: 14px; }
.stat__note { font-family: var(--sans); font-size: 10.5px; color: var(--text-3); }
/* Uzun tarjimada (ru) «Tafsilot» tugmasi kartadan chiqib ketmasin — pastga tushadi. */
.usage { min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 12px; }
.usage__line { display: flex; align-items: baseline; gap: 6px; font-size: 11px; color: var(--text-3); white-space: nowrap; }
.usage__line .m { font-size: 11.5px; color: var(--text-2); }
.usage__line .pct { font-weight: 500; color: var(--violet); }
.ctl--mini { height: 26px; gap: 8px; padding: 0 10px; background: var(--bg); border: 1px solid var(--line); font-size: 11px; font-weight: 400; color: var(--text-2); }

.stack { display: flex; flex-direction: column; gap: 10px; }
.stack--12 { gap: 12px; }
.stack--6 { gap: 6px; }
.head { display: flex; align-items: center; gap: 8px; }
.head .hint { font-size: 11px; color: var(--text-3); white-space: nowrap; }

.timer { display: flex; align-items: center; gap: 14px; padding: 11px 14px 11px 17px; }
.timer--lead { border-color: var(--line-strong); }
.timer__who { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.timer__name { display: flex; align-items: baseline; gap: 9px; font-size: 13px; font-weight: 500; }
.timer__org { font-size: 10px; letter-spacing: 0.05em; color: var(--text-3); }
.timer__chips { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.timer__chips .live { margin-left: 6px; color: var(--text-3); }
.timer__end { display: flex; align-items: center; gap: 16px; }
.timer__clock { font-size: 20px; font-weight: 500; letter-spacing: -0.2px; }
.pill {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--chip);
  border: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.pill__glyph { width: 9px; height: 6px; border: 1px solid var(--text-3); border-top-width: 2px; border-radius: 1.5px; }
.pill--ghost { visibility: hidden; }
.pair { display: flex; height: 28px; background: var(--chip); border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pair span { display: flex; align-items: center; gap: 7px; padding: 0 11px; }
.pair span + span { border-left: 1px solid var(--line-strong); }

/* Vaqt chizig'i */
.tl { display: flex; flex-direction: column; }
.tl__row { display: flex; }
.tl__time { width: 48px; flex: none; position: relative; top: -4px; text-align: right; font-size: 11px; line-height: 14px; }
.tl__rail { width: 32px; flex: none; position: relative; }
.tl__rail::before { content: ''; position: absolute; left: 15.5px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.tl__node { position: absolute; left: 12.5px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); }
.tl__node--live { left: 11.5px; top: -1px; width: 9px; height: 9px; border: 0; background: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-halo); }
.tl__gap { display: flex; height: 6px; }
.tl__gap::before { content: ''; width: 48px; flex: none; }
.tl__gap span { width: 32px; flex: none; display: flex; justify-content: center; }
.tl__gap span::before { content: ''; width: 1px; background: var(--line-strong); }
.tl__break { display: flex; height: 44px; }
.tl__break .tl__time { top: -7px; font-size: 10.5px; color: var(--text-3); }
.tl__break .tl__dash { width: 32px; flex: none; display: flex; justify-content: center; }
.tl__break .tl__dash::before { content: ''; width: 0; border-left: 1px dashed var(--line-strong); }
.tl__break .tl__label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-3); }

.entry { flex: 1; min-width: 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.entry__top { display: flex; align-items: center; gap: 10px; }
.entry__title { font-size: 12px; color: var(--text-2); }
.entry__dur { font-size: 13px; font-weight: 500; white-space: nowrap; }
.entry__dur--live { min-width: 58px; text-align: right; color: var(--accent); }
.entry__meta { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 10.5px; }
.entry__meta .chip { margin-right: 3px; }
.entry__flag { font-size: 10.5px; color: var(--text-3); }
.entry__live { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 500; color: var(--accent); }
.sep { width: 1px; height: 12px; flex: none; margin-right: 2px; background: var(--line); }
.commit { display: inline-flex; align-items: center; flex: none; }
.commit::before, .commit::after { content: ''; width: 3px; height: 1px; background: var(--text-3); }
.commit span { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--text-3); }
.commit__count { font-weight: 500; color: var(--text-3); white-space: nowrap; }

/* ── Muammo, qadamlar ───────────────────────────────────────────── */

.problem .h2 { flex: 1 1 340px; min-width: 0; max-width: 15ch; }
.problem__copy { flex: 1 1 420px; min-width: 0; max-width: 600px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px 40px; }
.steps li { flex: 1 1 280px; min-width: 0; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.steps__n { font-size: 12px; font-weight: 500; color: var(--text-3); }
.steps h3 { margin: 14px 0 0; font-size: 18px; line-height: 1.3; font-weight: 500; }
.steps p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* Manbalar oynasi */
.src { min-width: 760px; }
.src__cols { display: flex; align-items: flex-start; gap: 20px; padding: 20px 24px 24px; }
.src__col { flex: 1 1 0; min-width: 0; }
.src__col .cap { padding-bottom: 8px; }
.src__col .cap + .card + .cap { padding-top: 20px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt__icon { width: 30px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: var(--chip); color: var(--text-2); }
.opt__text { min-width: 0; }
.opt__title { font-size: 13px; font-weight: 500; }
.opt__hint { margin-top: 2px; font-size: 11.5px; color: var(--text-3); }
.opt__state { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.opt__state .dot { background: var(--text-2); }
.toggle { position: relative; width: 34px; height: 20px; flex: none; border-radius: 10px; background: var(--accent); }
.toggle::after { content: ''; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }

/* ── Parallel hisob ─────────────────────────────────────────────── */

.par { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.par__copy { flex: 1 1 340px; min-width: 0; max-width: 440px; }
.par__copy .lead--hl { color: var(--text); }
.par__visual { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.panel { padding: 16px 18px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-soft); }
.panel .stats { padding: 0 2px 16px; border-bottom: 1px solid var(--line); }
.panel .stack--6 { margin-top: 16px; }

.overlap { padding: 18px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.overlap__head { display: flex; align-items: center; font-size: 10.5px; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; }
.overlap__head .m { letter-spacing: 0; font-size: 11px; }
.overlap__row { display: flex; align-items: center; gap: 16px; }
.overlap__head + .overlap__row { margin-top: 16px; }
.overlap__hr { height: 1px; margin: 14px 0; background: var(--line); }
.overlap__label { width: 96px; flex: none; }
.overlap__label b { display: block; font-size: 13px; font-weight: 500; }
.overlap__label span, .overlap__sum span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text-3); }
.overlap__bars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.overlap__bars span { display: block; height: 6px; border-radius: 3px; background: var(--violet); }
.overlap__bars span.alt { background: var(--text-2); }
.overlap__sum { width: 72px; flex: none; text-align: right; }
.overlap__sum b { display: block; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.overlap__sum span { font-size: 11px; }
.overlap__axis { display: flex; justify-content: space-between; margin: 12px 88px 0 112px; font-size: 10px; color: var(--text-3); }

/* ── Hisobot va faktura ─────────────────────────────────────────── */

.month .h2 { flex: 1 1 340px; min-width: 0; max-width: 14ch; }
.month .lead--lg { flex: 1 1 420px; min-width: 0; max-width: 600px; }
.duo { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.duo > .frame { flex: 1 1 440px; min-width: 0; box-shadow: var(--shadow-soft); }

.fhead { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rep { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.tiles { display: flex; gap: 10px; }
.tile { flex: 1; min-width: 0; padding: 12px 14px; }
.tile__value { margin-top: 6px; font-size: 17px; font-weight: 500; white-space: nowrap; }
.tile__note { margin-top: 4px; font-size: 11px; color: var(--text-3); }
.rhythm { padding: 14px 14px 10px; }
.rhythm__head { display: flex; align-items: baseline; gap: 10px; }
.rhythm__head b { font-size: 13px; font-weight: 500; }
.rhythm__bars { display: flex; align-items: flex-end; gap: 3px; height: 88px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.rhythm__bars span { flex: 1; min-width: 0; border-radius: 2px 2px 0 0; background: var(--line-strong); }
.rhythm__bars span.off { background: var(--line); }
.rhythm__bars span.on { background: var(--accent); }
.rhythm__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--text-3); }
.proj__row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.proj__row b { font-weight: 500; }
.proj__row .m { font-size: 11px; color: var(--text-3); }
.proj__row .m.v { font-size: 13px; font-weight: 500; color: var(--text); }
.proj__track { height: 4px; margin-top: 8px; background: var(--chip); border-radius: 2px; }
.proj__track span { display: block; height: 100%; border-radius: 2px; background: var(--bar); }
.proj__track span.top { background: var(--text-2); }

.inv { display: flex; flex-direction: column; }
.inv__sum { display: flex; border-bottom: 1px solid var(--line); }
.inv__sum > div { flex: 1; min-width: 0; padding: 14px 18px; }
.inv__sum > div + div { border-left: 1px solid var(--line); }
.inv__label { font-size: 11px; color: var(--text-3); }
.inv__value { margin-top: 4px; font-size: 20px; font-weight: 500; }
.inv__note { margin-top: 4px; font-size: 10.5px; color: var(--text-3); }
.inv__table { overflow-x: auto; }
.inv__grid { min-width: 460px; font-size: 12.5px; }
.inv__row { display: grid; grid-template-columns: 108px minmax(0, 1fr) 76px 64px 92px; gap: 10px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.inv__row:last-child { border-bottom: 0; }
.inv__row--head { padding: 10px 18px; font-size: 10px; letter-spacing: 0.05em; color: var(--text-3); text-transform: uppercase; }
.inv__row--sel { background: var(--surface); }
.inv__row .num { font-size: 11.5px; color: var(--text-2); }
.inv__row .r { text-align: right; }
.inv__row .amt { font-weight: 500; }
.status { display: flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.status--draft { color: var(--accent); }
.status--sent { color: var(--text); }
.status--paid { color: var(--text-3); }
.inv__lines-head { padding: 14px 18px 0; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: 0.05em; color: var(--text-3); }
.inv__lines-head span { letter-spacing: 0; font-size: 11px; }
.inv__lines { margin: 10px 18px 0; font-size: 12.5px; }
.inv__line { display: flex; align-items: center; gap: 14px; padding: 10px 14px; }
.inv__line + .inv__line { border-top: 1px solid var(--line); }
.inv__line .total { min-width: 44px; text-align: right; font-weight: 500; }
.inv__line .total--lg { font-size: 14px; }
.inv__actions { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 18px 16px; margin-top: auto; }

/* ── Narxlar ────────────────────────────────────────────────────── */

.pricing .split { align-items: flex-end; }
.pricing .h2 { flex: 1 1 340px; min-width: 0; max-width: 16ch; }
.pricing .lead--lg { flex: 1 1 420px; min-width: 0; max-width: 600px; }
.plans { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.plan {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.plan--pro { background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { margin: 0; font-size: 18px; font-weight: 500; }
.plan__tag { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); white-space: nowrap; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.plan__amount { font-family: var(--mono); font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.plan__per { font-size: 14px; color: var(--text-2); }
.plan__alt { margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.plan__alt .m { color: var(--text-2); }
.plan__list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plan__list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.plan__list svg { margin-top: 4px; color: var(--text-2); }
.plan--pro .plan__list svg { color: var(--accent); }
.plan__cta { margin-top: auto; padding-top: 28px; }
.plan__fine { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-3); text-align: center; }
.pricing__notes { margin: 24px 0 0; max-width: 720px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.pricing__notes p { margin: 0; }
.pricing__notes p + p { margin-top: 6px; }

/* ── Maxfiylik ──────────────────────────────────────────────────── */

.privacy .split { gap: 32px 72px; }
.privacy__intro { flex: 1 1 340px; min-width: 0; max-width: 440px; }
.privacy__list { flex: 1 1 480px; min-width: 0; max-width: 600px; }
.nots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nots li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.nots__x { width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text-2); }
.privacy__fine { margin: 22px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.privacy__fine a { color: var(--text-2); text-underline-offset: 3px; }
.privacy__fine a:hover { color: var(--text); }

/* ── Yakuniy chaqiruv ───────────────────────────────────────────── */

.final { padding-bottom: 112px; }
.final__box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 36px 64px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.final__copy { flex: 1 1 380px; min-width: 0; max-width: 540px; }
.final__copy .h2 { margin-top: 24px; }
.final__copy .lead { margin-top: 16px; }
.final__cta { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }

/* ── Footer ─────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); }
.foot__in { padding: 28px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--text-3); }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__brand b { color: var(--text); font-weight: 500; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.foot__links .ln { color: var(--text-3); }
.foot__links .ln:hover { color: var(--text); }

/* ── Huquqiy sahifalar ──────────────────────────────────────────── */

.doc { max-width: 720px; padding-top: 72px; padding-bottom: 112px; }
.doc__back { display: inline-flex; align-items: center; gap: 6px; }
.doc h1 { margin: 28px 0 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.doc h2 { margin: 44px 0 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.doc p { margin: 14px 0 0; }
.doc h1 + p { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.doc ul { margin: 14px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); font-weight: 500; }
.doc a { color: var(--text); text-underline-offset: 3px; }

/* ── Harakat va moslashuv ───────────────────────────────────────── */

@keyframes rv { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (max-width: 720px) {
  .sec { padding-top: 72px; }
  .hm { display: none !important; }
  .nav__links { gap: 16px; }
  .plan { padding: 22px; }
}
