/* Лендинг Cloncy. Палитра и формы — из тёмной темы оболочки. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 560;
  font-display: swap;
  src: url("/assets/fonts/newsreader-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: "Newsreader";
  font-style: italic;
  font-weight: 400 560;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-italic.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: "Source Serif";
  font-style: normal;
  font-weight: 400 560;
  font-display: swap;
  src: url("/assets/fonts/sourceserif-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif";
  font-style: normal;
  font-weight: 400 560;
  font-display: swap;
  src: url("/assets/fonts/sourceserif-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: "Source Serif";
  font-style: italic;
  font-weight: 400 560;
  font-display: swap;
  src: url("/assets/fonts/sourceserif-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif";
  font-style: italic;
  font-weight: 400 560;
  font-display: swap;
  src: url("/assets/fonts/sourceserif-latin-italic.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;
  --canvas: #101010;
  --card: #141414;
  --bg: #181818;
  --raise: #1c1c1c;
  --lift: #2a2a2a;
  --ink: #f3f3f3;
  --soft: #c9c9c9;
  --muted: #8e8e8e;
  --dim: #5f5f5f;
  --line: #2c2c2c;
  --ring: inset 0 0 0 1px rgb(255 255 255 / 8%);
  --ring-hi: inset 0 0 0 1px rgb(255 255 255 / 16%);
  --live: #5ad08a;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --pad: 24px;
  --top: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
:root:lang(ru) { --display: "Source Serif", Georgia, "Times New Roman", serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 12px);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.is-menu body { overflow: hidden; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
kbd { font-family: var(--sans); }
::selection { background: rgb(243 243 243 / 22%); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { display: block; flex: none; }
.mark { display: block; flex: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

.display {
  font-family: var(--display);
  font-weight: 460;
  font-synthesis: none;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 420;
  color: #9d9d9d;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn .i { transition: transform .25s var(--ease); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn--ghost { background: var(--raise); color: var(--ink); box-shadow: var(--ring); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #ffffff; }
  .btn:hover .i { transform: translateX(2px); }
  .btn--ghost:hover { background: #242424; box-shadow: var(--ring-hi); }
}
.btn:active { transform: scale(.98); }

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--lift);
  color: var(--soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
}

.card {
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--ring);
}

/* Появление */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__in .reveal:nth-child(2) { transition-delay: .06s; }
.js .hero__in .reveal:nth-child(3) { transition-delay: .12s; }
.js .hero__in .reveal:nth-child(4) { transition-delay: .18s; }
.js .hero__in .reveal:nth-child(5) { transition-delay: .24s; }
.js .reveal--late { transition-delay: .3s; }

/* Шапка */
.top {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--top);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.top.is-scrolled,
html.is-menu .top {
  background: rgb(16 16 16 / 78%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 6%);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
}
.top__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.top__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.top__nav a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.top__nav a[aria-current="true"] { color: var(--ink); background: rgb(255 255 255 / 6%); }
@media (hover: hover) and (pointer: fine) {
  .top__nav a:hover { color: var(--ink); }
}
.top__end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.top__nav + .top__end { margin-left: 0; }
.top__burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--raise);
  box-shadow: var(--ring);
  cursor: pointer;
}
.top__burger-close { display: none; }
.top__burger[aria-expanded="true"] .top__burger-open { display: none; }
.top__burger[aria-expanded="true"] .top__burger-close { display: block; }

.langs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.langs__item {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}
.langs__item[aria-current="true"] { background: var(--lift); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .langs__item:not([aria-current]):hover { color: var(--ink); }
}
.langs--mini .langs__item { height: 26px; padding: 0 9px; font-size: 12px; letter-spacing: .04em; }
.langs--wide .langs__item { height: 34px; padding: 0 16px; font-size: 14px; }

.menu {
  position: fixed;
  top: var(--top);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px var(--pad) calc(28px + env(safe-area-inset-bottom));
  display: grid;
  align-content: start;
  gap: 18px;
  background: var(--canvas);
  box-shadow: 0 1px 0 rgb(255 255 255 / 6%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .3s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 550;
}
.menu__nav a .i { color: var(--muted); }
.menu__cta { width: 100%; height: 50px; }
.menu .langs { justify-self: start; }

/* Первый экран */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--top) + 84px) 0 96px;
  text-align: center;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(48% 46% at 50% 0%, rgb(255 255 255 / 11%), transparent 70%),
    radial-gradient(30% 30% at 50% 58%, rgb(255 255 255 / 4%), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 3.2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3.2%) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 18%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 18%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  box-shadow: var(--ring);
  color: var(--soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .2s ease, box-shadow .2s ease;
}
.pill .i { color: var(--muted); transition: transform .25s var(--ease); }
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgb(90 208 138 / 16%);
}
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: rgb(255 255 255 / 7%); box-shadow: var(--ring-hi); }
  .pill:hover .i { transform: translateX(2px); }
}
.hero__title {
  max-width: 980px;
  font-size: clamp(46px, 7.6vw, 100px);
  line-height: .98;
}
.hero__lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19.5px);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.hero__note { color: var(--dim); font-size: 14px; }
.hero__stage {
  position: relative;
  margin-top: 72px;
  max-width: calc(1100px + var(--pad) * 2);
}

/* Макет приложения */
.mock {
  position: relative;
  border-radius: 22px;
  background: #0c0c0c;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 9%),
    0 0 0 10px rgb(255 255 255 / 2.2%),
    0 60px 140px -30px rgb(0 0 0 / 90%),
    0 -30px 120px -60px rgb(255 255 255 / 14%);
  text-align: left;
  font-size: 13.5px;
  line-height: 1.35;
  user-select: none;
  overflow: hidden;
}
.mock__chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}
.mock__chrome > i,
.browser__bar > i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2c2c2c;
}
.mock__url,
.browser__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 12px;
  border-radius: 8px;
  background: #181818;
  color: var(--muted);
  font-size: 12px;
}
.mock__body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 10px;
  height: 580px;
  padding: 10px;
  background: var(--canvas);
}
.mside__isle {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px 10px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.mside__label { margin: 14px 10px 5px; color: #9a9a9a; font-size: 11.5px; }
.mnav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: #e4e4e4;
  white-space: nowrap;
}
.mnav > .i { color: var(--muted); }
.mnav kbd {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 6px;
  background: #242424;
  color: var(--muted);
  font-size: 11px;
}
.mnav__ava {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #111;
  font-size: 10.5px;
  font-weight: 750;
}
.mnav__dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--ink); }
.mnav--foot { margin-top: auto; align-self: flex-start; }
.mmain {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}
.mhome {
  width: min(560px, 92%);
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: translateY(-5%);
}
.mhome__hello {
  min-height: 1.2em;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
}
.mist {
  display: inline-block;
  white-space: pre;
  animation: mist 1.05s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes mist {
  0% { opacity: 0; filter: blur(18px); transform: scale(1.55); }
  42% { opacity: .72; filter: blur(8px); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}
.mask {
  width: 100%;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding: 14px 12px 10px 16px;
  border-radius: 18px;
  background: var(--raise);
  box-shadow: var(--ring);
}
.mask__text {
  flex: 1;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}
.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: var(--ink);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mask__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mask__tools { display: flex; align-items: center; gap: 4px; }
.mask__btn,
.mask__send {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
}
.mask__send { background: var(--lift); opacity: .5; transition: background .25s ease, color .25s ease, opacity .25s ease; }
.mask.is-ready .mask__send { background: var(--ink); color: var(--canvas); opacity: 1; }
.mask__model {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  box-shadow: var(--ring);
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 500;
}
.mask__model .i:last-child { color: var(--muted); }
.mchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.mchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  box-shadow: var(--ring);
  color: var(--muted);
  font-size: 12.5px;
}
.mtab { display: none; }

.toast {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  padding: 12px 14px 12px 12px;
  border-radius: 16px;
  background: rgb(30 30 30 / 82%);
  box-shadow: var(--ring-hi), 0 24px 60px -12px rgb(0 0 0 / 70%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: left;
}
.toast__ico {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lift);
}
.toast__txt { display: grid; gap: 1px; margin-right: auto; }
.toast__txt b { font-size: 14px; font-weight: 600; }
.toast__txt span { color: var(--muted); font-size: 12.5px; }
.toast__ok {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
}
.toast--1 { left: -28px; bottom: 14%; }
.toast--2 { right: -36px; top: 46%; }
.toast--3 { left: 30%; bottom: -26px; }
.js .hero__stage .toast { opacity: 0; }
.js .hero__stage.is-in .toast { animation: toast-in .9s var(--ease) both; }
.js .hero__stage.is-in .toast--1 { animation-delay: 1.3s; }
.js .hero__stage.is-in .toast--2 { animation-delay: 2s; }
.js .hero__stage.is-in .toast--3 { animation-delay: 2.7s; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* Полоса модулей */
.strip { padding: 24px 0 8px; }
.strip__title { color: var(--dim); font-size: 14px; text-align: center; }
.strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 22px;
}
.strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

/* Разделы */
.sec { padding: 150px 0 0; }
.sec--tight { padding-top: 120px; }
.sec__head {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.sec__title { font-size: clamp(38px, 5.2vw, 66px); }
.sec__lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Модули */
.mods {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}
.mods__list { display: grid; gap: 8px; }
.mod {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px 13px 13px;
  border: 0;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--ring);
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.mod__ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--bg);
  color: var(--muted);
  box-shadow: var(--ring);
  transition: background .2s ease, color .2s ease;
}
.mod__txt { display: grid; gap: 2px; min-width: 0; }
.mod__txt b { font-size: 15px; font-weight: 600; }
.mod__txt span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.mod[aria-checked="true"] { background: #171717; box-shadow: var(--ring-hi); }
.mod[aria-checked="true"] .mod__ico { background: var(--ink); color: var(--canvas); box-shadow: none; }
.mod--soon { cursor: default; opacity: .62; }
@media (hover: hover) and (pointer: fine) {
  .mod[role="switch"]:hover { background: #191919; }
}
.sw {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--lift);
  transition: background .25s ease;
}
.sw i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8e8e8e;
  transition: transform .3s var(--ease), background .25s ease;
}
.mod[aria-checked="true"] .sw { background: var(--ink); }
.mod[aria-checked="true"] .sw i { background: var(--canvas); transform: translateX(16px); }

.mods__view { position: sticky; top: calc(var(--top) + 24px); }
.mprev {
  padding: 10px;
  border-radius: 24px;
  background: #0c0c0c;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 9%), 0 40px 100px -30px rgb(0 0 0 / 80%);
}
.mprev__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 14px;
}
.mprev__brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.mprev__brand .mark { width: 22px; height: 22px; }
.mprev__brand b { font-weight: 600; }
.mprev__count {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lift);
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mprev__body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 10px;
  min-height: 460px;
}
.mprev__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.mprev__nav {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  color: #e4e4e4;
  font-size: 13px;
  white-space: nowrap;
}
.mprev__nav .i { color: var(--muted); }
.mprev__nav.is-on { background: var(--lift); }
.mprev__tiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  padding: 2px;
}
.tile {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--ring);
  min-width: 0;
}
.tile__ico {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 9px;
  background: var(--lift);
}
.tile b { font-size: 13.5px; font-weight: 600; }
.tile span:last-child {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mprev__empty {
  grid-column: 1 / -1;
  align-self: center;
  margin-top: 150px;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.is-pop { animation: pop .45s var(--ease) both; }
@keyframes pop {
  from { opacity: 0; transform: scale(.94) translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Cloncy AI */
.ai { max-width: 900px; margin: 0 auto; }
.ai__tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--ring);
  overflow-x: auto;
  scrollbar-width: none;
}
.ai__tabs::-webkit-scrollbar { display: none; }
.ai__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.ai__tab[aria-selected="true"] { background: var(--lift); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .ai__tab[aria-selected="false"]:hover { color: var(--ink); }
}
.ai__panel {
  min-height: 470px;
  padding: 28px;
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--ring), 0 40px 100px -40px rgb(0 0 0 / 80%);
}
.chat { display: grid; gap: 22px; }
.msg { display: grid; gap: 10px; max-width: 640px; }
.msg p { line-height: 1.6; }
.msg--you {
  justify-self: end;
  max-width: min(520px, 88%);
  padding: 12px 16px;
  border-radius: 18px 18px 6px 18px;
  background: var(--lift);
}
.msg__who { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.msg__who .mark { width: 22px; height: 22px; }
.msg__who b { font-weight: 600; }
.msg__who--you { color: var(--muted); font-size: 12px; font-weight: 600; }
.msg--you .msg__who--you { display: none; }
.msg--ai > p { color: #dedede; }
.msg__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  box-shadow: var(--ring-hi);
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
}
.mailcard {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.mailcard__head { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mailcard__head span { color: var(--muted); font-size: 12.5px; }
.mailcard__head b { font-size: 14.5px; font-weight: 600; }
.mailcard p { color: var(--soft); font-size: 14.5px; }
.cmp { display: grid; gap: 8px; }
.cmp li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--ring);
  font-size: 14px;
}
.cmp b { font-weight: 600; }
.cmp span { color: var(--muted); }
.cmp li.is-pick { box-shadow: inset 0 0 0 1px rgb(243 243 243 / 55%); }
.bars { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--bg); box-shadow: var(--ring); }
.bars__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
}
.bars__row > span:first-child { color: var(--muted); }
.bars__row b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bars__track { height: 10px; border-radius: 999px; background: #232323; overflow: hidden; }
.bars__track i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #8e8e8e, #f3f3f3);
}
.js .ai:not(.is-in) .bars__track i { width: 0; }
.js .ai.is-in .ai__panel:not([hidden]) .bars__track i { animation: grow 1.1s var(--ease) both; }
.bars__row:nth-child(2) .bars__track i { animation-delay: .08s; }
.bars__row:nth-child(3) .bars__track i { animation-delay: .16s; }
.bars__row:nth-child(4) .bars__track i { animation-delay: .24s; }
.bars__row:nth-child(5) .bars__track i { animation-delay: .32s; }
@keyframes grow { from { width: 0; } }
.ai__panel.is-pop { animation: fade-up .5s var(--ease) both; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 64px auto 0;
}
.points li { display: grid; gap: 8px; align-content: start; }
.points__ico,
.cell__ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.points b { font-size: 16.5px; font-weight: 600; }
.points span:last-child { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Сборка сайта */
.build {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: stretch;
}
.build__chat {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--ring);
}
.build__chat .msg--you { max-width: 100%; }
.status { display: grid; gap: 10px; margin-top: 2px; }
.status li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-size: 14px;
  transition: opacity .3s ease, color .3s ease;
}
.status li > .i { grid-column: 1; grid-row: 1; }
.status li > span { grid-column: 2; grid-row: 1; }
.status__spin, .status__ok, .run__spin, .run__ok { display: none; }
.status__spin, .run__spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status li.is-run .status__spin { display: block; }
.status li.is-done .status__ok { display: block; }
.status li.is-done { color: var(--muted); }
.build:not(.is-armed) .status__ok { display: block; }
.js .build.is-armed .status li:not(.is-on) { opacity: .3; }
.js .build.is-armed .status li:not(.is-on)::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.build__bar { height: 4px; margin-top: 4px; border-radius: 999px; background: #232323; overflow: hidden; }
.build__bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--ink); transition: width .8s var(--ease); }
.js .build.is-armed .build__bar i { width: 0; }
.build__done { margin-top: 6px; color: #dedede; transition: opacity .5s ease, transform .5s var(--ease); }
.js .build.is-armed .build__done:not(.is-on) { opacity: 0; transform: translateY(6px); }
.replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  height: 32px;
  margin-top: auto;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: var(--ring);
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .replay:hover { color: var(--ink); box-shadow: var(--ring-hi); }
}
html:not(.js) .replay { display: none; }

.build__view {
  padding: 12px;
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--ring);
}
.browser {
  height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #f6f0e8;
  overflow: hidden;
}
.browser__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  background: #1c1c1c;
}
.browser__bar > i { width: 10px; height: 10px; }
.browser__pub {
  display: inline-grid;
  margin-left: auto;
  height: 26px;
  border-radius: 8px;
  background: #2a2a2a;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: background .3s ease, color .3s ease;
}
.browser__pub > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; transition: opacity .3s ease; }
.browser__pub-live { opacity: 0; }
.browser__pub-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.browser__pub.is-ready { background: var(--ink); color: #111; }
.browser__pub.is-live { background: #23352a; color: #c9f2d8; }
.browser__pub.is-live .browser__pub-go { opacity: 0; }
.browser__pub.is-live .browser__pub-live { opacity: 1; }
.build:not(.is-armed) .browser__pub { background: #23352a; color: #c9f2d8; }
.build:not(.is-armed) .browser__pub-go { opacity: 0; }
.build:not(.is-armed) .browser__pub-live { opacity: 1; }

.site {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 14px;
  padding: 18px 22px 22px;
  color: #2b1d14;
  font-size: 13px;
}
.site [data-stage] { position: relative; }
.site [data-stage] > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .build.is-armed .site [data-stage]:not(.is-on) > * { opacity: 0; transform: translateY(6px); }
.js .build.is-armed .site [data-stage]:not(.is-on)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #e9e0d4 0%, #f1e9de 40%, #e9e0d4 80%) 0 0 / 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.site__nav { display: flex; align-items: center; justify-content: space-between; min-height: 28px; }
.site__nav b { font-family: var(--display); font-size: 22px; font-weight: 520; letter-spacing: -0.01em; }
.site__nav span { display: flex; gap: 16px; }
.site__nav i { font-style: normal; color: #7a5a44; font-size: 12.5px; }
.site__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 190px;
}
.site__copy { display: grid; gap: 10px; justify-items: start; }
.site__copy h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 480;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.site__copy p { color: #6d5442; font-size: 13.5px; }
.site__cta {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: #2b1d14;
  color: #f6f0e8;
  font-size: 12.5px;
  font-weight: 600;
}
.site__pic {
  position: relative;
  height: 100%;
  min-height: 170px;
  border-radius: 14px;
  background:
    radial-gradient(60% 60% at 70% 30%, #e8b07a 0%, transparent 70%),
    radial-gradient(80% 80% at 20% 90%, #6d3b1f 0%, transparent 70%),
    linear-gradient(140deg, #c98a55, #4a2614);
  overflow: hidden;
}
.site__pic span {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #3a1d0e 0 46%, #f3e6d6 47% 58%, rgb(255 255 255 / 0%) 59%);
  box-shadow: 0 18px 30px rgb(0 0 0 / 30%);
  transform: translate(-50%, -50%);
}
.site__menu { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: #efe6da; }
.site__menu div { display: flex; align-items: baseline; gap: 8px; }
.site__menu i { flex: 1; border-bottom: 1px dotted #b59b84; transform: translateY(-3px); }
.site__menu b { font-weight: 650; }
.site__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6d5442;
  font-size: 12.5px;
}
.site__map { display: inline-flex; align-items: center; gap: 8px; }
.site__map i {
  width: 34px;
  height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 60% 45%, #b6542c 0 3px, transparent 4px),
    repeating-linear-gradient(0deg, #e2d6c6 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, #e2d6c6 0 1px, transparent 1px 6px),
    #efe6da;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 56px auto 0;
}
.flow li { display: grid; gap: 8px; align-content: start; }
.flow__n {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 50%;
  box-shadow: var(--ring-hi);
  color: var(--soft);
  font-size: 13px;
  font-weight: 650;
}
.flow b { font-size: 16.5px; font-weight: 600; }
.flow span:last-child { color: var(--muted); font-size: 15px; }

/* Агент */
.agent {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
}
.agent__run {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
}
.run { display: grid; gap: 8px; }
.run__step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--ring);
  transition: opacity .4s ease, transform .5s var(--ease), box-shadow .3s ease;
}
.run__ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--lift);
}
.run__txt { display: grid; gap: 2px; min-width: 0; }
.run__txt b { font-size: 14.5px; font-weight: 600; }
.run__txt span { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.run__state { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.run__step.is-run { box-shadow: var(--ring-hi); }
.run__step.is-run .run__spin { display: block; color: var(--soft); }
.run__step.is-done .run__state { background: var(--ink); color: var(--canvas); }
.run__step.is-done .run__ok { display: block; width: 14px; height: 14px; }
.agent__run:not(.is-armed) .run__state { background: var(--ink); color: var(--canvas); }
.agent__run:not(.is-armed) .run__ok { display: block; width: 14px; height: 14px; }
.js .agent__run.is-armed .run__step:not(.is-on) { opacity: .25; transform: translateY(4px); }
.run__result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgb(255 255 255 / 4%);
  box-shadow: var(--ring);
  transition: opacity .5s ease, transform .5s var(--ease);
}
.run__result .mark { width: 24px; height: 24px; margin-top: 1px; }
.run__result p { color: #e4e4e4; font-size: 14.5px; }
.js .agent__run.is-armed .run__result:not(.is-on) { opacity: 0; transform: translateY(6px); }
.run__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.run__foot .replay { margin-top: 0; }
.run__work { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; transition: opacity .3s ease; }
.run__work::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; } }
.run__work.is-done,
.agent__run:not(.is-armed) .run__work { opacity: 0; }

.perms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 26px;
}
.perms__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--canvas);
}
.perms h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.perms p { color: var(--muted); font-size: 15px; }
.perms__list { display: grid; margin-top: auto; padding-top: 14px; }
.perms__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.perms__mod { display: inline-flex; align-items: center; gap: 10px; }
.perms__mod .i { color: var(--muted); }
.level {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.level--full { background: var(--ink); color: #111; }
.level--mid { background: var(--lift); color: var(--soft); }
.level--none { box-shadow: var(--ring-hi); color: var(--muted); }

.ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: 36px;
  color: var(--soft);
  font-size: 15px;
}
.ticks li { display: inline-flex; align-items: center; gap: 10px; }
.ticks .i { color: var(--muted); }

/* Плитки */
.bento { display: grid; gap: 16px; }
.bento--teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border-radius: 26px;
  min-width: 0;
}
.cell h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.cell p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.cell > [aria-hidden="true"]:first-child { margin-bottom: 18px; }
.cell > [aria-hidden="true"]:first-child ~ h3 { margin-top: auto; }

.spaces {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.space {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.space__head { display: inline-flex; align-items: center; gap: 8px; padding: 2px 4px 6px; font-size: 13.5px; font-weight: 600; }
.space__head .i { color: var(--muted); }
.space__row { padding: 8px 10px; border-radius: 9px; background: var(--card); color: var(--soft); font-size: 13px; }
.space__gap {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lift);
  color: var(--soft);
}

.list, .threads, .roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.list li, .threads li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--bg);
  box-shadow: var(--ring);
  font-size: 13.5px;
}
.box {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px #5a5a5a;
}
.box--on { background: var(--ink); color: var(--canvas); box-shadow: none; }
.list__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list li:first-child .list__t { color: var(--muted); text-decoration: line-through; text-decoration-color: #5a5a5a; }
.list__m, .threads__m { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.ava {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lift);
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}
.threads__t { display: grid; flex: 1; min-width: 0; }
.threads__t b { font-weight: 600; }
.threads__t span { overflow: hidden; color: var(--muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.threads li.is-new .threads__m::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: 1px;
}
.roles li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 13px;
  background: var(--bg);
  box-shadow: var(--ring);
  font-size: 13.5px;
  overflow: hidden;
}
.roles__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
}
.roles b, .roles span:last-child { position: relative; }
.roles b { font-weight: 600; }
.roles span:last-child { color: var(--muted); font-size: 12.5px; }

.bento--simple {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "search search phone s1"
    "s2 s3 phone s4";
}
.cell--search { grid-area: search; }
.cell--phone { grid-area: phone; }
.bento--simple .cell--small:nth-of-type(3) { grid-area: s1; }
.bento--simple .cell--small:nth-of-type(4) { grid-area: s2; }
.bento--simple .cell--small:nth-of-type(5) { grid-area: s3; }
.bento--simple .cell--small:nth-of-type(6) { grid-area: s4; }
.cell--small .cell__ico { margin-bottom: 14px; }
.cell--small { justify-content: flex-start; }

.seek {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--ring);
}
.seek__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--ring);
  color: var(--muted);
  font-size: 14px;
}
.seek__field > span { flex: 1; color: var(--ink); }
.seek__field kbd { padding: 2px 7px; border-radius: 6px; background: var(--lift); font-size: 11.5px; }
.seek__list { display: grid; gap: 2px; }
.seek__list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
}
.seek__list li.is-on { background: var(--lift); }
.seek__list .i { color: var(--muted); }
.seek__list b { overflow: hidden; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.seek__list span { color: var(--muted); font-size: 12px; }

.cell--phone { align-items: flex-start; }
.phone {
  align-self: center;
  width: 196px;
  padding: 7px;
  border-radius: 34px;
  background: #0b0b0b;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 12%), 0 30px 60px -20px rgb(0 0 0 / 80%);
}
.phone__screen {
  position: relative;
  height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 58px 12px 12px;
  border-radius: 28px;
  background: var(--canvas);
}
.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 64px;
  height: 18px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.phone__hello { font-size: 25px; text-align: center; }
.phone__ask {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  min-height: 64px;
  padding: 10px 8px 8px 12px;
  border-radius: 14px;
  background: var(--raise);
  box-shadow: var(--ring);
  color: var(--soft);
  font-size: 11.5px;
  line-height: 1.35;
}
.phone__ask span { flex: 1; align-self: flex-start; }
.phone__ask .i { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--ink); color: var(--canvas); }
.phone__tab {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 46px;
  margin-top: auto;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--ring);
  color: var(--muted);
}
.phone__mid {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
}
.cell--phone .phone { margin-bottom: 22px; }

/* Сравнение */
.vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.vs__col { padding: 28px; border-radius: 26px; box-shadow: var(--ring); }
.vs__col--on { background: var(--card); box-shadow: var(--ring-hi), 0 40px 100px -40px rgb(255 255 255 / 10%); }
.vs__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.vs__col--on .vs__label { color: var(--ink); }
.vs__label .mark { width: 22px; height: 22px; }
.vs ul { display: grid; gap: 4px; }
.vs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
}
.vs li .i { margin-top: 2px; color: var(--dim); }
.vs__col--on li { color: #e4e4e4; }
.vs__col--on li .i { color: var(--ink); }

/* Дальше: авторы */
.next {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 44px;
  border-radius: 30px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgb(255 255 255 / 6%), transparent 60%),
    var(--card);
}
.next__copy { display: grid; gap: 16px; justify-items: start; }
.next__copy .sec__title { font-size: clamp(34px, 4.4vw, 54px); }
.next__copy .sec__lead { font-size: 17px; }
.next__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.next__items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--ring);
  font-size: 15px;
  font-weight: 550;
}
.next__items .i { color: var(--muted); }
.who__title {
  margin: 72px 0 20px;
  color: var(--dim);
  font-size: 14px;
  text-align: center;
}
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px;
  border-radius: 22px;
  box-shadow: var(--ring);
}
.who b { font-size: 16.5px; font-weight: 600; }
.who li > span:last-child { color: var(--muted); font-size: 14.5px; }

/* Вопросы */
.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.faq__head {
  position: sticky;
  top: calc(var(--top) + 32px);
  justify-items: start;
  margin: 0;
  text-align: left;
}
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-size: 17.5px;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { color: var(--muted); transition: transform .3s var(--ease), color .2s ease; }
.qa[open] summary .i { transform: rotate(45deg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .qa summary:hover .i { color: var(--ink); }
}
.qa__a { padding: 0 48px 24px 2px; }
.qa__a p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.qa[open] .qa__a { animation: fade-up .4s var(--ease) both; }

/* Финал */
.final {
  position: relative;
  margin-top: 150px;
  padding: 120px 0 130px;
  overflow: hidden;
  text-align: center;
}
.final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 60% at 50% 100%, rgb(255 255 255 / 9%), transparent 70%);
  pointer-events: none;
}
.final__in { position: relative; display: grid; justify-items: center; gap: 22px; }
.final__mark { border-radius: 16px; box-shadow: 0 20px 60px rgb(255 255 255 / 10%); }
.final__title { max-width: 900px; font-size: clamp(42px, 6.4vw, 84px); }
.final__lead { color: var(--muted); font-size: 18px; }
.final__in .btn { margin-top: 8px; }
.final__or { color: var(--dim); font-size: 14px; }
.final__or a { color: var(--soft); text-decoration: underline; text-decoration-color: #4a4a4a; text-underline-offset: 3px; }

/* Подвал */
.foot { padding: 56px 0 32px; border-top: 1px solid rgb(255 255 255 / 6%); }
.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 32px;
}
.foot__brand { display: grid; gap: 14px; align-content: start; }
.foot__brand p { max-width: 300px; color: var(--muted); font-size: 14.5px; }
.foot__nav { display: grid; gap: 10px; align-content: start; }
.foot__nav p, .foot__lang p {
  margin-bottom: 4px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
}
.foot__nav a { justify-self: start; color: var(--soft); font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) {
  .foot__nav a:hover { color: var(--ink); }
}
.foot__lang { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot__lang p { display: inline-flex; align-items: center; gap: 7px; }
.foot__base {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  color: var(--dim);
  font-size: 13px;
}
.foot__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  border-top: 1px solid rgb(255 255 255 / 6%);
}

/* 404 */
.lost { display: grid; place-items: center; min-height: 100vh; padding: 24px; text-align: center; }
.lost__in { display: grid; justify-items: center; gap: 22px; }
.lost__title { font-size: clamp(44px, 7vw, 80px); font-family: "Newsreader", "Source Serif", Georgia, serif; }
.lost__title em { font-family: "Source Serif", Georgia, serif; }
.lost__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Превью ссылки, 1200×630 */
.og-body { margin: 0; background: #000; }
.og {
  position: relative;
  width: 1200px;
  height: 630px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 64px 72px;
  background: var(--canvas);
}
.og__glow {
  position: absolute;
  inset: -40% -20% auto 30%;
  height: 900px;
  background: radial-gradient(45% 45% at 50% 40%, rgb(255 255 255 / 12%), transparent 70%);
}
.og__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(60% 70% at 80% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(60% 70% at 80% 20%, #000 10%, transparent 70%);
}
.og > *:not(.og__glow):not(.og__grid) { position: relative; }
.og__brand { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 650; letter-spacing: -0.02em; }
.og__brand .mark { border-radius: 12px; }
.og__title { margin-top: auto; font-size: 92px; line-height: .98; }
.og__lead { max-width: 940px; text-wrap: pretty; margin-top: 22px; color: var(--muted); font-size: 24px; line-height: 1.4; }
.og__mods { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.og__mods li {
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--ring-hi);
  color: var(--soft);
  font-size: 18px;
  font-weight: 550;
}
.og__url { position: absolute !important; top: 72px; right: 72px; color: var(--dim); font-size: 20px; }

/* Адаптив */
@media (max-width: 1179px) {
  .toast--1 { left: -8px; }
  .toast--2 { right: -8px; }
}
@media (max-width: 1099px) {
  .toast { display: none; }
  .bento--simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "search search"
      "phone s1"
      "phone s2"
      "s3 s4";
  }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .top__nav { display: none; }
  .top__burger { display: grid; }
  .mods, .build, .agent, .next, .faq { grid-template-columns: minmax(0, 1fr); }
  .mods__view {
    order: -1;
    top: calc(var(--top) + 8px);
    z-index: 3;
  }
  .mprev { padding: 8px; border-radius: 20px; background: rgb(12 12 12 / 92%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .mprev__head { padding: 4px 6px 8px; }
  .mprev__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mprev__tiles { display: none; }
  .mprev__side { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 6px; min-height: 44px; }
  .mprev__nav { padding: 6px 9px; background: var(--card); box-shadow: var(--ring); font-size: 12.5px; }
  .mprev__nav.is-on { background: var(--card); }
  .faq { gap: 32px; }
  .faq__head { position: static; }
  .foot__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .browser { min-height: 440px; }
}
@media (max-width: 959px) {
  .mprev__empty { display: none; }
}
@media (max-width: 759px) {
  :root { --pad: 18px; }
  .hero { padding: calc(var(--top) + 52px) 0 72px; }
  .hero__in { gap: 20px; }
  .hero__stage { margin-top: 52px; }
  .mock { border-radius: 26px; }
  .mock__body { grid-template-columns: minmax(0, 1fr); height: 440px; padding: 0; }
  .mside { display: none; }
  .mmain { border-radius: 0; padding-bottom: 84px; }
  .mhome { width: calc(100% - 28px); transform: none; }
  .mhome__hello { font-size: 32px; }
  .mchips { display: none; }
  .mtab {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 62px;
    padding: 0 6px;
    border-radius: 24px;
    background: var(--bg);
    box-shadow: var(--ring);
  }
  .mtab__btn { display: grid; justify-items: center; gap: 3px; color: var(--muted); font-size: 10.5px; font-weight: 500; }
  .mtab__btn:first-child { color: var(--ink); }
  .mtab__mid {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-top: -22px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--canvas);
  }
  .sec { padding-top: 104px; }
  .sec--tight { padding-top: 88px; }
  .sec__head { margin-bottom: 40px; gap: 14px; }
  .sec__lead { font-size: 16.5px; }
  .points, .flow { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 44px; }
  .ai__panel { min-height: 0; padding: 18px; border-radius: 22px; }
  .ai__tabs { margin-bottom: 14px; }
  .ai__tab { padding: 0 14px; }
  .cmp li { grid-template-columns: minmax(0, 1fr) 16px; gap: 2px 10px; }
  .cmp li b { grid-column: 1; }
  .cmp li span { grid-column: 1; font-size: 13px; }
  .cmp li .i { grid-column: 2; grid-row: 1 / 3; }
  .bars { padding: 14px; }
  .bars__row { grid-template-columns: 78px minmax(0, 1fr) auto; gap: 10px; font-size: 12.5px; }
  .build__chat, .agent__run, .perms, .cell { padding: 20px; border-radius: 22px; }
  .build__view { padding: 8px; border-radius: 22px; }
  .browser { min-height: 0; }
  .browser__url { position: static; transform: none; margin-left: 6px; min-width: 0; overflow: hidden; white-space: nowrap; }
  .site { padding: 14px 14px 16px; gap: 12px; }
  .site__nav span { gap: 10px; }
  .site__nav i:nth-child(n + 2) { display: none; }
  .site__hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .site__pic { min-height: 120px; }
  .site__info { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bento--teams { grid-template-columns: minmax(0, 1fr); }
  .bento--simple {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "search" "phone" "s1" "s2" "s3" "s4";
  }
  .cell--phone .phone { align-self: center; }
  .vs { grid-template-columns: minmax(0, 1fr); }
  .vs__col { padding: 22px; }
  .next { padding: 26px; gap: 28px; border-radius: 24px; }
  .who__title { margin-top: 56px; }
  .qa summary { font-size: 16.5px; padding: 19px 2px; }
  .qa__a { padding-right: 8px; }
  .final { margin-top: 110px; padding: 96px 0 104px; }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__lang { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; gap: 6px; }
}
@media (max-width: 559px) {
  .top__cta { display: none; }
  .hero__acts { width: 100%; flex-direction: column; }
  .hero__acts .btn { width: 100%; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .next__items { grid-template-columns: minmax(0, 1fr); }
  .spaces { grid-template-columns: minmax(0, 1fr); }
  .space__gap { justify-self: center; transform: rotate(90deg); }
  .run__step { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 12px; }
  .run__ico { width: 34px; height: 34px; }
  .run__txt span { white-space: normal; }
  .final__in .btn { width: 100%; }
}
@media (max-width: 379px) {
  .langs--mini { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .caret { animation: none; }
}
