/* ==========================================================================
   Atoll — стили сайта
   Структура файла:
     1. Токены (цвета, шрифты)
     2. Базовые стили
     3. Общие компоненты (кнопки, карточки, заголовки секций, метки)
     4. Шапка и подвал
     5. Первый экран (hero) и макеты острова
     6. Демо размера острова
     7. Что нового
     8. Темы
     9. Персонажи, горячие клавиши, нейросети
    10. Приватность (таблица)
    11. Установка и FAQ
    12. Анимации и доступность
   ========================================================================== */


/* 1. Токены ------------------------------------------------------------- */
:root {
  /* поверхности и линии */
  --bg: #07080c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-card: #0d0e13;
  --surface-inset: rgba(7, 8, 12, 0.55);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* текст */
  --text: #f4f5f7;
  --text-soft: #aab0bb;
  --text-muted: #9aa0ab;
  --text-dim: #7d8491;

  /* акценты (взяты с постеров обновления) */
  --green: #3ddc97;
  --amber: #ffb03b;
  --violet: #8b6cff;
  --blue: #7aa6ff;
  --rose: #ff5d8f;

  /* тона для цветных точек */
  --tone-green: #3ddc97;
  --tone-rose: #ff5d8f;
  --tone-pink: #ff6fa4;
  --tone-amber: #ffb03b;
  --tone-orange: #ffa31a;
  --tone-coral: #e8704a;
  --tone-blue: #4a88ff;
  --tone-violet: #7b6bff;
  --tone-purple: #9b7bff;
  --tone-red: #ff5d5d;
  --tone-gray: #8d939e;

  /* шрифты */
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  /* ширина контента */
  --container: 1160px;
  --gutter: 24px;
}


/* 2. Базовые стили ------------------------------------------------------ */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Корневой контейнер страницы: фон со свечением в трёх углах */
.page {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 88% -6%, rgba(255, 176, 59, 0.16), transparent 62%),
    radial-gradient(800px 640px at -8% 8%, rgba(61, 220, 151, 0.12), transparent 60%),
    radial-gradient(900px 700px at 50% 112%, rgba(139, 108, 255, 0.14), transparent 60%);
  font-family: var(--font-sans);
  color: var(--text);
}


/* 3. Общие компоненты --------------------------------------------------- */

/* Секция: центрированная колонка с большим отступом сверху */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 0;
  box-sizing: border-box;
}

/* Метка над заголовком секции */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--green  { color: var(--green); }
.eyebrow--amber  { color: var(--amber); }
.eyebrow--violet { color: var(--violet); }
.eyebrow--blue   { color: var(--blue); }
.eyebrow--rose   { color: var(--rose); }

/* Заголовки секций */
.section__title {
  margin: 14px 0 0;
  font-weight: 800;
  text-wrap: balance;
}
.section__title--lg {
  max-width: 760px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section__title--md {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.section__title--sm {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 500;
}

.note {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 500;
}

.link {
  color: #d6dae1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 16px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  padding: 17px 28px;
  background: #ffffff;
  color: var(--bg);
  font-weight: 800;
}
.btn--primary:hover {
  color: var(--bg);
}
.btn--ghost {
  padding: 17px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  font-weight: 700;
}

/* Цветная точка-маркер. Цвет задаётся модификатором dot--<тон> */
.dot {
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-dim);
}
.dot--green  { background: var(--tone-green); }
.dot--rose   { background: var(--tone-rose); }
.dot--pink   { background: var(--tone-pink); }
.dot--amber  { background: var(--tone-amber); }
.dot--orange { background: var(--tone-orange); }
.dot--coral  { background: var(--tone-coral); }
.dot--blue   { background: var(--tone-blue); }
.dot--violet { background: var(--tone-violet); }
.dot--purple { background: var(--tone-purple); }
.dot--red    { background: var(--tone-red); }
.dot--gray   { background: var(--tone-gray); }

/* Карточки */
.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card-grid--faq {
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  min-width: 0;
  padding: 24px 24px 26px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.card--dark {
  background: var(--surface-card);
  border-color: rgba(255, 255, 255, 0.08);
}
.card--page {
  padding: 22px 24px;
  border-radius: 22px;
}
.card--faq {
  padding: 26px 28px;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.card--page .card__title {
  font-size: 17px;
  letter-spacing: 0;
}
.card--faq .card__title {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}
.card__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}
.card--page .card__text {
  margin-top: 10px;
  font-size: 14.5px;
}
.card--faq .card__text {
  font-size: 14.5px;
  line-height: 1.7;
}

/* Большая подложка секции (размер, персонажи) */
.feature-box {
  padding: 44px clamp(24px, 4vw, 56px);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}


/* 4. Шапка и подвал ----------------------------------------------------- */
.site-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Логотип: тёмная плитка, кольцо-пилюля и тёплая точка */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(160deg, #2a2c32, #141518);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.brand__ring {
  display: flex;
  align-items: center;
  width: 26px;
  height: 13px;
  padding-left: 3px;
  box-sizing: border-box;
  border-radius: 7px;
  border: 2.5px solid var(--text);
}
.brand__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff7a45;
}
.brand__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand__mark--small {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: none;
}
.brand__mark--small .brand__ring {
  width: 22px;
  height: 11px;
  padding-left: 2.5px;
  border-radius: 6px;
  border-width: 2px;
}
.brand__mark--small .brand__dot {
  width: 4px;
  height: 4px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  font-size: 14px;
  font-weight: 600;
}
.nav-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: #ffffff;
}

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 56px;
  box-sizing: border-box;
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer__text {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--tone-gray);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 14px;
  font-weight: 700;
}
.disclaimer {
  margin: 26px 0 0;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #6c727e;
  font-weight: 500;
}


/* 5. Первый экран и макеты острова -------------------------------------- */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
  box-sizing: border-box;
}
.hero__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 48px;
}
.hero__text {
  flex: 1 1 480px;
  min-width: 0;
}
.hero__demo {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
  color: #d6dae1;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero__title {
  margin: 28px 0 0;
  font-size: clamp(96px, 17vw, 196px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 20%, #bff3dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  margin: 26px 0 0;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tagline--gray  { color: var(--tone-gray); }
.tagline--green { color: var(--green); }
.tagline--amber { color: var(--amber); }

.hero__lead {
  margin: 22px 0 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 500;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__meta {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
}

.icon {
  flex: none;
}

/* Ряд чипов с возможностями */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 700;
}
.chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Уведомления на острове (Caps Lock, раскладка) */
.notice-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px 14px 14px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.notice--lang {
  padding-right: 30px;
}
.notice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.notice__icon--caps {
  background: var(--tone-orange);
  font-size: 12px;
  font-weight: 800;
  color: #2a1700;
}
.notice__icon--kbd {
  background: #26272b;
}
.notice__text {
  font-size: 15px;
  font-weight: 700;
}
.notice__lang {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.notice__lang-code {
  font-size: 14px;
  font-weight: 800;
}
.notice__lang-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--tone-gray);
}

/* Свёрнутый остров (пилюля с персонажем, обложкой, временем и эквалайзером) */
.island {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 170, 90, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.6),
    0 8px 40px rgba(255, 140, 60, 0.18);
}
.island__face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 34px;
  border-radius: 10px;
  background: var(--tone-coral);
}
.island__eye {
  width: 7px;
  height: 10px;
  border-radius: 3px;
  background: #1a0d08;
}
.island__cover {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6fa4, #7b6bff 60%, #4a88ff);
}
.island__time {
  padding: 0 8px;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.island__bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}
.island__bar {
  width: 4px;
  border-radius: 2px;
  background: var(--tone-purple);
}
/* Высота столбиков эквалайзера */
.island__bar:nth-child(1) { height: 10px; }
.island__bar:nth-child(2) { height: 20px; }
.island__bar:nth-child(3) { height: 14px; }
.island__bar:nth-child(4) { height: 18px; }

/* Макет страницы настроек */
.panel {
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  border-radius: 28px;
  background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.panel__pages {
  display: flex;
  align-items: center;
  gap: 7px;
}
.panel__page {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a3d44;
}
.panel__page--active {
  background: #d7dae0;
}
.panel__title {
  font-size: 13px;
  font-weight: 700;
  color: #c6cad2;
}
.panel__time {
  font-size: 13px;
  font-weight: 700;
  color: var(--tone-gray);
  font-variant-numeric: tabular-nums;
}
.panel__body {
  display: flex;
  flex-wrap: wrap;
}
.panel__nav {
  flex: 0 0 132px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 10px;
  box-sizing: border-box;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tone-gray);
}
.panel__nav-item {
  padding: 8px 10px;
}
.panel__nav-item--active {
  border-radius: 9px;
  background: #26272b;
  color: #ffffff;
}
.panel__settings {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 16px 18px;
  box-sizing: border-box;
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 4px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #d6dae1;
}
.setting__label {
  min-width: 0;
}

/* Переключатель: состояние задаётся классом is-on / is-off */
.toggle {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #3a3d44;
}
.toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
}
.toggle.is-on {
  background: #27c26b;
}
.toggle.is-on .toggle__knob {
  left: auto;
  right: 3px;
}


/* 6. Демо размера острова ----------------------------------------------- */
.size-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
}
.size-demo__text {
  flex: 1 1 360px;
  min-width: 0;
}
.size-demo__lead {
  margin: 16px 0 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 500;
}
.size-demo__stage {
  flex: 1 1 360px;
  min-width: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(255, 176, 59, 0.18), transparent 70%),
    #0b0c11;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Пилюля масштабируется через переменную --scale (её ставит скрипт) */
.size-demo__pill {
  --scale: 1;
  transform: scale(var(--scale));
  transform-origin: center;
  transition: transform 0.08s linear;
}
.size-demo__pill .island {
  gap: 16px;
  padding: 12px 24px 12px 14px;
  box-shadow:
    0 0 0 1px rgba(255, 170, 90, 0.16),
    0 16px 40px rgba(0, 0, 0, 0.6);
}
.size-demo__pill .island__face {
  width: 38px;
  height: 32px;
  gap: 6px;
}
.size-demo__pill .island__eye {
  width: 6px;
  height: 9px;
}
.size-demo__pill .island__cover {
  width: 32px;
  height: 32px;
}
.size-demo__pill .island__time {
  padding: 0;
  font-size: 16px;
}
.size-demo__pill .island__bars {
  height: 20px;
}
.size-demo__pill .island__bar:nth-child(1) { height: 9px; }
.size-demo__pill .island__bar:nth-child(2) { height: 18px; }
.size-demo__pill .island__bar:nth-child(3) { height: 13px; }

.slider {
  max-width: 420px;
  margin-top: 30px;
}
.slider__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.slider__label {
  font-size: 14px;
  font-weight: 700;
  color: #c6cad2;
}
.slider__value {
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
}

.slider__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}
.slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.slider__input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}


/* 7. Что нового --------------------------------------------------------- */
.release-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
}
.release {
  flex: 1 1 440px;
  min-width: 0;
  padding: 34px 34px 36px;
  border-radius: 30px;
}
.release--green {
  background: linear-gradient(160deg, rgba(61, 220, 151, 0.12), rgba(255, 255, 255, 0.03) 55%);
  border: 1px solid rgba(61, 220, 151, 0.28);
}
.release--blue {
  background: linear-gradient(160deg, rgba(108, 155, 255, 0.12), rgba(255, 255, 255, 0.03) 55%);
  border: 1px solid rgba(108, 155, 255, 0.26);
}
.release__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}
.release__version {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.release__slogan {
  font-size: 14px;
  font-weight: 700;
}
.release--green .release__slogan { color: var(--green); }
.release--blue .release__slogan  { color: var(--blue); }

.release__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.release__item {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 500;
}
.release__item strong {
  color: var(--text);
  font-weight: 800;
}


/* 8. Темы --------------------------------------------------------------- */
.themes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}
.themes__intro {
  flex: 1 1 320px;
  min-width: 0;
}
.themes__grid {
  flex: 2 1 520px;
  min-width: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
}

/* Плитка темы. Цвета задаются переменными --card, --pill, --accent */
.theme {
  --card: #0b0c0f;
  --pill: #000000;
  --accent: #3ddc97;
  min-width: 0;
}
.theme__card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.theme__pill {
  display: flex;
  align-items: center;
  width: 48px;
  height: 20px;
  padding-left: 5px;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--pill);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.theme.is-light .theme__pill {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.theme__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.theme__name {
  margin: 9px 0 0;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #c6cad2;
}

.theme--midnight { --card: #0b0c0f; --pill: #000000; --accent: #3ddc97; }
.theme--graphite { --card: #1d1f23; --pill: #0b0c0f; --accent: #4a88ff; }
.theme--ocean    { --card: #0e2c4d; --pill: #05101d; --accent: #5ec8ff; }
.theme--forest   { --card: #10301f; --pill: #06130c; --accent: #7ee06b; }
.theme--sunset   { --card: #2e180a; --pill: #120804; --accent: #ffa31a; }
.theme--rose     { --card: #391225; --pill: #16060e; --accent: #ff6fa4; }
.theme--lavender { --card: #271c4a; --pill: #0f0a1f; --accent: #b49bff; }
.theme--neon     { --card: #0a0f1c; --pill: #02040a; --accent: #2ef2d0; }
.theme--snow     { --card: #f1f2f5; --pill: #ffffff; --accent: #4a88ff; }
.theme--sand     { --card: #eadfcd; --pill: #f7f0e4; --accent: #e07a2c; }
.theme--mint     { --card: #d3ecdf; --pill: #eefaf3; --accent: #25a86b; }
.theme--sky      { --card: #d1e0f3; --pill: #eef5fd; --accent: #3d7de0; }


/* 9. Персонажи, горячие клавиши, нейросети ------------------------------ */
.feature-box__text {
  margin: 16px 0 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  font-weight: 500;
}
.subhead {
  margin: 30px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tag-list--first {
  margin-top: 30px;
}
.tag {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14.5px;
  font-weight: 700;
  color: #d6dae1;
}
.tag--emotion {
  padding: 9px 16px;
  background: rgba(255, 176, 59, 0.1);
  border-color: rgba(255, 176, 59, 0.28);
  font-size: 14px;
  color: #ffcf85;
}
.feature-box__note {
  margin: 26px 0 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tone-gray);
  font-weight: 500;
}

.duo {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.panel-card {
  flex: 1 1 440px;
  min-width: 0;
  padding: 34px;
  border-radius: 30px;
  background: var(--surface-card);
  border: 1px solid var(--line);
}
.panel-card__text {
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
  font-weight: 500;
}
.panel-card__text--spaced {
  margin-top: 16px;
}
.panel-card__hint {
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 600;
}

.shortcut-list {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
}
.shortcut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.shortcut__action {
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #c6cad2;
}
.key {
  padding: 6px 12px;
  border-radius: 9px;
  background: #1a1b20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}


/* 10. Приватность (таблица) --------------------------------------------- */
.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 26px;
  background: var(--surface-card);
  border: 1px solid var(--line);
}
.table {
  min-width: 640px;
}
.table__row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.6fr;
  gap: 20px;
  padding: 18px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px;
  font-weight: 600;
}
.table__row--head {
  padding: 16px 28px;
  border-top: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.table__cell--mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.table__cell--soft {
  font-weight: 500;
  color: #c6cad2;
}


/* 11. Установка и FAQ --------------------------------------------------- */
.install {
  padding: clamp(28px, 4vw, 56px);
  border-radius: 40px;
  background: linear-gradient(150deg, rgba(255, 176, 59, 0.12), rgba(255, 255, 255, 0.03) 45%, rgba(139, 108, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.steps {
  display: grid;
  gap: 16px;
  margin-top: 38px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.step {
  min-width: 0;
  padding: 26px;
  border-radius: 24px;
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bg);
  font-size: 15px;
  font-weight: 800;
}
.step__title {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 800;
}
.step__text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 500;
}

.install__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.install__hint {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.info-card {
  flex: 1 1 360px;
  min-width: 0;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.info-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.info-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.55;
  color: #c6cad2;
  font-weight: 500;
}


/* 12. Анимации и доступность -------------------------------------------- */
/* Лёгкое «парение» макетов в первом экране.
   Движение медленное и небольшое (4–5 px), а will-change выносит элемент
   на отдельный слой: тяжёлые тени не перерисовываются на каждом кадре,
   поэтому нет рывков. */
.float-a,
.float-b {
  will-change: transform;
  backface-visibility: hidden;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  animation-iteration-count: infinite;
}
.float-a { animation-name: float-a; animation-duration: 11s; }
.float-b { animation-name: float-b; animation-duration: 13s; }

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -5px, 0); }
}
@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, 4px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .float-a,
  .float-b {
    animation: none;
  }
  .btn,
  .nav-link,
  .size-demo__pill {
    transition: none;
  }
}
