/* ── Basqar landing v3 · жарық, ауа көп, өнім макеттері ───────────────────────
   Токендер desktop-тан (basqar/doc/design.md): жылы бейтарап фон, бір жасыл акцент,
   жұқа жиек, көлеңке аз. Радиус: батырма 7px, бейдж 5px, карточка 12px, үлкен панель 16px. */
:root {
  --accent: #00a86b;
  --accent-strong: color-mix(in oklab, var(--accent) 82%, black);
  --accent-ink: color-mix(in oklab, var(--accent) 62%, black);
  --accent-soft: color-mix(in oklab, var(--accent) 12%, white);
  --accent-ring: color-mix(in oklab, var(--accent) 18%, transparent);

  --bg: #f8f8f6;
  --panel: #f0f0ed;
  --surface: #ffffff;
  --surface-2: #f3f3f0;
  --raised: #e6e5e0;
  --hover: #ecece8;
  --border: #e6e5e1;
  --border-2: #e1e0db;
  --border-strong: #cfcdc7;
  --divider: #edece8;

  --text: #1f1e1c;
  --text-2: #34322e;
  --text-3: #4a4844;
  --text-4: #5f5d58;
  --muted: #6e6c67;
  --faint: #8c8a84;
  --placeholder: #7a7873;
  --avatar: #dedbd3;

  --warn: #d9822b;
  --warn-ink: #8a4b0f;
  --warn-soft: #fbebd3;
  --danger: #c8362b;
  --danger-ink: #a8291f;
  --danger-soft: #fbeae8;
  --info: #1e96d1;
  --dark: #1c1b19;

  --shadow-card: 0 1px 2px rgba(31, 30, 28, 0.04), 0 12px 32px -22px rgba(31, 30, 28, 0.28);
  --shadow-pop: 0 18px 40px -16px rgba(31, 30, 28, 0.32), 0 2px 6px rgba(31, 30, 28, 0.06);
  --shadow-sm: 0 1px 2px rgba(31, 30, 28, 0.06);
  --shadow-window: 0 40px 80px -40px rgba(31, 30, 28, 0.28), 0 2px 8px rgba(31, 30, 28, 0.04);

  --font-sans: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-btn: 7px;
  --r-badge: 5px;
  --r-card: 12px;
  --r-panel: 16px;
  --nav-h: 64px;
  color-scheme: light;
}

/* ── Негіз ─────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 1.1rem + 4.6vw, 4.6rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  line-height: 1.08;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.mono {
  font-family: var(--font-mono);
}
kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
:is(a, button, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-btn);
}
::selection {
  background: var(--accent-ring);
}
.container {
  --pad: 24px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-btn);
}
.skip:focus {
  top: 12px;
}
.lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ── Батырмалар: аз радиус (7px), pill жоқ ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font: 500 14.5px/1 var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(31, 30, 28, 0.16);
}
.btn-primary:hover {
  background: var(--accent-ink);
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.btn-lg {
  height: 46px;
  padding: 0 20px;
  font-size: 15.5px;
}
.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13.5px;
}
.btn-sm svg {
  width: 15px;
  height: 15px;
}
.btn-block {
  width: 100%;
}
.btn-float {
  box-shadow: var(--shadow-pop);
}

/* Бейдж/тег: 5px */
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--r-badge);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-ok,
.tag-ok {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.badge-warn,
.tag-warn {
  background: var(--warn-soft);
  color: var(--warn-ink);
}
.badge-dark {
  background: var(--text);
  color: #fff;
  letter-spacing: 0.02em;
}

/* Белгі: жасыл шаршы ішінде tick (Dasne чекбокстары сияқты) */
.ck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--accent-strong);
  color: #fff;
}
.ck svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}
.ck-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.ck-round svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--divider);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: var(--r-btn);
  font-size: 14.5px;
  color: var(--text-3);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover {
  background: var(--hover);
  color: var(--text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .i-close,
.nav-toggle[aria-expanded="true"] .i-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .i-close {
  display: block;
}
@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--border-2);
    box-shadow: var(--shadow-pop);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    margin: 0;
  }
  .nav-links a {
    display: block;
    padding: 11px 12px;
    font-size: 16px;
  }
  .nav-actions {
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--divider);
  }
  .nav-actions .btn {
    flex: 1;
    height: 42px;
  }
}

/* Тіл мәзірі */
.lang-menu {
  position: relative;
  margin-right: 2px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn svg {
  width: 19px;
  height: 19px;
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  background: var(--hover);
  color: var(--text);
}
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 196px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-pop);
  transform-origin: top right;
  animation: pop 0.16s ease both;
}
.lang-list[hidden] {
  display: none;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lang-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  border-radius: var(--r-btn);
  font-size: 14px;
  color: var(--text-2);
}
.lang-list a:hover,
.lang-list a:focus-visible {
  background: var(--hover);
  color: var(--text);
  outline: none;
}
.lang-list a[aria-current] {
  color: var(--text);
  font-weight: 500;
}
.flag {
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  outline: 1px solid rgba(31, 30, 28, 0.12);
  outline-offset: -1px;
}
.lang-name {
  flex: 1;
}
.lang-list a svg {
  width: 16px;
  height: 16px;
  color: var(--accent-strong);
  visibility: hidden;
}
.lang-list a[aria-current] svg {
  visibility: visible;
}
@media (max-width: 1060px) {
  .lang-menu {
    margin: 0;
  }
  .lang-btn {
    width: 42px;
    height: 42px;
    border-color: var(--border-2);
  }
  .lang-list {
    top: auto;
    bottom: calc(100% + 8px);
    left: 0;
    right: auto;
    transform-origin: bottom left;
  }
}

/* ── Шаршылар фоны (Dasne-дегі тор) ───────────────────────────────────────── */
.squares {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  overflow: hidden;
}
.squares i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: url("/squares.svg") repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent);
  mask-image: radial-gradient(closest-side, #000 25%, transparent);
}
.squares i:first-child {
  left: -2%;
}
.squares i:last-child {
  right: -2%;
  background-position: 140px 84px;
}
.squares-hero {
  top: 48px;
  height: 520px;
}
.squares-head {
  top: 40px;
  height: 340px;
}
.squares-cta {
  top: 0;
  bottom: 0;
}

/* ── Секциялар ─────────────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: 120px 0;
}
.section-head {
  position: relative;
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .lead {
  max-width: 620px;
  margin: 18px auto 0;
}
@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .lead {
    font-size: 16.5px;
  }
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 0 0;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.pill-badge b {
  padding: 2px 7px;
  border-radius: var(--r-badge);
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  max-width: 980px;
  margin-top: 26px;
}
.h1-mark-wrap {
  white-space: nowrap;
}
.h1-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.08em;
  height: 1.08em;
  margin: 0 0.22em 0 0.06em;
  vertical-align: -0.16em;
  border: 1px solid var(--border-2);
  border-radius: 0.24em;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transform: rotate(-4deg);
}
.h1-mark img {
  width: 100%;
  height: 100%;
}
.hero .lead {
  max-width: 660px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--faint);
  white-space: pre-wrap;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-3);
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-demo {
  margin-top: 56px;
}

/* Қолданба терезесі (desktop макеті) */
.app {
  height: 640px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-window);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 64%, transparent 97%);
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.dots {
  display: inline-flex;
  gap: 7px;
  margin-right: 14px;
}
.dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.bar-ico {
  display: inline-flex;
  padding: 4px;
  border-radius: 6px;
}
.bar-ico svg {
  width: 17px;
  height: 17px;
}
.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(360px, 40%);
  height: 30px;
  margin: 0 auto;
  padding: 0 8px 0 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--placeholder);
  transform: translateX(-60px);
}
.app-search svg {
  width: 15px;
  height: 15px;
}
.app-search span {
  flex: 1;
}
.app-body {
  display: grid;
  grid-template-columns: 236px 1fr;
  height: calc(100% - 46px);
}
.app-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px;
  background: var(--panel);
  border-right: 1px solid var(--border);
  min-width: 0;
}
.side-new {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin-bottom: 10px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  color: var(--text);
}
.side-new svg {
  width: 16px;
  height: 16px;
}
.side-new span {
  flex: 1;
}
.side-nav li,
.side-tasks li {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 31px;
  padding: 0 10px;
  border-radius: var(--r-btn);
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
}
.side-nav svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}
.side-nav li.on,
.side-tasks li.on {
  background: var(--hover);
  color: var(--text);
}
.side-label {
  margin: 14px 10px 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--faint);
}
.side-tasks span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.st {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}
.st-done {
  background: var(--accent);
}
.st-wait {
  background: var(--warn);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--warn) 22%, transparent);
}
.app-main {
  min-width: 0;
  padding: 18px 32px;
  overflow: hidden;
}
.task-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider);
}
.task-title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-user {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.m-user p {
  max-width: min(460px, 80%);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
}
.m-agent {
  max-width: 640px;
  margin-top: 14px;
}
.m-who {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-who img {
  width: 20px;
  height: 20px;
}
.m-who b {
  font-weight: 600;
}
.m-who small {
  margin-left: auto;
  font-size: 11px;
  color: var(--faint);
}
.m-sum {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 12.5px;
}
.m-sum svg {
  width: 14px;
  height: 14px;
}
.m-sum svg:first-child {
  color: var(--accent-ink);
}
.m-steps {
  display: grid;
  gap: 7px;
  margin: 10px 0 14px;
}
.m-steps li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-3);
}
.m-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.m-tick svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}
.granted {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: var(--r-badge);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  vertical-align: 1px;
}
.granted svg {
  width: 11px;
  height: 11px;
}
.file-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.file-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.file-ico svg {
  width: 18px;
  height: 18px;
}
.bi {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.file-ico.is-brand {
  padding: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.c-chip .bi {
  width: 14px;
  height: 14px;
}
.file-txt {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.file-txt b {
  font-weight: 600;
}
.file-txt small {
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.mini-primary {
  border-color: transparent;
  background: var(--accent-strong);
  color: #fff;
}
.mini-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.m-foot {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--faint);
}

/* Composer: терезенің астына қалқып шығады */
.composer {
  position: relative;
  z-index: 2;
  width: min(620px, 94%);
  margin: -150px auto 0;
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  text-align: left;
}
.c-ph {
  padding: 16px 18px 30px;
  font-size: 15.5px;
  color: var(--placeholder);
}
.c-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  padding: 10px 0 12px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
}
.c-btn,
.c-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--r-btn);
}
.c-btn {
  border: 1px solid var(--border-2);
  color: var(--text-3);
}
.c-send {
  background: var(--accent-strong);
  color: #fff;
}
.c-btn svg,
.c-send svg {
  width: 16px;
  height: 16px;
}
.c-send svg {
  stroke-width: 2;
}
.c-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--r-btn);
  background: var(--surface-2);
  color: var(--text-3);
  font-weight: 500;
  white-space: nowrap;
}
.c-chip svg {
  width: 14px;
  height: 14px;
}
.c-model {
  background: transparent;
  border: 1px solid var(--border-2);
}
.c-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  color: var(--muted);
}
.c-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.c-note span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 641px) and (max-width: 860px) {
  .app-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-side {
    display: none;
  }
  .app-search {
    transform: none;
  }
  .app-main {
    padding: 16px 18px;
  }
  .c-note {
    visibility: hidden;
  }
}
/* ── Модельдер жолағы ──────────────────────────────────────────────────────── */
.strip {
  padding: 72px 0 8px;
  text-align: center;
}
.strip-label {
  padding: 0 24px;
  font-size: 15px;
  color: var(--muted);
}
.marquee {
  display: flex;
  gap: 72px;
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 72px;
  animation: slide 46s linear infinite;
}
.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-2);
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.45;
}
.marquee-track li .bi {
  width: 28px;
  height: 28px;
}
@keyframes slide {
  to {
    transform: translateX(calc(-100% - var(--gap, 72px)));
  }
}

/* ── Мүмкіндіктер ──────────────────────────────────────────────────────────── */
.section-features {
  padding-top: 112px;
}
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feat-vis {
  position: relative;
  height: 270px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.feat h3 {
  margin-top: 22px;
}
.feat p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  text-wrap: pretty;
}

/* A: тіл мәзірі */
.vis-lang {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop {
  width: 292px;
  max-width: calc(100% - 32px);
}
.pop-menu {
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.pop-menu li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  border-radius: var(--r-btn);
  font-size: 14.5px;
  color: var(--text-4);
}
.pop-menu li.on {
  background: var(--hover);
  color: var(--text);
  font-weight: 500;
}
.cursor {
  position: absolute;
  right: 26px;
  top: 18px;
}
.cursor svg {
  width: 18px;
  height: 18px;
}
.pop-bar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
}

/* B: дағды плиткалары */
.vis-skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.tiles {
  display: flex;
  gap: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tiles-track {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  padding: 4px 0 10px;
  animation: slide 30s linear infinite;
  --gap: 16px;
}
.tiles:nth-child(2) .tiles-track {
  animation-direction: reverse;
  animation-duration: 36s;
}
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

/* C: команда және шығын */
.orbit {
  position: absolute;
  inset: 0;
}
.av {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--avatar);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.av-1 {
  left: 18%;
  top: 14%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.av-2 {
  left: calc(50% - 23px);
  top: 5%;
}
.av-3 {
  right: 17%;
  top: 14%;
  background: var(--warn-soft);
  color: var(--warn-ink);
}
.av-4 {
  left: 8%;
  top: 42%;
  background: color-mix(in oklab, var(--info) 14%, white);
  color: #15628a;
}
.av-5 {
  right: 8%;
  top: 42%;
}
.spend {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-pop), 0 0 0 10px color-mix(in oklab, var(--accent) 6%, transparent);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.spend small {
  font-size: 12.5px;
  color: var(--muted);
}
.spend b {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
}
.orbit .btn {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Төменгі панельдер */
.panels {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.panel-text h3 {
  font-size: 21px;
}
.panel-text p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  text-wrap: pretty;
}
.panel-wide {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  min-height: 440px;
}
.panel-wide .panel-text {
  align-self: end;
  padding: 32px;
}
.panel-wide .panel-vis {
  padding: 40px 0 0;
  min-width: 0;
}
.doc {
  height: 100%;
  border: 1px solid var(--border-2);
  border-right: 0;
  border-bottom: 0;
  border-radius: var(--r-card) 0 0 0;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.doc-bar {
  display: flex;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--divider);
  color: var(--muted);
}
.doc-bar svg {
  width: 18px;
  height: 18px;
}
.doc-body {
  padding: 18px 22px;
}
.doc-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.doc-title b {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.doc .m-steps {
  margin: 12px 0;
}
.perm {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #ebcb94;
  border-radius: 10px;
  background: #fffbf4;
}
.perm p {
  display: flex;
  gap: 8px;
  color: var(--text-2);
}
.perm p svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--warn);
}
.perm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.panel-narrow {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.panel-narrow .panel-vis {
  padding: 36px 32px 8px;
}
.panel-narrow .panel-text {
  padding: 24px 32px 32px;
}
.tl li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding-bottom: 22px;
}
.tl li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 42px;
  bottom: 4px;
  border-left: 1.5px dashed var(--border-strong);
}
.tl-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
}
.tl li:first-child .tl-ico {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.tl-ico svg {
  width: 19px;
  height: 19px;
}
.tl b {
  font-size: 15px;
  font-weight: 600;
}
.tl .tag {
  margin-left: 6px;
  vertical-align: 1px;
}
.tl small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .feats {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin: 0 auto;
    gap: 40px;
  }
  .panels {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin: 40px auto 0;
  }
  .panel-wide {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .panel-wide .panel-text {
    order: 2;
  }
  .panel-wide .panel-vis {
    height: 380px;
    padding: 28px 0 0 24px;
  }
}
@media (max-width: 480px) {
  .panel-wide .panel-text,
  .panel-narrow .panel-text {
    padding: 22px;
  }
  .panel-narrow .panel-vis {
    padding: 26px 22px 0;
  }
}

/* ── Тапсырма → нәтиже ─────────────────────────────────────────────────────── */
.section-act {
  overflow: hidden;
}
.act-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
  margin-top: 112px;
}
.section-act .section-head + .act-row {
  margin-top: 48px;
}
.act-rev .act-text {
  order: 2;
}
.act-h {
  font-size: clamp(1.65rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #8f8d86;
  text-wrap: balance;
}
.act-h b {
  font-weight: 600;
  color: var(--text);
}
.act-text > p {
  max-width: 520px;
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--muted);
  text-wrap: pretty;
}
.ticks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text-2);
}
.ticks .ck {
  margin-top: 3px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-weight: 500;
  color: var(--accent-ink);
}
.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.15s ease;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}
.act-vis {
  position: relative;
  padding: 24px 0;
}
.act-vis::before {
  content: "";
  position: absolute;
  inset: -40px -10%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 9%, transparent), transparent),
    url("/squares.svg") repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  opacity: 0.9;
}
.chat {
  max-width: 440px;
  margin: 0 auto;
}
.bubble {
  width: fit-content;
  max-width: 88%;
  margin-left: auto;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 15.5px;
  color: var(--text-2);
}
.chat-reply {
  margin: 20px 0 12px;
  font-size: 16px;
  color: var(--text);
}
.chat-card {
  display: flex;
  gap: 14px;
  max-width: 400px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.chat-card div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-card small {
  font-size: 12.5px;
  color: var(--muted);
}
.chat-card b {
  margin-top: 2px;
  font-size: 15.5px;
  font-weight: 600;
}
.chat-card .mono {
  margin-top: 2px;
  font-size: 12px;
  color: var(--faint);
}
.suggest {
  margin-top: 20px;
}
.suggest small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.suggest span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 15.5px;
  color: var(--text-3);
}
.suggest svg {
  width: 17px;
  height: 17px;
  color: var(--faint);
}
.todo {
  display: grid;
  gap: 8px;
  max-width: 380px;
}
.todo li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
}
.circle.done {
  border: 0;
  background: var(--accent-strong);
  color: #fff;
}
.circle svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}
.todo b {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
}
.state {
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.state.ok {
  color: var(--accent-ink);
}
.state.warn {
  color: var(--warn);
}

/* Console мини-dashboard */
.dash {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  font-size: 13px;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-head b {
  font-size: 15px;
  font-weight: 600;
}
.dash-tabs {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: var(--r-btn);
  background: var(--surface-2);
}
.dash-tabs span {
  padding: 3px 8px;
  border-radius: var(--r-badge);
  font-size: 11.5px;
  color: var(--muted);
}
.dash-tabs .on {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.dash-stats li {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.dash-stats small {
  font-size: 11.5px;
  color: var(--muted);
}
.dash-stats b {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.dash-chart {
  margin-top: 16px;
}
.dash-chart > small {
  font-size: 12px;
  color: var(--muted);
}
.bars {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.bars li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 10px;
}
.bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-3);
}
.bar {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
}
.bars li:nth-child(2) .bar i {
  width: 67%;
  background: color-mix(in oklab, var(--accent) 75%, white);
}
.bars li:nth-child(3) .bar i {
  width: 49%;
  background: color-mix(in oklab, var(--accent) 55%, white);
}
.bars li:nth-child(4) .bar i {
  width: 27%;
  background: color-mix(in oklab, var(--accent) 38%, white);
}
.bar-val {
  text-align: right;
  font-size: 12px;
  color: var(--text-3);
}
@media (max-width: 900px) {
  .act-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-top: 88px;
  }
  .act-rev .act-text {
    order: 0;
  }
}

/* ── Дағдылар ──────────────────────────────────────────────────────────────── */
.skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.skill {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.skill-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.is-soon .skill-ico {
  background: var(--surface-2);
  color: var(--faint);
}
.skill-ico.is-brand {
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.skill-ico .bi-wide {
  width: 30px;
  margin: 0 -4px;
}
.is-soon .skill-ico.is-brand {
  background: var(--surface);
}
.is-soon .skill-ico.is-brand .bi {
  filter: grayscale(0.35);
  opacity: 0.8;
}
.skill h3 {
  margin-top: 18px;
  font-size: 17px;
}
.skill p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .skills {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .skill {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px 18px;
  }
  .skill-top {
    display: contents;
  }
  .skill-ico {
    grid-row: 1 / 3;
  }
  .skill .badge {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }
  .skill h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  .skill p {
    grid-column: 2 / 4;
    grid-row: 2;
    margin: 0;
  }
}

/* ── Telegram: телефондар ─────────────────────────────────────────────────── */
.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.phone-card {
  display: flex;
  flex-direction: column;
  padding: 30px 14px 0;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel) 46%, #e2f3e9 76%, #faecd6 100%);
}
.phone-card h3 {
  flex: 1 0 auto;
  max-width: 250px;
  margin: 0 auto 28px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
}
.phone {
  width: 100%;
  max-width: 252px;
  height: 340px;
  margin: 0 auto;
  padding: 10px 12px 0;
  overflow: hidden;
  border: 7px solid #1f1e1c;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  background: var(--surface);
  font-size: 12px;
  line-height: 1.38;
}
.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 11.5px;
  font-weight: 600;
}
.island {
  width: 68px;
  height: 20px;
  border-radius: 12px;
  background: #1f1e1c;
}
.ph-dots {
  display: inline-flex;
  gap: 2px;
}
.ph-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1f1e1c;
}
.tg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}
.tg-head > svg {
  width: 18px;
  height: 18px;
  color: var(--accent-strong);
}
.tg-brand {
  width: 20px;
  height: 20px;
  margin-left: auto;
}
.tg-av img {
  width: 30px;
  height: 30px;
}
.tg-head b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.tg-head small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.tg-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  margin: 0 -12px;
  padding: 10px;
  background: var(--surface-2);
}
.tg-msg {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 94%;
  padding: 7px 9px;
  border-radius: 12px 12px 12px 4px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
}
.tg-txt {
  flex: 1;
  min-width: 0;
}
.tg-msg time {
  float: right;
  margin: 3px 0 -2px 8px;
  font-size: 10px;
  color: var(--faint);
}
.tg-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.tg-ico svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.tg-tick {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.tg-ask {
  background: var(--warn-soft);
  color: var(--warn-ink);
}
.tg-clock {
  background: var(--surface-2);
  color: var(--muted);
}
.tg-file {
  align-items: center;
}
.tg-file .file-ico {
  width: 34px;
  height: 34px;
}
.tg-file b {
  display: block;
  font-weight: 600;
}
.tg-file small {
  display: block;
  font-size: 11px;
  color: var(--faint);
}
.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
@media (max-width: 1000px) {
  .phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
    margin: 0 auto;
  }
}
/* ── Бөлімдер: тапсырма мысалдары (masonry) ───────────────────────────────── */
.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.roles-col {
  display: grid;
  gap: 16px;
}
.role {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface);
  break-inside: avoid;
}
.role blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}
.role blockquote::before {
  content: "«";
}
.role blockquote::after {
  content: "»";
}
:lang(en) .role blockquote::before {
  content: "“";
}
:lang(en) .role blockquote::after {
  content: "”";
}
.role figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.role figcaption b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.role figcaption small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.role figcaption small svg,
.role figcaption small .bi {
  width: 13px;
  height: 13px;
}
.role-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar);
  font-weight: 600;
  color: var(--text-2);
}
.rav-1 {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.rav-2 {
  background: var(--warn-soft);
  color: var(--warn-ink);
}
.role-dark {
  border-color: var(--dark);
  background: var(--dark);
}
.role-dark blockquote {
  font-size: clamp(19px, 1.1rem + 0.5vw, 23px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: #fff;
}
.role-dark figcaption b {
  color: #fff;
}
.role-dark figcaption small {
  color: #a8a69f;
}
.role-dark .role-av {
  background: #34322e;
  color: #fff;
}
@media (max-width: 1000px) {
  .roles {
    display: block;
    columns: 2;
    column-gap: 16px;
  }
  .roles-col {
    display: contents;
  }
  .role {
    margin-bottom: 16px;
  }
}
/* ── Қауіпсіздік ──────────────────────────────────────────────────────────── */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--border);
}
.trust li {
  padding: 30px 28px;
  background: var(--surface);
}
.trust-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.trust h3 {
  margin-top: 18px;
  font-size: 17px;
}
.trust p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .trust {
    grid-template-columns: minmax(0, 1fr);
  }
  .trust li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    padding: 20px;
  }
  .trust-ico {
    grid-row: 1 / 3;
  }
  .trust h3 {
    margin: 0;
    align-self: center;
  }
  .trust p {
    grid-column: 2;
    margin-top: 4px;
  }
}

/* ── Баға ──────────────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.plan-pop {
  border-color: color-mix(in oklab, var(--accent) 28%, var(--border));
  background: linear-gradient(180deg, #ddf2e6 0%, #f1faf5 38%, var(--surface) 72%);
  box-shadow: var(--shadow-card);
}
.plan-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}
.plan-name h3 {
  font-size: 20px;
}
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 18px;
}
.plan-price b {
  font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.plan-price span {
  font-size: 14.5px;
  color: var(--muted);
}
.plan-text {
  min-height: 3.2em;
  margin: 12px 0 24px;
  font-size: 15px;
  color: var(--muted);
}
.plan-feats {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.plan-feats svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-strong);
  stroke-width: 2;
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }
  .plan-text {
    min-height: 0;
  }
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}
.faq-side {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  align-self: start;
}
.faq-side p {
  margin-top: 18px;
  color: var(--muted);
}
.faq-side a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item h3 {
  font-size: 16.5px;
  font-weight: 500;
}
.faq-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--r-btn);
  background: var(--surface-2);
  color: var(--text-3);
  transition: transform 0.2s ease, background 0.15s ease;
}
.faq-ico svg {
  width: 16px;
  height: 16px;
}
.faq-item summary:hover .faq-ico {
  background: var(--hover);
}
.faq-item[open] .faq-ico {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 52px 24px 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .faq-side {
    position: static;
  }
  .faq-item p {
    padding-right: 0;
  }
}

/* ── CTA ───────────────────────────────────────────────────────────────────── */
.section-cta {
  position: relative;
  padding: 128px 0 120px;
  overflow: hidden;
  border-top: 1px solid var(--divider);
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  max-width: 820px;
  margin: 0 auto;
}
.cta-inner .lead {
  max-width: 600px;
  margin: 18px auto 0;
}
.floats {
  position: absolute;
  inset: 0;
  max-width: 1200px;
  margin: 0 auto;
  pointer-events: none;
}
.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  color: var(--accent-strong);
  animation: bob 7s ease-in-out infinite;
}
.float svg {
  width: 24px;
  height: 24px;
}
.float .bi {
  width: 28px;
  height: 28px;
}
.f2 .bi,
.f5 .bi {
  width: 34px;
  height: 34px;
}
.f1 {
  left: 11%;
  top: 12%;
  color: #2b6cd8;
}
.f2 {
  left: 6%;
  top: 50%;
  width: 72px;
  height: 72px;
  animation-delay: -2s;
}
.f3 {
  left: 22%;
  top: 76%;
  color: #1e96d1;
  animation-delay: -4s;
}
.f4 {
  right: 18%;
  top: 12%;
  color: var(--warn);
  animation-delay: -1s;
}
.f5 {
  right: 6%;
  top: 46%;
  width: 72px;
  height: 72px;
  color: var(--text-2);
  animation-delay: -3s;
}
.f6 {
  right: 22%;
  top: 78%;
  color: #6d5bd0;
  animation-delay: -5s;
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 1000px) {
  .floats {
    display: none;
  }
}
@media (max-width: 720px) {
  .section-cta {
    padding: 88px 0;
  }
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  overflow: hidden;
  padding-top: 72px;
  background: var(--dark);
  color: #d8d6cf;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
}
.site-footer .brand {
  color: #fff;
}
.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  font-size: 14.5px;
  color: #a8a69f;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-cols h3 {
  margin-bottom: 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
}
.footer-cols li + li {
  margin-top: 10px;
}
.footer-cols a,
.footer-langs a {
  font-size: 14.5px;
  color: #a8a69f;
  transition: color 0.15s ease;
}
.footer-cols a:hover,
.footer-langs a:hover,
.footer-langs a[aria-current] {
  color: #fff;
}
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13.5px;
  color: #8f8d86;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  border-top: 1px solid #34332f;
}
.footer-langs {
  display: flex;
  gap: 18px;
}
.footer-langs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.footer-langs .flag {
  outline-color: rgba(255, 255, 255, 0.14);
}
.footer-word {
  margin: 8px 0 -0.2em;
  font-size: clamp(110px, 25vw, 360px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  color: #262523;
  user-select: none;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Шағын экран ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container {
    --pad: 16px;
  }
}

/* ── «Сатумен сөйлесу» беті ──────────────────────────────────────────────────── */
.contact {
  position: relative;
  padding: 72px 0 120px;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 64px;
}
.contact-info h1 {
  margin-top: 22px;
  font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.06;
}
.contact-info .lead {
  max-width: 520px;
  margin-top: 18px;
}
.contact-steps {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
.contact-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-ink);
}
.contact-steps h3 {
  font-size: 16px;
}
.contact-steps p {
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--muted);
}
.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  font-size: 14.5px;
  color: var(--text-3);
}
.contact-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-alt {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--muted);
}
.contact-alt a,
.form-error a,
.form-ok p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.form-title {
  margin-bottom: 20px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field > span,
.chips-field legend {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.field small {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  font: 400 15px/1.4 var(--font-sans);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  height: auto;
  min-height: 104px;
  padding: 10px 12px;
  resize: vertical;
}
.field select {
  padding-right: 34px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6c67' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
  outline: none;
}
.field-wide {
  margin-top: 16px;
}
.chips-field {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.chip-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chip-opt {
  position: relative;
}
.chip-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip-opt span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip-opt span:hover {
  background: var(--surface-2);
}
.chip-opt input:checked + span {
  border-color: color-mix(in oklab, var(--accent) 45%, var(--border));
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 500;
}
.chip-opt input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lead-form .btn-block {
  margin-top: 22px;
}
.lead-form .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.form-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.form-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-btn);
  background: var(--danger-soft);
  font-size: 14px;
  color: var(--danger-ink);
}
.form-ok {
  padding: 28px 8px;
  text-align: center;
  outline: none;
}
.ok-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.ok-ico svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}
.form-ok h2 {
  margin-top: 18px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.form-ok p {
  max-width: 360px;
  margin: 8px auto 0;
  color: var(--muted);
}
.form-ok .btn {
  margin-top: 22px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .contact-card {
    position: static;
  }
}
@media (max-width: 560px) {
  .contact {
    padding: 44px 0 72px;
  }
  .contact-card {
    padding: 22px 18px;
  }
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Телефон (≤640px): ықшам типографика, қатар батырмалар, терезе скриншот сияқты кішірейеді ── */
.nav-cta,
.pb-short {
  display: none;
}
@media (max-width: 1060px) {
  .nav {
    gap: 8px;
  }
  .nav-cta {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-toggle {
    border-color: transparent;
    background: transparent;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: clamp(1.85rem, 1.25rem + 2.8vw, 2.35rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
  }
  h2 {
    font-size: 1.75rem;
    line-height: 1.16;
  }
  .lead {
    font-size: 15.5px;
    line-height: 1.6;
  }
  .section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .section-head .lead {
    margin-top: 14px;
  }
  .brand {
    font-size: 17px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }

  /* Hero */
  .squares-hero,
  .squares-head,
  .squares-cta {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  .pill-badge {
    gap: 8px;
    padding: 4px 5px 4px 11px;
    font-size: 13.5px;
  }
  .pb-long {
    display: none;
  }
  .pb-short {
    display: inline;
  }
  .hero h1 {
    margin-top: 20px;
  }
  .hero .lead {
    margin-top: 16px;
    color: var(--text-4);
  }
  /* Екі батырма әрқашан бір қатарда, тең енде */
  .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 400px;
    margin: 26px auto 0;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-actions .btn svg {
    display: none;
  }
  .hero-note {
    margin-top: 14px;
    font-size: 12.5px;
  }
  .hero-checks {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
  }
  .hero-demo {
    margin-top: 40px;
  }
  /* Терезе десктоп пішінін сақтайды да, кішірейеді; оң жағы экран шетінен шығып кетеді (Dasne сияқты) */
  .app {
    width: 800px;
    height: 600px;
    zoom: 0.47;
    border-radius: 24px;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  }
  .composer {
    width: 100%;
    margin-top: -96px;
  }
  .c-ph {
    padding: 15px 16px 28px;
    font-size: 16px;
  }
  .c-row {
    margin: 0 10px;
  }
  .c-chip:not(.c-model),
  .c-note {
    display: none;
  }
  .c-send {
    margin-left: auto;
  }

  /* Модельдер жолағы */
  .strip {
    padding-top: 56px;
  }
  .strip-label {
    font-size: 14px;
  }
  .marquee,
  .marquee-track {
    gap: 44px;
    --gap: 44px;
  }
  .marquee {
    margin-top: 18px;
  }
  .marquee-track li {
    font-size: 20px;
  }
  .marquee-track li .bi {
    width: 24px;
    height: 24px;
  }

  /* Мүмкіндіктер */
  .feats {
    gap: 36px;
  }
  .feat-vis {
    height: 236px;
  }
  .feat h3 {
    margin-top: 18px;
    font-size: 17px;
  }
  .feat p,
  .panel-text p {
    font-size: 14.5px;
  }
  .tile {
    width: 56px;
    height: 56px;
    border-radius: 13px;
  }
  .tile {
    padding: 12px;
  }
  .panels {
    gap: 16px;
    margin-top: 36px;
  }
  .panel-text h3 {
    font-size: 18px;
  }
  .panel-wide .panel-vis {
    height: 340px;
    padding: 24px 0 0 20px;
  }

  /* Тапсырма → нәтиже */
  .section-act .section-head + .act-row {
    margin-top: 32px;
  }
  .act-row {
    gap: 28px;
    margin-top: 64px;
  }
  .act-h {
    font-size: 1.5rem;
  }
  .act-text > p {
    margin-top: 12px;
    font-size: 15px;
  }
  .ticks {
    gap: 10px;
    margin-top: 18px;
  }
  .ticks li {
    font-size: 14.5px;
  }
  .act-vis {
    padding: 4px 0;
  }
  .chat {
    max-width: 340px;
  }
  .bubble {
    padding: 10px 14px;
    font-size: 14px;
  }
  .chat-reply {
    margin: 16px 0 10px;
    font-size: 14.5px;
  }
  .chat-card {
    padding: 12px 14px;
  }
  .chat-card b {
    font-size: 14.5px;
  }
  .todo li {
    padding: 10px 12px;
  }
  .todo b {
    font-size: 13.5px;
  }
  .state {
    font-size: 12px;
  }
  .suggest span {
    font-size: 14px;
  }
  .dash {
    padding: 14px;
  }
  .dash-stats b {
    font-size: 13.5px;
  }
  .bars li {
    grid-template-columns: 78px minmax(0, 1fr) 66px;
  }

  /* Telegram: телефондар бір бағанға (Dasne сияқты) */
  .phones {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 420px;
  }
  .phone-card {
    padding: 28px 18px 0;
  }
  .phone-card h3 {
    margin-bottom: 24px;
    font-size: 18px;
  }
  .phone {
    max-width: 300px;
    height: 320px;
    font-size: 12.5px;
  }
  .center-actions {
    margin-top: 36px;
  }

  /* Бөлімдер: бір бағанға */
  .roles {
    columns: 1;
  }
  .role {
    margin-bottom: 12px;
    padding: 22px;
  }
  .role blockquote {
    font-size: 15px;
  }
  .role-dark blockquote {
    font-size: 19px;
  }

  /* Баға, FAQ, CTA */
  .plan {
    padding: 24px;
  }
  .faq-item summary {
    padding: 18px 0;
  }
  .faq-item h3 {
    font-size: 15.5px;
  }
  .faq-item p {
    font-size: 15px;
  }
  .section-cta {
    padding: 72px 0;
  }
  .footer-word {
    font-size: 30vw;
  }
}
@media (max-width: 370px) {
  .hero-actions .btn {
    font-size: 12.5px;
  }
}

/* Тіл ұсынысы */
.lang-hint {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-btn);
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-pop);
  white-space: nowrap;
}
.lang-hint svg {
  width: 16px;
  height: 16px;
}
.lang-hint[hidden] {
  display: none;
}

/* 404 */
.nf {
  padding: 96px 20px;
  display: grid;
  gap: 16px;
}
.nf h1 {
  font-size: 72px;
}
.nf a:not(.brand) {
  color: var(--accent-ink);
  text-decoration: underline;
}
