/* wisp.monster — токены те же, что у расширения (src/styles/wisp.css). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ground: #0b0c12;
  --glass: rgba(26, 26, 34, 0.42);
  --glass-strong: rgba(22, 22, 28, 0.78);
  --edge: rgba(255, 255, 255, 0.1);
  --hi: rgba(255, 255, 255, 0.16);
  --ink: rgba(255, 255, 255, 0.96);
  --ink2: rgba(255, 255, 255, 0.66);
  --ink3: rgba(255, 255, 255, 0.42);
  --fill: rgba(255, 255, 255, 0.07);
  --fill2: rgba(255, 255, 255, 0.12);
  --accent: #ff7a59;
  --on-accent: #16181c;
  --sky: #6cbbff;
  --pos: #5fe3a0;
  --radius: 24px;
  --wrap: 1120px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— верхняя панель: свисает с потолка, как панель страниц в Wisp ——— */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.bar-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(var(--wrap), calc(100% - 32px));
  height: 56px;
  padding: 0 8px 0 16px;
  border-radius: 0 0 20px 20px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--edge), 0 12px 32px rgba(0, 0, 0, 0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav a:hover {
  background: var(--fill);
  color: var(--ink);
}
.nav .btn-primary,
.nav .btn-primary:hover {
  padding: 0 14px;
  background: var(--accent);
  color: var(--on-accent);
}
.lang {
  display: flex;
  margin: 0 6px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
}
.lang a {
  padding: 5px 9px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink3);
  text-decoration: none;
}
.lang a[aria-current='true'] {
  background: var(--fill2);
  color: var(--ink);
}

/* ——— кнопки ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, background-color 0.15s;
}
.btn:hover {
  opacity: 0.9;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.28);
}
.btn-ghost {
  background: var(--fill2);
  color: var(--ink);
}
.btn-sm {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ——— первый экран: текст слева, вкладка Wisp справа под углом ——— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 40px;
  padding-top: 84px;
  padding-bottom: 24px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -160px -20% auto;
  height: 980px;
  z-index: -1;
  background:
    radial-gradient(560px 380px at 70% 40%, rgba(60, 130, 210, 0.3), transparent 70%),
    radial-gradient(420px 300px at 18% 20%, rgba(255, 122, 89, 0.16), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--ink2);
  font-size: 13px;
  font-weight: 700;
}
.eyebrow b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--ink2);
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.5;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.note {
  margin: 16px 0 0;
  color: var(--ink3);
  font-size: 13px;
  font-weight: 600;
}

.stage {
  position: relative;
  perspective: 1800px;
  padding: 40px 0;
}
.screen {
  overflow: hidden;
  border-radius: 18px;
  background: #0e1017;
  box-shadow: inset 0 0 0 1px var(--edge), 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform-origin: 40% 50%;
}
.screen .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
}
.screen .chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.screen .chrome span {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 8px;
  background: var(--fill);
  color: var(--ink3);
  font-size: 11px;
  font-weight: 700;
}
.float {
  position: absolute;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(22, 22, 28, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--hi), 0 20px 50px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 700;
  animation: bob 7s ease-in-out infinite;
}
.float small {
  display: block;
  color: var(--ink3);
  font-size: 11px;
  font-weight: 700;
}
.f-clock {
  top: 0;
  left: -4%;
}
.f-clock b {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.f-save {
  bottom: 6%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: -2s;
}
.f-save::before {
  content: '';
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--pos) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316181c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.f-tg {
  right: -2%;
  bottom: 16%;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: -4s;
}
.f-tg svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.f-dots {
  top: 8%;
  right: 4%;
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  animation-delay: -5.5s;
}
.f-dots i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* ——— цифры ——— */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding: 8px;
}
.facts div {
  padding: 22px 20px;
  text-align: center;
}
.facts div + div {
  box-shadow: inset 1px 0 0 var(--edge);
}
.facts b {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.facts div:first-child b {
  color: var(--accent);
}
.facts span {
  display: block;
  margin-top: 8px;
  color: var(--ink2);
  font-size: 14px;
  font-weight: 600;
}

/* ——— три главных вещи ——— */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 24px;
}
.tile h3 {
  margin: 20px 14px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tile p {
  margin: 8px 14px 0;
  color: var(--ink2);
  font-size: 15px;
}
.viz {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(260px 160px at 50% 30%, rgba(255, 255, 255, 0.07), transparent 70%), rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 84px);
  gap: 8px;
}
.thumbs i {
  position: relative;
  height: 50px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.thumbs i.on {
  box-shadow: 0 0 0 2px var(--accent);
}
.thumbs i b {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 9px;
  font-style: normal;
}
.phone {
  position: relative;
  width: 104px;
  height: 190px;
  margin-top: 52px;
  padding: 26px 8px 0;
  border-radius: 22px;
  background: center / cover;
  box-shadow: inset 0 0 0 3px #1c1d24, 0 18px 40px rgba(0, 0, 0, 0.5);
}
.phone i {
  display: block;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 9px;
  background: rgba(22, 22, 28, 0.55);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.phone i:nth-child(2) {
  height: 44px;
}
.bubble {
  position: absolute;
  top: 22px;
  right: 18px;
  max-width: 170px;
  padding: 9px 12px;
  border-radius: 14px 14px 4px 14px;
  background: #2b5278;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.bubble.bot {
  top: auto;
  right: auto;
  left: 16px;
  bottom: 26px;
  border-radius: 14px 14px 14px 4px;
  background: #1f2430;
}
.menu {
  width: 230px;
  padding: 6px;
  border-radius: 14px;
  background: #1d1e25;
  box-shadow: inset 0 0 0 1px var(--edge), 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
}
.menu span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
}
.menu span.on {
  background: rgba(255, 122, 89, 0.16);
  color: var(--ink);
}
.menu img {
  width: 16px;
  height: 16px;
  border-radius: 5px;
}
.menu hr {
  margin: 4px 6px;
  border: 0;
  border-top: 1px solid var(--edge);
}
.viz .keys {
  position: absolute;
  bottom: 16px;
  display: flex;
  gap: 5px;
}

/* ——— живое превью ——— */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 5px;
  border-radius: 16px;
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px 0 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink2);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.tabs button i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.tabs button[aria-pressed='true'] {
  background: var(--fill2);
  color: var(--ink);
}
.tabs button b {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
}
.demo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0e1017;
  box-shadow: inset 0 0 0 1px var(--edge), 0 40px 100px rgba(0, 0, 0, 0.55);
  container-type: inline-size;
}
.demo .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s;
}
.demo .bg.on {
  opacity: 1;
}
.demo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
  pointer-events: none;
}
.demo .w {
  position: absolute;
  z-index: 1;
  padding: 2.2cqw;
  border-radius: 2.2cqw;
  background: rgba(22, 22, 28, 0.42);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--hi);
  font-size: 1.5cqw;
  font-weight: 700;
}
.demo .w h4 {
  margin: 0 0 1.4cqw;
  color: var(--ink2);
  font-size: 1.3cqw;
}
.w-time {
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.w-time b {
  display: block;
  font-size: 8cqw;
  line-height: 1;
  letter-spacing: -0.05em;
}
.w-time span {
  color: var(--ink2);
  font-size: 1.5cqw;
}
.w-links {
  left: 5%;
  bottom: 8%;
  width: 34%;
}
.w-links ul,
.w-todo ul {
  display: grid;
  gap: 0.9cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.w-links li {
  display: flex;
  align-items: center;
  gap: 1cqw;
}
.w-links li i {
  display: grid;
  place-items: center;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 0.8cqw;
  color: #fff;
  font-size: 1.3cqw;
  font-style: normal;
}
.w-todo {
  right: 5%;
  bottom: 8%;
  width: 28%;
}
.w-todo label {
  display: flex;
  align-items: center;
  gap: 1cqw;
  cursor: pointer;
}
.w-todo input {
  width: 1.8cqw;
  height: 1.8cqw;
  margin: 0;
  accent-color: var(--accent);
}
.w-todo input:checked + span {
  color: var(--ink3);
  text-decoration: line-through;
}
.demo-note {
  margin: 16px 0 0;
  color: var(--ink3);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.final .cta {
  justify-content: center;
  margin-top: 0;
}
.final .btn-ghost svg {
  width: 20px;
  height: 20px;
}

.frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #0e1017;
  box-shadow: inset 0 0 0 1px var(--edge), 0 40px 100px rgba(0, 0, 0, 0.55);
}
.frame img {
  width: 100%;
}

/* ——— секции ——— */
section {
  padding: 96px 0 0;
}
.head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.head p {
  margin: 14px 0 0;
  color: var(--ink2);
  font-size: 17px;
}

.glass {
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--hi), 0 18px 48px rgba(0, 0, 0, 0.3);
}

kbd {
  padding: 2px 7px;
  border-radius: 7px;
  background: var(--fill2);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 56px;
  padding: 0;
}
.feature + .feature {
  margin-top: 88px;
}
.feature.flip .text {
  order: 2;
}
.feature .tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.feature h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.feature p {
  margin: 14px 0 0;
  color: var(--ink2);
  font-size: 17px;
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--fill2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ff7a59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* тарифы */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
}
.plan.pro {
  box-shadow: inset 0 0 0 1.5px rgba(255, 122, 89, 0.55), inset 0 1px 0 var(--hi), 0 24px 60px rgba(255, 122, 89, 0.12);
}
.plan .price {
  margin: 10px 0 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan .price small {
  color: var(--ink3);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.plan .sub {
  margin: 4px 0 0;
  color: var(--ink2);
  font-size: 14px;
}
.plan .ticks {
  flex: 1;
  margin-bottom: 26px;
}
.plan .btn {
  width: 100%;
}
.plan .fine {
  margin: 14px 0 0;
  color: var(--ink3);
  font-size: 13px;
  text-align: center;
}

/* вопросы — нативные details, без JS */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 6px;
}
.faq details {
  margin: 0 8px;
}
.faq details + details {
  box-shadow: inset 0 1px 0 var(--edge);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--fill);
  color: var(--ink2);
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: -4px 0 0;
  padding: 0 20px 20px;
  color: var(--ink2);
  font-size: 15px;
}

.final {
  margin-top: 96px;
  padding: 56px 32px;
  text-align: center;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(255, 122, 89, 0.16), transparent 70%),
    var(--glass);
}
.final p {
  margin: 12px 0 28px;
  color: var(--ink2);
  font-size: 17px;
}

/* подвал */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 72px;
  padding: 28px 0 40px;
  box-shadow: inset 0 1px 0 var(--edge);
  color: var(--ink3);
  font-size: 14px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot a {
  color: var(--ink2);
  font-weight: 600;
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
}

/* подсказка про русскую версию (только на английской странице) */
.hint {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  transform: translateX(-50%);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  box-shadow: inset 0 0 0 1px var(--edge), 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.hint[hidden] {
  display: none;
}
.hint button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: var(--fill);
  color: var(--ink2);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

/* ——— документы: политика, поддержка, новости ——— */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 0;
}
.doc h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  text-align: left;
}
.doc .meta {
  margin: 12px 0 0;
  color: var(--ink3);
  font-size: 14px;
  font-weight: 600;
}
.doc .intro {
  margin: 20px 0 0;
  color: var(--ink2);
  font-size: 18px;
}
.doc h2 {
  margin: 48px 0 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}
.doc p,
.doc li {
  color: var(--ink2);
  font-size: 16px;
  line-height: 1.7;
}
.doc p {
  margin: 12px 0 0;
}
.doc ul,
.doc ol {
  margin: 12px 0 0;
  padding-left: 20px;
}
.doc li + li {
  margin-top: 6px;
}
.doc strong {
  color: var(--ink);
}
.doc a {
  color: var(--accent);
  text-decoration: none;
}
.doc a:hover {
  text-decoration: underline;
}
.card {
  margin-top: 28px;
  padding: 26px 24px;
}
.card h3 {
  margin: 0;
  font-size: 18px;
}
.card p {
  margin: 6px 0 0;
}
.card .btn {
  margin-top: 18px;
}
.doc a.btn-primary {
  color: var(--on-accent);
  text-decoration: none;
}
.doc .frame {
  margin: 8px 0 28px;
}
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.release {
  margin-top: 18px;
  padding: 24px;
}
.release .ver {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink3);
  font-size: 13px;
  font-weight: 700;
}
.release .ver b {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--fill2);
  color: var(--ink);
}
.release h2 {
  margin: 12px 0 0;
  font-size: 20px;
}
.release ul {
  margin-top: 10px;
}

/* ——— движение. Всё на transform/opacity; при prefers-reduced-motion
   общее правило выше гасит анимации, а появление включает только JS ——— */
main {
  overflow-x: clip;
}
@property --a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* неоновая сетка-пол под первым экраном */
.hero::after {
  content: '';
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -60px;
  height: 360px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 122, 89, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 187, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent 95%);
  mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent 95%);
  transform: perspective(420px) rotateX(64deg);
  transform-origin: 50% 0;
  animation: grid 2.4s linear infinite;
  pointer-events: none;
}
@keyframes grid {
  to {
    transform: perspective(420px) rotateX(64deg) translateY(56px);
  }
}
.hero.idle *,
.hero.idle::after {
  animation-play-state: paused !important;
}

/* вход первого экрана */
.hero > div:first-child > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero > div:first-child > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero > div:first-child > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero > div:first-child > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero > div:first-child > :nth-child(5) {
  animation-delay: 0.32s;
}
.stage {
  animation: fly 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }
}
@keyframes fly {
  from {
    opacity: 0;
    transform: translateX(80px) scale(0.92);
  }
}

/* переливающийся акцент в заголовках */
h1 em,
h2 em {
  background: linear-gradient(100deg, #ff7a59, #ffc2a8 25%, #ff5f8f 50%, #6cbbff 75%, #ff7a59);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: flow 8s linear infinite;
}
h1 em {
  filter: drop-shadow(0 0 28px rgba(255, 122, 89, 0.35));
}
@keyframes flow {
  to {
    background-position: 300% 0;
  }
}

/* пульс на «Новое» */
.eyebrow b {
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 89, 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(255, 122, 89, 0);
  }
}

/* вкладка: параллакс за курсором, блик и строки развёртки */
.screen {
  position: relative;
  transform: rotateY(calc(-16deg + var(--px, 0) * 6deg)) rotateX(calc(7deg - var(--py, 0) * 5deg)) rotateZ(1.5deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.screen::before,
.screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.screen::before {
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
}
.screen::after {
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.1) 48%, rgba(108, 187, 255, 0.08) 52%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out 1.6s infinite;
}
@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  30%,
  100% {
    transform: translateX(120%);
  }
}
.float {
  translate: calc(var(--px, 0) * var(--depth, 14px)) calc(var(--py, 0) * var(--depth, 14px));
  transition: translate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.f-clock {
  --depth: 26px;
}
.f-dots {
  --depth: -18px;
}
.f-save {
  --depth: 20px;
}
.f-tg {
  --depth: -28px;
}
.f-save::before {
  box-shadow: 0 0 16px rgba(95, 227, 160, 0.6);
}

/* стекло: свет под курсором и светящийся край */
.glass {
  position: relative;
}
.glass::before,
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
/* под содержимым: у .glass свой контекст наложения из-за backdrop-filter */
.glass::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 89, 0.09), transparent 45%);
}
.glass::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 150, 120, 0.9), rgba(108, 187, 255, 0.35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass:hover::before,
.glass:hover::after {
  opacity: 1;
}

/* Премиум: бегущий неоновый край */
.plan.pro::after {
  opacity: 1;
  padding: 1.5px;
  background: conic-gradient(from var(--a), transparent 0 55%, #ff7a59 72%, #ffc2a8 80%, #6cbbff 88%, transparent 100%);
  animation: spin 4.5s linear infinite;
}
@keyframes spin {
  to {
    --a: 360deg;
  }
}

/* кнопки: блик и свечение */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s;
}
.btn-primary:hover::after {
  transform: translateX(130%);
}
.hero .btn-primary::after {
  animation: shine 4.5s ease-in-out 1.8s infinite;
}
@keyframes shine {
  0% {
    transform: translateX(-130%);
  }
  25%,
  100% {
    transform: translateX(130%);
  }
}
.btn-primary:hover {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 170, 140, 0.6), 0 12px 40px rgba(255, 122, 89, 0.5);
}
.btn-ghost:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.17);
}

/* цифры светятся */
.facts b {
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.18);
}
.facts div:first-child b {
  text-shadow: 0 0 30px rgba(255, 122, 89, 0.5);
}

/* карточки-тройка: живые мелочи */
.tile .viz {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tile:hover .viz {
  transform: scale(1.02);
}
.thumbs i {
  transition: transform 0.3s, box-shadow 0.3s;
}
.thumbs i:hover {
  transform: translateY(-4px) scale(1.06);
}
.thumbs i.on {
  animation: glow 2.6s ease-in-out infinite;
}
@keyframes glow {
  50% {
    box-shadow: 0 0 0 2px var(--accent), 0 0 22px rgba(255, 122, 89, 0.6);
  }
}
.motion .tile .bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
}
.motion .tile.in .bubble {
  animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.5s forwards;
}
.motion .tile.in .bubble.bot {
  animation-delay: 1.3s;
}
@keyframes pop {
  to {
    opacity: 1;
    transform: none;
  }
}
.viz .keys kbd {
  animation: press 3.2s ease-in-out infinite;
}
.viz .keys kbd:nth-child(2) {
  animation-delay: 0.12s;
}
.viz .keys kbd:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes press {
  0%,
  20%,
  100% {
    transform: none;
    background: var(--fill2);
  }
  8% {
    transform: translateY(2px);
    background: rgba(255, 122, 89, 0.45);
  }
}
.menu span.on {
  animation: pick 3.2s ease-in-out infinite;
}
@keyframes pick {
  0%,
  100% {
    background: rgba(255, 122, 89, 0.16);
  }
  12% {
    background: rgba(255, 122, 89, 0.36);
  }
}

/* скриншоты в блоках возможностей */
.feature .frame {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
}
.feature .frame:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(255, 150, 120, 0.35), 0 50px 110px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 122, 89, 0.12);
}

/* превью: активная вкладка светится, смена обоев — с глитчем */
.tabs button {
  transition: background-color 0.2s, color 0.2s, box-shadow 0.3s;
}
.tabs button[aria-pressed='true'] {
  box-shadow: inset 0 0 0 1px rgba(255, 150, 120, 0.45), 0 0 18px rgba(255, 122, 89, 0.3);
}
.demo .bg.on {
  animation: zoom 14s ease-out both;
}
@keyframes zoom {
  from {
    transform: scale(1.08);
  }
}
.demo.glitch .bg.on {
  animation: glitch 0.45s steps(2) both, zoom 14s ease-out both;
}
@keyframes glitch {
  0% {
    clip-path: inset(12% 0 58% 0);
    transform: translateX(-10px);
    filter: hue-rotate(80deg) saturate(2);
  }
  25% {
    clip-path: inset(62% 0 8% 0);
    transform: translateX(12px);
  }
  50% {
    clip-path: inset(30% 0 36% 0);
    transform: translateX(-6px);
    filter: hue-rotate(-60deg);
  }
  75% {
    clip-path: inset(0 0 0 0);
    transform: translateX(3px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: none;
    filter: none;
  }
}
.demo .w {
  transition: transform 0.4s;
}
.demo .w-links:hover,
.demo .w-todo:hover {
  transform: translateY(-4px);
}
.w-links li {
  transition: transform 0.2s;
}
.w-links li:hover {
  transform: translateX(4px);
}

/* появление при прокрутке — только когда JS включил движение */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion .feature[data-reveal] .frame {
  opacity: 0;
  transform: translateX(60px) rotateY(-8deg);
  transition: opacity 0.9s 0.15s, transform 1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion .feature.flip[data-reveal] .frame {
  transform: translateX(-60px) rotateY(8deg);
}
.motion [data-reveal].in {
  opacity: 1;
  transform: none;
}
.motion .feature[data-reveal].in .frame {
  opacity: 1;
  transform: none;
}
.motion .feature[data-reveal].in .frame:hover {
  transform: translateY(-6px);
}

/* ——— телефон ——— */
@media (max-width: 860px) {
  .nav .hide-sm {
    display: none;
  }
  .plans,
  .trio,
  .hero {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 56px;
    gap: 8px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .facts div:nth-child(3) {
    box-shadow: inset 0 1px 0 var(--edge);
  }
  .facts div:nth-child(4) {
    box-shadow: inset 1px 0 0 var(--edge), inset 0 1px 0 var(--edge);
  }
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature.flip .text {
    order: 0;
  }
  section {
    padding-top: 72px;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }
  .bar-inner {
    width: calc(100% - 16px);
    padding: 0 6px 0 12px;
  }
  .bar .btn-sm span {
    display: none;
  }
  .cta .btn {
    width: 100%;
  }
  .float {
    transform: scale(0.82);
    animation: none;
  }
  .f-clock {
    left: 0;
  }
  .f-tg,
  .f-dots {
    right: 0;
  }
  .tabs button {
    padding: 0 6px;
  }
  .tabs button span {
    display: none;
  }
  .hero::before {
    left: 0;
    right: 0;
  }
  /* на телефоне превью выше и крупнее, иначе виджеты в 5px */
  .demo {
    aspect-ratio: 9 / 16;
  }
  .demo .w {
    padding: 4cqw;
    border-radius: 4cqw;
    font-size: 3.6cqw;
  }
  .demo .w h4 {
    margin-bottom: 2.6cqw;
    font-size: 3.2cqw;
  }
  .w-time b {
    font-size: 17cqw;
  }
  .w-time span {
    font-size: 3.6cqw;
  }
  .w-links,
  .w-todo {
    left: 5%;
    right: 5%;
    width: auto;
  }
  .w-links {
    top: 32%;
    bottom: auto;
  }
  .w-links ul,
  .w-todo ul {
    gap: 2cqw;
  }
  .w-links li,
  .w-todo label {
    gap: 2.4cqw;
  }
  .w-links li i {
    width: 6cqw;
    height: 6cqw;
    border-radius: 1.8cqw;
    font-size: 3cqw;
  }
  .w-todo input {
    width: 4cqw;
    height: 4cqw;
  }
  .hint {
    left: 16px;
    right: 16px;
    transform: none;
    white-space: normal;
  }
  .doc {
    padding: 48px 16px 0;
  }
}
