/* terix.uz — "Ovozli xabar": sahifa TERIX'dan kelgan ovozli xabarlar. Tungi siyoh fon, TERIX pufakchasi to'q,
   tashrif buyuruvchiniki ko'k; to'lqin eshitilgani sari to'ladi. Geologica — sarlavha, Onest — matn,
   JetBrains Mono — davomiylik, versiya, narx. Yashil/qizil faqat skrinshot ichidagi grafikda.
   Shriftlar saytning o'zidan (static/web/fonts, o'zgaruvchan vazn) — tashqi so'rov yo'q. */

@font-face { font-family: "Geologica"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/geologica-latin-ext.a1091c3b669f.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/geologica-latin.429fc8a75e26.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: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/onest-latin-ext.3e2cb9888206.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/onest-latin.3db826ed1c5d.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: 500 600; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.bd4781a31b42.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/jetbrains-mono-latin.b636a65da4f0.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 {
  color-scheme: dark;
  --ink: #0a0f17;
  --ink-2: #0d131d;
  --bubble: #141d2b;
  --bubble-2: #1a2537;
  --you: #2f6ec6;
  --you-ink: #ffffff;
  --wave: #9cd1ff;
  --wave-dim: rgba(156, 209, 255, 0.26);
  --text: #eef3fa;
  --text-2: #a9b6c8;
  --muted: #8494aa;
  --warn: #f3b4a2;
  --line: rgba(238, 243, 250, 0.09);
  --line-2: rgba(238, 243, 250, 0.16);
  --light: #f4f7fb;
  --display: "Geologica", "Segoe UI", system-ui, sans-serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --r: 22px;
  --r-tail: 6px;
  --gutter: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(88px, 6rem + 4vw, 156px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

::selection { background: rgba(47, 110, 198, 0.7); color: #fff; }
:focus-visible { outline: 2px solid var(--wave); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2a3850 var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a3850; border-radius: 10px; border: 2px solid var(--ink); }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(1260px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Belgi: to'rt ustunli ovoz to'lqini ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark, .avatar { display: inline-flex; align-items: center; gap: 2.5px; height: 22px; }
.brand-mark i, .avatar i { display: block; width: 3.5px; border-radius: 2px; background: var(--wave); }
.brand-mark i:nth-child(1), .avatar i:nth-child(1) { height: 38%; }
.brand-mark i:nth-child(2), .avatar i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3), .avatar i:nth-child(3) { height: 62%; }
.brand-mark i:nth-child(4), .avatar i:nth-child(4) { height: 82%; }
.brand-name { font: 700 19px/1 var(--display); letter-spacing: 0.04em; }

/* ---------- Tugmalar va havolalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn svg { width: 19px; height: 19px; }
.btn-light { background: var(--light); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.8); }
.btn-light:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(238, 243, 250, 0.06); box-shadow: inset 0 0 0 1px rgba(238, 243, 250, 0.28); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.btn-xl { height: 62px; padding: 0 30px; font-size: 17px; gap: 12px; }
.btn-xl svg { width: 20px; height: 20px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--wave);
  font-weight: 500; text-decoration: none;
}
.link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover { text-decoration: underline; }
.link:hover svg { transform: translateX(3px); }

/* Yuklab olish — har doim TERIX xabari ostida, "javob" sifatida */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 12px; }
.cta-meta { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.cta-meta .num { font-size: 13px; color: var(--text-2); }

/* ---------- Sarlavha qatori ---------- */
.bar {
  position: sticky; top: 0; z-index: 20; height: 68px;
  background: rgba(10, 15, 23, 0.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.bar.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 15, 23, 0.9); }
.bar-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: rgba(238, 243, 250, 0.05); }
.nav a[aria-current="true"] { color: var(--text); background: rgba(238, 243, 250, 0.07); }

/* ---------- Suhbat: tashrif buyuruvchi (ko'k, o'ngda) va TERIX (to'q, chapda) ---------- */
.thread { display: grid; gap: 10px; align-content: start; }
.msg {
  max-width: min(520px, 92%); padding: 12px 18px 13px; font-size: 16.5px; line-height: 1.5;
  border-radius: var(--r);
}
.msg-you {
  justify-self: end; background: var(--you); color: var(--you-ink);
  border-bottom-right-radius: var(--r-tail);
}
.msg-terix { justify-self: start; background: var(--bubble); border-bottom-left-radius: var(--r-tail); }
.sender {
  display: flex; align-items: center; gap: 10px; margin: 8px 0 0 4px;
  font: 600 14px/1 var(--body); color: var(--text);
}
.thread > .sender:first-child { margin-top: 0; }
.sender .avatar {
  height: 30px; width: 30px; justify-content: center; border-radius: 50%;
  background: var(--bubble-2); box-shadow: inset 0 0 0 1px var(--line); gap: 2px;
}
.sender .avatar i { width: 2.5px; }
.sender .avatar i:nth-child(1) { height: 22%; } .sender .avatar i:nth-child(2) { height: 52%; }
.sender .avatar i:nth-child(3) { height: 34%; } .sender .avatar i:nth-child(4) { height: 44%; }
.sender-sub { color: var(--muted); font-weight: 400; }

/* ---------- Ovozli xabar (signature) ---------- */
.vn {
  margin: 0; justify-self: start; width: min(620px, 100%);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 16px 20px 18px 16px; background: var(--bubble);
  border-radius: var(--r); border-bottom-left-radius: var(--r-tail);
  box-shadow: inset 0 0 0 1px rgba(156, 209, 255, 0.06);
}
.vn-play {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--wave); color: var(--ink);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.vn-play:hover { background: #b8deff; transform: scale(1.04); }
.vn-play:active { transform: scale(.97); }
.vn-play svg { width: 23px; height: 23px; fill: currentColor; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vn-play .i-pause { display: none; fill: none; }
.vn-play[aria-pressed="true"] .i-play { display: none; }
.vn-play[aria-pressed="true"] .i-pause { display: block; }
.vn.is-loading .vn-play::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--wave); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.vn-main { min-width: 0; }
.vn-row { display: flex; align-items: center; gap: 14px; height: 56px; }
.vn-wave { flex: 0 1 312px; display: flex; align-items: center; gap: 2.5px; height: 36px; min-width: 0; }
.vn-wave i {
  flex: 1; min-width: 2px; max-width: 4px; height: calc(var(--h) * 100%); border-radius: 3px;
  background: var(--wave-dim); transition: background-color .12s linear;
}
.vn-wave i.on { background: var(--wave); }
.vn-time { font-size: 13px; color: var(--text-2); min-width: 34px; }
.vn-text { margin-top: 8px; color: var(--text); font-size: 16.5px; line-height: 1.55; }
.vn.is-voiced .vn-text .w { color: var(--muted); transition: color .16s linear; }
.vn.is-voiced .vn-text .w.said { color: var(--text); }
.vn.is-voiced .vn-text .w.now { color: var(--wave); }
.vn-err { margin-top: 8px; color: var(--warn); font-size: 14.5px; }
.vn-err[hidden] { display: none; }

/* ---------- Birinchi ekran ---------- */
.hero { position: relative; padding-top: clamp(40px, 1.5rem + 3vw, 72px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -68px 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(60% 55% at 18% 8%, rgba(47, 110, 198, 0.16), transparent 70%),
              radial-gradient(40% 40% at 88% 30%, rgba(156, 209, 255, 0.06), transparent 70%);
}
.hero-title {
  max-width: 24ch; font-weight: 700; font-size: clamp(40px, 1.4rem + 3.6vw, 76px);
  line-height: 1.03; letter-spacing: -0.035em;
}
.hero-title .dim { display: block; color: var(--text-2); }
.hero-lead { max-width: 56ch; margin-top: 22px; color: var(--text-2); font-size: clamp(17px, 1rem + .3vw, 20px); line-height: 1.55; }
.hero-note { max-width: 620px; margin-top: clamp(28px, 3vw, 40px); }

/* Skrinshot — TERIX yuborgan rasm: pufakcha shaklida, chap pastki burchak "dum" */
.shot { margin: 0; }
.shot img, .shot picture {
  border-radius: var(--r); border-bottom-left-radius: var(--r-tail);
}
.shot img {
  width: 100%; background: #070b11;
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgba(0, 0, 0, 0.75), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}
.shot figcaption { margin: 14px 0 0 4px; color: var(--muted); font-size: 14px; }
.shot-hero { margin: clamp(48px, 5vw, 72px) auto 0; }
.attach img { box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0, 0, 0, 0.75); }
.attach figcaption { margin-top: 10px; }

/* ---------- Imkoniyatlar: sarlavha + bandlar va yonida suhbat (rasm bo'lsa — keng ustunda) ---------- */
.feature { padding-block: var(--section) 0; }
.feature-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 5vw, 80px); align-items: end; }
.feature:not(.has-shot) .feature-text { display: contents; }
.feature:not(.has-shot) h2 { grid-column: 1 / -1; }
.feature:not(.has-shot) .feature-in { align-items: center; }
.feature .vn { width: 100%; }
.feature.has-shot .feature-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.feature.has-shot.flip .feature-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.has-shot.flip .feature-text { order: 2; }
.feature.has-shot .feature-text { position: sticky; top: 112px; }
.feature-text { display: grid; gap: 28px; align-content: start; }
.feature-body { display: grid; gap: 22px; align-content: start; }
h2 { font-size: clamp(32px, 1.3rem + 2.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.feature-line { color: var(--text-2); max-width: 46ch; }

.facts { list-style: none; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); }
.facts svg { width: 22px; height: 22px; margin-top: 2px; color: var(--wave); }

/* O'quv yo'li: beshta modul */
.modules { list-style: none; border-top: 1px solid var(--line); }
.modules li {
  display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 13px 0;
  border-bottom: 1px solid var(--line); font: 500 18px/1.35 var(--display); letter-spacing: -0.01em;
}
.modules .num { font-size: 13px; color: var(--wave); }

/* Chaqirish usullari */
.ways { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ways li {
  padding: 10px 16px; border-radius: 999px; background: var(--bubble); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500; font-size: 15.5px;
}
.ways .num { font-size: 14px; color: var(--wave); }

/* Xotira: maxfiylik qatorlari */
.privacy { display: grid; }
.privacy div { padding: 18px 0; border-top: 1px solid var(--line); }
.privacy div:last-child { border-bottom: 1px solid var(--line); }
.privacy dt { font: 600 18px/1.3 var(--display); letter-spacing: -0.01em; }
.privacy dd { margin-top: 6px; color: var(--text-2); font-size: 16px; }

/* ---------- Uch qadam ---------- */
.start { padding-block: var(--section) 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px;
  border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 32px 32px 4px 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n { font-size: 14px; color: var(--wave); }
.steps h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.steps p { color: var(--text-2); }
.steps .link { margin-top: 6px; font-size: 15px; }
.steps .link .num { font-size: 13px; color: var(--text-2); }
.needs, .common { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 40px; color: var(--muted); font-size: 14.5px; }
.needs > span:first-child, .common > span:first-child { margin-right: 4px; }
.need { padding: 6px 12px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }

/* ---------- Tariflar ---------- */
.pricing { padding-block: var(--section) 0; }
.pricing-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: end; }
.common { margin-top: 48px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 0; padding: 30px 28px 28px;
  background: var(--ink-2); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line);
}
.plan.featured { background: linear-gradient(180deg, #13213a 0%, #101a2b 60%); box-shadow: inset 0 0 0 1px rgba(47, 110, 198, 0.75); }
.plan-flag {
  position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px;
  background: var(--you); color: #fff; font-size: 13px; font-weight: 600;
}
.plan h3 { font-size: 26px; letter-spacing: -0.02em; }
.plan-tag { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price .num { font: 600 46px/1 var(--mono); letter-spacing: -0.05em; }
.price small { color: var(--muted); font-size: 15px; }
.plan-pitch { margin-top: 14px; color: var(--text-2); font-size: 15.5px; min-height: 3.2em; }
.specs { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: 0 12px; margin-top: 22px; padding-block: 14px;
  border-block: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 12.5px; }
.specs dd { margin-top: 2px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.rows { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; flex: 1; align-content: start; }
.rows li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; }
.rows svg { width: 20px; height: 20px; margin-top: 1px; }
.rows .on svg { color: var(--wave); }
.rows .off { color: var(--muted); }
.rows .off svg { color: var(--muted); }
.plan .btn { width: 100%; height: 50px; }
.pay-note { margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.pay-note a { color: var(--text-2); }

/* ---------- Savol-javob ---------- */
.faq { padding-block: var(--section) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.faq-head { display: grid; gap: 18px; position: sticky; top: 108px; }
.faq-head p { color: var(--text-2); max-width: 32ch; }
.faq-head .link svg { width: 20px; height: 20px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer;
  list-style: none; font: 500 19px/1.35 var(--display); letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 22px; height: 22px; color: var(--text-2); transition: transform .25s var(--ease), color .2s; }
.qa details[open] summary svg { transform: rotate(45deg); color: var(--wave); }
.qa summary:hover svg { color: var(--text); }
.qa p { padding: 0 48px 24px 0; color: var(--text-2); max-width: 68ch; }

/* ---------- Yakun: TERIX'ning so'nggi xabari va yuklab olish ---------- */
.closing { margin-top: var(--section); padding-block: clamp(64px, 4rem + 3vw, 120px); border-top: 1px solid var(--line); background: var(--ink-2); }
.closing-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 5vw, 80px); align-items: center; }
.closing h2 { font-size: clamp(40px, 1.4rem + 3.6vw, 76px); font-weight: 700; letter-spacing: -0.035em; max-width: 10ch; }

/* ---------- Pastki qism ---------- */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; color: var(--text-2); font-size: 15px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--text); text-decoration: underline; }
.foot-note { grid-column: 1 / -1; max-width: 80ch; color: var(--muted); font-size: 14px; }
.foot-copy { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; }

/* ---------- Ro'yxatdan o'tish: /signup (web/royxat.py) — bitta karta ---------- */
.royxat { padding: clamp(40px, 3rem + 2vw, 96px) 0 clamp(64px, 4rem + 3vw, 120px); }
.royxat-card {
  max-width: 520px; margin-inline: auto; padding: clamp(24px, 4vw, 40px);
  background: var(--ink-2); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line);
}
.royxat-card h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 1.2rem + 1.4vw, 34px); line-height: 1.2; }
.royxat-card p { margin-top: 14px; color: var(--text-2); line-height: 1.55; }
.royxat-card b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.royxat-card .btn { width: 100%; margin-top: 28px; }
.royxat-card .royxat-small { color: var(--muted); font-size: 14.5px; }
.royxat-card a:not(.btn) { color: var(--text); }
.royxat-form label { display: block; margin-top: 20px; color: var(--text-2); font-size: 14.5px; }
.royxat-form input:not(.sr) {
  display: block; width: 100%; height: 50px; margin-top: 8px; padding: 0 16px; border: 0; border-radius: 12px;
  background: var(--ink); color: var(--text); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line-2);
}
.royxat-form input:focus-visible { outline: 2px solid var(--wave); outline-offset: 2px; }
.royxat-err {
  margin-top: 18px; padding: 12px 16px; border-radius: 12px; color: var(--warn);
  background: rgba(243, 180, 162, 0.07); box-shadow: inset 0 0 0 1px rgba(243, 180, 162, 0.28);
}
.royxat-err p { margin: 0; color: inherit; }
.royxat-steps { margin-top: 14px; padding-left: 22px; color: var(--text-2); line-height: 1.7; }
.royxat-card .royxat-or { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.royxat-or::before, .royxat-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.royxat-form .royxat-code { letter-spacing: 0.4em; font-size: 22px; text-align: center; }
.royxat-link { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; cursor: pointer; }
.royxat-link:focus-visible { outline: 2px solid var(--wave); outline-offset: 2px; }

/* ---------- Huquqiy hujjatlar: /terms, /privacy (web/legal.py) — o'qish sahifasi ---------- */
.legal { padding: clamp(40px, 3rem + 2vw, 84px) 0 clamp(64px, 4rem + 3vw, 120px); }
.legal-draft {
  max-width: 72ch; margin: 0 0 40px; padding: 14px 18px; border-radius: 14px;
  color: var(--warn); font-size: 15px; line-height: 1.5;
  background: rgba(243, 180, 162, 0.07); box-shadow: inset 0 0 0 1px rgba(243, 180, 162, 0.28);
}
.legal-draft b { color: #ffd6c9; font-weight: 600; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 660px); gap: 64px; align-items: start; }   /* qator ~75 belgi */
.legal-toc { position: sticky; top: 100px; }
.legal-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--muted); font-size: 14px; line-height: 1.35; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.legal-toc a:hover { color: var(--text); border-left-color: var(--line-2); }
.legal-doc h1 { font-size: clamp(32px, 1.6rem + 1.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 28px; }
.legal-doc h2 {
  max-width: none; margin: 52px 0 16px; padding-top: 4px; scroll-margin-top: 96px;   /* sayt h2'si 18ch — bu yerda emas */
  font-size: 22px; line-height: 1.25; letter-spacing: -0.01em;
}
.legal-doc p { margin: 0 0 14px; color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.legal-doc p:first-of-type { color: var(--muted); font-size: 15px; }
.legal-doc ul { display: grid; gap: 8px; margin: 0 0 18px; padding-left: 0; list-style: none; }
.legal-doc li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 16.5px; line-height: 1.65; }
.legal-doc li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--wave-dim); }
.legal-doc b { color: var(--text); font-weight: 600; }
.legal-doc a { color: var(--wave); }
.legal-fill { padding: 1px 6px; border-radius: 6px; color: var(--warn); background: rgba(243, 180, 162, 0.1); font-size: .92em; }
@media (max-width: 1100px) {
  .legal-grid { grid-template-columns: minmax(0, 660px); gap: 0; }
  .legal-toc { display: none; }
}

/* ---------- Telefon: havolani kompyuterga o'tkazish (modal emas, pastdan) ---------- */
.sheet {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  padding: 18px 18px 16px; border-radius: 20px; background: var(--bubble-2);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}
.sheet[hidden] { display: none; }
.sheet-title { font: 600 17px/1.3 var(--display); }
.sheet-text { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.sheet-text .num { color: var(--text); font-size: 14px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 14px; }
.sheet .btn-sm { width: auto; padding: 0 16px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Harakat (faqat "harakatni kamaytirish" yoqilmagan bo'lsa): birinchi ekranga kirish — bir marta,
   bo'limlarga silliq o'tish, telefon oynasining chiqishi ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .sheet { animation: sheet-in .35s var(--ease) both; }
  .js .hero-title, .js .hero-lead, .js .hero-note { animation: rise .9s var(--ease) both; }
  .js .hero-lead { animation-delay: .08s; }
  .js .hero-note { animation-delay: .16s; }
  .js .shot-hero { animation: lift 1.2s var(--ease) .24s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(36px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- Moslashuv ---------- */
@media (max-width: 1100px) {
  .feature-in, .feature.has-shot .feature-in, .feature.has-shot.flip .feature-in,
  .pricing-head, .faq-in, .closing-in { grid-template-columns: 1fr; align-items: start; }
  .feature.has-shot.flip .feature-text { order: 0; }
  .feature.has-shot .feature-text { position: static; }
  .thread, .feature-body { max-width: 680px; }
  .faq-head { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-pitch { min-height: 0; }
  .closing h2 { max-width: 14ch; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .bar-in > .btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 22px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --r: 18px; }
  body { font-size: 16px; }
  .bar { height: 60px; }
  html { scroll-padding-top: 72px; }
  .btn-sm span { display: none; }
  .btn-sm { width: 40px; padding: 0; }
  .hero-title { font-size: clamp(36px, 10.4vw, 48px); max-width: none; }
  .vn { padding: 12px 14px 14px 12px; gap: 12px; }
  .vn-play { width: 48px; height: 48px; }
  .vn-play svg { width: 20px; height: 20px; }
  .vn-row { height: 48px; gap: 10px; }
  .vn-wave { gap: 2px; }
  .vn-text, .msg { font-size: 15.5px; }
  .btn-xl { width: 100%; height: 58px; padding: 0 20px; }
  .wrap-wide { width: calc(100% - 2 * var(--gutter)); }
  .modules li { font-size: 17px; }
  .qa summary { font-size: 17px; }
  .qa p { padding-right: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-nav { justify-content: flex-start; }
  .plan { padding: 26px 20px 22px; }
  .price .num { font-size: 42px; }
}
