/* Промо-сайт ПараПланнер CRM. Отдельная статическая страница, не часть приложения. */

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f4f1ec;
  --muted: #a5a2ac;
  --dim: #6f6d77;
  --pearl: #f3e9dc;
  --clay: #d9a79c;
  --lilac: #a99ddb;
  --azure: #8fc1d4;
  --sage: #9fd0c0;
  --gold: #d8bf8c;
  --paper: #f6f3ef;
  --ink: #27272a;
  --grad: linear-gradient(100deg, #f3e9dc 0%, #d9a79c 30%, #a99ddb 62%, #8fc1d4 100%);
  --display: 'Tenor Sans', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(217, 167, 156, 0.4);
}

.pearl-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}

@keyframes sheen {
  to {
    background-position: 100% 0;
  }
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(159, 208, 192, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(159, 208, 192, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(159, 208, 192, 0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.badge--lilac {
  color: var(--lilac);
  border-color: rgba(169, 157, 219, 0.35);
  background: rgba(169, 157, 219, 0.08);
}

.badge--gold {
  color: var(--gold);
  border-color: rgba(216, 191, 140, 0.35);
  background: rgba(216, 191, 140, 0.08);
}

/* Кнопки */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    color 0.3s;
  will-change: transform;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--light {
  background: var(--text);
  color: #0b0b0d;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 12px 40px -12px rgba(217, 167, 156, 0.55);
}

.btn--light:hover {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 16px 50px -10px rgba(169, 157, 219, 0.7);
}

.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--lg {
  height: 60px;
  padding: 0 34px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

/* Служебное: полоса прокрутки и свечение курсора */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(169, 157, 219, 0.13),
    rgba(217, 167, 156, 0.06) 40%,
    transparent 68%
  );
  transition: opacity 0.6s;
  will-change: transform;
}

.cursor-glow.is-on {
  opacity: 1;
}

/* Шапка */

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--max));
  height: 60px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.4s,
    border-color 0.4s,
    backdrop-filter 0.4s;
}

.nav.is-stuck {
  background: rgba(14, 14, 17, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.nav__logo img,
.footer__brand img {
  filter: brightness(0) invert(1);
  height: 34px;
  width: auto;
}

.nav__crm {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  color: var(--pearl);
}

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav__links a {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition:
    color 0.25s,
    background 0.25s;
}

.nav__links a:hover,
.nav__links a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-left: auto;
}

.nav__links + .nav__actions {
  margin-left: 0;
}

.nav__login,
.nav__show {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s;
}

.nav__login:hover,
.nav__show:hover {
  color: var(--text);
}

.nav__show svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Первый экран */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad) 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 70% 35%, rgba(169, 157, 219, 0.35), transparent 70%),
    radial-gradient(50% 50% at 25% 70%, rgba(217, 167, 156, 0.28), transparent 70%), var(--bg);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.62) 0%, rgba(11, 11, 13, 0.2) 55%, rgba(11, 11, 13, 0) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.4) 0%, transparent 22%, transparent 72%, var(--bg) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__overline {
  opacity: 0;
  animation: rise 0.9s 0.1s var(--ease) forwards;
}

.hero__title {
  margin: 22px 0 0;
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}

.hero__title .line:nth-child(1) > span {
  animation-delay: 0.2s;
}

.hero__title .line:nth-child(2) > span {
  animation-delay: 0.36s;
  animation-name: lineUp, sheen;
  animation-duration: 1.1s, 9s;
  animation-timing-function: var(--ease), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-fill-mode: forwards, none;
}

@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__lead {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: #cfccd4;
  opacity: 0;
  animation: rise 0.9s 0.6s var(--ease) forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  opacity: 0;
  animation: rise 0.9s 0.75s var(--ease) forwards;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin: clamp(40px, 7vh, 84px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  gap: clamp(16px, 3vw, 48px);
  opacity: 0;
  animation: rise 0.9s 0.95s var(--ease) forwards;
}

.hero__facts li {
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.hero__facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
}

.hero__facts span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text);
  animation: wheel 2s var(--ease) infinite;
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Бегущая строка */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 40px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.marquee i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Общие секции */

.section {
  padding: clamp(80px, 12vh, 150px) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}

.section__head {
  max-width: 860px;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.section__head h2 {
  margin-top: 16px;
}

.section__lead {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Подсветка края карточки за курсором */

.spot {
  position: relative;
  isolation: isolate;
}

.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, -40%),
    rgba(243, 233, 220, 0.75),
    rgba(169, 157, 219, 0.35) 35%,
    transparent 65%
  );
  -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);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 2;
}

.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, -40%),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}

.spot:hover::before,
.spot:hover::after {
  opacity: 1;
}

/* Демонстрация авторасчёта */

.demo__panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: clamp(20px, 3.4vw, 44px);
  box-shadow: 0 40px 120px -60px rgba(169, 157, 219, 0.45);
}

.demo__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: flex-end;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
}

.input {
  height: 44px;
  min-width: 190px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.input:focus {
  outline: none;
  border-color: var(--lilac);
  box-shadow: 0 0 0 4px rgba(169, 157, 219, 0.18);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips button {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.chips button:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.chips button.is-active {
  color: #0b0b0d;
  background: var(--text);
  border-color: var(--text);
}

.demo__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  margin: 32px 0 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.demo__summary b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
}

.demo__summary span {
  color: var(--muted);
  font-size: 14px;
}

.demo__summary .warn {
  color: var(--gold);
}

.demo__axis {
  display: flex;
  justify-content: space-between;
  margin: 0 150px 10px 250px;
  font-size: 12px;
  color: var(--dim);
}

.demo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.demo__row {
  display: grid;
  grid-template-columns: 234px 1fr 134px;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 12px;
  transition: background 0.3s;
}

.demo__row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.demo__name {
  font-size: 14px;
  line-height: 1.3;
}

.demo__name small {
  display: block;
  font-size: 12px;
  color: var(--dim);
}

.demo__track {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.demo__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(217, 167, 156, 0.15), var(--c, var(--clay)));
  transition: width 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.demo__fill::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--c, var(--clay));
  box-shadow:
    0 0 0 4px rgba(11, 11, 13, 0.9),
    0 0 18px var(--c, var(--clay));
}

.demo__row.is-after .demo__fill {
  background: linear-gradient(90deg, rgba(159, 208, 192, 0.12), var(--sage));
  --c: var(--sage);
}

.demo__date {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--pearl);
}

.demo__date small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
}

.demo__note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--dim);
  max-width: 720px;
}

/* Шесть окон в одно */

.merge {
  height: 240vh;
  position: relative;
}

.merge__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.merge__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.merge__chip {
  position: absolute;
  left: 50%;
  top: 44%;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(24, 24, 28, 0.85);
  backdrop-filter: blur(10px);
  font-size: clamp(13px, 1.3vw, 17px);
  white-space: nowrap;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.merge__core {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: var(--grad);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 0 120px 10px rgba(169, 157, 219, 0.5);
  transform: scale(0.4);
  opacity: 0;
  will-change: transform, opacity;
}

.merge__text {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(48px, 10vh, 110px);
  text-align: center;
}

.merge__text h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(26px, 3.8vw, 52px);
}

.merge__text p {
  margin-top: 14px;
  color: var(--muted);
}

/* Проект по шагам */

.story {
  padding: clamp(80px, 12vh, 150px) var(--pad) 0;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.story__step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  opacity: 0.28;
  transition: opacity 0.5s;
}

.story__step.is-active {
  opacity: 1;
}

.story__num {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--clay);
}

.story__step h3 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
}

.story__step p {
  color: var(--muted);
  max-width: 440px;
}

.story__device-wrap {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

.device {
  width: 100%;
  max-width: 640px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #17171b;
  box-shadow:
    0 60px 140px -40px rgba(0, 0, 0, 0.9),
    0 0 140px -30px rgba(169, 157, 219, 0.45);
  transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.device__bar span {
  margin: 0 auto;
  padding-right: 39px;
  font-size: 12px;
  color: var(--muted);
}

.device__screens {
  position: relative;
  aspect-ratio: 16 / 11;
  margin: 8px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.screen {
  position: absolute;
  inset: 0;
  padding: clamp(14px, 2vw, 24px);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
  pointer-events: none;
  font-size: 13px;
  line-height: 1.35;
}

.screen.is-active {
  opacity: 1;
  transform: none;
}

/* Мини-интерфейс внутри устройства: светлая тема, как в самой CRM */

.ui-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ui-head b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  color: #18181b;
}

.ui-head em {
  font-style: normal;
  font-size: 12px;
  color: #71717a;
}

.ui-tasks,
.ui-timing,
.ui-team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.ui-tasks li,
.ui-timing li,
.ui-team li {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
  border-left: 3px solid transparent;
}

.ui-tasks li {
  grid-template-columns: 16px 1fr auto auto;
}

.ui-tasks li > i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid #d4d4d8;
}

.ui-tasks li.done > i {
  border-color: #7e9472;
  background: #7e9472
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.ui-tasks li.done span {
  color: #a1a1aa;
  text-decoration: line-through;
}

.imp {
  border-left-color: #b58880 !important;
}

.imp span {
  font-weight: 600;
  color: #8f665f;
}

.screen u {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #52525b;
  white-space: nowrap;
}

.screen u.c-sage {
  background: #eef1ea;
  color: #5e6f54;
}

.screen u.c-clay {
  background: #f4ebe9;
  color: #8f665f;
}

.screen u.c-azure {
  background: #ebf0f2;
  color: #5e7882;
}

.screen u.c-gold {
  background: #f5efe3;
  color: #94794c;
}

.screen time {
  font-size: 12px;
  color: #71717a;
  font-variant-numeric: tabular-nums;
}

.ui-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
}

.ui-table th,
.ui-table td {
  padding: 7px 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid #f4f4f5;
}

.ui-table th:first-child,
.ui-table td:first-child {
  text-align: left;
}

.ui-table th {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
  background: #fafafa;
}

.ui-table .grp td {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
  background: #faf8f5;
}

.ui-table .fee td {
  color: #5e6f54;
  font-weight: 500;
}

.ui-table tfoot td {
  font-weight: 600;
  color: #18181b;
  border-bottom: 0;
}

.ui-timing li {
  grid-template-columns: 48px 1fr auto;
}

.ui-timing time {
  font-size: 13px;
  font-weight: 500;
  color: #18181b;
}

.ui-cabinet {
  display: grid;
  gap: 10px;
  height: 100%;
  align-content: start;
}

.ui-cabinet__hero {
  padding: 14px 16px;
  border-radius: 14px;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(217, 194, 189, 0.7), transparent 70%),
    radial-gradient(60% 90% at 10% 100%, rgba(194, 168, 120, 0.3), transparent 70%), #fbf8f4;
  box-shadow:
    0 0 0 1px #fff inset,
    0 4px 16px rgba(24, 24, 27, 0.06);
  display: grid;
  gap: 2px;
}

.ui-cabinet__hero small {
  font-size: 12px;
  color: #71717a;
}

.ui-cabinet__hero b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: #18181b;
}

.ui-cabinet__hero em {
  font-style: normal;
  font-size: 12px;
  color: #52525b;
}

.ui-bar {
  height: 6px;
  margin: 8px 0 4px;
  border-radius: 6px;
  background: rgba(24, 24, 27, 0.08);
  overflow: hidden;
}

.ui-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: #7e9472;
}

.ui-cabinet__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ui-pick {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
}

.ui-pick i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.ui-pick .g1 {
  background: linear-gradient(135deg, #d9c2bd, #b58880);
}

.ui-pick .g2 {
  background: linear-gradient(135deg, #cfd8c8, #7e9472);
}

.ui-pick b {
  font-weight: 500;
  color: #18181b;
}

.ui-pick small {
  font-size: 12px;
  color: #71717a;
}

.ui-chat {
  display: grid;
  gap: 5px;
}

.ui-chat p {
  max-width: 78%;
  padding: 7px 12px;
  border-radius: 14px;
  font-size: 13px;
}

.ui-chat .in {
  background: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
}

.ui-chat .out {
  justify-self: end;
  background: #27272a;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ui-team li {
  grid-template-columns: 34px 1fr auto;
}

.ui-team li > i,
.orbit i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.a1,
.o1 {
  background: #b58880;
}

.a2,
.o2 {
  background: #7e9ba6;
}

.a3,
.o3 {
  background: #9b93b5;
}

.a4,
.o4 {
  background: #7e9472;
}

.ui-team span b {
  display: block;
  font-weight: 500;
  color: #18181b;
}

.ui-team span small {
  font-size: 12px;
  color: #71717a;
}

.ui-linkrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed #d4d4d8;
  font-size: 12px;
  color: #71717a;
}

.ui-linkrow b {
  font-weight: 500;
  color: #27272a;
}

/* Возможности */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.card--wide {
  grid-column: span 2;
}

.card--full {
  grid-column: 1 / -1;
  min-height: 300px;
  flex-direction: row;
  align-items: center;
}

.card--full .viz {
  flex: 1;
}

.card__text {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 460px;
}

.card__text p {
  color: var(--muted);
  font-size: 15px;
}

.viz {
  position: relative;
}

.viz--kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: start;
}

.viz--kanban div {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.viz--kanban b {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.viz--kanban i {
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.viz--kanban div:nth-child(1) i {
  background: rgba(216, 191, 140, 0.22);
}

.viz--kanban div:nth-child(2) i {
  background: rgba(143, 193, 212, 0.22);
}

.viz--kanban div:nth-child(3) i {
  background: rgba(159, 208, 192, 0.22);
}

.viz--kanban i.move {
  background: var(--grad) !important;
  animation: hop 3.6s var(--ease) infinite;
}

@keyframes hop {
  0%,
  35% {
    transform: none;
  }
  55%,
  85% {
    transform: translateX(calc(100% + 30px)) rotate(2deg);
  }
  100% {
    transform: none;
  }
}

.viz--chart svg {
  width: 100%;
  height: 130px;
  overflow: visible;
}

.viz--chart .line {
  fill: none;
  stroke: url(#gLine);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2s var(--ease) 0.2s;
  vector-effect: non-scaling-stroke;
}

.viz--chart .fill {
  fill: url(#gFill);
  opacity: 0;
  transition: opacity 1.2s 1s;
}

.viz--chart .be {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}

.viz--chart .pt {
  fill: var(--pearl);
  opacity: 0;
  transition: opacity 0.5s 1.2s;
}

.card.is-in .line {
  stroke-dashoffset: 0;
}

.card.is-in .fill,
.card.is-in .pt {
  opacity: 1;
}

.viz__tag {
  position: absolute;
  left: 0;
  top: 40%;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.viz--chips {
  display: grid;
  gap: 8px;
}

.viz--chips div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viz--chips span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.viz--chips span.on {
  color: #0b0b0d;
  background: var(--pearl);
  border-color: var(--pearl);
}

.viz--cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.viz--cal i {
  position: relative;
  aspect-ratio: 1.25;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
}

.viz--cal i.has::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--c, var(--clay));
  box-shadow: 0 0 10px var(--c, var(--clay));
}

.viz--cal i.event {
  background: var(--grad);
}

.viz--docs {
  position: relative;
  height: 150px;
}

.doc {
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 118px;
  height: 150px;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s var(--ease);
}

.doc b {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8f665f;
}

.doc.d2 b {
  color: #5e6f54;
}

.doc i {
  height: 6px;
  border-radius: 3px;
  background: #e4e4e7;
}

.doc i:last-child {
  width: 60%;
}

.doc.d1 {
  transform: translateX(-130%) rotate(-10deg);
}

.doc.d2 {
  transform: translateX(-50%) translateY(-10px);
  z-index: 1;
}

.doc.d3 {
  transform: translateX(30%) rotate(10deg);
}

.card:hover .doc.d1 {
  transform: translateX(-150%) translateY(-12px) rotate(-14deg);
}

.card:hover .doc.d2 {
  transform: translateX(-50%) translateY(-26px);
}

.card:hover .doc.d3 {
  transform: translateX(50%) translateY(-12px) rotate(14deg);
}

.viz--team {
  display: grid;
  place-items: center;
  height: 170px;
}

.orbit {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px dashed var(--line-2);
  animation: spin 26s linear infinite;
}

.orbit i {
  position: absolute;
  margin: -17px;
  animation: spin 26s linear infinite reverse;
}

.orbit .o1 {
  left: 50%;
  top: 0;
}

.orbit .o2 {
  left: 100%;
  top: 50%;
}

.orbit .o3 {
  left: 50%;
  top: 100%;
}

.orbit .o4 {
  left: 0;
  top: 50%;
}

.orbit b {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  margin: -32px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--grad);
  animation: spin 26s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* CRM на телефоне: иконка на экране «Домой» */

.install[data-os='ios'] .only-android,
.install[data-os='android'] .only-ios {
  display: none !important;
}

.install__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}

.install__step {
  display: grid;
  gap: 28px;
  justify-items: center;
  align-content: start;
}

.install__text {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.install__text p {
  color: var(--muted);
  font-size: 15px;
}

.phone {
  position: relative;
  flex: none;
  width: 250px;
  max-width: 100%;
  height: 514px;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #17171b;
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 110px -30px rgba(169, 157, 219, 0.5);
  transition: transform 0.6s var(--ease);
}

.install__step:hover .phone {
  transform: translateY(-8px) rotate(-1.5deg);
}

.phone::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 3;
  width: 72px;
  height: 20px;
  margin-left: -36px;
  border-radius: 12px;
  background: #0b0b0d;
}

.phone__screen {
  position: absolute;
  inset: 9px;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
}

.ph-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 40px 10px 0;
  padding: 0 6px 0 12px;
  height: 36px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(24, 24, 27, 0.1);
}

.ph-bar--bottom {
  margin: auto 10px 14px;
}

.ph-bar span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #52525b;
}

.ph-bar b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: #27272a;
}

.ph-bar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-hot {
  position: relative;
}

.ph-hot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid #b58880;
  animation: ring 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes ring {
  0% {
    opacity: 1;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

.ph-page {
  display: grid;
  gap: 9px;
  padding: 22px 16px 0;
}

.install[data-os='ios'] .ph-page {
  padding-top: 56px;
}

.ph-page i,
.ph-cards u {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e4e0da;
}

.ph-page i.short {
  width: 55%;
}

.ph-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.ph-cards u {
  height: 74px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(24, 24, 27, 0.06);
}

.phone__screen--sheet {
  justify-content: flex-end;
  background: linear-gradient(180deg, #8d8a86, #6f6c69);
}

.install[data-os='android'] .phone__screen--sheet {
  justify-content: flex-start;
  align-items: flex-end;
  padding: 44px 8px 0;
  background: var(--paper);
}

.ph-sheet {
  width: 100%;
  padding: 14px 10px 18px;
  border-radius: 22px 22px 0 0;
  background: #f4f2ef;
}

.install[data-os='android'] .ph-sheet {
  width: 88%;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.25);
}

.ph-sheet__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 12px;
}

.ph-sheet__head img {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(24, 24, 27, 0.15);
}

.ph-sheet__head b {
  display: block;
  font-weight: 600;
}

.ph-sheet__head small {
  font-size: 12px;
  color: #71717a;
}

.ph-sheet ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background: #fff;
}

.ph-sheet li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid #f0eeeb;
  color: #3f3f46;
}

.ph-sheet li:last-child {
  border-bottom: 0;
}

.ph-sheet li.ph-hot {
  font-weight: 600;
  color: #18181b;
  background: #f4ebe9;
  border-radius: 10px;
}

.ph-sheet li.ph-hot::after {
  inset: 0;
}

.ph-sheet em {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid currentColor;
  font-style: normal;
  line-height: 1;
}

.phone__screen--home {
  color: #fff;
  background:
    radial-gradient(80% 50% at 80% 10%, rgba(169, 157, 219, 0.9), transparent 70%),
    radial-gradient(90% 60% at 10% 90%, rgba(217, 167, 156, 0.9), transparent 70%), #2a2833;
}

.ph-time {
  padding: 46px 0 14px;
  text-align: center;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 0;
  padding: 0 12px;
  justify-items: center;
}

.ph-grid > i,
.ph-dock i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.ph-grid .c2,
.ph-grid .c5 {
  background: rgba(143, 193, 212, 0.55);
}

.ph-grid .c3,
.ph-grid .c7 {
  background: rgba(216, 191, 140, 0.55);
}

.ph-grid .c7 {
  order: 1;
}

.ph-grid .c4 {
  background: rgba(159, 208, 192, 0.55);
}

.ph-app {
  display: grid;
  justify-items: center;
  gap: 4px;
  border-radius: 12px;
}

.ph-app img {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 30px rgba(243, 233, 220, 0.9);
}

.ph-app small {
  position: absolute;
  top: 50px;
  font-size: 12px;
  white-space: nowrap;
}

.ph-app.ph-hot::after {
  inset: -5px -5px auto;
  height: 56px;
  border-color: #fff;
  border-radius: 16px;
}

.ph-dock {
  display: flex;
  justify-content: space-around;
  margin: auto 10px 12px;
  padding: 10px 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

/* Тарифы */

.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 28px;
  padding: 22px clamp(20px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(217, 167, 156, 0.35);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(217, 167, 156, 0.18), transparent 60%),
    radial-gradient(80% 140% at 100% 100%, rgba(169, 157, 219, 0.18), transparent 60%);
}

.offer[hidden] {
  display: none;
}

.offer__text b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
}

.offer__text span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.countdown {
  display: flex;
  gap: 8px;
}

.countdown div {
  min-width: 72px;
  padding: 10px 8px;
  text-align: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}

.countdown b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  font-size: 12px;
  color: var(--muted);
}

.period {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.period button {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition:
    background 0.3s,
    color 0.3s;
}

.period button.is-active {
  background: var(--text);
  color: #0b0b0d;
}

.period em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--sage);
}

.period button.is-active em {
  color: #3d6b5c;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.plan--accent {
  border-color: rgba(243, 233, 220, 0.35);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(169, 157, 219, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 120px -50px rgba(169, 157, 219, 0.7);
}

.plan__flag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #0b0b0d;
  background: var(--grad);
}

.plan h3 {
  font-size: 30px;
}

.plan__for {
  margin-top: -10px;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.plan__price b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan__price s {
  font-size: 16px;
  color: var(--dim);
}

.plan__price s[hidden] {
  display: none;
}

.plan__price span {
  font-size: 14px;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.plan__limits {
  padding: 14px 0 !important;
  border-block: 1px solid var(--line);
}

.plan__limits li {
  font-size: 15px;
  font-weight: 500;
}

.plan__list {
  flex: 1;
  align-content: start;
}

.plan__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.45;
  color: #cfccd4;
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  transform: rotate(-45deg);
}

.plan__addon {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed var(--line-2);
  font-size: 14px;
}

.plan__addon b {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.plan__addon small {
  font-size: 12px;
  color: var(--muted);
}

.tariffs__more {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
}

.tariffs__more a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: color 0.25s;
}

.tariffs__more a:hover {
  color: var(--text);
}

/* Вопросы */

.faq__list {
  max-width: 860px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  list-style: none;
  padding: 24px 48px 24px 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.25s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--pearl);
}

.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0);
}

.faq details p {
  padding: 0 48px 26px 0;
  color: var(--muted);
  max-width: 680px;
  animation: rise 0.5s var(--ease);
}

/* Финал и подвал */

.final {
  position: relative;
  padding: clamp(110px, 20vh, 220px) var(--pad);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final__glow {
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: min(1200px, 140vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(
    circle,
    rgba(243, 233, 220, 0.3),
    rgba(217, 167, 156, 0.25) 25%,
    rgba(169, 157, 219, 0.2) 45%,
    transparent 68%
  );
  animation: breathe 8s ease-in-out infinite alternate;
}

@keyframes breathe {
  to {
    transform: translateX(-50%) scale(1.12);
  }
}

.final h2 {
  font-size: clamp(36px, 6.4vw, 92px);
  line-height: 1.04;
}

.final p {
  margin: 24px auto 40px;
  max-width: 520px;
  color: #cfccd4;
  font-size: clamp(16px, 1.4vw, 19px);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 56px var(--pad) 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer__brand p {
  margin-top: 14px;
  color: var(--muted);
}

.footer__brand img {
  height: 32px;
}

.footer__col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__col b {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer__col a {
  color: var(--muted);
  transition: color 0.25s;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}

/* Режим показа */

.show-hud {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 70;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(14, 14, 17, 0.8);
  backdrop-filter: blur(18px);
  font-size: 14px;
}

.show-hud[hidden] {
  display: none;
}

.show-hud button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    background 0.25s,
    color 0.25s;
}

.show-hud button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.show-hud span {
  min-width: 150px;
  text-align: center;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

html.is-show .hero__scroll {
  display: none;
}

/* Планшет и телефон */

@media (max-width: 1300px) {
  .nav__show span {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .plan__for {
    min-height: 0;
  }

  .demo__axis {
    margin-left: 200px;
  }

  .demo__row {
    grid-template-columns: 184px 1fr 134px;
  }
}

@media (max-width: 860px) {
  .story__grid {
    grid-template-columns: 1fr;
  }

  .story__device-wrap {
    display: none;
  }

  .story__step {
    min-height: 0;
    opacity: 1;
    padding-bottom: 56px;
  }

  .story__step .device__screens {
    width: 100%;
    margin: 10px 0 0;
    aspect-ratio: auto;
    min-height: 330px;
    border-radius: 18px;
    box-shadow:
      0 0 0 6px #17171b,
      0 0 0 7px rgba(255, 255, 255, 0.16),
      0 30px 80px -30px rgba(169, 157, 219, 0.6);
  }

  .story__step .screen {
    position: relative;
    opacity: 1;
    transform: none;
    padding: 16px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav {
    padding-left: 16px;
    gap: 8px;
  }

  .nav__show,
  .nav__login,
  .nav__crm {
    display: none;
  }

  .nav .btn--sm {
    padding: 0 14px;
    font-size: 13px;
  }

  .nav__logo img {
    height: 30px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero__veil {
    background: linear-gradient(
      180deg,
      rgba(11, 11, 13, 0.55) 0%,
      rgba(11, 11, 13, 0.35) 60%,
      var(--bg) 100%
    );
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero__facts li {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: baseline;
    gap: 12px;
  }

  .hero__facts span {
    margin: 0;
  }

  .hero__scroll {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .card--wide {
    grid-column: auto;
  }

  .card--full {
    flex-direction: column;
    align-items: stretch;
  }

  .install__steps {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .install__text {
    text-align: center;
    justify-items: center;
  }

  .card {
    min-height: 320px;
  }

  .demo__controls {
    gap: 16px;
  }

  .demo__field,
  .input {
    width: 100%;
  }

  .chips button {
    flex: 1 1 auto;
    padding: 0 12px;
  }

  .demo__axis {
    display: none;
  }

  .demo__row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 12px 4px;
  }

  .demo__track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .merge__chip {
    padding: 10px 14px;
    border-radius: 12px;
  }

  .merge__core {
    width: 104px;
    height: 104px;
    margin: -52px 0 0 -52px;
    border-radius: 28px;
  }

  .countdown {
    width: 100%;
  }

  .countdown div {
    flex: 1;
    min-width: 0;
  }

  .ui-tasks li {
    grid-template-columns: 16px 1fr auto;
  }

  .ui-tasks li u {
    display: none;
  }
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
