@font-face {
  font-family: "Aipie Word";
  src: url("../assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #060818;
  --ink: #eef1ff;
  --muted: #8d97b8;
  --line: #96aaff1f;
  --blue: #3e60ff;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow:
    inset 0 1px 0 #ffffff12, 0 0 0 1px #96aaff1f, 0 2px 4px #00000040,
    0 16px 40px -16px #000000b0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Tabular digits only on the numbers themselves: Inter's tnum also widens the
   hyphen, so running text would read «ИИ - администратор». */
[data-value],
[data-total],
.kpi-value,
.large-number,
.price,
.chat-row-time {
  font-variant-numeric: tabular-nums;
}
/* Side blocks slide in from beyond the edge (scroll-motion.js); clip keeps
   them from adding a horizontal scroll and, unlike hidden, keeps sticky working. */
main {
  overflow-x: clip;
}
::selection {
  background: #3e60ff;
  color: #fff;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 530;
  text-wrap: balance;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.14;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 14px;
}
p {
  line-height: 1.65;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px #3e60ff66 !important;
}
.wrap {
  width: min(1248px, calc(100% - 112px));
  margin-inline: auto;
}
.frame {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #111630, #0b0f22);
  box-shadow:
    inset 0 1px 0 #ffffff0f,
    0 24px 48px -16px #00000a99;
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.button {
  min-height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.button span {
  font-size: 18px;
  transition: transform 0.18s;
}
.button:hover span,
.text-link:hover span {
  transform: translate(2px, -2px);
}
.button:active,
button:active {
  transform: scale(0.97);
}
/* Primary: a pearl pill with the arrow in a blue orb at its end. */
.button-light {
  padding: 5px 5px 5px 22px;
  color: #0b1030;
  font-weight: 500;
  background: linear-gradient(180deg, #fff, #e6ebff);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 4px #b9c6ff66,
    0 0 0 1px #ffffff30,
    0 10px 28px -8px #3e60ff80,
    0 0 48px -12px #8fa6ff99;
}
.button-light span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(160deg, #5b7bff, #2340d8 55%, #141f78);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    0 4px 10px -2px #2340d8a0;
}
.button-light:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 4px #b9c6ff66,
    0 0 0 1px #ffffff50,
    0 14px 34px -8px #3e60ffa0,
    0 0 64px -10px #8fa6ffb0;
}
.button-light:hover span {
  transform: rotate(45deg);
}
/* Secondary: dark glass whose 1px rim catches light at two corners. */
.button-outline-light {
  color: #f4f6ff;
  font-weight: 500;
  background:
    linear-gradient(180deg, #1a2048d9, #0b0f26e6) padding-box,
    linear-gradient(
        135deg,
        #ffffff70,
        #8fa6ff26 35%,
        #ffffff0d 60%,
        #8fa6ff66
      )
      border-box;
  box-shadow:
    inset 0 1px 0 #ffffff1a,
    0 10px 28px -12px #00000099;
  backdrop-filter: blur(12px);
}
.button-outline-light:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, #232b5cd9, #10153ae6) padding-box,
    linear-gradient(
        135deg,
        #ffffffa0,
        #8fa6ff40 35%,
        #ffffff1a 60%,
        #8fa6ff99
      )
      border-box;
}
.button-icon {
  width: 18px;
  height: 18px;
  margin-right: -6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.button-line {
  border-color: #d9deec;
  background: #ffffff80;
}
.button-line:hover {
  background: #edf2ff;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  font-size: 14px;
}
.text-link span {
  transition: transform 0.18s;
}
.text-link:hover {
  color: #8fa6ff;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  /* Above the hero (z-index 40), which holds the fixed header. */
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #0b1030;
  clip-path: inset(50%);
}
.skip-link:focus {
  clip-path: none;
}
/* The two typefaces above are reserved for the established brand lettering. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.wordmark img {
  filter: brightness(0) invert(1);
  width: 31px;
  height: 31px;
}
.wordmark > span {
  font-family: "Aipie Word", sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero {
  --hero-ink: #f8faff;
  --hero-muted: #dde5ff;
  position: relative;
  /* The fixed header lives inside the hero; lifting the hero's stacking
     context keeps the header above every later section. */
  z-index: 40;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 140px;
  border-radius: 0 0 48px 48px;
  color: var(--hero-ink);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0, #0b1230, transparent 70%),
    /* The glow under the dashboard fades out before the rounded bottom edge. */
    radial-gradient(ellipse 60% 22% at 50% 82%, #141c4a, transparent 70%),
    #02040d;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h150v150H0z'/%3E%3C/svg%3E");
}
/* EasyA-like sky: light beams, coloured glow and drifting dust. */
.hero-sky {
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, calc(150px + 92vw));
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.sky-beams,
.sky-aura,
.sky-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sky-beams i {
  position: absolute;
  top: -20%;
  width: 14%;
  height: 120%;
  background: linear-gradient(#b8c4ff4d, #9fb2ff12 60%, transparent);
  filter: blur(26px);
  transform-origin: 50% 0;
}
.sky-beams i:nth-child(1) {
  left: 6%;
  transform: rotate(18deg);
}
.sky-beams i:nth-child(2) {
  left: 22%;
  width: 8%;
  opacity: 0.7;
  transform: rotate(9deg);
}
.sky-beams i:nth-child(3) {
  left: 70%;
  width: 9%;
  opacity: 0.7;
  transform: rotate(-10deg);
}
.sky-beams i:nth-child(4) {
  left: 84%;
  transform: rotate(-20deg);
}
.sky-aura {
  filter: blur(60px);
}
.sky-aura i {
  position: absolute;
  border-radius: 50%;
}
.aura-violet {
  left: -6%;
  top: 30%;
  width: 52%;
  height: 50%;
  background: radial-gradient(closest-side, #7a45ff, #6a35f0b3 45%, transparent);
}
.aura-blue {
  left: -14%;
  top: 20%;
  width: 26%;
  height: 60%;
  background: radial-gradient(closest-side, #2f4cff99, transparent);
}
.aura-green {
  right: -4%;
  top: 22%;
  width: 50%;
  height: 52%;
  background: radial-gradient(closest-side, #1f9e7c, #17806ab3 45%, transparent);
}
.aura-core {
  left: 32%;
  top: 40%;
  width: 36%;
  height: 34%;
  background: radial-gradient(closest-side, #c9c4ffb0, #8b7dff40 55%, transparent);
}
.js .hero-sky > * {
  transition: opacity 1.6s ease 0.9s;
}
.js .hero:not(.is-in) .hero-sky > * {
  opacity: 0;
}

/* EasyA-like scene: a phone lies under the copy, the aipie tile and two people
   stand on its glowing screen, salon tiles hover in stacks at its corners.
   Pieces are placed in stage units (cqw/cqh) and centred on --x/--y. */
.hero-stage {
  position: relative;
  z-index: 3;
  aspect-ratio: 1672 / 941;
  margin-top: -12vw;
  container-type: size;
  pointer-events: none;
}
/* Scroll: each layer drifts by its own vector times --scroll (0 → 1 over
   the first screen); the entrance lives on the pieces, so the two never fight. */
.stage-layer {
  position: absolute;
  inset: 0;
  transform: translate3d(
      calc(var(--scroll, 0) * var(--px, 0px)),
      calc(var(--scroll, 0) * var(--py, 0px)),
      0
    )
    scale(calc(1 + var(--scroll, 0) * var(--pz, 0)));
  will-change: transform;
}
.stage-far {
  --py: 14cqh;
}
.stage-left {
  --px: -14cqw;
  --py: -16cqh;
  --pz: 0.14;
  transform-origin: 25% 47%;
}
.stage-right {
  --px: 14cqw;
  --py: -16cqh;
  --pz: 0.14;
  transform-origin: 76% 48%;
}
.stage-near {
  --py: -46cqh;
}
.stage-piece {
  position: absolute;
  left: calc(50% + var(--x));
  top: var(--y);
  width: var(--w);
  transform: translate(-50%, -50%) translate(var(--fx, 0), var(--fy, 0))
    scale(var(--fs, 1)) rotate(var(--r, 0deg));
  transition:
    transform 1.6s var(--ease) var(--delay, 0.1s),
    opacity 0.8s ease var(--delay, 0.1s);
}
.stage-piece img {
  display: block;
  width: 100%;
  height: auto;
}
/* The phone, its light, the aurora and the dust are one painted plate.
   Its edges fade to transparent in the file itself: a two-layer CSS mask on
   this composited layer was dropped by desktop Chrome and showed a hard edge. */
.stage-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: filter 1.6s ease 0.6s;
}
.stage-stack {
  --delay: 0.9s;
}
.stage-tile {
  aspect-ratio: 1;
  border-radius: 22%;
  background: linear-gradient(150deg, #2a2b3a, #050507 70%);
  box-shadow:
    inset 0 1px 0 #ffffff1a,
    0 0.6cqw 0 #1c1840;
}
.stage-tile.is-far {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #2d2a6a, #15143a 70%);
  box-shadow:
    inset 0 1px 0 #ffffff14,
    0 0.4cqw 0 #100f2c;
  opacity: 0.6;
}
.stage-tile.is-icon {
  background: linear-gradient(150deg, #3b3470, #1a1735 70%);
  box-shadow:
    inset 0 1px 0 #ffffff14,
    0 0.5cqw 0 #120f2a;
  opacity: 0.55;
}
.stage-tile svg {
  width: 52%;
  fill: none;
  stroke: #b9b0ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-tile.is-violet {
  background: linear-gradient(150deg, #3a2d6e, #0c0a1c 70%);
  box-shadow:
    inset 0 1px 0 #ffffff1a,
    0 0.8cqw 0 #2a1f63;
}
.stage-tile.is-near {
  filter: blur(var(--blur));
  box-shadow:
    inset 0 1px 0 #ffffff1a,
    0 0.8cqw 0 #2a1f63,
    0 0 4cqw #6a3cff38;
}
/* Entrance: the scene is there at once, the copy follows, then the light
   switches on and the stacks fly out from under the aipie tile. */
.js .hero:not(.is-in) .stage-piece {
  --fx: var(--sx, 0);
  --fy: var(--sy, 0);
  --fs: var(--ss, 1);
}
.js .hero:not(.is-in) .stage-stack,
.js .hero:not(.is-in) .is-near {
  opacity: 0;
}
.js .hero:not(.is-in) .stage-scene {
  filter: brightness(0.3) saturate(0.5);
}
.site-header {
  width: min(1360px, calc(100% - 96px));
  height: 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  border-radius: 20px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.site-header.is-scrolled {
  background: #0a0e22db;
  color: #f6f8ff;
  backdrop-filter: saturate(1.6) blur(24px);
  -webkit-backdrop-filter: saturate(1.6) blur(24px);
  box-shadow:
    inset 0 0 0 1px #96aaff1f,
    inset 0 1px 0 #ffffff12,
    0 12px 32px -12px #000000b0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.18s;
}
.site-nav a:hover {
  opacity: 0.65;
}
.login-link {
  gap: 8px;
}
.menu-toggle {
  display: none;
}
.hero-copy {
  position: relative;
  z-index: 4;
  padding: 157px 24px 0;
  text-align: center;
}
.hero h1 {
  max-width: 900px;
  margin: 20px auto;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.hero-kicker {
  display: block;
  margin-bottom: 0.9em;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--hero-muted);
}
.hero-sub {
  font-size: 16px;
  color: var(--hero-muted);
  line-height: 1.6;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero .button {
  min-height: 46px;
  font-size: 14px;
}
.hero-product {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 160px));
  margin: 7vw auto 0;
}
.hero-product::before {
  content: "";
  position: absolute;
  inset: -70px -100px;
  background: radial-gradient(ellipse, #7597ff25, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-top: 16px;
}
.heading-aside {
  font-size: 14px;
  color: var(--muted);
}
.film-section {
  position: relative;
  isolation: isolate;
  padding-top: 90px;
}
/* A soft blue-violet glow behind the player instead of a hard band. */
.film-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 30% -12% -14%;
  background:
    radial-gradient(ellipse 50% 45% at 30% 55%, #3e60ff26, transparent 70%),
    radial-gradient(ellipse 45% 40% at 75% 45%, #7b5cff1c, transparent 70%);
  pointer-events: none;
}
.glass-window {
  color: #eef1ff;
  border: 1px solid #96aaff1f;
  border-radius: 18px;
  background: linear-gradient(180deg, #111630, #0b0f22);
  box-shadow:
    inset 0 1px 0 #ffffff0f,
    0 2px 6px #00000a40,
    0 24px 48px -16px #00000a99;
}
.video-player {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #070a1a;
  box-shadow:
    inset 0 1px 0 #ffffff0f,
    0 40px 90px -40px #00000ae6,
    0 60px 120px -60px #3e60ff59;
}
.video-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-play-button {
  position: absolute;
  left: 24px;
  bottom: 24px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #11162c;
  box-shadow: 0 4px 16px #0003;
  font-size: 14px;
  transition:
    transform 0.18s,
    background 0.18s;
}
.video-play-button:hover {
  background: #dfe5ff;
}
.product {
  padding-top: 100px;
}
.product-tabs,
.screen-tabs {
  position: relative;
  isolation: isolate;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 16px auto;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #ffffff0a;
  border: 1px solid #96aaff26;
  border-radius: 999px;
}
.product-tabs::-webkit-scrollbar,
.screen-tabs::-webkit-scrollbar {
  display: none;
}
.product-tabs button,
.screen-tabs button {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
  color: #98a4c2;
  transition:
    color 0.18s,
    background 0.18s;
}
.product-tabs button:hover,
.screen-tabs button:hover {
  color: #fff;
  background: #ffffff0f;
}
.product-tabs button[aria-selected="true"],
.screen-tabs button[aria-selected="true"] {
  color: #fff;
}
.tab-indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: linear-gradient(#ffffff2e, #ffffff14);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 #ffffff40,
    0 2px 8px #00000a66;
  transform-origin: left center;
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.product-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 580px;
  border-top: 1px solid var(--line);
}
.panel-copy {
  padding: 56px 40px;
  align-self: center;
}
.panel-copy h2 {
  font-size: clamp(29px, 2.6vw, 39px);
  margin: 20px 0;
}
.panel-copy > p:not(.eyebrow):not(.panel-caption) {
  max-width: 385px;
  color: var(--muted);
  font-size: 15px;
}
.panel-copy .text-link {
  margin-top: 20px;
}
.rhythm-steps {
  display: grid;
  gap: 10px;
  max-width: 385px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  color: var(--muted);
  font-size: 15px;
}
.rhythm-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  counter-increment: step;
}
.rhythm-steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6d86ff1f;
  box-shadow: inset 0 0 0 1px #6d86ff40;
  color: #c9d2f5;
  font-size: 12px;
}
.rhythm-steps b {
  color: var(--ink);
  font-weight: 500;
}
.panel-caption {
  font-size: 12px;
  color: #6f7aa0;
  margin-top: 22px;
}
.chat-stage {
  min-width: 0;
  padding: 38px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 65% 30%, #2c46dd59, transparent 72%),
    radial-gradient(ellipse 55% 45% at 20% 95%, #7b5cff1f, transparent 70%),
    #070a1a;
}
.messenger {
  max-width: 440px;
  width: 100%;
  margin: auto;
  overflow: hidden;
  transform: rotate(0.7deg);
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 10px 15px;
  border-bottom: 1px solid #ffffff12;
  font-size: 10px;
  color: #b6bed7;
}
.window-dots {
  display: inline-flex;
  gap: 5px;
  flex: none;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.window-status {
  font-size: 9px;
  color: #a2b6ff;
}
.messenger-head {
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #ffffff0c;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: #c0ceff;
  color: #304476;
  font-size: 12px;
  box-shadow: 0 2px 4px #0002;
}
.messenger-head b {
  font-size: 12px;
  font-weight: 500;
}
.messenger-head small {
  display: block;
  font-size: 10px;
  color: #98a4c2;
  margin-top: 3px;
}
.messenger-head img {
  margin-left: auto;
}
.conversation {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.conversation-date {
  color: #929db8;
  font-size: 10px;
  text-align: center;
}
.bubble {
  max-width: 88%;
  padding: 11px 13px 8px;
  border-radius: 16px;
  font-size: 11px;
  box-shadow:
    inset 0 1px 0 #ffffff08,
    0 2px 3px #00000008;
}
.bubble p {
  line-height: 1.5;
}
.outgoing {
  align-self: flex-end;
  background: #324cc9;
  color: #fff;
  border-bottom-right-radius: 8px;
}
.incoming {
  align-self: flex-start;
  background: #222b43;
  color: #f1f4ff;
  border-bottom-left-radius: 8px;
}
.bubble-author {
  display: block;
  font-size: 9px;
  color: #c5d2ff;
  margin-bottom: 4px;
}
.bubble small {
  display: block;
  text-align: right;
  font-size: 9px;
  color: #b7c6f2;
  margin-top: 4px;
}
.chat-composer {
  margin: 0 15px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 13px;
  background: #ffffff06;
  border: 1px solid #ffffff12;
  border-radius: 999px;
  color: #929db8;
  font-size: 10px;
}
.chat-composer > span:first-child::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 3px;
  background: #8697c5;
  vertical-align: middle;
}
.composer-arrow {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3e60ff;
  color: #fff;
  width: 24px;
  height: 24px;
  font-size: 16px;
}
.appointment-note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #8d97b8;
  margin-top: 20px;
}
.status-dot,
.online-dot {
  display: inline-block;
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #42ad91;
}
.return-preview {
  overflow: hidden;
  padding-bottom: 24px;
}
.return-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 24px 24px 8px;
}
.return-title h3 {
  font-size: 21px;
}
.ui-muted {
  margin: 0 24px 24px;
  font-size: 10px;
  color: #98a4c2;
}
.return-person {
  margin-inline: 24px;
  padding: 20px 0;
  border-top: 1px solid #ffffff12;
  display: flex;
  align-items: center;
  gap: 10px;
}
.return-person b {
  font-size: 12px;
  font-weight: 500;
}
.return-person small {
  display: block;
  color: #98a4c2;
  font-size: 10px;
  margin-top: 4px;
}
.state-pill {
  margin-left: auto;
  font-size: 9px;
  padding: 5px 8px;
  color: #b8c5ff;
  background: #283a77;
  border-radius: 999px;
}
.return-summary {
  display: flex;
  justify-content: space-between;
  margin: 20px 24px 0;
  font-size: 10px;
  color: #98a4c2;
}
.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.liquid-chip {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  background: #ffffff0c;
  border: 1px solid #ffffff30;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 1px #ffffff40,
    0 2px 4px #0001;
  color: #f1f3ff;
  font-size: 10px;
  white-space: nowrap;
}
.integration-strip {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}
.integration-label {
  font-size: 10px;
  line-height: 1.5;
  color: #6f7aa0;
}
.integration-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #98a4c2;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.integration-brand img {
  opacity: 0.6;
  filter: brightness(0) invert(1);
  width: 22px;
  height: 22px;
}
.dashboard-section {
  position: relative;
  isolation: isolate;
  margin-top: 120px;
  padding: 104px 0 112px;
}
.ainura-section + .dashboard-section {
  margin-top: 0;
}
/* The section is set apart by glows that fade out before its edges, not by a
   band. It bleeds to both edges; main's overflow-x: clip keeps 100vw safe. */
.dashboard-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(ellipse 50% 30% at 50% 34%, #3e60ff3d, transparent 72%),
    radial-gradient(ellipse 34% 24% at 16% 74%, #7b5cff24, transparent 70%),
    radial-gradient(ellipse 34% 24% at 86% 60%, #3e60ff1f, transparent 70%),
    radial-gradient(ellipse 80% 46% at 50% 48%, #101a46, transparent 76%);
  pointer-events: none;
}
.dashboard-section .eyebrow,
.dashboard-section .heading-aside {
  color: #98a4c2;
}
.dashboard-section .section-heading::before {
  background: linear-gradient(90deg, transparent, #96aaff33, transparent);
}
.product-frame,
.dashboard-section > .frame {
  background: linear-gradient(180deg, #0d1228, #080b1c);
  box-shadow: 0 40px 90px -40px #00000ae6;
}
.dashboard-stage {
  padding: 24px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0, #1b2552, transparent 75%), #070a1a;
}
/* Inside the clipped frame an outer ring would show only as a line under the tabs. */
.dashboard-stage:focus-visible {
  box-shadow: inset 0 0 0 3px #3e60ff66 !important;
}
.dashboard-note a,
.numbers-grid p a,
.faq-list p a {
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 3px;
}
.dashboard-note a:hover,
.numbers-grid p a:hover,
.faq-list p a:hover {
  text-decoration-color: currentColor;
}
.dashboard-note {
  margin: 16px auto 0;
  padding-inline: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
/* A free row under the window: a hairline with a short accent over each column. */
.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
  padding-inline: 4px;
}
.feature-columns > div {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.feature-columns > div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #8fa6ff, #3e60ff00);
}
.feature-columns .eyebrow {
  font-size: 12px;
}
.feature-columns h3 {
  font-size: 20px;
  margin: 12px 0;
}
.feature-columns p {
  max-width: 340px;
  font-size: 13px;
  color: #98a4c2;
}
/* Every cabinet surface is real HTML, sharing the same restrained glass system. */
.live-app {
  position: relative;
  color: #141a36;
  font-size: 11px;
  background: #f6f8ff;
  border: 1px solid #ffffffbf;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #101a3e26,
    0 2px 8px #101a3e18,
    0 24px 64px -12px #111a3e40,
    0 60px 100px -48px #111a3e50;
}
.app-chrome {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(#ffffffda, #ffffff80);
  border-bottom: 1px solid #8a9aca1c;
  font-size: 9px;
  color: #808aa4;
}
.app-chrome .window-dots {
  margin-right: 10px;
}
.chrome-divider {
  padding: 0 8px;
  color: #b4bbcd;
}
.app-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  height: 650px;
  background:
    radial-gradient(ellipse 90% 65% at 65% 8%, #5877ff99, transparent 75%),
    linear-gradient(135deg, #dfe5ff, #f5f7fc 70%);
}
.app-sidebar {
  margin: 12px 0 12px 12px;
  padding: 16px 12px;
  border-radius: 20px;
  background: #ffffffbf;
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 30px #15254c0a;
  border: 1px solid #ffffffbf;
  display: flex;
  flex-direction: column;
}
.salon-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.salon-name > span:last-child {
  margin-left: auto;
  color: #9da8c8;
}
.salon-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #8997ff, #3855ed);
  box-shadow:
    inset 0 1px 0 #ffffff55,
    0 4px 8px #3855ed25;
}
.mini-calendar {
  border-bottom: 1px solid #8594c325;
  padding: 20px 0 14px;
}
.mini-calendar > b {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
}
.week-labels,
.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-top: 10px;
  font-size: 9px;
  color: #99a3be;
}
.week-days {
  align-items: center;
  margin-top: 4px;
  border-radius: 999px;
  background: #e9edfd;
  color: #465477;
}
.week-days > span {
  padding-block: 5px;
}
.week-days .today {
  border-radius: 50%;
  background: #4665ee;
  color: #fff;
  box-shadow: 0 2px 5px #465cee38;
}
.calendar-link {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  color: #4e68de;
}
.sidebar-label {
  color: #9aa4c0;
  font-size: 9px;
  padding: 18px 8px 10px;
}
.app-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.app-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  white-space: nowrap;
  font-size: 11px;
  border-radius: 999px;
}
.app-menu-item.selected {
  background: #fff;
  color: #3a5ce0;
  box-shadow:
    inset 0 0 0 1px #b0c0ff80,
    0 2px 4px #1c285b0a;
}
.app-menu-item em {
  padding: 2px 4px;
  border-radius: 999px;
  background: #ff626d;
  color: #fff;
  margin-left: auto;
  font-size: 8px;
  font-style: normal;
}
.app-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-main {
  position: relative;
  min-width: 0;
  padding: 26px 24px;
  overflow: hidden;
}
.app-greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.app-greeting h3 {
  font-size: clamp(23px, 2.25vw, 34px);
  font-weight: 450;
  line-height: 1.25;
}
.app-greeting p {
  margin-top: 6px;
  color: #6a7696;
  font-size: 10px;
}
.app-pill,
.date-filter button,
.analytics-pills button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 11px;
  border: 1px solid #8498d527;
  border-radius: 999px;
  background: linear-gradient(#ffffffb3, #ffffff55);
  box-shadow:
    inset 0 1px 0 #ffffffd9,
    0 1px 1px #192e6805;
  font-size: 10px;
  color: #5e6c8c;
  white-space: nowrap;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.app-pill:hover,
.date-filter button:hover,
.analytics-pills button:hover {
  background: #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 8px #1f357815;
}
.date-pill {
  font-size: 9px;
}
.app-channels {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 18px;
  white-space: nowrap;
}
.app-channels > span:first-child {
  color: #7884a3;
  margin-right: 4px;
  font-size: 10px;
}
.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #ffffffbf;
  border-radius: 999px;
  background: linear-gradient(#ffffffb3, #ffffff45);
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 3px #273b7408;
  font-size: 10px;
  font-weight: 500;
}
.channel-chip img {
  padding: 2px;
  border-radius: 50%;
  background: #ffffff75;
}
.channel-chip small {
  color: #6d7ea7;
  font-size: 10px;
  font-weight: 400;
}
.app-card {
  border: 1px solid #ffffffcc;
  border-radius: 22px;
  background: #ffffffed;
  box-shadow: var(--shadow);
}
.home-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: 16px;
}
.app-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.app-card-heading h4 {
  font-weight: 500;
  font-size: 12px;
}
.app-card-heading > .app-icon:first-child {
  box-sizing: content-box;
  padding: 8px;
  border: 1px solid #a2add536;
  border-radius: 50%;
}
.app-card-heading > .app-icon:last-child {
  margin-left: auto;
}
.contact-card {
  padding: 20px;
  color: #fff;
  background: linear-gradient(145deg, #5b76ff, #2948e7 47%, #17277d);
  border-color: #ffffff45;
  box-shadow:
    inset 0 1px 0 #ffffff25,
    0 12px 24px -12px #314bd56b;
}
.contact-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 13px;
}
.contact-count > span {
  display: inline-block;
  font-size: 49px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.contact-count small {
  color: #b4c6ff;
  font-size: 10px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  background: none;
  border: 0;
  border-top: 1px solid #ffffff20;
  border-radius: 8px;
  font-size: 10px;
  text-align: left;
  transition:
    background 0.18s,
    transform 0.18s,
    opacity 0.4s;
}
.contact-row b {
  font-weight: 550;
}
.contact-row > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #b3c4ff;
  font-size: 9px;
}
.contact-row i {
  margin-left: auto;
  font-style: normal;
  color: #9db5ff;
}
.contact-row:hover,
.contact-row.demo-hover {
  background: #ffffff14;
}
.contact-row.is-done {
  color: #a8f1d7;
}
.contact-row.is-done i {
  color: #a8f1d7;
}
.contact-row.is-dismissed {
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}
.glass-pill {
  color: #fff;
  border-color: #ffffff45;
  background: linear-gradient(#ffffff30, #ffffff08);
  box-shadow:
    inset 0 1px 1px #ffffff70,
    0 3px 6px #0000000c;
}
.glass-pill:hover {
  background: #ffffff30;
}
.chats-card {
  padding: 20px;
}
.chat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 18px;
}
.app-chat-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 3px;
  border: 0;
  border-top: 1px solid #e8ebf1;
  border-radius: 12px;
  background: transparent;
  min-width: 0;
  text-align: left;
}
.app-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #d8deeb;
  background: linear-gradient(#fafbff, #eaeef7);
  color: #4c5878;
  font-size: 11px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 3px #00000005;
}
.app-avatar em {
  position: absolute;
  bottom: -3px;
  right: -2px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #fff;
  background-color: #3e60ff;
  font-size: 9px;
  font-style: normal;
}
.chat-row-copy {
  min-width: 0;
}
.chat-row-copy b {
  display: block;
  font-size: 10px;
  font-weight: 550;
}
.chat-row-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  color: #8c93a5;
  margin-top: 4px;
  max-width: 130px;
}
.chat-row-time {
  position: absolute;
  right: 4px;
  top: 9px;
  font-size: 8px;
  color: #98a0b4;
}
.unread {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #3e60ff;
  color: #fff;
  font-size: 8px;
  margin-left: auto;
  flex: none;
  box-shadow: 0 1px 3px #3654ee30;
}
.period-card {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #ffffff20;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #121c45, #0c1029);
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 10px 32px #131d4730;
}
.period-card > .app-card-heading {
  justify-content: space-between;
}
.period-pills {
  display: flex;
  gap: 5px;
}
.period-pills .app-pill {
  min-height: 24px;
  padding: 4px 9px;
  font-size: 9px;
  color: #d5ddf7;
  background: #ffffff06;
  border-color: #ffffff20;
}
.period-pills .app-pill[aria-pressed="true"] {
  background: #ffffff20;
  box-shadow:
    inset 0 1px 0 #ffffff55,
    0 2px 4px #0002;
}
.period-pills .app-pill:hover,
.period-pills .demo-hover {
  background: #ffffff25;
}
.home-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.app-kpi {
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #ffffff12;
  background: #ffffff03;
}
.kpi-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
}
.kpi-label .app-icon {
  width: 12px;
  height: 12px;
  color: #919bb8;
}
.kpi-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  font-weight: 450;
  letter-spacing: -0.03em;
  margin-top: 18px;
  white-space: nowrap;
}
.kpi-value > span {
  display: inline-block;
}
.kpi-value small {
  font-size: 0.55em;
  color: #9fa9c3;
  font-weight: 400;
}
.kpi-foot {
  display: flex;
  align-items: end;
  gap: 5px;
  margin-top: 12px;
}
.kpi-foot > span {
  color: #5fcdad;
  font-size: 9px;
  white-space: nowrap;
}
.sparkline {
  width: 55%;
  height: 25px;
  margin-left: auto;
  overflow: visible;
  color: #7893ff;
}
.spark-stroke {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.spark-area {
  fill: #7290ff13;
}
.app-page-title {
  margin-bottom: 24px;
}
.app-page-title > span {
  display: block;
  color: #7c87a4;
  font-size: 10px;
  margin-bottom: 8px;
}
.app-page-title h3 {
  font-size: 30px;
  font-weight: 450;
}
.analytics-pills {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: #ffffffb3;
  box-shadow: 0 4px 16px #13245206;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 18px;
}
.analytics-pills button {
  border-color: transparent;
  background: transparent;
  font-size: 10px;
  flex: 1 0 auto;
  box-shadow: none;
}
.analytics-pills button[aria-pressed="true"] {
  background: #fff;
  color: #3456e3;
  box-shadow:
    0 0 0 1px #6a7bac18,
    0 2px 4px #13245205;
}
.date-filter {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #ffffffbf;
  margin-bottom: 22px;
}
.date-filter > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.date-filter > div {
  display: flex;
  gap: 5px;
}
.date-filter button {
  font-size: 9px;
  min-height: 26px;
}
.date-filter button[aria-pressed="true"] {
  background: #3e60ff;
  color: #fff;
}
.app-section-title {
  font-size: 16px;
  margin-bottom: 6px;
}
.app-help {
  font-size: 10px;
  color: #8690a7;
  margin-bottom: 16px;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.overview-grid .app-kpi {
  background: #ffffffed;
  border: 1px solid #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.overview-grid .kpi-label {
  color: #5a6685;
}
.overview-grid .kpi-value {
  margin-top: 25px;
  font-size: clamp(20px, 2.25vw, 34px);
}
.overview-grid .kpi-foot > span {
  color: #5b9f8c;
  font-size: 8px;
}
.campaign-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 11px;
  color: #74819e;
}
.campaign-label > span:last-child {
  margin-left: auto;
  font-size: 9px;
  color: #98a2b9;
}
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.campaign-card {
  min-width: 0;
  padding: 16px;
  border-color: #a8b5ff60;
  background: linear-gradient(140deg, #fff, #f1efffee);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.campaign-card:hover,
.campaign-card.demo-hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #a0afff40,
    0 16px 28px -14px #35489838;
}
.campaign-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #a1a5bb;
}
.campaign-top .app-icon {
  width: 13px;
  height: 13px;
}
.manual-chip {
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #a694ff50;
  color: #8b65e8;
  background: #b3a0ff12;
}
.campaign-card h4 {
  font-size: 12px;
  font-weight: 550;
  min-height: 29px;
}
.campaign-card > p {
  font-size: 9px;
  color: #9599ac;
  min-height: 31px;
  margin: 4px 0 12px;
}
.campaign-metrics {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 6px;
  padding: 10px;
  min-height: 122px;
  border-radius: 14px;
  background: #8679a80b;
}
.campaign-metrics > span,
.metric-chip,
.campaign-footer > span {
  font-size: 8px;
  line-height: 1.3;
  padding: 5px 7px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}
.campaign-metrics small,
.campaign-footer small {
  color: #8f96a9;
  font-size: inherit;
}
.green,
.campaign-metrics .green,
.campaign-footer .green {
  color: #269875;
  background: #2e9b7b13;
}
.red,
.campaign-metrics .red {
  color: #e46976;
  background: #ec647612;
}
.metric-chip:hover {
  box-shadow: 0 0 0 2px #50ab8a20;
}
.campaign-footer {
  display: flex;
  gap: 5px;
  align-items: center;
  border-top: 1px solid #919bb91c;
  margin-top: 12px;
  padding-top: 12px;
}
.app-toggle {
  position: relative;
  flex: none;
  width: 31px;
  height: 18px;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  margin-left: auto;
  background: #c1c9db;
  box-shadow: inset 0 1px 2px #0001;
  transition: background 0.18s;
}
.app-toggle[aria-checked="true"] {
  background: linear-gradient(135deg, #718aff, #3652fb);
  box-shadow:
    inset 0 1px 0 #ffffff60,
    0 3px 5px #4057ec26;
}
.app-toggle > span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0002;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.app-toggle[aria-checked="true"] > span {
  transform: translateX(13px);
}
.app-tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 4;
  width: 195px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #fff;
  background: #18223e;
  font-size: 9px;
  box-shadow: 0 6px 20px #14264d26;
  opacity: 0;
  transform: translateY(4px) scale(0.94);
  transition:
    opacity 0.18s,
    transform 0.18s;
  pointer-events: none;
}
.campaign-metrics:has(.tooltip-target:hover) .app-tooltip,
.campaign-metrics:has(.tooltip-target:focus-visible) .app-tooltip,
.campaign-metrics:has(.tooltip-target[aria-expanded="true"]) .app-tooltip {
  opacity: 1;
  transform: none;
}
.marketing-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}
.marketing-kpi {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  padding: 18px 14px;
  text-align: left;
  color: #171d3a;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.marketing-kpi:hover,
.marketing-kpi.demo-hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #738bff30,
    0 15px 35px -15px #324a9a40;
}
.marketing-kpi > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 9px;
  color: #818ca8;
}
.marketing-kpi .app-icon {
  width: 14px;
  height: 14px;
  color: #4667fa;
}
.marketing-kpi .kpi-value {
  display: block;
  font-size: clamp(21px, 2.2vw, 32px);
  font-weight: 600;
  margin-top: 24px;
}
.gradient-kpi .kpi-value {
  background: linear-gradient(100deg, #3c65ff, #8657ff 70%, #c268d9);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.gradient-kpi .kpi-value small {
  color: #b16bdc;
}
.marketing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
}
.marketing-chips .app-pill {
  gap: 0.3em;
  font-size: 8px;
  min-height: 22px;
  padding: 4px 6px;
  background: #f0f3fc;
  border: 0;
}
.revenue-chart {
  padding: 22px;
}
.chart-plot {
  display: flex;
  height: 180px;
  gap: 14px;
  margin-top: 24px;
}
.chart-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 5px;
  font-size: 9px;
  color: #9ba4b9;
  white-space: nowrap;
}
.chart-plot > svg {
  flex: 1;
  width: 0;
  overflow: visible;
}
.chart-grid {
  fill: none;
  stroke: #e8edf7;
  stroke-width: 1;
}
.revenue-line {
  fill: none;
  stroke: #5377f5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.revenue-area {
  fill: #5377f512;
}
.chart-days {
  display: flex;
  justify-content: space-between;
  padding-left: 65px;
  margin-top: 12px;
  font-size: 9px;
  color: #8c97b0;
}
.delivery-scrim {
  position: absolute;
  z-index: 5;
  inset: 0;
  background: #111a323d;
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.delivery-panel {
  position: absolute;
  z-index: 6;
  top: 12px;
  bottom: 12px;
  right: 12px;
  width: min(78%, 600px);
  border: 1px solid #fff;
  border-radius: 20px;
  background: #fcfdff;
  box-shadow:
    -12px 4px 48px #17254529,
    inset 0 1px 0 #fff;
  padding: 22px;
  opacity: 0;
  transform: translateX(103%);
  transition:
    opacity 0.4s,
    transform 0.5s var(--ease);
  overflow-y: auto;
  scrollbar-width: thin;
}
.delivery-panel.is-open {
  opacity: 1;
  transform: none;
}
.delivery-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}
.delivery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.delivery-heading h4 {
  font-size: 17px;
}
.delivery-heading p {
  color: #8d98b1;
  font-size: 9px;
  margin-top: 4px;
}
.app-close {
  width: 28px;
  height: 28px;
  border: 1px solid #e2e6f0;
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
  color: #8791a9;
  transition: background 0.18s;
}
.app-close:hover {
  background: #eaf0ff;
}
.delivery-intro {
  background: #f1f4ff;
  border: 1px solid #e2e8fc;
  border-radius: 12px;
  padding: 12px;
  margin: 16px 0;
  font-size: 10px;
  color: #8390ab;
}
.delivery-row {
  border: 1px solid #e5e9f3;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
  background: #fff;
}
.delivery-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.delivery-name > span {
  font-size: 10px;
  color: #8f85ef;
}
.delivery-name .delivery-result {
  margin-left: auto;
  color: #269875;
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 999px;
}
.delivery-row dl {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 6px 10px;
  font-size: 10px;
  margin: 12px 0 0;
}
.delivery-row dt {
  color: #8c98b0;
}
.delivery-row dd {
  margin: 0;
}
.delivery-check {
  color: #4f86f4;
  margin-left: 5px;
}
/* Messages screen follows the real cabinet: list and chat are two cards,
   no page title, outgoing (AI) messages on the right in solid blue. */
.app-main.inbox-main {
  padding: 12px 12px 12px 14px;
}
.inbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.3fr);
  gap: 12px;
  height: 100%;
}
.inbox-layout > .app-card {
  padding: 0;
  overflow: hidden;
  min-width: 0;
}
.inbox-people {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px !important;
}
.inbox-top {
  display: flex;
  gap: 6px;
}
.inbox-search,
.inbox-new {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #e3e8f4;
  background: #fff;
  font-size: 9px;
  color: #8e98b0;
  white-space: nowrap;
}
.inbox-search {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.inbox-new {
  color: #4c5878;
}
.inbox-top .app-icon {
  width: 13px;
  height: 13px;
}
.inbox-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 12px;
  background: #f1f3f9;
  text-align: center;
}
.inbox-tabs > span {
  padding: 6px 4px;
  border-radius: 9px;
}
.inbox-tabs .is-active {
  background: #fff;
  box-shadow: 0 1px 3px #1a2a5714;
}
.inbox-tabs b {
  display: block;
  font-size: 9px;
  font-weight: 550;
  color: #59647f;
}
.inbox-tabs .is-active b {
  color: #3e60ff;
}
.inbox-tabs small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  color: #8e98b0;
  white-space: nowrap;
}
.inbox-channels {
  display: flex;
  gap: 6px;
}
.inbox-channels > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e3e8f4;
  background-color: #fff;
  color: #3e60ff;
}
.inbox-channels > .is-active {
  border-color: #3e60ff;
  box-shadow: 0 0 0 2px #3e60ff1f;
}
.inbox-channels .app-icon {
  width: 12px;
  height: 12px;
}
/* Channel badges: the white brand mark on the messenger's color. */
.ch-tg,
.ch-wa,
.ch-max {
  background: center / 62% no-repeat;
}
.inbox-channels .ch-tg,
.inbox-channels .ch-wa,
.inbox-channels .ch-max {
  background-size: 52%;
  opacity: 0.45;
  border-color: transparent;
}
.app-avatar em.ch-tg,
.app-avatar em.ch-wa,
.app-avatar em.ch-max,
.route-pill em {
  background-position: center;
  background-size: 64%;
  background-repeat: no-repeat;
}
.ch-tg {
  background-color: #2aa3e0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z'/%3E%3C/svg%3E");
}
.ch-wa {
  background-color: #25c06d !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.498 14.382c-.301-.15-1.767-.867-2.04-.966-.273-.101-.473-.15-.673.15-.197.295-.771.964-.944 1.162-.175.195-.349.21-.646.075-.3-.15-1.263-.465-2.403-1.485-.888-.795-1.484-1.77-1.66-2.07-.174-.3-.019-.465.13-.615.136-.135.301-.345.451-.523.146-.181.194-.301.297-.496.1-.21.049-.375-.025-.524-.075-.15-.672-1.62-.922-2.206-.24-.584-.487-.51-.672-.51-.172-.015-.371-.015-.571-.015-.2 0-.523.074-.797.359-.273.3-1.045 1.02-1.045 2.475s1.07 2.865 1.219 3.075c.149.195 2.105 3.195 5.1 4.485.714.3 1.27.48 1.704.629.714.227 1.365.195 1.88.121.574-.091 1.767-.721 2.016-1.426.255-.705.255-1.29.18-1.425-.074-.135-.27-.21-.57-.345m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.002-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.83 9.83 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.81 11.81 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.88 11.88 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.82 11.82 0 0 0 20.488 3.488'/%3E%3C/svg%3E");
}
.ch-max {
  background-color: #6f5cf6 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42' fill='%23fff'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.47 41.88c-4.11 0-6.02-.6-9.34-3-2.1 2.7-8.75 4.81-9.04 1.2 0-2.71-.6-5-1.28-7.5C1 29.5.08 26.07.08 21.1.08 9.23 9.82.3 21.36.3c11.55 0 20.6 9.37 20.6 20.91a20.6 20.6 0 0 1-20.49 20.67m.17-31.32c-5.62-.29-10 3.6-10.97 9.7-.8 5.05.62 11.2 1.83 11.52.58.14 2.04-1.04 2.95-1.95a10.4 10.4 0 0 0 5.08 1.81 10.7 10.7 0 0 0 11.19-9.97 10.7 10.7 0 0 0-10.08-11.1Z'/%3E%3C/svg%3E");
}
.inbox-channels > [class^="ch-"]:hover {
  opacity: 1;
}
.inbox-people .chat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 -4px;
}
.inbox-people .app-chat-row {
  align-items: flex-start;
  gap: 10px;
  padding: 9px 8px;
  border-top: 0;
}
.inbox-people .app-chat-row.is-active {
  background: #e9eeff;
}
.inbox-people .app-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.app-avatar em.ch-tg,
.app-avatar em.ch-wa,
.app-avatar em.ch-max {
  width: 16px;
  height: 16px;
}
.inbox-people .chat-row-copy {
  flex: 1;
  padding-right: 26px;
}
.inbox-people .chat-row-copy small {
  max-width: none;
  margin-top: 3px;
}
.chat-row-phone {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: #3e60ff;
  font-variant-numeric: tabular-nums;
}
.inbox-people .unread {
  position: absolute;
  right: 8px;
  top: 28px;
}
.live-conversation {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.live-chat-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e7ebf4;
}
.live-chat-head .app-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}
.client-head {
  min-width: 0;
}
.live-chat-head b {
  font-size: 12px;
  font-weight: 600;
}
.live-chat-head small {
  display: block;
  font-size: 9px;
  color: #3e60ff;
  margin-top: 3px;
}
.client-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 7px;
  font-size: 8px;
  color: #6f7a94;
}
.client-chips > span {
  white-space: nowrap;
}
.client-chips .client-booked {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid #b9e3cf;
  background: #eaf8f1;
  color: #23865b;
  font-weight: 550;
}
.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #5574e8;
  background: #e9efff;
  font-size: 8px;
  white-space: nowrap;
}
.ai-chip .app-icon {
  width: 12px;
  height: 12px;
}
.live-bubbles {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f7f8fc;
}
.live-bubbles .bubble {
  max-width: 78%;
  font-size: 10px;
  box-shadow: none;
}
.live-bubbles .incoming {
  color: #27324f;
  background: #fff;
  border: 1px solid #e6eaf3;
}
.live-bubbles .incoming small {
  color: #8b9ab8;
}
.live-bubbles .outgoing {
  background: #3654ee;
  color: #fff;
}
.live-bubbles .outgoing small {
  color: #c9d4ff;
}
.live-bubbles .conversation-date {
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #e3e8f4;
  background: #fff;
  font-size: 8px;
}
/* The indicator sits where the AI answer will appear: right side, last line. */
.live-bubbles .ai-typing {
  align-self: flex-end;
  padding: 8px 11px;
  border-radius: 14px 14px 6px 14px;
  background: #e8edff;
}
.live-bubbles .ai-typing[hidden],
html:not(.js) .live-bubbles .ai-typing {
  display: none;
}
.booking-confirmation {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #23865b;
  font-size: 9px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf8f1;
}
.booking-confirmation .app-icon {
  width: 12px;
  height: 12px;
}
.ai-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #728ad4;
}
.ai-typing .app-icon {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}
.ai-typing > i {
  width: 3px;
  height: 3px;
  background: #7892db;
  border-radius: 50%;
}
.ai-typing > span {
  color: transparent;
  background: linear-gradient(
    90deg,
    #98a5c9 10%,
    #3e60ff 40%,
    #c6d4ff 50%,
    #98a5c9 80%
  );
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
}
.live-composer {
  display: grid;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid #e7ebf4;
  color: #8e9bb6;
  font-size: 9px;
}
.composer-route {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 5px;
  border-radius: 999px;
  border: 1px solid #e3e8f4;
  color: #27324f;
  font-weight: 550;
}
.route-pill em {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.route-pill > span {
  color: #8e98b0;
  font-weight: 400;
}
.composer-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #59647f;
}
.composer-tools > b,
.composer-tools > i,
.composer-tools > s {
  font-size: 10px;
  width: 10px;
}
.composer-ai {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: #3e60ff;
  color: #fff;
  font-size: 9px;
  font-weight: 550;
  box-shadow: 0 4px 12px -4px #3e60ff99;
}
.composer-ai .app-icon {
  width: 12px;
  height: 12px;
}
.composer-instr {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e3e8f4;
  color: #27324f;
  font-weight: 550;
  white-space: nowrap;
}
.composer-input {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 6px 6px 12px;
  border: 1px solid #dfe5f2;
  border-radius: 14px;
  background: #fff;
  font-size: 10px;
}
.composer-send {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #eef2ff;
  color: #3e60ff;
  font-size: 15px;
}
.composer-ai:hover {
  background: #2747d8;
}
.composer-send:hover {
  background: #dce5ff;
}
.input-caret {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #8a9bc7;
  flex: none;
}
/* Additional editorial sections retain their content, with a single radius scale. */
.quote {
  margin-top: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 44px;
  background:
    radial-gradient(ellipse 45% 120% at 0 0, #7c5cff2e, transparent 70%),
    radial-gradient(ellipse 50% 90% at 100% 100%, #3e60ff24, transparent 70%),
    linear-gradient(180deg, #111630, #0b0f22);
}
.quote-mark {
  grid-row: 1 / 3;
  font-size: 90px;
  line-height: 1;
  color: #8fa6ff;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.4;
  letter-spacing: -0.022em;
}
.quote figcaption {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.quote figcaption span:first-child {
  color: #c9d2f5;
  font-weight: 500;
}
.mobile-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
.mobile-copy {
  max-width: 470px;
}
.mobile-copy h2 {
  margin: 18px 0 24px;
}
.mobile-copy > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}
.mobile-copy > p.mobile-note {
  font-size: 12px;
  margin-top: 24px;
  max-width: 370px;
}
.mobile-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding: 48px 20px;
}
.mobile-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 8%;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 45%, #3e60ff66, #2340d82e 55%, transparent),
    radial-gradient(closest-side at 72% 78%, #7c5cff38, transparent);
  filter: blur(24px);
}
/* z-index makes the phone its own stacking context, so the chat overlay
   inside it (z-index 6) cannot rise above the floating cards. */
.phone-frame {
  position: relative;
  z-index: 1;
  width: 350px;
  max-width: 100%;
  padding: 7px;
  border: 2px solid #31394c;
  border-radius: 48px;
  background: #0b101b;
  box-shadow:
    inset 0 0 0 1px #7f8799,
    0 2px 4px #00000a66,
    0 40px 80px -24px #00000acc,
    0 0 120px -30px #3e60ff8c;
}
.phone-island {
  position: absolute;
  z-index: 10;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 23px;
  border-radius: 999px;
  background: #080c14;
}
.phone-screen {
  position: relative;
  height: 740px;
  border-radius: 38px;
  overflow: hidden;
  font-size: 10px;
}
/* The phone shows the cabinet in its dark theme (CRM default), like #dashboard. */
.phone-screen.is-dark {
  color: #eef1ff;
  background:
    radial-gradient(ellipse 260px 70px at 72% 9%, #9fb2ff80, #7c96ff33 40%, transparent 70%),
    radial-gradient(ellipse 520px 240px at 70% 12%, #3e60ff, #2f4ae0b3 30%, #2340d84d 55%, transparent 76%),
    radial-gradient(ellipse 300px 320px at 12% 84%, #3e60ff33, transparent 72%),
    linear-gradient(180deg, transparent 45%, #05071480 100%),
    #060818;
}
.phone-status {
  position: relative;
  z-index: 7;
  display: flex;
  justify-content: space-between;
  height: 42px;
  padding: 11px 23px 0;
  color: #eef1ff;
  font-size: 10px;
}
.phone-status b {
  font-weight: 600;
}
.phone-status svg {
  width: 54px;
  height: 12px;
  fill: currentColor;
}
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 4px;
}
.phone-app-header > b {
  font-size: 15px;
  font-weight: 600;
}
.phone-app-header > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid #ffffff26;
  border-radius: 999px;
  font-size: 10px;
  color: #c9d2f5;
  background: linear-gradient(#ffffff1a, #ffffff08);
  box-shadow: inset 0 1px 0 #ffffff26;
}
.phone-app-header .app-icon {
  width: 13px;
  height: 13px;
}
.phone-home {
  padding: 18px 12px 0;
}
.phone-home .app-greeting {
  display: block;
}
.phone-home .app-greeting h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.phone-home .app-greeting p {
  font-size: 10px;
  margin-top: 7px;
}
.phone-home .app-channels {
  margin: 18px -12px 15px 0;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.phone-home .app-channels > span:first-child {
  display: none;
}
.phone-home .channel-chip {
  flex: none;
  padding: 9px 11px;
  font-size: 10px;
}
.phone-home .contact-card {
  padding: 15px;
  border-radius: 24px;
}
.phone-home .contact-count > span {
  font-size: 40px;
}
.phone-home .contact-count {
  margin: 6px 0 8px;
}
.phone-home .contact-row {
  font-size: 10px;
  padding-block: 6px;
}
.phone-home .contact-row > span {
  font-size: 8px;
}
.phone-home .contact-card .glass-pill {
  margin-top: 2px;
}
.phone-home .chats-card {
  margin-top: 14px;
  padding: 16px;
}
.phone-home .chat-list {
  grid-template-columns: 1fr;
}
.is-dark .phone-home .date-pill,
.is-dark .phone-home .channel-chip {
  border-color: #ffffff26;
  background: linear-gradient(#ffffff1a, #ffffff08);
  box-shadow:
    inset 0 1px 0 #ffffff26,
    0 8px 24px -14px #00000acc;
}
.is-dark .phone-home .app-chat-row {
  border-top-color: #ffffff12;
}
.is-dark .phone-home .app-avatar,
.is-dark :is(.phone-chat, .client-panel) .app-avatar {
  border-color: #ffffff1f;
  background: linear-gradient(#1b2142, #12162e);
  color: #c9d2f5;
}
.is-dark .phone-home .app-avatar em,
.is-dark :is(.phone-chat, .client-panel) .app-avatar em {
  box-shadow: 0 0 0 2px #0d1126;
}
.phone-bottom-nav {
  position: absolute;
  z-index: 7;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  padding: 10px 3px 17px;
  background: #0b0f22e6;
  border-top: 1px solid #ffffff14;
  backdrop-filter: blur(20px);
}
.phone-bottom-nav::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 33%;
  right: 33%;
  height: 3px;
  background: #eef1ffb3;
  border-radius: 999px;
}
.phone-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 7px;
  color: #6f7aa0;
}
.phone-nav-item .app-icon {
  width: 21px;
  height: 21px;
}
.phone-nav-item[aria-pressed="true"],
.phone-nav-item:hover {
  color: #9db0ff;
}
.phone-nav-item[data-view="Сообщения"]::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fc646f;
  border: 1px solid #0b0f22;
}
.phone-push {
  position: absolute;
  z-index: 8;
  top: 48px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid #96aaff33;
  border-radius: 18px;
  background: #161c38e6;
  backdrop-filter: blur(24px);
  box-shadow:
    0 12px 32px #00000a99,
    inset 0 1px 0 #ffffff1a;
  color: #c9d2f5;
  font-size: 11px;
  text-align: left;
  opacity: 0;
  transform: translateY(-120%);
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.65s var(--ease);
}
.phone-push.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.phone-push b {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 10px;
  color: #eef1ff;
}
.phone-push b small {
  font-size: 8px;
  font-weight: 400;
  color: #8d97b8;
}
.phone-push > span:last-child {
  flex: 1;
}
.push-icon {
  padding: 8px;
  border-radius: 10px;
  background: #3e60ff;
  color: #fff;
}
.phone-chat {
  position: absolute;
  z-index: 6;
  inset: 0;
  padding-top: 42px;
  background: #080b1c;
}
.is-dark :is(.phone-chat, .client-panel) .app-close {
  border-color: #ffffff1f;
  background: #ffffff0f;
  color: #c9d2f5;
}
.is-dark :is(.phone-chat, .client-panel) .live-chat-head small {
  color: #9db0ff;
}
.is-dark :is(.phone-chat, .client-panel) .client-chips {
  border-bottom-color: #ffffff14;
}
.is-dark :is(.phone-chat, .client-panel) .client-chips > span {
  border-color: #ffffff1f;
  background: #ffffff0a;
  color: #c9d2f5;
}
.is-dark :is(.phone-chat, .client-panel) .client-chips .client-alert {
  border-color: #f5a52447;
  background: #f5a5241f;
  color: #ffc46b;
}
.is-dark :is(.phone-chat, .client-panel) .live-bubbles {
  background: none;
}
.is-dark :is(.phone-chat, .client-panel) .incoming {
  border-color: #ffffff14;
  background: #161c38;
  color: #e8ecff;
}
.is-dark :is(.phone-chat, .client-panel) .incoming small {
  color: #8d97b8;
}
.is-dark :is(.phone-chat, .client-panel) .conversation-date {
  border-color: #ffffff1f;
  background: #ffffff0f;
  color: #98a4c2;
}
.is-dark :is(.phone-chat, .client-panel) .live-composer {
  border-top-color: #ffffff14;
  background: #0b0f22;
}
.is-dark :is(.phone-chat, .client-panel) .composer-input {
  border-color: #ffffff1f;
  background: #ffffff08;
  color: #c9d2f5;
}
.is-dark :is(.phone-chat, .client-panel) .input-caret {
  background: #8d97b8;
}
.is-dark :is(.phone-chat, .client-panel) .client-send {
  background: #ffffff14;
  box-shadow: inset 0 0 0 1px #ffffff26;
  color: #eef1ff;
}
.is-dark :is(.phone-chat, .client-panel) .client-send:hover {
  background: #ffffff24;
}
/* The hero's client card in the dark cabinet: the same tokens as the phone chat. */
.is-dark .client-panel {
  border-color: #96aaff26;
  background: #0b0f22d9;
  box-shadow:
    inset 0 1px 0 #ffffff14,
    0 30px 60px -20px #000000b3;
}
.is-dark .client-chat,
.is-dark .client-facts {
  background: #080b1c;
  box-shadow: inset 0 0 0 1px #ffffff14;
}
.is-dark .client-panel .live-chat-head {
  border-bottom-color: #ffffff14;
}
.is-dark .client-panel .route-pill {
  border-color: #ffffff1f;
  color: #e8ecff;
}
.is-dark .client-facts dl > div {
  border-top-color: #ffffff14;
}
.is-dark .client-facts dt,
.is-dark .client-visits li > span:first-child,
.is-dark .client-source {
  color: #8d97b8;
}
.is-dark .client-visits li {
  background: #ffffff0a;
}
.is-dark .client-source .yclients-glyph {
  background: #ffffff14;
}
.phone-chat .live-chat-head .app-close {
  margin-right: 2px;
}
.phone-chat .bubble {
  font-size: 12px;
}
.phone-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 264px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #96aaff26;
  border-radius: 18px;
  background: linear-gradient(180deg, #161c3ae6, #0d1127e6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 #ffffff14,
    0 24px 48px -16px #00000acc,
    0 0 48px -16px #3e60ff66;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  animation: phone-float 7s ease-in-out infinite;
}
.phone-float b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
}
.float-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(160deg, #3e60ff, #2340d8 45%, #141f78);
  box-shadow: inset 0 0 0 1px #ffffff2e, inset 0 1px 0 #ffffff47;
  color: #fff;
}
/* Cards overlap the phone (175px is half of it) by 30px, but never reach
   more than 60px beyond the stage toward the copy. The left ones sit over the
   padding of the contact card, not over text. */
.float-booking {
  top: 32%;
  left: max(-60px, calc(50% - 409px));
}
.float-booking .float-icon {
  background: linear-gradient(160deg, #2fcf9a, #16835f);
}
.float-reply {
  top: 50%;
  right: max(-32px, calc(50% - 409px));
  animation-delay: -2.4s;
}
.float-report {
  top: 66%;
  left: max(-60px, calc(50% - 409px));
  animation-delay: -4.8s;
}
.float-report .float-icon {
  background: linear-gradient(160deg, #8b6cff, #4b2fc9 50%, #2a1a7a);
}
@keyframes phone-float {
  50% {
    transform: translateY(-8px);
  }
}
.numbers-section {
  margin-top: 110px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background:
    radial-gradient(ellipse 40% 80% at 50% 0, #3e60ff2e, transparent 75%),
    radial-gradient(ellipse 35% 70% at 100% 100%, #7c5cff1f, transparent 70%),
    linear-gradient(180deg, #111630, #0b0f22);
}
.numbers-grid {
  position: relative;
}
/* Cursor spotlight: lit through cells, dividers and text alike. */
.numbers-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    #6d86ff2b,
    transparent 70%
  );
  mix-blend-mode: plus-lighter;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.numbers-grid > div {
  padding: 34px 28px;
}
.numbers-grid .large-number,
.numbers-grid p + p {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease,
    color 0.35s ease;
}
@media (hover: hover) {
  .numbers-grid:hover::after {
    opacity: 1;
  }
  .numbers-grid > div:hover .large-number {
    transform: translateY(-4px);
    filter: drop-shadow(0 0 22px #6d86ff8c);
  }
  .numbers-grid > div:hover p + p {
    color: #c9d2f5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .numbers-grid > div:hover .large-number {
    transform: none;
  }
}
.numbers-grid > div:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--line);
}
.numbers-grid > div:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}
.large-number {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, #fff 30%, #9db0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.large-number small {
  font-size: 20px;
}
.numbers-grid p + p {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.offer-section {
  position: relative;
  margin-top: 90px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background:
    radial-gradient(ellipse 55% 110% at 100% 0, #3e60ff47, transparent 70%),
    radial-gradient(ellipse 40% 90% at 0 100%, #7c5cff1f, transparent 70%),
    linear-gradient(180deg, #111630, #0b0f22);
}
/* #cta lands on the card top, like #offer, so the heading and the form show together. */
.anchor-target {
  position: absolute;
  top: 0;
  left: 0;
}
.offer-section h2 {
  font-size: 36px;
  margin: 18px 0;
}
.offer-section p:not(.eyebrow):not(.price):not(.lead-msg) {
  font-size: 13px;
  color: var(--muted);
}
.price-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.price {
  font-size: 56px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 30%, #9db0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price > span {
  display: block;
  margin: 12px 0 20px;
  white-space: normal;
  font-size: 14px;
  letter-spacing: 0;
  -webkit-text-fill-color: #c9d2f5;
}
.lead-form {
  display: grid;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 50px;
}
.field {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px;
  background: #0a0e24b3;
  box-shadow:
    inset 0 1px 2px #00000066,
    0 0 0 1px var(--line);
  outline: none;
  transition: box-shadow 0.18s;
}
.field::placeholder {
  color: #6f7898;
}
.field:focus-visible {
  box-shadow:
    inset 0 1px 2px #00000066,
    0 0 0 1px #6d86ff,
    0 0 0 4px #3e60ff33;
}
.field[aria-invalid="true"] {
  box-shadow:
    inset 0 1px 2px #00000066,
    0 0 0 1px #ff6b81;
}
.lead-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.lead-check input {
  appearance: none;
  width: 24px;
  height: 24px;
  margin: -3px 0 0;
  border-radius: 7px;
  background: #0a0e24 center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px #96aaff4d;
  cursor: pointer;
  transition: background-color 0.18s, box-shadow 0.18s;
}
.lead-check input:checked {
  background-color: #3e60ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px #6d86ff;
}
.lead-check input:focus-visible {
  box-shadow:
    inset 0 0 0 1px #6d86ff,
    0 0 0 4px #3e60ff33;
}
.lead-check a {
  color: #c9d2f5;
  text-decoration: underline;
  text-decoration-color: #c9d2f566;
  text-underline-offset: 2px;
}
.lead-form .button {
  justify-self: start;
  margin-top: 8px;
}
.lead-form .button:disabled {
  opacity: 0.6;
  cursor: default;
}
.lead-msg {
  min-height: 1.5em;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.lead-msg[data-state="error"] {
  color: #ff8a9b;
}
.lead-msg[data-state="ok"] {
  color: #7fe3a8;
}
/* After sending, the form keeps its height (lead-form.js pins it) and shows
   one centred thank-you block in place of the fields. */
.lead-form.is-sent {
  align-content: center;
}
.lead-form.is-sent .field,
.lead-form.is-sent .lead-check,
.lead-form.is-sent .button {
  display: none;
}
.lead-form.is-sent .lead-msg {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
}
.lead-form.is-sent .lead-msg::before {
  content: "";
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #3fcf8e24 center / 22px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%237fe3a8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px #7fe3a84d;
}
.lead-msg b {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.referral-section {
  margin-top: 0;
  margin-bottom: 120px;
  background:
    radial-gradient(ellipse 50% 100% at 0 0, #7c5cff29, transparent 70%),
    linear-gradient(180deg, #0f1430, #0a0e22);
}
.faq-section {
  margin-top: 120px;
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.faq-section h2 {
  font-size: 46px;
  margin: 18px 0 30px;
}
.faq-section > div:first-child > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}
.faq-section .text-link {
  margin-top: 8px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  padding: 24px 36px 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s;
}
.faq-list summary:hover {
  color: #8fa6ff;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 22px;
  font-size: 22px;
  font-weight: 400;
  color: #8fa6ff;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  padding: 0 40px 24px 0;
  font-size: 14px;
  color: var(--muted);
}
/* One observer owns reveals; without JS all content is already visible. */
.js .reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    filter 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-revealed {
  opacity: 1;
  filter: none;
  transform: none;
}
/* Scroll-linked assembly (scroll-motion.js): --scroll-p goes 0 → 1 as a block
   scrolls in and back on the way up. The short transition only smooths wheel steps. */
.js .scroll-motion {
  --scroll-k: calc(1 - var(--scroll-p, 1));
  opacity: calc(0.4 + 0.6 * var(--scroll-p, 1));
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.js .scroll-motion:not(.is-settled) {
  will-change: transform, opacity;
}
.js .scroll-motion[data-scroll="text"] {
  transform: translateY(calc(var(--scroll-k) * 28px));
}
.js .scroll-motion[data-scroll="frame"] {
  transform: translateY(calc(var(--scroll-k) * 56px))
    scale(calc(1 - var(--scroll-k) * 0.06));
}
.js .scroll-motion[data-scroll="side"] {
  transform: translate(
    calc(var(--scroll-k) * var(--scroll-dx, 0px)),
    calc(var(--scroll-k) * var(--scroll-dy, 0px))
  );
}
.js .scroll-motion.is-settled {
  opacity: 1;
  transform: none;
}
.js .hero-enter {
  animation: hero-enter 1s var(--ease) both;
  animation-delay: calc(var(--enter-delay, 0ms) + 450ms);
}
.hero-copy > :nth-child(2) {
  --enter-delay: 100ms;
}
.hero-copy > :nth-child(3) {
  --enter-delay: 200ms;
}
.hero-copy > :nth-child(4) {
  --enter-delay: 300ms;
}
.hero-copy > :nth-child(5) {
  --enter-delay: 400ms;
}
/* H1 — вероятный LCP: без задержки и без прозрачности, только сдвиг. */
.js #hero-title.hero-enter {
  animation-name: hero-title-enter;
  animation-delay: 0ms;
}
@keyframes hero-title-enter {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes hero-enter {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
@keyframes line-reveal {
  from {
    transform: scaleX(0);
    opacity: 0.2;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
@keyframes caret {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}
@keyframes shimmer {
  from {
    opacity: 0.6;
    transform: translateX(-120%);
  }
  to {
    opacity: 0;
    transform: translateX(350%);
  }
}
@keyframes dot {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.js .input-caret,
.js .chat-composer > span:first-child::after {
  animation: caret 1.25s steps(1) infinite;
}
.ai-typing > span {
  position: relative;
  overflow: hidden;
}
.js .ai-typing > span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, #ffffffa0, transparent);
  animation: shimmer 2s linear infinite;
}
.js .ai-typing > i {
  animation: dot 1.4s ease-in-out infinite;
}
.js .ai-typing > i:nth-of-type(2) {
  animation-delay: 0.15s;
}
.js .ai-typing > i:nth-of-type(3) {
  animation-delay: 0.3s;
}
.chart-reveal {
  transform-origin: 0 0;
}
.is-drawing .chart-reveal {
  animation: line-reveal 1.2s var(--ease) both;
}
.motion-paused *,
.motion-paused::before {
  animation-play-state: paused !important;
}
.demo-cursor {
  position: absolute;
  z-index: 15;
  top: 0;
  left: 0;
  width: 23px;
  height: 28px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 2px #0b173040);
  transition: opacity 0.3s;
  will-change: transform;
}
.demo-cursor svg {
  width: 100%;
  height: 100%;
}
.demo-cursor.is-visible {
  opacity: 1;
}
.demo-cursor.is-finger {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #ffffff80;
  border: 2px solid #fff;
  box-shadow:
    0 0 0 1px #3353bc50,
    0 2px 8px #1d329b30;
}
.demo-click-ring {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 14;
  width: 24px;
  height: 24px;
  border: 2px solid #718aff;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1400px, calc(100% - 144px));
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-product {
    width: 1280px;
  }
  .app-shell {
    height: 700px;
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .app-main {
    padding: 30px;
  }
  .chat-row-copy small {
    max-width: 170px;
  }
  .campaign-card {
    padding: 20px;
  }
  .campaign-card h4 {
    font-size: 14px;
  }
  .campaign-metrics > span,
  .metric-chip {
    font-size: 9px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    width: calc(100% - 48px);
  }
  .site-nav {
    gap: 22px;
  }
  .hero-product {
    width: calc(100% - 64px);
  }
  .app-shell {
    grid-template-columns: 160px minmax(0, 1fr);
    height: 610px;
  }
  .app-sidebar {
    padding: 12px 8px;
  }
  .app-main {
    padding: 22px 18px;
  }
  .salon-name {
    font-size: 9px;
  }
  .app-menu-item {
    font-size: 10px;
  }
  .date-pill {
    display: none;
  }
  .chats-card,
  .contact-card {
    padding: 16px;
  }
  .chat-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .app-chat-row {
    padding-block: 8px;
  }
  .chats-card .app-chat-row:nth-child(n + 5) {
    display: none;
  }
  .home-kpis {
    gap: 8px;
  }
  .app-kpi {
    padding: 12px;
  }
  .period-pills .app-pill {
    font-size: 8px;
  }
  .home-grid {
    gap: 12px;
  }
  .app-greeting h3 {
    font-size: 25px;
  }
  .contact-count small {
    font-size: 8px;
  }
  .contact-row > span {
    font-size: 8px;
  }
  .product-panel {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .panel-copy {
    padding: 32px 24px;
  }
  .panel-copy h2 {
    font-size: 31px;
  }
  .chat-stage {
    padding-inline: 20px;
  }
  .integration-strip {
    flex-wrap: wrap;
    justify-content: center;
  }
  .integration-label {
    display: none;
  }
  .campaign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .campaign-card:nth-child(n + 5) {
    display: none;
  }
  .marketing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .marketing-kpi {
    padding: 14px;
  }
  .marketing-kpi .kpi-value {
    margin-top: 12px;
  }
  .marketing-grid .marketing-kpi:nth-child(n + 4) {
    display: none;
  }
  .overview-grid .app-kpi {
    padding: 14px;
  }
  .date-filter {
    border-radius: 16px;
    flex-wrap: wrap;
  }
  .analytics-frame {
    grid-template-columns: 1fr;
  }
  .mobile-section {
    gap: 32px;
  }
  .numbers-grid > div {
    padding: 28px 20px;
  }
  .large-number {
    font-size: 40px;
  }
  .offer-section {
    padding: 36px;
    gap: 36px;
  }
  .lead-form {
    padding-left: 32px;
  }
  .offer-section h2 {
    font-size: 31px;
  }
  .faq-section {
    gap: 38px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 88px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  h2 {
    font-size: 30px;
  }
  .site-header {
    height: 64px;
    width: calc(100% - 24px);
    top: 6px;
    padding-inline: 12px;
    border-radius: 16px;
  }
  .wordmark > span {
    font-size: 30px;
  }
  .wordmark img {
    width: 26px;
    height: 26px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 40px;
    border: 1px solid #ffffff25;
    border-radius: 999px;
    padding: 6px 14px;
    background: #ffffff08;
    font-size: 12px;
  }
  .menu-toggle:hover {
    background: #ffffff20;
  }
  .menu-toggle span {
    font-size: 20px;
    transition: transform 0.18s;
  }
  .menu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: #111d3af2;
    backdrop-filter: blur(24px);
    border: 1px solid #ffffff20;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 40px #0002;
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a {
    padding-block: 6px;
    font-size: 15px;
  }
  .hero {
    padding-bottom: 48px;
  }
  .hero-copy {
    padding: 128px 18px 0;
  }
  .hero h1 {
    font-size: clamp(38px, 10.7vw, 55px);
    line-height: 1.07;
    max-width: 450px;
    margin: 21px auto;
    letter-spacing: -0.025em;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.65;
    max-width: 340px;
    margin: auto;
    text-wrap: balance;
  }
  .actions {
    margin-top: 25px;
    gap: 8px;
  }
  /* One full-width pill per line: side by side they wrap into two-line pills. */
  .hero .actions {
    flex-direction: column;
    width: min(100%, 320px);
    margin-inline: auto;
  }
  .hero .button {
    font-size: 15px;
    gap: 8px;
    padding: 10px 18px;
    min-height: 48px;
    white-space: nowrap;
  }
  .hero-product {
    width: calc(100% - 28px);
    margin-top: 0;
  }
  /* The scene keeps its proportions and is cropped at the sides, as on
     easya.io: the phone and the aipie tile stay large, the stacks peek in. */
  .hero-stage {
    width: 150vw;
    margin: 6vw 0 0 -25vw;
  }
  .live-app {
    border-radius: 16px;
  }
  .app-chrome {
    height: 31px;
    padding: 0 11px;
    gap: 7px;
    font-size: 7px;
  }
  .app-chrome .window-dots {
    margin-right: 2px;
    gap: 4px;
  }
  .window-dots i {
    width: 5px;
    height: 5px;
  }
  .chrome-divider {
    padding: 0 3px;
  }
  .app-shell {
    display: block;
    height: auto;
  }
  .app-sidebar {
    display: none;
  }
  .app-main {
    padding: 22px 14px;
  }
  .hero-app .app-main {
    padding: 22px 14px;
  }
  .app-greeting {
    display: block;
  }
  .app-greeting h3 {
    font-size: 25px;
  }
  .app-greeting p {
    font-size: 9px;
  }
  .app-channels {
    overflow-x: auto;
    scrollbar-width: none;
    margin: 20px -14px 16px 0;
    padding-right: 10px;
  }
  .app-channels > span:first-child {
    display: none;
  }
  .channel-chip {
    flex: none;
    font-size: 9px;
    padding: 7px 9px;
  }
  .channel-chip small {
    font-size: 9px;
  }
  .home-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-card,
  .chats-card {
    padding: 18px;
    border-radius: 20px;
  }
  .app-card-heading h4 {
    font-size: 12px;
  }
  .contact-count > span {
    font-size: 48px;
  }
  .contact-count small {
    font-size: 10px;
  }
  .contact-row {
    font-size: 10px;
    padding-block: 12px;
  }
  .contact-row > span {
    font-size: 9px;
  }
  .contact-card .app-pill {
    font-size: 10px;
  }
  .hero-app .chats-card {
    display: block;
  }
  .chat-list {
    grid-template-columns: 1fr;
  }
  .chat-row-copy small {
    max-width: 220px;
  }
  .chat-row-copy b {
    font-size: 11px;
  }
  .app-chat-row {
    padding-block: 12px;
  }
  .period-card {
    padding: 16px;
  }
  .period-card > .app-card-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .home-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-value {
    font-size: 24px;
  }
  .kpi-label {
    font-size: 9px;
  }
  .hero-app .app-shell {
    height: auto;
  }
  .hero-app .chats-card .app-chat-row:nth-child(n + 3) {
    display: none;
  }
  .film-section {
    padding-top: 56px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading .eyebrow {
    font-size: 12px;
  }
  .section-heading h2 {
    font-size: 29px;
    margin-top: 14px;
  }
  .section-heading h2 br {
    display: none;
  }
  .heading-aside {
    margin-top: 16px;
    font-size: 12px;
  }
  .heading-aside br {
    display: none;
  }
  .video-player {
    border-radius: 16px;
  }
  .video-play-button {
    left: 12px;
    bottom: 12px;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .product {
    padding-top: 64px;
  }
  .product-tabs,
  .screen-tabs {
    max-width: calc(100% - 20px);
    margin: 10px;
  }
  .product-tabs button,
  .screen-tabs button {
    font-size: 12px;
    min-height: 38px;
    padding-inline: 14px;
  }
  .product-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .panel-copy {
    padding: 30px 22px;
  }
  .panel-copy .eyebrow {
    font-size: 12px;
  }
  .panel-copy h2 {
    font-size: 29px;
    margin: 18px 0;
  }
  .panel-copy > p:not(.eyebrow):not(.panel-caption) {
    font-size: 13px;
  }
  .panel-copy .text-link {
    font-size: 12px;
    margin-top: 18px;
  }
  .panel-caption {
    font-size: 12px;
    margin-top: 18px;
  }
  .chat-stage {
    padding: 28px 16px;
    border-top: 1px solid var(--line);
  }
  .window-bar {
    font-size: 8px;
    gap: 8px;
    padding: 10px;
  }
  .window-status {
    font-size: 7px;
  }
  .messenger-head {
    padding: 13px;
    gap: 8px;
  }
  .messenger-head b {
    font-size: 11px;
  }
  .messenger-head small {
    font-size: 8px;
  }
  .messenger-head .avatar {
    width: 30px;
    height: 30px;
  }
  .conversation {
    padding: 13px;
    gap: 9px;
  }
  .bubble {
    font-size: 10px;
    padding: 10px 11px 7px;
    max-width: 91%;
  }
  .bubble small {
    font-size: 8px;
  }
  .bubble-author {
    font-size: 8px;
  }
  .appointment-note {
    font-size: 8px;
  }
  .return-title {
    padding: 22px 16px 8px;
  }
  .return-title h3 {
    font-size: 17px;
  }
  .return-title .liquid-chip {
    font-size: 8px;
  }
  .return-preview .ui-muted,
  .return-person {
    margin-inline: 16px;
  }
  .return-person {
    gap: 8px;
  }
  .return-person b {
    font-size: 11px;
  }
  .return-person small {
    font-size: 8px;
  }
  .state-pill {
    font-size: 8px;
    padding: 5px 6px;
  }
  .return-summary {
    margin-inline: 16px;
    font-size: 8px;
  }
  .integration-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 8px;
    padding: 24px 16px;
  }
  .integration-brand {
    flex: 0 0 calc((100% - 16px) / 3);
    font-size: 12px;
    gap: 5px;
    justify-content: center;
  }
  .integration-brand img {
    width: 17px;
    height: 17px;
  }
  .dashboard-section {
    margin-top: 72px;
    padding: 56px 0 64px;
  }
  .dashboard-stage {
    padding: 10px;
  }
  .dashboard-stage .app-main {
    padding: 20px 12px;
    min-height: 620px;
  }
  .app-page-title {
    margin-bottom: 20px;
  }
  .app-page-title h3 {
    font-size: 25px;
  }
  .app-page-title > span {
    font-size: 9px;
  }
  .inbox-layout {
    display: block;
    height: 560px;
  }
  .inbox-layout > .inbox-people {
    display: none;
  }
  .live-conversation {
    height: 100%;
  }
  .live-chat-head {
    padding: 12px;
  }
  .live-bubbles {
    padding: 12px;
  }
  .live-bubbles .bubble {
    max-width: 86%;
  }
  .composer-tools > b,
  .composer-tools > i,
  .composer-tools > s,
  .route-pill > span {
    display: none;
  }
  .booking-confirmation {
    font-size: 8px;
  }
  .ai-chip {
    font-size: 7px;
    padding: 5px 6px;
  }
  .analytics-pills {
    gap: 4px;
    margin-bottom: 16px;
  }
  .analytics-pills button {
    font-size: 9px;
    padding-inline: 12px;
  }
  .date-filter {
    padding: 12px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .date-filter > span {
    font-size: 9px;
  }
  .date-filter button {
    font-size: 8px;
  }
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .overview-grid .app-kpi {
    padding: 13px 10px;
    border-radius: 16px;
  }
  .overview-grid .kpi-value {
    font-size: 20px;
    gap: 2px;
    margin-top: 18px;
  }
  .overview-grid .kpi-foot > span {
    font-size: 7px;
  }
  .overview-grid .kpi-label {
    font-size: 9px;
  }
  .app-help {
    font-size: 9px;
  }
  .app-section-title {
    font-size: 14px;
  }
  .campaign-label {
    font-size: 10px;
  }
  .campaign-label > span:last-child {
    display: none;
  }
  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .campaign-card {
    padding: 18px;
    border-radius: 20px;
  }
  .campaign-card:nth-child(n + 4) {
    display: none;
  }
  .campaign-card h4 {
    font-size: 15px;
    min-height: 0;
  }
  .campaign-card > p {
    font-size: 11px;
    min-height: 0;
    margin: 8px 0 16px;
  }
  .campaign-metrics {
    min-height: 0;
    gap: 7px;
    padding: 12px;
  }
  .campaign-metrics > span,
  .metric-chip,
  .campaign-footer > span {
    font-size: 10px;
  }
  .manual-chip {
    font-size: 9px;
  }
  .campaign-top {
    margin-bottom: 16px;
  }
  .campaign-footer {
    margin-top: 16px;
    padding-top: 16px;
  }
  .app-tooltip {
    width: 230px;
  }
  .marketing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-block: 16px;
  }
  .marketing-kpi {
    padding: 16px 12px;
    border-radius: 18px;
  }
  .marketing-kpi:first-child {
    grid-column: 1/-1;
  }
  .marketing-grid .marketing-kpi:nth-child(n + 4) {
    display: flex;
  }
  .marketing-kpi > span:first-child {
    font-size: 9px;
  }
  .marketing-kpi .kpi-value {
    font-size: 27px;
    margin-top: 14px;
  }
  .marketing-kpi:first-child .kpi-value {
    font-size: 35px;
  }
  .marketing-chips {
    margin-top: 12px;
  }
  .revenue-chart {
    padding: 14px;
    border-radius: 18px;
  }
  .revenue-chart .app-card-heading h4 {
    font-size: 10px;
  }
  .chart-plot {
    height: 125px;
    gap: 7px;
  }
  .chart-labels,
  .chart-days {
    font-size: 7px;
  }
  .chart-days {
    padding-left: 40px;
  }
  .delivery-panel {
    top: 8px;
    bottom: 8px;
    right: 6px;
    width: calc(100% - 12px);
    padding: 15px;
    border-radius: 18px;
  }
  .delivery-heading h4 {
    font-size: 16px;
  }
  .delivery-intro {
    font-size: 9px;
  }
  .delivery-row {
    padding: 12px;
  }
  .delivery-name {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 11px;
  }
  .delivery-name > span {
    font-size: 9px;
  }
  .delivery-row dl {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 7px 8px;
    font-size: 9px;
  }
  .feature-columns {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
    padding-inline: 0;
  }
  .feature-columns > div {
    padding-top: 20px;
  }
  .feature-columns .eyebrow {
    font-size: 12px;
  }
  .feature-columns h3 {
    font-size: 20px;
  }
  .analytics-section {
    margin-top: 64px;
  }
  .quote {
    margin-top: 0;
    padding: 28px 22px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quote-mark {
    grid-row: auto;
    font-size: 68px;
    line-height: 0.8;
  }
  .quote blockquote {
    font-size: 19px;
  }
  .quote figcaption {
    grid-column: 1;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
  }
  .mobile-section {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 110px;
  }
  .mobile-copy h2 {
    font-size: 31px;
    margin-block: 16px 20px;
  }
  .mobile-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .mobile-copy > p.mobile-note {
    font-size: 12px;
  }
  .mobile-stage {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0 28px;
  }
  .mobile-stage::before {
    inset: 0 -10% 30%;
  }
  .phone-frame {
    width: 314px;
    margin-bottom: 14px;
  }
  .phone-float {
    position: static;
    width: 100%;
    max-width: 340px;
    animation: none;
  }
  .numbers-section {
    margin-top: 72px;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .numbers-grid > div {
    padding: 26px 19px;
  }
  .numbers-grid > div:not(:nth-child(3n + 1)) {
    border-left: 0;
  }
  .numbers-grid > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .numbers-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .large-number {
    font-size: 37px;
  }
  .large-number small {
    font-size: 15px;
  }
  .numbers-grid p + p {
    font-size: 13px;
    margin-top: 12px;
  }
  .offer-section {
    margin-top: 64px;
    padding: 30px 22px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .offer-section h2 {
    font-size: 29px;
  }
  .offer-section p:not(.eyebrow):not(.price):not(.lead-msg) {
    font-size: 13px;
  }
  .field {
    font-size: 16px;
  }
  .lead-form {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }
  .lead-form .button {
    justify-self: stretch;
  }
  .referral-section {
    margin-bottom: 72px;
  }
  .price {
    font-size: 49px;
  }
  .price > span {
    font-size: 13px;
  }
  .faq-section {
    margin-top: 72px;
    margin-bottom: 72px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-section h2 {
    font-size: 36px;
    margin: 16px 0 21px;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq-list summary {
    font-size: 14px;
    line-height: 1.4;
    padding-block: 23px;
    padding-right: 27px;
  }
  .faq-list summary::after {
    top: 20px;
    right: 0;
  }
  .faq-list details p {
    font-size: 13px;
    padding-right: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal,
  .js .scroll-motion,
  .js .hero-enter {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .demo-cursor,
  .demo-click-ring,
  .ai-typing {
    display: none !important;
  }
}
@media (forced-colors: active) {
  .button,
  .app-card,
  .bubble,
  .glass-window,
  .live-app {
    border: 1px solid CanvasText;
  }
  [aria-selected="true"],
  [aria-pressed="true"] {
    outline: 2px solid Highlight;
  }
}

.yclients-glyph {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff8c;
}
.section-heading {
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dce3f3, transparent);
}
/* Keep the complete home overview inside a 16:10 desktop window. */
@media (min-width: 768px) {
  .hero-app .app-shell {
    height: 686px;
  }
  .hero-app .app-main {
    padding: 22px;
  }
  .hero-app .app-greeting h3 {
    font-size: 30px;
  }
  .hero-app .app-channels {
    margin-block: 18px 16px;
  }
  .hero-app .contact-card,
  .hero-app .chats-card {
    padding: 16px;
  }
  .hero-app .contact-count {
    margin: 8px 0 10px;
  }
  .hero-app .contact-count > span {
    font-size: 44px;
  }
  .hero-app .contact-row {
    padding-block: 8px;
  }
  .hero-app .app-card-heading > .app-icon:first-child {
    padding: 6px;
  }
  .hero-app .contact-list {
    margin-bottom: 10px;
  }
  .hero-app .period-card {
    padding: 16px;
  }
  .hero-app .home-kpis {
    gap: 10px;
    margin-top: 12px;
  }
  .hero-app .home-kpis .app-kpi {
    padding: 12px;
  }
  .hero-app .home-kpis .kpi-value {
    font-size: 24px;
    margin-top: 12px;
  }
  .hero-app .home-kpis .kpi-foot {
    margin-top: 8px;
  }
  .hero-app .home-kpis .sparkline {
    height: 22px;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-app .app-shell {
    height: 800px;
  }
  .hero-app .home-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-app .app-greeting h3 {
    font-size: 26px;
  }
  .float-report {
    display: none;
  }
}

@media (min-width: 1600px) {
  .hero-app .app-shell {
    height: 700px;
  }
}
.phone-home .chats-card .app-card-heading > .app-icon:first-child {
  padding: 5px;
}
.phone-home .chats-card .chat-list {
  margin-top: 10px;
}

/* Demo windows never scroll on their own: a nested scroller under the finger
   would swallow the page's swipe on phones. */
.app-main {
  overflow: hidden;
}
@media (min-width: 768px) {
  .campaign-card h4 {
    font-size: 14px;
  }
  .campaign-card > p {
    font-size: 10px;
  }
  .campaign-metrics > span,
  .metric-chip {
    font-size: 10px;
  }
  .campaign-footer > span {
    font-size: 9px;
  }
  .manual-chip {
    font-size: 9px;
  }
  .chat-row-copy b {
    font-size: 11px;
  }
  .chat-row-copy small {
    font-size: 10px;
  }
}
