/* ============================================================
   osdan. — Landing (skeleton)
   Mono palette · white accent · dark-first · self-contained
   ============================================================ */

:root {
  --bg:        #000000;
  --bg-2:      #060607;
  --surface:   rgba(255,255,255,0.025);
  --surface-2: rgba(255,255,255,0.05);
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);

  --text:      #ffffff;
  --text-2:    rgba(255,255,255,0.72);
  --text-3:    rgba(255,255,255,0.45);

  --accent:    #ffffff;          /* white accent */
  --on-accent: #000000;

  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1160px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative; /* контейнер для .bg-grid (сетка скроллится со страницей) */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Фоновая сетка (проявляется после hero/видео) ──
   Фиксированный слой позади контента. Hero перекрывает её сплошным фоном,
   поэтому сетка видна только ниже видео. Тонкая — «менее видно». */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
}
/* контент — поверх сетки */
main, .footer { position: relative; z-index: 1; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .9rem; line-height: 1;
  height: 44px; padding: 0 1.25rem;
  border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.btn--lg { height: 52px; padding: 0 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { transform: translateY(-2px); opacity: .9; }
.btn--secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn--secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text-2); }
.btn--ghost:hover { color: var(--text); }
.btn:active { transform: scale(.97); }

/* ── Shared bits ── */
.pill {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-2);
  padding: .45rem .9rem; border-radius: 100px;
  background: linear-gradient(var(--surface), var(--surface)), var(--bg); border: 1px solid var(--border);
}
.label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 1rem;
}
.grad {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.82) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Navbar ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(0,0,0,0.8); }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.nav__logo span { color: var(--text-3); }
.nav__logo--img { display: inline-flex; align-items: center; }
.nav__logo--img img { height: 30px; width: auto; display: block; }
/* ссылки строго по центру навбара, независимо от ширины логотипа/кнопок */
.nav__links { display: flex; gap: 2rem; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav__links a { font-size: .9rem; color: var(--text-2); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; gap: .6rem; align-items: center; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: .25rem; padding: 0 24px 16px; }
.nav__mobile a { padding: .8rem 0; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav__mobile a:last-child { border: 0; margin-top: .6rem; }
.nav__mobile.is-open { display: flex; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; z-index: 1;
  background: var(--bg);            /* перекрывает фоновую сетку — она видна только после видео */
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 72px 0 200px;
}
/* анимированный логотип — центральный визуал хиро, виден целиком и масштабируется с окном */
.hero__bg {
  position: absolute; z-index: 0; pointer-events: none;
  inset: -24px 0 320px;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: .5;
  -webkit-mask-image: radial-gradient(62% 60% at 50% 50%, #000 40%, transparent 76%);
  mask-image: radial-gradient(62% 60% at 50% 50%, #000 40%, transparent 76%);
}
@media (prefers-reduced-motion: reduce) { .hero__bg { display: none; } }
/* лёгкая виньетка только сверху/снизу — для перехода, видео почти не трогает */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,10,0.4), transparent 18%, transparent 82%, rgba(8,8,10,0.55));
}
.hero__glow {
  position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 820px; height: 560px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,0.12), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
/* затемнение точно под текстом и кнопками, мягко растушёванное */
.hero__inner::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -6% -8%;
  background: radial-gradient(58% 56% at 50% 50%, rgba(8,8,10,0.88), rgba(8,8,10,0.55) 52%, transparent 78%);
  filter: blur(22px);
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.05; margin: 1.4rem 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.hero__sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-2); max-width: 620px; margin: 0 auto; text-shadow: 0 1px 16px rgba(0,0,0,0.55); }
.hero__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1rem; }
.hero__note { font-size: .82rem; color: var(--text-3); }

/* ── Sections ── */
.section { padding: 96px 0; }
/* «Как это работает» — «блюпринт»-зона: частая яркая сетка + синее свечение */
.section--alt {
  position: relative; border: 0; z-index: 1;
  background:
    radial-gradient(65% 55% at 50% 45%, rgba(59,130,246,.12), transparent 70%),
    linear-gradient(to right,  rgba(255,255,255,.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.075) 1px, transparent 1px),
    #050507;
  background-size: auto, 26px 26px, 26px 26px, auto;
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.section__head p { color: var(--text-2); margin-top: 1rem; }

/* ── Feature blocks — один блок на преимущество, чередование ── */
.section--features { padding-bottom: 40px; }
.feat {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px;
  padding: 0 24px; margin: 90px auto;
}
.feat + .feat { border-top: none; }
/* отступ между бенто-гридом и заголовком «Возможности» */
.bento-wrap + .container { margin-top: 90px; }
.feat:nth-child(even) .feat__text { order: 2; }   /* зеркалим каждый второй */

.feat__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 1rem;
}
.feat__ico {
  width: 34px; height: 34px; display: grid; place-items: center; font-style: normal;
  border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  font-size: 1rem;
}
.feat__ico--logo { background: #fff; border-color: transparent; }
.feat__ico--logo img { width: 20px; height: 20px; display: block; }
.feat__text h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -.02em; margin-bottom: .9rem;
}
.feat__text p { color: var(--text-2); font-size: 1.02rem; margin-bottom: 1.3rem; }
.feat__list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.feat__list li { position: relative; padding-left: 1.6rem; color: var(--text-2); font-size: .95rem; }
.feat__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px rgba(255,255,255,.4);
}

/* ── AI-блок: переоформленная текстовая колонка ── */
.feat__eyebrow--ai .feat__ico--ai {
  background: rgba(255,255,255,.08); border-color: var(--border-2); color: var(--text);
}
.feat__ico--ai svg { width: 18px; height: 18px; }
.feat__list--ai { gap: 10px; margin-top: 4px; }
.feat__list--ai li {
  padding: 13px 15px; padding-left: 15px;
  border: 1px solid var(--border); border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--bg);
  display: flex; align-items: center; gap: 13px; color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.feat__list--ai li::before { content: none; }
.feat__list--ai li:hover { border-color: var(--border-2); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)), var(--bg); transform: translateX(4px); }
.feat__li-ico {
  width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-2);
  transition: color .2s, border-color .2s, background .2s;
}
.feat__li-ico svg { width: 19px; height: 19px; }
.feat__list--ai li:hover .feat__li-ico { color: #3b82f6; border-color: rgba(59,130,246,.32); background: rgba(59,130,246,.1); }
.feat__li-txt { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--text-3); line-height: 1.4; }
.feat__li-txt b { font-weight: 600; font-size: .98rem; color: var(--text); }

/* ── Таймлайн-степпер (правый блок секции «Роадмапы целей») ── */
.feat__timeline { list-style: none; margin-top: 6px; display: flex; flex-direction: column; }
.feat__tl { position: relative; display: flex; gap: 16px; padding-bottom: 24px; }
.feat__tl:last-child { padding-bottom: 0; }
/* соединительная линия между узлами */
.feat__tl:not(:last-child)::before {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--border-2), rgba(255,255,255,.05));
}
.feat__tl-node {
  position: relative; z-index: 1; flex: none;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; letter-spacing: -.01em; color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)), var(--bg);
  border: 1px solid var(--border-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.feat__tl-body { padding-top: 5px; display: flex; flex-direction: column; gap: 4px; }
.feat__tl-title { font-size: 1.02rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.feat__tl-desc { font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.feat__tl:hover .feat__tl-node {
  border-color: rgba(255,255,255,.45);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), var(--bg);
  box-shadow: 0 0 0 4px rgba(255,255,255,.05);
}

/* ── Канвас: центрированный showcase со скриншотом ── */
.canvas-feat { display: flex; flex-direction: column; align-items: center; }
.canvas-feat__head { text-align: center; max-width: 680px; margin: 0 auto; }
.canvas-feat__head .feat__eyebrow { margin-bottom: 1rem; }
.canvas-feat__head h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.12; margin-bottom: .9rem;
}
.canvas-feat__head p { color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }
.canvas-feat__shot {
  width: 100%; margin: 44px 0 0; padding: 0;
  background: transparent; border: 0;   /* прозрачно — сквозь скриншот видна фоновая сетка */
}
.canvas-feat__shot img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 36px 70px rgba(0,0,0,.55));  /* мягкая тень по форме скриншота */
}
.canvas-feat__points {
  list-style: none; width: 100%; margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.canvas-feat__points li {
  padding: 22px; border-radius: 16px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--bg);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.canvas-feat__points li:hover { border-color: var(--border-2); transform: translateY(-3px); }
.canvas-feat__ico {
  width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 14px;
  border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text);
}
.canvas-feat__ico svg { width: 20px; height: 20px; }
.canvas-feat__points b { display: block; font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 5px; letter-spacing: -.01em; }
.canvas-feat__points span { font-size: .92rem; color: var(--text-2); line-height: 1.5; }
@media (max-width: 760px) {
  .canvas-feat__points { grid-template-columns: 1fr; }
  .canvas-feat__shot { border-radius: 16px; margin-top: 32px; }
}

/* ── Геймификация: «колба ресурсов» ── */
.gcard {
  width: 100%; max-width: 540px;   /* по ширине как окно роадмапа (.ui--rm) */
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 38px 28px; border-radius: 20px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #101013, #0a0a0c);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
}
.gorb {
  position: relative; flex: none; width: 248px; height: 248px; border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(120% 120% at 30% 22%, rgba(255,255,255,.07), rgba(0,0,0,.42) 72%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 36px rgba(0,0,0,.55), inset 0 2px 2px rgba(255,255,255,.12), 0 22px 50px -16px rgba(0,0,0,.7);
}
.gorb__blob {
  position: absolute; border-radius: 50%; filter: blur(13px);
  transform: translate(-50%, -50%); will-change: transform;
}
.gorb__blob--videos  { width: 102px; height: 102px; left: 52%; top: 72%; background: #ef4444; box-shadow: 0 0 40px #ef4444, 0 0 80px rgba(239,68,68,.5); animation: lava1 16s ease-in-out infinite; }
.gorb__blob--notes   { width: 80px;  height: 80px;  left: 38%; top: 38%; background: #facc15; box-shadow: 0 0 40px #facc15, 0 0 80px rgba(250,204,21,.5); animation: lava2 20s ease-in-out infinite; }
.gorb__blob--books   { width: 50px;  height: 50px;  left: 64%; top: 30%; background: #22c55e; box-shadow: 0 0 34px #22c55e, 0 0 68px rgba(34,197,94,.5); animation: lava3 13s ease-in-out infinite; }
.gorb__blob--courses { width: 50px;  height: 50px;  left: 70%; top: 62%; background: #3b82f6; box-shadow: 0 0 34px #3b82f6, 0 0 68px rgba(59,130,246,.5); animation: lava4 18s ease-in-out infinite; }
/* лава-лампа: медленный вертикальный дрейф + морфинг формы (top задаётся в keyframes) */
@keyframes lava1 {
  0%,100% { top: 78%; transform: translate(-50%,-50%) scale(1);    border-radius: 52% 48% 46% 54% / 54% 46% 54% 46%; }
  35%     { top: 30%; transform: translate(-54%,-50%) scale(1.08); border-radius: 60% 40% 55% 45% / 45% 58% 42% 55%; }
  70%     { top: 58%; transform: translate(-47%,-50%) scale(.94);  border-radius: 44% 56% 60% 40% / 58% 42% 50% 50%; }
}
@keyframes lava2 {
  0%,100% { top: 32%; transform: translate(-50%,-50%) scale(1);    border-radius: 48% 52% 54% 46% / 46% 54% 46% 54%; }
  40%     { top: 74%; transform: translate(-45%,-50%) scale(1.06); border-radius: 56% 44% 42% 58% / 60% 40% 56% 44%; }
  75%     { top: 46%; transform: translate(-55%,-50%) scale(.92);  border-radius: 40% 60% 56% 44% / 44% 56% 50% 50%; }
}
@keyframes lava3 {
  0%,100% { top: 28%; transform: translate(-50%,-50%) scale(1);    border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%; }
  45%     { top: 70%; transform: translate(-56%,-50%) scale(1.12); border-radius: 58% 42% 52% 48% / 42% 58% 48% 52%; }
  70%     { top: 44%; transform: translate(-46%,-50%) scale(.9);   border-radius: 46% 54% 44% 56% / 56% 44% 54% 46%; }
}
@keyframes lava4 {
  0%,100% { top: 68%; transform: translate(-50%,-50%) scale(1);    border-radius: 54% 46% 50% 50% / 48% 52% 48% 52%; }
  38%     { top: 26%; transform: translate(-44%,-50%) scale(1.1);  border-radius: 42% 58% 54% 46% / 58% 42% 52% 48%; }
  72%     { top: 52%; transform: translate(-54%,-50%) scale(.95);  border-radius: 56% 44% 46% 54% / 44% 56% 46% 54%; }
}
.gorb__glass {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(58% 40% at 32% 22%, rgba(255,255,255,.20), transparent 60%);
}
.gcard__stats { display: flex; gap: 10px; width: 100%; }
.gstat {
  flex: 1; text-align: center; padding: 12px 6px; border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--bg);
}
.gstat__value { display: block; font-size: 1.18rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.gstat__value--rating { color: #f5b342; }
.gstat__label { display: block; margin-top: 3px; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.gcard__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.gcard__legend span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-2); }
.gcard__legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* квест-карточки текстового блока геймификации */
.game__quests { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.game__quest {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--bg);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.game__quest:hover { border-color: var(--border-2); transform: translateX(4px); }
.game__quest-ico {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text);
}
.game__quest-ico svg { width: 20px; height: 20px; }
.game__quest-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.game__quest-txt b { font-size: 1rem; font-weight: 700; color: var(--text); }
.game__quest-txt span { font-size: .88rem; color: var(--text-2); line-height: 1.4; }
.game__quest-reward { flex: none; font-size: .8rem; font-weight: 800; padding: 5px 11px; border-radius: 100px; letter-spacing: -.01em; white-space: nowrap; }
.game__quest-reward--xp   { background: rgba(34,197,94,.14);  color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.game__quest-reward--rank { background: rgba(245,179,66,.14); color: #f5b342; border: 1px solid rgba(245,179,66,.32); }
.game__quest-reward--rate { background: rgba(59,130,246,.14); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }

@media (prefers-reduced-motion: reduce) {
  .gorb__blob { animation: none; }
}

/* ── Слепки интерфейса платформы (UI-mock window) ── */
.feat__visual { display: grid; place-items: center; }

.ui {
  --ui-accent: #3b82f6;            /* реальный акцент приложения */
  --ui-accent-soft: rgba(59,130,246,.16);
  --ui-card: #0c0c0f;
  --ui-line: rgba(255,255,255,.08);
  --ui-skel: rgba(255,255,255,.10);
  width: 100%; max-width: 460px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #0a0a0c, #060608);
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02);
  font-size: 13px;
}
.ui__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; border-bottom: 1px solid var(--ui-line);
  background: rgba(255,255,255,.015);
}
.ui__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ui__bar em {
  margin-left: 8px; font-style: normal; font-weight: 600;
  font-size: 12px; color: var(--text-3); letter-spacing: .02em;
}
.ui__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 232px; }

/* skeleton helper */
.ui i { display: block; height: 9px; border-radius: 5px; background: var(--ui-skel); }

/* ── Проверка решения ИИ ── */
.lf-practice-wrap { max-width: var(--maxw); }
.lf-practice {
  width: 100%; max-width: 540px;
  background: linear-gradient(180deg, #101013, #0a0a0c);
  border: 1px solid var(--border-2); border-radius: 18px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.lf-practice-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 14px; }
.lf-practice-ico { flex: none; color: var(--text-2); }
.lf-practice-desc { color: var(--text-2); font-size: .92rem; line-height: 1.55; margin-bottom: 14px; max-width: 620px; }
.lf-textarea {
  width: 100%; min-height: 130px; resize: none; overflow: hidden; display: block;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 15px; color: var(--text-2); font: inherit; font-size: .92rem; line-height: 1.55;
  outline: none; cursor: default; pointer-events: none;
}
.lf-textarea::placeholder { color: var(--text-3); }
.lf-btn {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .92rem;
  background: #fff; color: #000; border: 0; border-radius: 11px; padding: 11px 20px; cursor: pointer;
  transition: opacity .2s, transform .12s;
}
.lf-btn:hover { opacity: .9; }
.lf-btn:active { transform: scale(.98); }
.lf-btn:disabled { cursor: default; opacity: .7; }
.lf-practice-result:empty { display: none; }
.lf-practice-result { margin-top: 16px; }
.lf-result {
  display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 13px; padding: 14px 15px;
  background: rgba(255,255,255,.025);
  opacity: 0; transform: translateY(8px); animation: aimsgIn .3s var(--ease) forwards;
}
.lf-ava { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #fff; }
.lf-ava img { width: 18px; height: 18px; display: block; }
.lf-result-body { flex: 1; min-width: 0; }
.lf-verdict {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: #3b82f6;
  padding: 3px 10px 3px 8px; border-radius: 100px;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.28);
}
.lf-result-text { font-size: .92rem; line-height: 1.6; color: var(--text-2); }
.lf-result-text .caret { color: var(--text-2); font-weight: 700; animation: caret 1s steps(1) infinite; }
.lf-dots { display: flex; gap: 5px; padding: 6px 2px; }
.lf-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: dot 1.2s infinite ease-in-out; }
.lf-dots span:nth-child(2) { animation-delay: .18s; }
.lf-dots span:nth-child(3) { animation-delay: .36s; }

/* ── AI-ассистент — компактное чат-окно (анимированный слепок) ── */
.feat__visual--ai { position: relative; }
.feat__visual--ai::before {
  content: ""; position: absolute; z-index: 0; top: 50%; left: 50%;
  width: 86%; height: 76%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent 72%);
  filter: blur(40px); pointer-events: none;
}
.aichat {
  --ui-accent: #3b82f6;
  position: relative; z-index: 1;
  width: 100%; max-width: 540px;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #101013, #0a0a0c);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.07), 0 0 70px -20px rgba(255,255,255,.22);
  font-size: 13px;
}
.aichat__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 13px; border-bottom: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent);
}
.aichat__title { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--text); }
.aichat__logo {
  width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: #fff;
}
.aichat__logo img { width: 18px; height: 18px; display: block; }
.aichat__name { font-weight: 600; }
.aichat__status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600; color: var(--text-2);
  padding: 3px 9px 3px 8px; border-radius: 100px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-2);
}
.aichat__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,.8); }
.aichat__tools { display: flex; gap: 6px; }
.aichat__tools b {
  width: 28px; height: 26px; display: grid; place-items: center;
  border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  color: var(--text-3); font-size: 12px; font-weight: 400;
}

.aichat__body {
  position: relative; flex: 1; min-height: 300px; max-height: 300px; overflow: hidden;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.aichat__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--text-3);
  transition: opacity .35s var(--ease);
}
.aichat__emptylogo {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #fff;
}
.aichat__emptylogo img { width: 28px; height: 28px; }
.aichat__empty p { color: var(--text-3); font-size: 13px; }
.aichat__empty.is-hidden { opacity: 0; }

/* messages */
.aimsg { max-width: 84%; opacity: 0; transform: translateY(8px); animation: aimsgIn .3s var(--ease) forwards; }
.aimsg--user {
  align-self: flex-end; padding: 9px 13px; border-radius: 13px 13px 4px 13px;
  background: var(--ui-accent); color: #fff; font-weight: 500; line-height: 1.4;
}
.aimsg--ai { align-self: flex-start; display: flex; gap: 9px; align-items: flex-start; }
.aimsg__ava {
  width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: #fff; margin-top: 1px;
}
.aimsg__ava img { width: 16px; height: 16px; display: block; }
.aimsg__txt {
  padding: 9px 13px; border-radius: 4px 13px 13px 13px;
  background: rgba(255,255,255,.05); color: var(--text); line-height: 1.45;
}
.aimsg__txt .caret { color: var(--ui-accent); font-weight: 700; animation: caret 1s steps(1) infinite; }
@keyframes aimsgIn { to { opacity: 1; transform: none; } }
@keyframes caret { 50% { opacity: 0; } }

/* typing dots */
.aityping { align-self: flex-start; display: flex; gap: 9px; align-items: center; }
.aityping .aimsg__ava { animation: none; }
.aityping__dots { display: flex; gap: 4px; padding: 11px 13px; border-radius: 4px 13px 13px 13px; background: rgba(255,255,255,.05); }
.aityping__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: dot 1.2s infinite ease-in-out; }
.aityping__dots span:nth-child(2) { animation-delay: .18s; }
.aityping__dots span:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* compose */
.aichat__compose { padding: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.aichat__field {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px; border-radius: 11px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
}
.aichat__ph { color: var(--text-3); }
.aichat__ph.is-typing { color: var(--text); }
.aichat__ph.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: var(--ui-accent); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
.aichat__send {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: 8px; background: rgba(255,255,255,.06); color: var(--text-2);
  transition: background .2s, color .2s, transform .12s;
}
.aichat__send.is-active { background: var(--ui-accent); color: #fff; transform: scale(.9); }
.aichat__underline {
  position: absolute; left: 10px; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--ui-accent), #60a5fa); border-radius: 2px;
  transition: width .25s var(--ease);
}
.aichat__underline.is-on { width: calc(100% - 20px); }
.aichat__underline.is-load { width: calc(100% - 20px); animation: loadbar 1.4s var(--ease); }
@keyframes loadbar { 0% { width: 0; } 100% { width: calc(100% - 20px); } }
.aichat__foot { text-align: right; margin-top: 8px; font-size: 11px; color: var(--text-3); }

@media (prefers-reduced-motion: reduce) {
  .aimsg, .aityping__dots span, .aichat__ph.is-typing::after { animation: none; opacity: 1; transform: none; }
}

/* ── Интро над большим слепком (центрированное) ── */
.feat--wide { padding: 56px 24px 0; }
.feat__intro { max-width: 680px; margin: 0 auto; text-align: center; }
.feat__eyebrow--center { justify-content: center; }
.feat__intro h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: .9rem 0; }
.feat__intro p { color: var(--text-2); font-size: 1.02rem; }

/* ── Бенто-грид преимуществ каталога ── */
.bento-wrap { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px 0; }
.bento__head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.bento__head h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-top: .9rem; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(118px, 1fr); gap: 14px; }
.bento__cell {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 9px;
  padding: 22px; border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)), var(--bg);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.bento__cell:hover { border-color: var(--border-2); transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)), var(--bg); }
.bento__cell--lg { grid-column: span 2; grid-row: span 2; }
.bento__cell--tall { grid-row: span 2; }
.bento__cell--wide { grid-column: span 2; }
.bento__ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text); margin-bottom: 3px; }
.bento__ico svg { width: 20px; height: 20px; }
.bento__cell h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.bento__cell--lg h4 { font-size: 1.3rem; }
.bento__cell p { color: var(--text-2); font-size: .92rem; line-height: 1.5; }
.bento__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.bento__chips span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--text-2); padding: 6px 11px; border-radius: 100px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.bento__chips u { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.bento__status { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 4px; }
.bento__status li { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-2); padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.bento__status i { width: 8px; height: 8px; flex: none; border-radius: 50%; }
.bento__status b { margin-left: auto; font-weight: 700; font-size: .8rem; color: var(--text-3); }

/* ── Большой кликабельный слепок приложения (Linear-style) ── */
.appshell { position: relative; max-width: var(--maxw); margin: 32px auto 0; padding: 0 24px; }
/* первый блок: интерфейс наезжает на видео в хиро */
.appshell--overlap { margin-top: -300px; position: relative; z-index: 4; }
.appshell::after {
  content: ""; position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  width: 70%; height: 120px; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent 75%);
  filter: blur(8px);
}
.appwin {
  --ui-accent: #3b82f6; --ui-line: rgba(255,255,255,.08); --ui-card: #0c0c0f;
  --topbar: 52px;
  position: relative; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #0b0b0d, #08080a);
  box-shadow: 0 50px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.03), inset 0 1px 0 rgba(255,255,255,.05);
  font-size: 13px;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.appwin input { -webkit-user-select: text; -moz-user-select: text; user-select: text; }

/* верхняя панель */
.appwin__top { display: flex; align-items: center; gap: 18px; height: var(--topbar); padding: 0 16px; border-bottom: 1px solid var(--ui-line); background: rgba(255,255,255,.015); }
.appwin__logo { font-weight: 800; letter-spacing: -.02em; font-size: 15px; }
.appwin__logo span { color: var(--text-3); }
.appwin__nav { display: flex; gap: 4px; }
.appwin__nav button { font-family: inherit; font-size: 12.5px; color: var(--text-3); background: none; border: 0; padding: 6px 10px; border-radius: 8px; cursor: pointer; transition: color .18s, background .18s; }
.appwin__nav button:hover { color: var(--text-2); }
.appwin__nav button.is-on { color: var(--text); background: rgba(255,255,255,.07); }
.appwin__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--text-2); padding: 5px 11px; border-radius: 100px; background: rgba(255,255,255,.04); border: 1px solid var(--ui-line); }
.appwin__live i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: livePulse 2.2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.appwin__heading { display: flex; align-items: baseline; gap: 11px; }
.appwin__count { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.appwin__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.appwin__bell { font-size: 13px; opacity: .7; }
.appwin__user { display: flex; align-items: center; gap: 7px; font-size: 11.5px; }
.appwin__user b { font-weight: 600; color: var(--text); }
.appwin__user i { font-style: normal; color: var(--text-3); padding: 3px 8px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid var(--ui-line); }
.appwin__ava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3b82f6, #8b5cf6); }

.appwin__body { display: flex; align-items: stretch; min-height: 460px; }

/* сайдбар */
.appwin__side { width: 210px; flex: none; padding: 14px 12px; border-right: 1px solid var(--ui-line); display: flex; flex-direction: column; gap: 16px; }
.side__new { font-family: inherit; font-size: 12px; font-weight: 700; color: #000; background: #fff; border: 0; border-radius: 9px; padding: 9px 0; cursor: pointer; transition: opacity .18s; }
.side__new:hover { opacity: .9; }
.side__group { display: flex; flex-direction: column; gap: 2px; }
.side__h { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 4px 6px; }
.side__item { display: flex; align-items: center; gap: 9px; font-family: inherit; font-size: 12px; color: var(--text-2); background: none; border: 0; padding: 7px 8px; border-radius: 8px; cursor: pointer; text-align: left; transition: color .18s, background .18s; }
.side__item i { font-style: normal; width: 16px; text-align: center; color: var(--text-3); font-size: 12px; }
.side__item em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--text-3); }
.side__item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.side__item.is-on { background: rgba(255,255,255,.08); color: var(--text); }
.side__item.is-on i { color: var(--text); }
.side__item--col b { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.side__item--col span { margin-left: auto; font-size: 10px; color: var(--text-3); }
.side__lim { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 4px 8px; font-size: 11px; color: var(--text-3); }
.side__lim span { white-space: nowrap; }
.side__lim i { grid-column: 2; font-style: normal; font-size: 9.5px; text-align: right; }
.side__bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.side__bar u { display: block; height: 100%; background: linear-gradient(90deg, var(--ui-accent), #60a5fa); }
.side__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.side__tags span { font-size: 10.5px; color: var(--text-2); padding: 4px 9px; border-radius: 100px; background: rgba(255,255,255,.04); border: 1px solid var(--ui-line); }
.side__tags b { color: var(--text-3); font-weight: 600; }

/* контент */
.appwin__content { position: relative; flex: 1; min-width: 0; padding: 16px 18px 22px; }
.appwin__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.astat {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 10px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--ui-line); overflow: hidden;
}
.astat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40px; opacity: .5; pointer-events: none; }
.astat__ico { position: relative; z-index: 1; width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; }
.astat__ico svg { width: 16px; height: 16px; }
.astat b { position: relative; z-index: 1; font-size: 16px; font-weight: 800; color: var(--text); line-height: 1; }
.astat u { position: relative; z-index: 1; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); text-decoration: none; }
.astat--blue  .astat__ico { background: rgba(59,130,246,.16);  color: #3b82f6; }
.astat--blue::before  { background: linear-gradient(90deg, rgba(59,130,246,.25), transparent); }
.astat--green .astat__ico { background: rgba(34,197,94,.16);   color: #22c55e; }
.astat--green::before { background: linear-gradient(90deg, rgba(34,197,94,.22), transparent); }
.astat--red   .astat__ico { background: rgba(239,68,68,.16);   color: #ef4444; }
.astat--red::before   { background: linear-gradient(90deg, rgba(239,68,68,.22), transparent); }
.astat--cyan  .astat__ico { background: rgba(34,211,238,.16);  color: #22d3ee; }
.astat--cyan::before  { background: linear-gradient(90deg, rgba(34,211,238,.22), transparent); }
.astat--teal  .astat__ico { background: rgba(45,212,191,.16);  color: #2dd4bf; }
.astat--teal::before  { background: linear-gradient(90deg, rgba(45,212,191,.22), transparent); }
.astat--fire  .astat__ico { background: rgba(245,158,11,.18);  color: #f59e0b; }
.astat--fire { border-color: rgba(245,158,11,.35); background: linear-gradient(180deg, rgba(245,158,11,.12), rgba(245,158,11,.03)); }
.astat--fire b { color: #f59e0b; }
.astat--fire::before { background: linear-gradient(90deg, rgba(245,158,11,.3), transparent); }

.appwin__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.cat__h { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.cat__search { display: flex; align-items: center; gap: 7px; width: 240px; max-width: 45%; padding: 8px 11px; border-radius: 9px; border: 1px solid var(--ui-line); background: rgba(255,255,255,.03); color: var(--text-3); transition: border-color .2s; cursor: text; }
.cat__search:focus-within { border-color: var(--border-2); }
.cat__search svg { color: var(--text-3); flex: none; }
.cat__search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text); font: inherit; font-size: 12px; }
.cat__search input::placeholder { color: var(--text-3); }

.appwin__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cat__pills { display: flex; gap: 7px; flex-wrap: wrap; }
.cat__pills button { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--ui-line); color: var(--text-3); background: transparent; cursor: pointer; opacity: .6; transition: opacity .18s, background .18s, border-color .18s, color .18s; }
.cat__pills button:hover { opacity: .85; }
.cat__pills button.is-on { opacity: 1; color: var(--text); background: rgba(255,255,255,.07); border-color: var(--border-2); }
.cat__pills u { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.toolbar__right { display: flex; align-items: center; gap: 7px; }
.toolbar__btn, .toolbar__icon { font-family: inherit; font-size: 11.5px; color: var(--text-2); background: rgba(255,255,255,.03); border: 1px solid var(--ui-line); border-radius: 8px; padding: 7px 11px; cursor: pointer; transition: color .18s, background .18s; }
.toolbar__icon { padding: 7px 9px; }
.toolbar__btn:hover, .toolbar__icon:hover { color: var(--text); background: rgba(255,255,255,.07); }

.appwin__empty { padding: 60px 12px; text-align: center; font-size: 13px; color: var(--text-3); }

/* resource card — повторяет .resource-card продукта */
.appwin__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.rc {
  display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.02);
  transition: border-color .18s, transform .18s, background .18s;
}
.rc:hover { border-color: var(--border-2); background: rgba(255,255,255,.045); transform: translateY(-2px); }
.rc[hidden] { display: none; }
.rc__cover { position: relative; height: 104px; overflow: hidden; display: grid; place-items: center; }
.rc__cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 90% at 50% 0%, rgba(255,255,255,.10), transparent 58%); pointer-events: none; }
/* тематические превью по типу материала */
.cov-course { background: linear-gradient(135deg, #233083, #0c1233); }
.cov-video  { background: linear-gradient(135deg, #4a1626, #18090f); }
.cov-book   { background: linear-gradient(135deg, #0f3d2d, #08160f); }
.cov-note   { background: linear-gradient(135deg, #2c2614, #14110a); }

.rc__art { position: relative; z-index: 1; display: grid; place-items: center; color: rgba(255,255,255,.82); }
.rc__art svg { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
/* заметка — превью «документа» со строками текста */
.rc__note { position: relative; z-index: 1; width: 64%; display: flex; flex-direction: column; gap: 6px; }
.rc__note span { height: 6px; border-radius: 4px; background: rgba(255,255,255,.18); }
.rc__note span:nth-child(4) { background: rgba(255,255,255,.10); }
/* видео — кнопка плей + длительность */
.rc__playbtn { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
/* иконки превью появляются при наведении на карточку */
.rc__cover .rc__art, .rc__cover .rc__note, .rc__cover .rc__playbtn {
  opacity: 0; transform: scale(.92);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.rc:hover .rc__art, .rc:hover .rc__note, .rc:hover .rc__playbtn { opacity: 1; transform: none; }
.rc__playbtn::after { content: ""; width: 0; height: 0; border-left: 14px solid #141414; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.rc__dur { position: absolute; z-index: 2; right: 8px; bottom: 8px; font-size: 9.5px; font-weight: 600; color: #fff; background: rgba(0,0,0,.72); padding: 2px 6px; border-radius: 6px; }
/* прогресс на обложке: уроки / чтение / просмотр */
.rc__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 2; }
.rc__prog i { display: block; height: 100%; border-radius: 0 2px 2px 0; }
.rc__prog--course i { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.rc__prog--book i { background: linear-gradient(90deg, #22c55e, #4ade80); }
.rc__prog--video i { background: #ef4444; }
.rc__chip { position: absolute; left: 8px; bottom: 9px; z-index: 2; font-size: 9.5px; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: 2px 7px; border-radius: 6px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* быстрое «в избранное» — появляется при наведении */
.rc__fav { position: absolute; top: 8px; right: 8px; z-index: 3; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; line-height: 1; color: #fff; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); cursor: pointer; opacity: 0; transform: scale(.9); transition: opacity .18s var(--ease), transform .18s var(--ease), color .18s, background .18s, border-color .18s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rc:hover .rc__fav { opacity: 1; transform: none; }
.rc__fav:hover { color: #f472b6; border-color: rgba(244,114,182,.45); }
.rc__fav.is-fav { opacity: 1; transform: none; color: #f472b6; background: rgba(244,114,182,.15); border-color: rgba(244,114,182,.4); }
/* одноразовый блик по обложкам при появлении блока */
.rc__cover::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%); transform: translateX(-130%); }
.appshell.is-in .rc__cover::after { animation: coverShine 1.1s var(--ease) forwards; }
.appshell.is-in .rc:nth-child(2) .rc__cover::after { animation-delay: .08s; }
.appshell.is-in .rc:nth-child(3) .rc__cover::after { animation-delay: .16s; }
.appshell.is-in .rc:nth-child(4) .rc__cover::after { animation-delay: .24s; }
.appshell.is-in .rc:nth-child(n+5) .rc__cover::after { animation-delay: .3s; }
@keyframes coverShine { to { transform: translateX(130%); } }
.rc__badge {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 7px; border-radius: 7px; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.rc__badge--course { background: #3b82f6; }
.rc__badge--video  { background: #ef4444; }
.rc__badge--book   { background: #22c55e; }
.rc__badge--note   { background: #f59e0b; color: #1a1206; }

.rc__body { padding: 11px 11px 9px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.rc__title { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 8px;
  font-size: 9.5px; color: var(--text-3);
}
.rc__src { font-weight: 500; opacity: .85; }
.rc__footer { display: flex; align-items: center; gap: 6px; padding: 9px 11px 11px; border-top: 1px solid rgba(255,255,255,.05); }
.rc__play {
  flex: 1; text-align: center; font-family: inherit; font-size: 10.5px; font-weight: 700;
  padding: 7px 0; border-radius: 9px; background: #fff; color: #000; border: 0; cursor: pointer;
  transition: opacity .18s, transform .12s;
}
.rc__play:hover { opacity: .9; }
.rc__play:active { transform: scale(.97); }
.rc__ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--ui-line); color: var(--text-3); font-size: 12px; cursor: pointer; transition: color .18s, background .18s; }
.rc__ico:hover { color: var(--text); background: rgba(255,255,255,.08); }

/* ридер/детальный просмотр поверх контента */
.appwin__reader {
  position: absolute; left: 0; right: 0; top: var(--topbar); bottom: 0; z-index: 5;
  display: flex; flex-direction: column;
  padding: 18px; gap: 14px; overflow: auto;
  background: linear-gradient(180deg, #0b0b0d, #08080a);
  animation: readerIn .28s var(--ease);
}
.appwin__reader[hidden] { display: none; }
@keyframes readerIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cat__back {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  font-family: inherit; font-size: 12px; font-weight: 600; color: var(--text-2);
  padding: 7px 13px 7px 9px; border-radius: 9px;
  background: rgba(255,255,255,.04); border: 1px solid var(--ui-line); cursor: pointer;
  transition: color .18s, background .18s;
}
.cat__back:hover { color: var(--text); background: rgba(255,255,255,.08); }
.reader { width: 100%; max-width: 660px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.reader__cover {
  position: relative; height: 170px; border-radius: 14px; overflow: hidden; flex: none;
  display: grid; place-items: center;
}
.reader__cover .rc__art svg { width: 66px; height: 66px; }
.reader__cover .rc__note { width: 46%; gap: 9px; }
.reader__cover .rc__note span { height: 9px; }
.reader__cover .rc__playbtn { width: 64px; height: 64px; }
.reader__cover .rc__playbtn::after { border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; }
.reader__cover .rc__dur { right: 14px; bottom: 14px; font-size: 11px; }
.reader__cover .rc__badge { top: 12px; left: 12px; font-size: 10px; padding: 4px 9px; }
.reader__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #fff; line-height: 1.18; }
.reader__meta { display: flex; gap: 8px; font-size: 11px; color: var(--text-3); }
.reader__text { font-size: 13.5px; line-height: 1.7; color: var(--text-2); }
.reader__open {
  margin-top: 6px; align-self: flex-start; min-width: 200px; text-align: center; font-family: inherit;
  font-size: 12.5px; font-weight: 700; padding: 11px 22px; border-radius: 11px;
  background: #fff; color: #000; border: 0; cursor: pointer; transition: opacity .18s, transform .12s;
}
.reader__open:hover { opacity: .9; }
.reader__open:active { transform: scale(.98); }

/* Roadmap */
.road__head { display: flex; align-items: center; justify-content: space-between; }
.road__head b { font-size: 14px; }
.road__head span { font-weight: 700; color: var(--ui-accent); }
.road__track { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 6px; }
.road__track::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: var(--ui-line); }
.road__step { display: flex; align-items: center; gap: 12px; position: relative; }
.road__step span { width: 14px; height: 14px; flex: none; border-radius: 50%; background: #15151a; border: 2px solid var(--border-2); z-index: 1; }
.road__step i { background: none; height: auto; color: var(--text-2); font-size: 13px; }
.road__step.is-done span { background: var(--ui-accent); border-color: var(--ui-accent); }
.road__step.is-done i { color: var(--text-3); }
.road__step.is-now span { background: #fff; border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.road__step.is-now i { color: #fff; font-weight: 600; }

/* Roadmap + дела (события) — реалистичный слепок */
.ui--rm { max-width: 540px; }   /* по ширине как окна чата и проверки ИИ */
.ui--rm .rm { padding: 14px; display: flex; flex-direction: column; gap: 11px; min-height: 232px; }
.rm__goal { padding: 13px 14px; border-radius: 12px; border: 1px solid var(--ui-line); background: rgba(255,255,255,.025); }
.rm__goal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rm__goal-top b { font-size: 13.5px; font-weight: 700; color: #fff; }
.rm__goal-top span { font-size: 13px; font-weight: 800; color: var(--ui-accent); }
.rm__goal-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 9px; overflow: hidden; }
.rm__goal-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--ui-accent), #60a5fa); }
.rm__goal-sub { margin-top: 8px; font-size: 10.5px; color: var(--text-3); }

/* panel toolbar */
.rm__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rm__panel-title { font-size: 12.5px; font-weight: 700; color: #fff; }
.rm__add { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 5px 10px; border-radius: 8px; font-size: 10.5px; font-weight: 700; color: #93c5fd; background: var(--ui-accent-soft); border: 1px solid rgba(59,130,246,.32); }
.rm__add svg { flex: none; }
.rm__filters { display: flex; gap: 5px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--ui-line); }
.rm__filter { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.rm__filter.is-active { color: #fff; background: rgba(255,255,255,.08); box-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* events list — мягкое затухание снизу как намёк на скролл */
.rm__list { display: flex; flex-direction: column; gap: 8px; max-height: 222px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.rm__ev { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--ui-line); background: rgba(255,255,255,.02); transition: border-color .18s, background .18s; }
.rm__ev:hover { border-color: var(--border-2); background: rgba(255,255,255,.04); }
.rm__day { flex: none; width: 28px; text-align: center; }
.rm__day b { display: block; font-size: 15px; font-weight: 800; line-height: 1; color: #fff; }
.rm__day span { font-size: 8px; font-weight: 700; letter-spacing: .06em; color: var(--text-3); }
.rm__ev-divider { width: 1px; align-self: stretch; background: var(--ui-line); }
.rm__ev-body { flex: 1; min-width: 0; }
.rm__ev-title { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm__ev-meta { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 9.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.rm__ev-meta svg { flex: none; }
/* статус-бейджи — цвета продукта */
.rm__badge { flex: none; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.rm__badge--over { background: #ef4444; color: #fff; }
.rm__badge--now { background: var(--ui-accent); color: #fff; }
.rm__badge--done { background: #22c55e; color: #fff; }
.rm__badge--wait { background: transparent; color: var(--text-3); border: 1px solid var(--ui-line); }

/* Campus */
.lesson { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--ui-line); background: var(--ui-card); }
.lesson i { background: none; height: auto; flex: 1; color: var(--text-2); font-size: 13px; }
.lesson b { font-size: 11px; color: var(--text-3); font-weight: 600; }
.lesson__ico { width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; font-size: 11px; background: rgba(255,255,255,.06); color: var(--text-2); }
.lesson.is-done { opacity: .6; }
.lesson.is-done .lesson__ico { background: var(--ui-accent-soft); color: var(--ui-accent); }
.lesson.is-active { border-color: var(--ui-accent); background: var(--ui-accent-soft); }
.lesson.is-active .lesson__ico { background: var(--ui-accent); color: #fff; }
.lesson--chat .lesson__ico { background: rgba(255,255,255,.06); }

/* Feed */
.post { display: flex; gap: 11px; padding: 12px; border-radius: 12px; border: 1px solid var(--ui-line); background: var(--ui-card); }
.post__ava { width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--ui-accent), rgba(255,255,255,.18)); }
.post__ava--sm { width: 26px; height: 26px; }
.post__body { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.post__name { width: 42%; height: 10px; background: var(--ui-skel); }
.post__txt { height: 8px; background: rgba(255,255,255,.06); }
.post__meta { display: flex; gap: 14px; margin-top: 2px; }
.post__meta b { font-size: 11px; color: var(--text-3); font-weight: 600; }
.post--branch { margin-left: 26px; position: relative; }
.post--branch::before { content: ""; position: absolute; left: -14px; top: -8px; bottom: 50%; width: 12px; border-left: 2px solid var(--ui-line); border-bottom: 2px solid var(--ui-line); border-bottom-left-radius: 8px; }
.post--deep { margin-left: 50px; }

/* Gamification / leaderboard */
.game__lvl { display: flex; align-items: baseline; justify-content: space-between; }
.game__lvl b { font-size: 15px; }
.game__lvl span { font-size: 11px; color: var(--text-3); font-weight: 600; }
.game__bar { height: 10px; border-radius: 100px; background: rgba(255,255,255,.08); overflow: hidden; }
.game__bar span { display: block; width: 82%; height: 100%; background: linear-gradient(90deg, var(--ui-accent), #60a5fa); }
.lead { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.lead__row { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--ui-line); background: var(--ui-card); }
.lead__rank { width: 20px; text-align: center; font-weight: 700; font-size: 12px; color: var(--text-3); }
.lead__rank--1 { color: #f5b301; }
.lead__ava { width: 24px; height: 24px; flex: none; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); }
.lead__row i { flex: 1; height: 9px; background: var(--ui-skel); }
.lead__row i:not(:empty) { background: none; height: auto; color: var(--text-2); font-size: 12px; font-weight: 600; }
.lead__row em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--text-2); }
.lead__row.is-me { border-color: var(--ui-accent); background: var(--ui-accent-soft); }

/* ── Steps ── */
/* ── Шаги «UI As Copy»: в каждый шаг встроен реальный фрагмент интерфейса ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step {
  position: relative; display: flex; flex-direction: column;
  padding: 18px 18px 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)), var(--bg);
  border: 1px solid var(--border);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { border-color: var(--border-2); transform: translateY(-6px); box-shadow: 0 34px 64px -28px rgba(0,0,0,.8); }

/* встроенный UI-фрагмент */
.step__ui {
  --ui-accent: #3b82f6;
  height: 200px; display: flex; flex-direction: column; gap: 9px;
  padding: 13px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #0c0c0f, #08080a);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.sui__bar { display: flex; align-items: center; gap: 5px; }
.sui__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); }
.sui__bar em { margin-left: 6px; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
/* 01 — библиотека */
.sui__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sui__chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--text-2); padding: 5px 9px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.sui__chips u { width: 6px; height: 6px; border-radius: 50%; }
.sui__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; }
.sui__card { height: 46px; border-radius: 9px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
/* 02 — AI-ассистент */
.sui__msg { max-width: 88%; font-size: 11.5px; line-height: 1.35; padding: 8px 11px; border-radius: 11px; }
.sui__msg--user { align-self: flex-end; background: var(--ui-accent); color: #fff; border-radius: 11px 11px 4px 11px; font-weight: 500; }
.sui__msg--ai { align-self: flex-start; background: rgba(255,255,255,.06); color: var(--text); border-radius: 11px 11px 11px 4px; }
.sui__prog { margin-top: auto; }
.sui__prog span { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sui__progbar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 6px; overflow: hidden; }
.sui__progbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--ui-accent), #60a5fa); }
/* 03 — XP / рейтинг */
.sui__xp { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.sui__xp b { font-size: 13px; font-weight: 800; color: #fff; }
.sui__xp span { font-size: 10.5px; color: var(--text-3); }
.sui__xpbar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.sui__xpbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #f5b342, #facc15); }
.sui__rank { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.sui__badge { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px; font-size: 13px; font-weight: 800; color: #f5b342; background: rgba(245,179,66,.14); border: 1px solid rgba(245,179,66,.3); }
.sui__ranktxt { font-size: 11.5px; color: var(--text-2); }

/* подпись шага под фрагментом */
.step__meta { display: flex; align-items: flex-start; gap: 13px; padding: 18px 8px 4px; }
.step__num {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px;
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  background: var(--accent); color: var(--on-accent);
}
.step__txt h3 { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-bottom: 5px; }
.step__txt p { color: var(--text-2); font-size: .94rem; line-height: 1.5; }

/* соединитель между шагами (десктоп) */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 118px; right: -27px; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--border-2), transparent); z-index: 2;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}
.how__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 48px; }

/* ── FAQ ── */
/* FAQ — двухколоночная раскладка по контейнеру */
.faq-wrap { display: grid; grid-template-columns: 350px 1fr; gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-aside .label { color: var(--text-3); }
.faq-aside h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: .4rem 0 1rem; color: var(--text); }
.faq-aside p { color: var(--text-2); font-size: 1rem; line-height: 1.6; margin-bottom: 24px; }
.faq-contact {
  display: inline-flex; align-items: center; gap: 13px; padding: 15px 18px; border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)), var(--bg);
  transition: border-color .2s, transform .2s;
}
.faq-contact:hover { border-color: var(--border-2); transform: translateY(-2px); }
.faq-contact__ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text); }
.faq-contact__ico svg { width: 20px; height: 20px; }
.faq-contact__txt b { display: block; color: var(--text); font-size: .95rem; font-weight: 700; }
.faq-contact__txt i { font-style: normal; color: var(--text-3); font-size: .85rem; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(var(--surface), var(--surface)), var(--bg); overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq__item:hover { border-color: var(--border-2); }
.faq__item[open] { border-color: var(--border-2); background: linear-gradient(var(--surface-2), var(--surface-2)), var(--bg); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; cursor: pointer; list-style: none;
  padding: 22px 24px; font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px;
  border: 1px solid var(--border); background: rgba(255,255,255,.05);
  transition: border-color .2s, background .2s;
}
.faq__item:hover summary i, .faq__item[open] summary i { border-color: var(--border-2); }
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s;
}
.faq__item summary i::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq__item summary i::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 24px 22px; color: var(--text-2); font-size: .96rem; line-height: 1.6; max-width: 740px; }
@media (max-width: 880px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; }
}

/* ── Final CTA — открытая секция в стиле лендинга (без подложки/свечения) ── */
.cta { padding: 124px 0 128px; position: relative; }
.cta__inner {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* эйброу на тонкой линии — редакторский разделитель */
.cta__top { position: relative; width: 100%; display: flex; justify-content: center; margin-bottom: 48px; }
.cta__top::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.cta__eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2); padding: 8px 16px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--border-2);
}
.cta__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* заголовок: сдержанная, но уверенная типографика (без гигантского слова) */
.cta__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--text);
  max-width: 16ch;
}
.cta__sub {
  color: var(--text-3); margin: 16px auto 40px; font-size: 1.05rem;
  max-width: 420px; line-height: 1.6;
}
/* 2-шаговый старт: выбор направления → почта */
.cta__start { width: 100%; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta__ask { font-size: .88rem; font-weight: 600; color: var(--text-3); letter-spacing: .01em; margin-bottom: 14px; }
.cta__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.cta__chip {
  font: inherit; font-size: .85rem; font-weight: 500; color: var(--text-2);
  padding: 8px 15px; border-radius: 100px; cursor: pointer;
  background: transparent; border: 1px solid var(--border);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.cta__chip:hover { color: var(--text); border-color: var(--border-2); background: var(--surface); }
.cta__chip:active { transform: scale(.96); }
.cta__chip.is-active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.cta__field {
  display: flex; gap: 8px; width: 100%;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 14px; padding: 6px;
  transition: border-color .2s var(--ease);
}
.cta__field:focus-within { border-color: rgba(255,255,255,.32); }
.cta__email {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--text); font: inherit; font-size: 1rem; padding: 0 12px;
}
.cta__email::placeholder { color: var(--text-3); }
.cta__field .btn { flex: none; }
.cta__hint { font-size: .8rem; color: var(--text-3); margin-top: 14px; }
.cta__android {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 30px;
  font-size: .9rem; font-weight: 600; color: var(--text-2);
  transition: color .2s var(--ease);
}
.cta__android:hover { color: var(--text); }
.cta__android svg { width: 17px; height: 17px; flex: none; }

/* ── Footer ── */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding: 80px 0 36px; background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 52px; }
.footer__brand p { color: var(--text-3); font-size: .92rem; margin: .8rem 0 1.4rem; }
.footer__cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; font-weight: 600; color: var(--text);
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--border-2); background: var(--surface);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer__cta:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__cta span { transition: transform .2s var(--ease); }
.footer__cta:hover span { transform: translateX(3px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__h { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: .3rem; }
.footer__col a { font-size: .9rem; color: var(--text-2); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
/* огромный вордмарк — фирменный «слепок» на сетке */
.footer__wordmark {
  font-size: clamp(4rem, 19vw, 17rem); font-weight: 800; line-height: .82;
  letter-spacing: -.06em; text-align: center; user-select: none; margin: 4px 0 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.015) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer__dot { -webkit-text-fill-color: rgba(255,255,255,.28); color: rgba(255,255,255,.28); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem 1.6rem; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--text-3);
}
.footer__status { display: inline-flex; align-items: center; gap: 7px; }
.footer__status i {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex: none;
  animation: footerPulse 2.4s var(--ease) infinite;
}
@keyframes footerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.footer__heart { color: #ef4444; }
.footer__up { display: inline-flex; align-items: center; gap: .35rem; color: var(--text-3); transition: color .2s; }
.footer__up:hover { color: var(--text); }
.footer__up span { transition: transform .2s var(--ease); }
.footer__up:hover span { transform: translateY(-2px); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .appwin__side { display: none; }
  .appshell--overlap { margin-top: -180px; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .feat { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; margin: 64px auto; }
  .feat__text, .feat:nth-child(even) .feat__text { order: 1; }   /* текст всегда сверху */
  .feat__visual { order: 2; }
  .ui { max-width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento__cell--lg, .bento__cell--wide { grid-column: span 2; }
  .bento__cell--lg, .bento__cell--tall { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--lg, .bento__cell--wide { grid-column: span 1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .footer__bottom { justify-content: flex-start; }
  .hero { min-height: 88vh; padding: 96px 0 56px; }
  .hero__bg { inset: 72px 0 32px; opacity: .5; }
  .hero__glow { width: 92vw; height: 380px; }
  .appshell { padding: 0 14px; }
  .appshell--overlap { margin-top: -90px; }
  .appwin__nav { display: none; }
  .appwin__content { padding: 14px; }
  .appwin__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .appwin__head { flex-wrap: wrap; }
  .cat__search { max-width: 100%; width: 100%; }
  .toolbar__right { display: none; }
  .appwin__stats { gap: 6px; }
  .astat { font-size: 10px; padding: 5px 9px; }
  .cta { padding: 80px 0 88px; }
  .cta__top { margin-bottom: 36px; }
  .cta__sub { margin: 20px auto 36px; }
  .cta__field { flex-direction: column; padding: 8px; }
  .cta__field .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .footer__status i { animation: none; }
}
