.landing {
  --bg: #f7f9f8;
  --paper: #fff;
  --ink: #111916;
  --muted: #6d7773;
  --line: #e4ebe7;
  --green: #23865f;
  --pale: #e2f3eb;
  --deep: #123b2d;
  --sand: #c99a4a;
  --shadow: 0 30px 90px rgba(21, 59, 44, 0.13);
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.landing h1,
.landing h2,
.landing h3 {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.landing > header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 248, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e4ebe7;
}

html:has(body.landing) {
  scroll-padding-top: 120px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 78px;
  height: auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: 20px;
}

.logo .brand-mark {
  font-size: 18px;
}

.logo .brand-note {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  color: #6d7773;
}

.logo small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mark {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.navlinks {
  display: flex;
  gap: 29px;
  font-size: 13px;
  color: #68716e;
}

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

.navlinks a:hover { color: var(--ink); }

.navright {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.login {
  color: #65706b;
  text-decoration: none;
}

.landing .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 13px;
  padding: 13px 19px;
  min-height: 0;
  background: var(--deep);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 9px 22px #123b2d1f;
}

.landing .btn.green { background: var(--green); }
.landing .btn.white {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.landing > main {
  /* декоративные пятна и плавающие карточки не должны давать горизонтальную прокрутку */
  overflow-x: clip;
}

.hero {
  padding: 56px 0 20px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 450px;
  left: 50%;
  top: -180px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #a8e5c955, transparent 65%);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cce7da;
  background: #eff9f4;
  color: #247b5a;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45bd87;
  box-shadow: 0 0 0 5px #45bd871c;
}

.landing h1 {
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  max-width: 920px;
  margin: 22px auto 18px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  max-width: 1100px;
  text-wrap: balance;
}

.hero h1 .green-text {
  /* запас снизу и справа, чтобы градиентный текст не обрезал «р», «у» и последнюю букву строки;
     отрицательный отступ возвращает ширину, clone даёт запас каждой строке при переносе */
  padding: 0 0.1em 0.06em 0;
  margin-right: -0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 701px) {
  .hero h1 br.h1-break { display: none; }
}

.green-text {
  background: linear-gradient(100deg, #16724e, #52bd8d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.note {
  font-size: 12px;
  color: #909a96;
  margin-top: 12px;
}

.hero-stage {
  position: relative;
  max-width: 1090px;
  margin: 52px auto 0;
  text-align: left;
}

.session-preview {
  max-width: 1090px;
  margin: 0 auto;
  text-align: left;
}

/* Плавающие карточки интерфейса вокруг видео */
.hero-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 59, 45, 0.18), 0 2px 6px rgba(18, 59, 45, 0.06);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  animation: hero-bob 7s ease-in-out infinite;
}

.hero-float svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hf-booking {
  left: -44px;
  top: 22%;
  padding: 12px 14px 12px 12px;
  min-width: 250px;
}

.hf-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #36a9e1, #1f86c9);
}

.hf-icon svg { width: 19px; height: 19px; }

.hf-body {
  display: grid;
  gap: 2px;
  flex: 1;
}

.hf-body b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.hf-body span { color: var(--muted); font-weight: 600; }

.hf-time {
  align-self: flex-start;
  color: #9aa49f;
  font-size: 11px;
  font-weight: 700;
}

.hf-card {
  right: -40px;
  bottom: 18%;
  width: 260px;
  padding: 14px 16px;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  animation-delay: -3.5s;
}

.hf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hf-row b { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }

.hf-paid {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e3f3ec;
  color: #1d6b48;
  font-size: 11px;
  font-weight: 800;
}

.hf-meta { color: var(--muted); font-weight: 600; }

.hf-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6f1e9;
  color: #6f5233;
  font-size: 12px;
  font-weight: 700;
}

.hf-note svg { width: 14px; height: 14px; flex: none; }

.hf-remind {
  left: 7%;
  bottom: -20px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  animation-delay: -1.8s;
}

.hf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45bd87;
  box-shadow: 0 0 0 4px #45bd8726;
}

@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Появление блоков при прокрутке */
.can-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

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

/* Текст первого экрана виден сразу (быстрее первая отрисовка); анимируется только картинка справа */
.can-reveal .hero-copy .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.fine .save {
  color: #1d6b48;
  font-weight: 800;
}

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

@media (max-width: 1240px) {
  .hf-booking { left: 16px; }
  .hf-card { right: 16px; }
}

@media (max-width: 900px) {
  .hero-stage { margin-bottom: 36px; }
  .hf-booking { top: 18px; left: 12px; min-width: 0; padding: 9px 12px 9px 9px; }
  .hf-icon { width: 32px; height: 32px; border-radius: 10px; }
  .hf-card { right: 12px; bottom: -34px; width: 230px; padding: 11px 13px; }
  .hf-remind { display: none; }
}

@media (max-width: 560px) {
  .hf-booking { top: -16px; left: 8px; font-size: 12px; }
  .hf-booking .hf-time { display: none; }
  .hf-body b { font-size: 13px; }
  .hf-card { right: 8px; top: calc(100% - 6px); bottom: auto; width: 210px; font-size: 12px; gap: 4px; }
  .hf-note { font-size: 11px; padding: 6px 8px; }
  .hero-stage { margin-top: 44px; margin-bottom: 84px; }
}

.session-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #10281f;
  border: 1px solid #dfe8e3;
  box-shadow: var(--shadow);
}

.session-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}

.session-self {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 22%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(16, 40, 32, 0.28);
  background: #1b4033;
}

.session-self video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
}

.session-you {
  position: absolute;
  left: 8px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px 3px 6px;
  border-radius: 999px;
  background: rgba(16, 32, 26, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.session-you svg,
.session-tool svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.session-you svg { width: 12px; height: 12px; }

.session-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  padding: 64px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(12, 28, 22, 0.18) 30%, rgba(12, 28, 22, 0.82));
  color: #fff;
}

.session-who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(16, 32, 26, 0.55);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.session-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.session-bars i {
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background: #7ddec0;
  transform-origin: center bottom;
  animation: session-talk 1s ease-in-out infinite;
}

.session-bars i:nth-child(2) { animation-delay: 0.16s; }
.session-bars i:nth-child(3) { animation-delay: 0.32s; }

.session-dock {
  display: flex;
  align-items: center;
  gap: 8px;
}

.session-tool {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #123b2d;
}

.session-end {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #123b2d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 800;
}

.session-clock {
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 32, 26, 0.55);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

@keyframes session-talk {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

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

.dashboard-shell {
  max-width: 1090px;
  margin: 56px auto 0;
  position: relative;
  text-align: left;
}

.dashboard {
  background: #fff;
  border: 1px solid #dfe8e3;
  border-radius: 25px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.topbar {
  height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 7px;
}

.win {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dfe5e1;
}

.toplabel {
  font-size: 12px;
  color: #87918d;
  margin-left: 10px;
}

.app-mock {
  display: grid;
  grid-template-columns: 184px 1fr;
  min-height: 420px;
}

.side {
  background: #fbfcfb;
  border-right: 1px solid var(--line);
  padding: 18px 13px;
}

.side .item {
  padding: 10px 11px;
  margin: 3px 0;
  border-radius: 9px;
  color: #78817e;
  font-size: 13px;
  font-weight: 600;
}

.side .item.on {
  background: #e5f4ed;
  color: #217752;
  font-weight: 800;
}

.mock-content { padding: 22px 24px 8px; }

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mock-head h3 {
  margin: 0;
  font-size: 22px;
}

.today {
  font-size: 12px;
  color: #7e8884;
  padding: 7px 9px;
  border-radius: 8px;
  background: #f5f7f6;
}

.sched-list article {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 2px;
  border-top: 1px solid #eef3f0;
}

.sched-list time { font-weight: 800; }
.sched-list p { margin: 0; color: var(--muted); font-size: 13px; }
.sched-list .free { color: var(--muted); }

.floating {
  position: absolute;
  background: #fff;
  border: 1px solid #e1e9e4;
  box-shadow: 0 20px 50px #244e3a20;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
}

.float1 { right: -18px; top: 168px; width: 210px; }
.float2 { left: -28px; bottom: 48px; width: 230px; }
.fhead { font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.fline { font-size: 12px; color: #7a8580; margin: 4px 0; }

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0;
  color: #3e4c46;
  font-size: 14px;
  font-weight: 700;
}

.story-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.steps button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 14px 16px 18px 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.steps button span.step-bar {
  position: absolute;
  left: 18px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  pointer-events: none;
}

.steps button.is-playing .step-bar::after {
  content: "";
  display: block;
  height: 100%;
  background: #8ed9b5;
  transform: scaleX(0);
  transform-origin: left center;
  animation: step-grow var(--dwell, 5600ms) linear forwards;
}

.story-layout.is-paused .step-bar::after {
  animation-play-state: paused;
}

@keyframes step-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.steps i {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #7eae96;
}

.steps button span {
  display: none;
}

.steps button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.1);
}

.steps button[aria-selected="true"] i,
.steps button[aria-selected="true"] b {
  color: #8ed9b5;
}

.steps button[aria-selected="true"] span {
  display: block;
}

.steps b {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.steps span {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #afbeb8;
}

.section { padding: 88px 0; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #27815f;
}

.section h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  margin: 12px 0 14px;
}

.intro {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 500;
}

.featuregrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 22px;
  min-height: 190px;
}

.num {
  color: #8abfa7;
  font-size: 13px;
  font-weight: 800;
}

.feature h3 { font-size: 18px; margin: 28px 0 8px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; font-weight: 500; }

.story {
  background: var(--deep);
  color: #fff;
  border-radius: 34px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.story .eyebrow { color: #8ed9b5; }
.story .intro { color: #aebdb6; }
.story h2 { max-width: 14em; }

.story-note {
  margin: 0;
  max-width: 38em;
  color: #aebdb6;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.storygrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.storycard {
  background: #193f32;
  border: 1px solid #315648;
  border-radius: 20px;
  padding: 22px;
}

.storycard b { font-size: 11px; color: #8ed9b5; letter-spacing: 0.04em; }
.storycard h3 { font-size: 18px; margin: 18px 0 8px; }
.storycard p { margin: 0; font-size: 14px; line-height: 1.6; color: #afbeb8; font-weight: 500; }

.live-demo {
  margin-top: 22px;
  background: #102f25;
  border: 1px solid #315648;
  border-radius: 22px;
  padding: 16px 16px 18px;
  position: relative;
  z-index: 1;
}

.demohead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #aabcb5;
  margin-bottom: 14px;
  font-weight: 700;
}

.live { color: #75d4aa; }

.callstage {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr;
  gap: 10px;
  height: 280px;
}

.callremote,
.calllocal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
}

.callremote {
  background:
    radial-gradient(280px 180px at 70% 18%, rgba(255, 255, 255, 0.7), transparent 62%),
    radial-gradient(220px 200px at 20% 90%, #d5ebe2, transparent 70%),
    linear-gradient(165deg, #f7f4ef, #e4eee9);
}

.callwho {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #123b2d;
}

.callwho b,
.calllocal b {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(18, 59, 45, 0.08);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.callwho strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.callwho span,
.calllocal span {
  font-size: 13px;
  color: #5d6b66;
  font-weight: 600;
}

.calllocal {
  background:
    radial-gradient(140px 100px at 50% 22%, rgba(255, 255, 255, 0.16), transparent 68%),
    linear-gradient(180deg, #1d4a3a, #14382c);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  gap: 8px;
}

.calllocal b {
  width: 46px;
  height: 46px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  color: #fff;
}

.calllocal span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.callbar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.callbar span {
  background: rgba(255, 255, 255, 0.88);
  color: #123b2d;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
}

.callbar .hang {
  background: #123b2d;
  color: #fff;
}

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 36px;
  align-items: start;
}

.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 26px;
}

.price.featured {
  border: 2px solid var(--green);
  box-shadow: 0 20px 60px #2b8c6716;
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #247b59;
  background: #e3f3ec;
  padding: 5px 8px;
  border-radius: 7px;
  margin-bottom: 12px;
}

.price h3 { margin: 0; font-size: 20px; }
.price .cost {
  font-size: 42px;
  letter-spacing: -0.06em;
  font-weight: 800;
  margin: 14px 0 4px;
}

.price .cost span,
.fine {
  font-size: 13px;
  color: #89938f;
  font-weight: 600;
  letter-spacing: 0;
}

.price ul { padding: 0; list-style: none; margin: 16px 0 20px; }
.price li {
  font-size: 14px;
  color: #66716d;
  padding: 8px 0;
  border-bottom: 1px solid #eef2ef;
  font-weight: 600;
}
.price li::before { content: "✓"; color: #26835f; font-weight: 800; margin-right: 8px; }
.price .btn { width: 100%; }

.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
}
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { color: var(--muted); font-weight: 500; }

.final { padding: 10px 0 40px; }
.finalbox {
  background: linear-gradient(135deg, #e1f3ea, #f7faf8);
  border: 1px solid #cfe6da;
  border-radius: 34px;
  text-align: center;
  padding: 64px 20px;
}
.finalbox h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  margin: 0 0 14px;
}
.finalbox p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 22px;
  font-weight: 500;
}

.enter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 48px;
}

.enter .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 26px;
  box-shadow: none;
}

.enter h2 { font-size: 28px; margin: 0 0 8px; }
.enter label { display: grid; gap: 6px; margin: 12px 0; font-size: 13px; font-weight: 700; color: #4d5854; }
.enter input {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfcfb;
}
.enter .btn { margin-top: 8px; }
.enter .error { color: #8f3232; min-height: 1.2em; }
.enter .hint { color: var(--muted); font-weight: 500; }

.auth-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 18px 18px 22px;
  border: 1px solid #e4ebe7;
  border-radius: 28px;
  background: #f7f9f8;
  color: #111916;
  box-shadow: 0 30px 90px rgba(21, 59, 44, 0.18);
  overflow: auto;
}

.auth-dialog::backdrop {
  background: rgba(17, 25, 22, 0.42);
}

.auth-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.auth-close {
  border: 0;
  background: transparent;
  color: #6d7773;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}

.auth-dialog .enter {
  padding-bottom: 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 22px 0 36px;
  font-size: 13px;
  color: #8a9490;
  font-weight: 600;
}
.foot a { color: inherit; text-decoration: none; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.enter .hint a,
.legal a {
  color: #1d6b48;
}

.legal {
  padding: 48px 0 72px;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 12px 0 18px;
  text-align: left;
}

.legal p,
.legal li {
  color: #3e4c46;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.legal ul { padding-left: 18px; }

.foot .brand-bar {
  margin: 0;
}

.foot {
  flex-wrap: wrap;
}

/* Реквизиты ИП в подвале — их требует платёжная система. */
.foot-req {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
}

.foot-req a {
  text-decoration: underline;
}

.legal h2 {
  margin: 32px 0 8px;
  font-size: 20px;
}

/* Страницы «Для психолога» (/dlya-psihologa/…) */
.seo .wrap {
  max-width: 820px;
}

.seo-crumbs {
  margin: 0 0 8px;
  font-size: 14px !important;
}

.legal .seo-lead {
  font-size: 19px;
  color: #23332c;
}

.legal h3 {
  margin: 20px 0 4px;
  font-size: 17px;
}

.seo-cta {
  margin: 36px 0 12px;
  padding: 24px;
  border-radius: 20px;
  background: #e2f3eb;
}

.legal .seo-cta h2 {
  margin-top: 0;
}

.seo-cta .btn {
  color: #fff;
  text-decoration: none;
}

.legal .requisites {
  list-style: none;
  padding-left: 0;
}

@media (max-width: 900px) {
  .navlinks { display: none; }
  .app-mock { grid-template-columns: 1fr; }
  .side { display: none; }
  .floating { display: none; }
  .story-layout { grid-template-columns: 1fr; gap: 16px; }
  .steps { flex-direction: row; }
  .steps button { flex: 1; padding: 10px 8px 10px 12px; }
  .steps button span,
  .steps button[aria-selected="true"] span { display: none; }
  .steps button span.step-bar,
  .steps button[aria-selected="true"] span.step-bar {
    display: block;
    left: 8px;
    right: 8px;
    bottom: 0;
  }
  .prices,
  .enter { grid-template-columns: 1fr; }
  .story { padding: 28px 18px; }
  .section { padding: 64px 0; }
  .callstage { grid-template-columns: 1fr; height: auto; }
  .callremote, .calllocal { min-height: 180px; }
  .callwho b { width: 72px; height: 72px; font-size: 26px; }
  .session-self { width: 30%; top: 10px; right: 10px; }
  .session-hud { padding: 48px 12px 12px; gap: 8px; }
  .session-tool, .session-end { height: 36px; }
  .session-tool { width: 36px; }
  .session-end { padding: 0 12px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .navright { gap: 12px; }
  .navright .btn { padding: 11px 14px; }
  .landing h1 { font-size: 42px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); margin-top: 18px; }
  .hero .lead { font-size: 16px; }
  .hero .actions .btn { flex: 1 1 100%; padding: 15px 19px; }
  .sched-list article { grid-template-columns: 1fr auto; }
  .sched-list time { grid-column: 1 / -1; }
  .session-screen { border-radius: 16px; aspect-ratio: 4 / 3; }
  .session-hud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 8px;
  }
  .session-who { order: 1; }
  .session-clock { order: 2; margin-left: auto; justify-self: auto; }
  .session-dock { order: 3; flex: 1 0 100%; justify-content: center; }
  .session-who strong,
  .session-clock,
  .session-end { font-size: 12px; }
  .session-clock { padding: 5px 8px; }
}

.shots {
  position: relative;
  height: 440px;
  margin: 0;
  min-width: 0;
}

.shot {
  position: absolute;
  inset: 0;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}

.shot.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  z-index: 1;
}

.shot [data-go] {
  cursor: pointer;
}

.shot .cal-book[data-go],
.shot .cal-open[data-go] {
  box-shadow: inset 0 0 0 1.5px #1d6b48;
}

.shot .cal-open[data-go] {
  border-style: solid;
  border-color: #1d6b48;
}

.shot-hint {
  margin: 10px 0 0;
  color: #1d6b48;
  font-size: 13px;
  font-weight: 700;
}

.shot-page .page-demo {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f7f9f8;
  padding: 18px 24px 14px;
  color: #111916;
}

.page-kicker,
.page-service,
.page-label {
  margin: 0;
  color: #6d7773;
  font-size: 13px;
  font-weight: 700;
}

.page-name {
  margin: 6px 0 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-service { margin-bottom: 16px; }

.page-card {
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 18px;
  padding: 16px;
}

.page-label { margin: 12px 0 8px; }
.page-label:first-child { margin-top: 0; }

.page-chips,
.page-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-chips span,
.page-slots span {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 64px;
  padding: 8px 12px;
  border: 1px solid #e4ebe7;
  border-radius: 13px;
  background: #fff;
  color: #111916;
  font-size: 14px;
  font-weight: 800;
}

.page-chips small {
  color: #6d7773;
  font-size: 11px;
  font-weight: 700;
}

.page-chips span.on,
.page-slots span.on {
  background: #e5f4ed;
  border-color: transparent;
  color: #217752;
}

.page-chips span.on small { color: #217752; }

.shot-page .btn {
  margin-top: 12px;
}

.shot-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8ed9b5;
}

.shot .admin-app {
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: visible;
}

.shot .admin-app .admin-frame {
  flex: none;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  color: #111916;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.shot .admin-split {
  flex: 1;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
}

.shot .admin-main {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  padding: 16px 18px 14px;
}

.shot .journal-scroll {
  margin-top: 8px;
  overflow: visible;
}

.shot .cal.day-mode {
  display: block;
  width: 100%;
}

.shot .day-board,
.shot .time-grid,
.shot .time-slot {
  width: 100%;
  min-width: 0;
}

.shot .cal-book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  grid-template-rows: auto auto;
  column-gap: 4px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #f4f6f5;
  color: #111916;
  text-align: left;
  cursor: default;
  line-height: 1.2;
}

.shot .cal-book.is-paid { background: #e7f4ec; }
.shot .cal-book.is-due { background: #f8f1e8; }

.shot .cal-book-time {
  font-size: 11px;
  font-weight: 700;
  color: #3e4c46;
}

.shot .cal-book.is-paid .cal-book-time { color: #1d6b48; }
.shot .cal-book.is-due .cal-book-time { color: #8a4e2b; }

.shot .cal-pay {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.shot .cal-book.is-paid .cal-pay {
  background: #1d6b48;
  color: #fff;
}

.shot .cal-book.is-due .cal-pay { background: #c4a48a; }

.shot .cal-book-name {
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
}

.shot .cal-open {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px dashed #b7d4c6;
  border-radius: 8px;
  background: #f4faf6;
  color: #217752;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: default;
}

.shot .cal-open span {
  color: #5d756b;
  font-weight: 650;
}

.shot .demo-maria {
  box-shadow: inset 0 0 0 1.5px #123b2d;
}

.shot .demo-shade,
.shot .demo-sheet {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.shot.is-booking .demo-shade,
.shot.is-card .demo-shade,
.shot.is-booking .demo-book,
.shot.is-card .demo-card {
  opacity: 1;
  pointer-events: auto;
}

.shot .demo-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(17, 25, 22, 0.28);
}

.shot .demo-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(340px, calc(100% - 28px));
  max-height: calc(100% - 24px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 12px;
  box-shadow: 0 18px 40px rgba(17, 25, 22, 0.18);
  color: #111916;
  transform: translate(-50%, calc(-50% + 12px));
}

.shot.is-booking .demo-book,
.shot.is-card .demo-card {
  transform: translate(-50%, -50%);
}

.shot .demo-card {
  width: min(380px, calc(100% - 28px));
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.shot .demo-sheet h2 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #111916;
}

.shot .demo-sheet .hint {
  margin: 0 0 12px;
  color: #6d7773;
}

.shot .demo-legend {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #6d7773;
}

.shot .demo-slots {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.shot .demo-slots span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e4ebe7;
  font-size: 13px;
  font-weight: 700;
  color: #6d7773;
}

.shot .demo-slots span.on {
  background: #e5f4ed;
  border-color: #e5f4ed;
  color: #217752;
}

.shot .demo-who {
  margin-bottom: 12px;
}

.shot .demo-sheet label {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #6d7773;
}

.shot .demo-field {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  background: #fff;
  color: #111916;
  font-size: 14px;
  font-weight: 650;
}

.shot .demo-field.note {
  min-height: 64px;
  font-weight: 500;
  line-height: 1.4;
}

.shot .demo-menu,
.shot .journal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.shot .btn {
  border-radius: 999px;
  min-height: 36px;
  padding: 8px 14px;
  background: #123b2d;
  box-shadow: none;
  font-size: 13px;
}

.shot .btn.ghost {
  background: transparent;
  color: #123b2d;
  border: 1px solid #e4ebe7;
}

.shot .journal-card {
  margin: 0;
}

.shot .page-kicker,
.shot .page-name,
.shot .page-service,
.shot .page-card,
.shot .page-demo .btn,
.shot .time-row,
.shot .shot-hint {
  opacity: 0;
}

.shot.is-on .page-kicker,
.shot.is-on .page-name,
.shot.is-on .page-service,
.shot.is-on .page-card,
.shot.is-on .page-demo .btn,
.shot.is-on .time-row,
.shot.is-on .shot-hint {
  animation: shot-rise 0.5s both;
}

.shot.is-on .page-name,
.shot.is-on .time-row:nth-child(2) { animation-delay: 0.08s; }
.shot.is-on .page-service,
.shot.is-on .time-row:nth-child(3) { animation-delay: 0.14s; }
.shot.is-on .page-card,
.shot.is-on .time-row:nth-child(4) { animation-delay: 0.2s; }
.shot.is-on .page-demo .btn,
.shot.is-on .shot-hint { animation-delay: 0.26s; }

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

@media (max-width: 900px) {
  .shots { height: 460px; }

  .shot .admin-split {
    grid-template-columns: 1fr;
  }

  .shot .admin-side {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shot,
  .shot .demo-shade,
  .shot .demo-sheet {
    transition: none;
  }

  .shot .page-kicker,
  .shot .page-name,
  .shot .page-service,
  .shot .page-card,
  .shot .page-demo .btn,
  .shot .time-row,
  .shot .shot-hint {
    opacity: 1;
    animation: none;
  }

  .steps button[aria-selected="true"] .step-bar::after {
    content: "";
    display: block;
    height: 100%;
    background: #8ed9b5;
    transform: none;
    animation: none;
  }
}

/* ===================== Новые блоки главной (2026-10) ===================== */

html.is-prod [data-draft] { display: none !important; }

.landing { --warm: #f6f1e9; --warm-ink: #7a5634; }

/* ---------- Было → Стало ---------- */
.ba {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 36px;
}

.ba-col {
  border-radius: 26px;
  padding: 26px 26px 18px;
  border: 1px solid var(--line);
}

.ba-old { background: var(--warm); border-color: #ece3d6; }
.ba-new { background: #fff; border: 2px solid #bfe3d1; box-shadow: 0 24px 60px #2b8c6714; }

.ba-tag {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-ink);
}

.ba-new .ba-tag { color: #1d6b48; }

.ba ul { list-style: none; margin: 0; padding: 0; }

.ba li {
  display: grid;
  gap: 2px;
  padding: 12px 0 12px 30px;
  border-top: 1px solid #00000010;
  position: relative;
}

.ba li:first-child { border-top: 0; }

.ba li::before {
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.ba-old li::before { content: "✕"; background: #ead9c4; color: #8a5a2e; }
.ba-new li::before { content: "✓"; background: #dff2e8; color: #1d6b48; }

.ba li b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.ba li span { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.ba-old li span { color: #7d6f60; }

.ba-arrow { display: grid; place-items: center; color: #8ab9a2; }
.ba-arrow svg {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Калькулятор */
.calc {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.calc-in { padding: 26px; display: grid; gap: 18px; }
.calc-title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }

.calc-field { display: grid; gap: 10px; }
.calc-field > span {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 600; color: #4d5854;
}
.calc-field output {
  min-width: 2.4em; text-align: center;
  padding: 2px 8px; border-radius: 8px;
  background: var(--pale); color: #1d6b48; font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  min-height: 0;
  margin: 8px 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--fill, 30%), #e4ebe7 var(--fill, 30%));
  outline: none;
  cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green);
  box-shadow: 0 4px 12px #123b2d33;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green);
  box-shadow: 0 4px 12px #123b2d33;
}
.calc input[type="range"]:focus-visible { box-shadow: 0 0 0 4px #23865f33; }

.calc-out {
  background: var(--deep);
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.calc-out::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px; right: -90px; top: -120px;
  background: radial-gradient(circle, #52bd8d55, transparent 65%);
  pointer-events: none;
}
.calc-kicker { color: #8ed9b5; font-size: 13px; font-weight: 700; }
.calc-out strong {
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.calc-note { color: #b8c8c1; font-size: 14px; font-weight: 500; }
.calc-note b { color: #fff; }

/* ---------- Возможности (бенто) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 14px;
  margin-top: 36px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .bento-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px #123b2d14; }
}

.bento-card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.04em; }
.bento-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); font-weight: 500; }

.b-wide { grid-column: span 2; }
.b-tall { grid-row: span 2; }

.b-dark { background: var(--deep); border-color: var(--deep); color: #fff; }
.b-dark p { color: #b3c3bc; }

.b-plan {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 6px;
  background: var(--pale); color: #1d6b48;
}
.bento-card:has(.b-plan) h3 { padding-right: 76px; }

.b-mock { display: flex; flex-wrap: wrap; gap: 8px; }

.b-link { flex-direction: column; align-items: flex-start; }
.b-url {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px;
  background: #f4f7f5; border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: #2b3a34;
}
.b-url i { width: 8px; height: 8px; border-radius: 50%; background: #45bd87; }
.b-slots { display: flex; gap: 8px; flex-wrap: wrap; }
.b-slots em, .b-repeat em, .b-chips em {
  font-style: normal; font-size: 13px; font-weight: 700;
  padding: 7px 11px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: #3e4c46;
}
.b-slots em.on { background: var(--pale); border-color: transparent; color: #1d6b48; }

.b-chat { flex-direction: column; align-items: flex-start; gap: 10px; }
.bubble {
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #ffffff14;
  border: 1px solid #ffffff22;
  font-size: 13px;
  line-height: 1.4;
  color: #e9f2ee;
}
.bubble b { display: block; color: #8ed9b5; font-size: 11px; margin-bottom: 2px; }
.can-reveal .b-dark.is-in .bubble { animation: bubble-in 0.6s both 0.3s; }
.can-reveal .b-dark.is-in .bubble + .bubble { animation-delay: 0.9s; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }

.b-chips em.paid { background: #e3f3ec; border-color: transparent; color: #1d6b48; }
.b-chips em.due { background: #f8f1e8; border-color: transparent; color: #8a4e2b; }
.b-chips em.skip { background: #f1f2f2; border-color: transparent; color: #6d7773; }

.b-video {
  height: 64px; border-radius: 14px;
  background: linear-gradient(135deg, #1d4a3a, #10281f);
  align-items: flex-end; padding: 10px;
}
.b-rec {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 999px;
  background: #ffffff1f; color: #fff; font-size: 12px; font-weight: 700;
}
.b-rec i { width: 7px; height: 7px; border-radius: 50%; background: #7ddec0; animation: rec-pulse 1.6s ease-in-out infinite; }
@keyframes rec-pulse { 50% { opacity: 0.3; } }

.b-repeat em:first-child { background: var(--pale); border-color: transparent; color: #1d6b48; }

/* ---------- Глазами клиента ---------- */
.client {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.client-steps { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.client-steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 36px 1fr; column-gap: 12px;
  align-items: center;
  padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.client-steps li::before {
  content: counter(s);
  grid-row: span 2;
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--pale); color: #1d6b48; font-weight: 800;
}
.client-steps b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.client-steps span { font-size: 13px; color: var(--muted); font-weight: 500; }

.phone-wrap { position: relative; display: grid; place-items: center; padding: 20px 0 40px; }
.phone-wrap::before {
  content: ""; position: absolute; inset: 10% 5%;
  background: radial-gradient(circle at 50% 45%, #a8e5c966, transparent 65%);
  pointer-events: none;
}
.phone {
  position: relative;
  width: 290px;
  border-radius: 44px;
  padding: 12px;
  background: #111916;
  box-shadow: 0 40px 90px #123b2d33, inset 0 0 0 2px #2d3833;
}
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 999px; background: #111916; z-index: 2;
}
.phone-screen {
  border-radius: 34px;
  background: #f7f9f8;
  padding: 52px 18px 22px;
  min-height: 520px;
  display: flex; flex-direction: column; gap: 10px;
}
.ph-kicker { margin: 0; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.ph-who { display: flex; align-items: center; gap: 10px; }
.ph-who b { display: block; font-size: 20px; letter-spacing: -0.04em; }
.ph-who small { color: var(--muted); font-weight: 600; font-size: 12px; }
.ph-ava, .r-ava {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #cfe9dc, #f3e5d3); color: #123b2d; font-weight: 800;
}
.ph-service { margin: 0; font-size: 13px; font-weight: 600; color: #4d5854; }
.ph-label { margin: 6px 0 0; font-size: 12px; font-weight: 800; color: #4d5854; }
.ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-slots em {
  font-style: normal; text-align: center; padding: 10px 0; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 800;
}
.ph-slots em.on { background: var(--deep); border-color: var(--deep); color: #fff; }
.ph-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.35; margin-top: 4px; }
.ph-consent i {
  flex: none; width: 16px; height: 16px; border-radius: 5px;
  display: grid; place-items: center; font-style: normal; font-size: 10px;
  background: var(--green); color: #fff;
}
.ph-btn {
  margin-top: auto;
  display: block; text-align: center; padding: 14px; border-radius: 14px;
  background: var(--deep); color: #fff; font-weight: 800; font-size: 14px;
}
.phone-toast {
  position: absolute; z-index: 3;
  right: max(0px, calc(50% - 250px)); top: 34%;
  display: flex; align-items: center; gap: 10px;
  max-width: 250px;
  padding: 11px 13px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid #fff;
  box-shadow: 0 24px 60px rgba(18, 59, 45, 0.2);
  font-size: 12.5px; line-height: 1.35; color: #4d5854; font-weight: 600;
  animation: hero-bob 7s ease-in-out infinite;
}
.phone-toast b { display: block; color: var(--ink); font-size: 13.5px; }
.phone-toast .hf-icon { width: 34px; height: 34px; border-radius: 11px; }
.phone-toast svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Конфиденциальность ---------- */
.privacy {
  background: var(--deep);
  color: #fff;
  border-radius: 34px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -260px;
  background: radial-gradient(circle, #52bd8d33, transparent 65%); pointer-events: none;
}
.privacy .eyebrow { color: #8ed9b5; }
.privacy h2 { max-width: 16em; }

.privacy-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.privacy-grid article {
  padding: 22px;
  border-radius: 20px;
  background: #ffffff0d;
  border: 1px solid #ffffff1c;
}
.privacy-grid svg {
  width: 26px; height: 26px; color: #8ed9b5;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.privacy-grid h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -0.03em; }
.privacy-grid p { margin: 0; font-size: 14px; line-height: 1.55; color: #b3c3bc; font-weight: 500; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.review {
  position: relative;
  margin: 0;
  padding: 26px 24px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.review blockquote {
  margin: 0;
  font-size: 16px; line-height: 1.6; font-weight: 600; color: #26332e; letter-spacing: -0.01em;
}
.review blockquote::before {
  content: "“"; display: block; height: 30px;
  font-size: 54px; line-height: 1; color: #8ed9b5; font-weight: 800;
}
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.draft-tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 8px; border-radius: 6px;
  background: #fff3d6; color: #8a6200;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Тарифы: свернуть лишнее ---------- */
.price .more { margin: -12px 0 20px; }
.price .more summary {
  cursor: pointer;
  font-size: 13px; font-weight: 700; color: #1d6b48;
  list-style: none;
}
.price .more summary::-webkit-details-marker { display: none; }
.price .more summary::after { content: " +"; }
.price .more[open] summary::after { content: " −"; }
.price .more ul { margin: 8px 0 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-tall { grid-row: span 1; }
}

@media (max-width: 900px) {
  .ba { grid-template-columns: 1fr; gap: 10px; }
  .ba-arrow { transform: rotate(90deg); height: 32px; }
  .calc { grid-template-columns: 1fr; }
  .client { grid-template-columns: 1fr; gap: 24px; }
  .privacy { padding: 32px 20px; border-radius: 26px; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .privacy-grid { grid-template-columns: 1fr; }
  .ba-col, .calc-in, .calc-out { padding: 20px; }
  .phone { width: 260px; }
  .phone-screen { min-height: 470px; }
  .phone-toast { right: 0; top: auto; bottom: 8px; max-width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-toast, .b-rec i { animation: none; }
  .can-reveal .b-dark.is-in .bubble { animation: none; }
}

@media (max-width: 1100px) {
  .b-tz { grid-column: auto; }
}

.b-tzmock { align-items: center; gap: 14px; }
.b-tzmock span {
  display: grid; gap: 2px;
  padding: 10px 14px; border-radius: 14px;
  background: #f4f7f5; border: 1px solid var(--line);
}
.b-tzmock small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.b-tzmock b { font-size: 22px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.b-tzmock span:last-child { background: var(--pale); border-color: transparent; }
.b-tzmock span:last-child b { color: #1d6b48; }
.b-tzmock i { flex: 1; min-width: 20px; height: 0; border-top: 2px dashed #bcd7ca; }

.phone-toast { top: auto; bottom: 120px; }
@media (max-width: 560px) { .phone-toast { bottom: 96px; } }

@media (max-width: 560px) {
  .bento { grid-auto-rows: auto; }
  .b-tzmock { flex-wrap: nowrap; gap: 8px; }
  .b-tzmock span { padding: 8px 10px; }
  .b-tzmock small { font-size: 10.5px; }
  .b-tzmock b { font-size: 18px; }
  .b-tzmock i { min-width: 8px; }
}

@media (max-width: 560px) {
  .phone-toast { bottom: 114px; }
  .privacy h2 br { display: none; }
}

/* ===================== «Как работает»: демо кабинета (v2) ===================== */
.story h2 { max-width: 15em; }
.story-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; margin-top: 30px; }
.steps { position: relative; }
.steps button { transition: background 0.25s ease; }
@media (hover: hover) { .steps button:hover { background: rgba(255, 255, 255, 0.06); } }
.steps button:focus-visible { outline: 2px solid #8ed9b5; outline-offset: 2px; }

.demo {
  position: relative;
  height: 540px;
  min-width: 0;
  color: #111916;
  font-size: 13px;
  line-height: 1.35;
}

.demo svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Окно кабинета */
.cab {
  position: absolute;
  inset: 0 0 0 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.cab-top {
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 16px;
  border-bottom: 1px solid #edf1ef;
  flex: none;
}
.cab-dots { display: flex; gap: 5px; }
.cab-dots i { width: 8px; height: 8px; border-radius: 50%; background: #dfe5e1; }
.cab-brand {
  padding: 0.36em 0.64em 0.43em 0.54em; border: 1.5px solid #123b2d; border-left-width: 0.32em; border-radius: 3px 0.64em 0.64em 3px;
  font-weight: 800; font-size: 12px; letter-spacing: -0.035em;
}
.cab-crumb { color: #87918d; font-size: 12px; }
.cab-who { margin-left: auto; color: #4d5854; font-size: 12px; font-weight: 600; }

.cab-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 158px minmax(0, 1fr); }
.cab-side {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 10px; background: #fbfcfb; border-right: 1px solid #edf1ef;
}
.cab-side span {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 9px; border-radius: 9px;
  color: #5f6a66; font-size: 12.5px; font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.cab-side span svg { width: 15px; height: 15px; flex: none; }
.cab-side span.on { background: #e5f4ed; color: #1d6b48; font-weight: 800; }
.cab-side small {
  margin: 12px 0 4px 9px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #9aa49f;
}
.cab-plan { margin-top: auto; padding: 10px 9px 2px; border-top: 1px solid #edf1ef; display: grid; gap: 2px; }
.cab-plan small { margin: 0; }
.cab-plan b { font-size: 12.5px; }

.cab-main { position: relative; min-width: 0; overflow: hidden; background: #f7f9f8; }

/* Панели */
.pane {
  position: absolute; inset: 0;
  padding: 18px 20px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.pane.is-on { opacity: 1; visibility: visible; transform: none; }
.pane-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pane-head b { font-size: 17px; letter-spacing: -0.04em; font-weight: 800; }
.cab-chip, .seg em, .add {
  font-style: normal; font-size: 11.5px; font-weight: 700;
  padding: 5px 9px; border-radius: 999px; background: #fff; border: 1px solid #e4ebe7; color: #5f6a66;
}
.seg { display: inline-flex; margin-left: auto; border: 1px solid #e4ebe7; border-radius: 999px; overflow: hidden; background: #fff; }
.seg em { border: 0; border-radius: 0; }
.seg em.on { background: #e5f4ed; color: #1d6b48; }
.add { margin-left: auto; background: #123b2d; border-color: #123b2d; color: #fff; }
.pane-hint { margin: 14px 0 0; color: #6d7773; font-size: 12.5px; }

/* 0. Расписание */
.pane-sched { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.sched-month, .sched-day { background: #fff; border: 1px solid #e4ebe7; border-radius: 14px; padding: 14px; }
.sched-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.sched-grid em { font-style: normal; font-size: 10.5px; color: #87918d; font-weight: 700; text-transform: uppercase; }
.sched-grid span {
  display: grid; padding: 7px 0 5px; border-radius: 9px; border: 1px solid #e4ebe7;
  font-weight: 800; font-size: 12.5px;
}
.sched-grid small { font-size: 10px; color: #23865f; font-weight: 700; }
.sched-grid span.off { background: #f1f3f2; border-color: transparent; color: #9aa49f; }
.sched-grid span.sel { border: 2px solid #123b2d; }
.sched-day b { font-size: 14px; letter-spacing: -0.03em; }
.sched-day p { margin: 4px 0 10px; color: #6d7773; font-size: 12px; }
.sched-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sched-slots span {
  padding: 7px 0; text-align: center; border-radius: 9px; border: 1px solid #e4ebe7;
  font-size: 12px; font-weight: 700; color: #6d7773;
}
.sched-slots span.on { background: #e5f4ed; border-color: #bfe3d1; color: #1d6b48; }

/* 1. Ссылки */
.link-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 8px;
  background: #fff; border: 1px solid #e4ebe7; border-radius: 14px;
}
.link-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; }
.link-ico svg { width: 18px; height: 18px; }
.link-ico.web { background: #123b2d; }
.link-ico.tg { background: linear-gradient(140deg, #36a9e1, #1f86c9); }
.link-ico.max { background: linear-gradient(140deg, #6b5bff, #3d7bff); font-size: 15px; }
.link-txt { display: grid; gap: 1px; min-width: 0; }
.link-txt b { font-size: 13.5px; }
.link-txt small { color: #6d7773; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-btn {
  margin-left: auto; flex: none;
  padding: 6px 10px; border-radius: 999px; border: 1px solid #e4ebe7; background: #fff;
  font-size: 11.5px; font-weight: 700; color: #123b2d;
}
.link-btn.copied { background: #e5f4ed; border-color: transparent; color: #1d6b48; }

/* 2–4. Неделя */
.week {
  display: grid;
  grid-template-columns: 42px repeat(6, minmax(0, 1fr));
  grid-template-rows: 40px repeat(5, 54px);
  gap: 4px;
  background: #fff; border: 1px solid #e4ebe7; border-radius: 14px; padding: 8px;
}
.wk-h {
  display: grid; place-items: center; align-content: center; gap: 1px;
  font-size: 10.5px; font-weight: 700; color: #87918d; text-transform: uppercase;
}
.wk-h b { font-size: 13px; color: #111916; }
.wk-h.today b { background: #123b2d; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.wk-t { grid-column: 1; font-size: 10.5px; color: #87918d; font-weight: 600; padding-top: 4px; }
.ev {
  position: relative;
  display: grid; align-content: start; gap: 1px;
  padding: 6px 7px; border-radius: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: -0.01em;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ev small { font-size: 10px; font-weight: 700; }
.ev.paid { background: #e7f4ec; } .ev.paid small { color: #1d6b48; }
.ev.due { background: #f8f1e8; } .ev.due small { color: #8a4e2b; }
.ev.own { background: #eef1f6; color: #4b5563; } .ev.own small { color: #6b7280; }
.ev::after {
  content: ""; position: absolute; top: 6px; right: 6px;
  width: 11px; height: 11px; border-radius: 50%;
}
.ev.due::after { background: #c4a48a; }
.ev.paid::after {
  background: #1d6b48 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ev.own::after { display: none; }
.wk-legend { display: flex; gap: 14px; margin: 10px 2px 0; font-size: 11.5px; color: #6d7773; font-weight: 600; }
.wk-legend span { display: inline-flex; align-items: center; gap: 5px; }
.wk-legend i { width: 9px; height: 9px; border-radius: 3px; }
.wk-legend i.due { background: #e8d6c2; } .wk-legend i.paid { background: #b9dfc9; } .wk-legend i.own { background: #d6dce6; }

/* Новая запись: шаг 2 — появляется, шаг 3 — становится оплаченной */
.ev-new { box-shadow: 0 0 0 2px #123b2d; }
.demo[data-step="2"] .ev-new { animation: ev-pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.3) 4.6s both; }
.demo[data-step="3"] .ev-new,
.demo[data-step="5"] .ev-new { background: #e7f4ec; }
.demo[data-step="3"] .ev-new small,
.demo[data-step="5"] .ev-new small { color: #1d6b48; }
.demo[data-step="3"] .ev-new::after,
.demo[data-step="5"] .ev-new::after {
  background: #1d6b48 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.demo[data-step="3"] .ev-new { animation: ev-paid 0.6s ease 2.8s both; }
.demo[data-step="5"] .ev-new { box-shadow: none; }
@keyframes ev-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes ev-paid {
  from { background: #f8f1e8; transform: scale(1); }
  40% { transform: scale(1.08); }
  to { background: #e7f4ec; transform: none; }
}

/* Карточка записи (шаг 4) */
.cab-modal {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: min(380px, calc(100% - 28px));
  padding: 16px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 100vmax rgba(17, 25, 22, 0.28), 0 20px 50px rgba(17, 25, 22, 0.25);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, calc(-50% + 14px));
  transition: opacity 0.35s ease 0.3s, transform 0.35s ease 0.3s, visibility 0.35s 0.3s;
}
.cab-modal.is-on { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.m-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.m-top span:first-child { display: grid; gap: 2px; }
.m-top small { color: #87918d; font-size: 11px; font-weight: 700; }
.m-top b { font-size: 19px; letter-spacing: -0.04em; }
.m-top em { font-style: normal; color: #6d7773; font-size: 12px; }
.m-paid { padding: 4px 9px; border-radius: 999px; background: #e3f3ec; color: #1d6b48; font-size: 11px; font-weight: 800; }
.m-note { margin: 12px 0; padding: 10px 12px; border: 1px solid #e4ebe7; border-radius: 12px; }
.m-note small { display: block; margin-bottom: 4px; color: #8a6200; font-size: 11px; font-weight: 800; }
.m-note p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.cab-modal.is-on .typing { animation: note-in 1.6s steps(24, end) 0.9s both; }
@keyframes note-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.m-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.m-btn { padding: 7px 11px; border-radius: 999px; border: 1px solid #e4ebe7; font-size: 11.5px; font-weight: 700; }
.m-btn.dark { background: #123b2d; border-color: #123b2d; color: #fff; }

/* 5. Клиенты */
.cl-table {
  display: grid; grid-template-columns: 1.1fr 0.8fr 1.2fr 1fr; align-items: center;
  background: #fff; border: 1px solid #e4ebe7; border-radius: 14px; padding: 6px 14px;
}
.cl-table > * { padding: 10px 0; border-bottom: 1px solid #eef2ef; font-size: 12.5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-table > :nth-last-child(-n + 4) { border-bottom: 0; }
.cl-h { font-size: 11px !important; color: #87918d; font-weight: 700; }
.cl-tg { color: #1f86c9; font-weight: 600; }
.cl-max { color: #5b5bf0; font-weight: 600; }
.pill-ok, .pill-due {
  justify-self: start; padding: 3px 8px !important; border: 0 !important; border-radius: 999px;
  font-size: 11px !important; font-weight: 800;
}
.pill-ok { background: #e3f3ec; color: #1d6b48; }
.pill-due { background: #f4f6f5; color: #5f6a66; }
.pane-clients.is-on .cl-table > * { animation: shot-rise 0.4s both; }

/* Телефон клиента с ботом */
.tg-phone {
  position: absolute; z-index: 5;
  right: -18px; bottom: -26px;
  width: 236px; height: 430px;
  display: flex; flex-direction: column;
  border-radius: 32px; padding: 8px;
  background: #111916;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #2d3833;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.tg-phone.is-on { opacity: 1; visibility: visible; transform: none; }
.tg-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 12px 10px; border-radius: 24px 24px 0 0;
  background: #fff; border-bottom: 1px solid #eef2ef;
}
.tg-head b { display: block; font-size: 12px; }
.tg-head small { color: #2aa3e0; font-size: 10.5px; font-weight: 600; }
.tg-ava {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #23865f, #123b2d); color: #fff; font-weight: 800; font-size: 13px;
}
.tg-chat {
  flex: 1; min-height: 0;
  display: none; flex-direction: column; justify-content: flex-end; gap: 5px;
  padding: 10px 8px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: #dfe9e3 radial-gradient(circle at 20% 20%, #e9f1ec 0 2px, transparent 3px) 0 0 / 22px 22px;
}
.tg-chat.is-on { display: flex; }
.msg {
  margin: 0; max-width: 92%;
  padding: 7px 9px; border-radius: 12px 12px 12px 4px;
  background: #fff; color: #111916; font-size: 11.5px; line-height: 1.35;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.msg.ok { background: #effaf3; }
.kb { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.kb em {
  flex: 1; font-style: normal; text-align: center;
  padding: 6px 4px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.72); color: #1f86c9; font-size: 11px; font-weight: 700;
}
.kb em.wide { flex-basis: 100%; }

/* Последовательная анимация переписки */
.tg-chat.is-on > * { animation: chat-in 0.35s ease both; }
.tg-chat.is-on .tap { animation: tap 0.5s ease both; }
.tg-chat[data-on="2"].is-on > :nth-child(1) { animation-delay: 0.3s; }
.tg-chat[data-on="2"].is-on > :nth-child(2) { animation-delay: 0.6s; }
.tg-chat[data-on="2"].is-on > :nth-child(2) .tap { animation-delay: 1.3s; }
.tg-chat[data-on="2"].is-on > :nth-child(3) { animation-delay: 1.6s; }
.tg-chat[data-on="2"].is-on > :nth-child(4) { animation-delay: 1.9s; }
.tg-chat[data-on="2"].is-on > :nth-child(4) .tap { animation-delay: 2.6s; }
.tg-chat[data-on="2"].is-on > :nth-child(5) { animation-delay: 2.9s; }
.tg-chat[data-on="2"].is-on > :nth-child(6) { animation-delay: 3.2s; }
.tg-chat[data-on="2"].is-on > :nth-child(6) .tap { animation-delay: 3.9s; }
.tg-chat[data-on="2"].is-on > :nth-child(7) { animation-delay: 4.3s; }
.tg-chat[data-on="3"].is-on > :nth-child(1) { animation-delay: 0.3s; }
.tg-chat[data-on="3"].is-on > :nth-child(2) { animation-delay: 0.7s; }
.tg-chat[data-on="3"].is-on > :nth-child(2) .tap { animation-delay: 2s; }
.tg-chat[data-on="3"].is-on > :nth-child(3) { animation-delay: 2.5s; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tap {
  from { background: rgba(255, 255, 255, 0.72); color: #1f86c9; }
  35% { transform: scale(0.94); }
  to { background: #2aa3e0; color: #fff; transform: none; }
}

/* Уведомление психологу */
.demo-toast {
  position: absolute; z-index: 6;
  top: 58px; right: 236px;
  display: flex; align-items: center; gap: 10px;
  max-width: 290px; padding: 10px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  color: #4d5854; font-size: 12px; line-height: 1.35; font-weight: 600;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
}
.demo-toast b { display: block; color: #111916; font-size: 13px; }
.demo-toast .hf-icon { width: 32px; height: 32px; border-radius: 10px; }
.demo-toast svg { width: 16px; height: 16px; }
.demo-toast.is-on { visibility: visible; animation: toast-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.demo-toast[data-on="2"].is-on { animation-delay: 4.9s; }
.demo-toast[data-on="3"].is-on { animation-delay: 3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Адаптив */
@media (max-width: 1100px) {
  .story-layout { grid-template-columns: 1fr; gap: 16px; }
  .steps {
    flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 6px; padding-bottom: 6px; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .steps button {
    flex: 0 0 auto; scroll-snap-align: center;
    flex-direction: row; align-items: center; gap: 8px;
    padding: 10px 14px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
  }
  .steps button span,
  .steps button[aria-selected="true"] span { display: none; }
  .steps button span.step-bar,
  .steps button[aria-selected="true"] span.step-bar { display: block; left: 14px; right: 14px; bottom: 5px; }
  .steps button[aria-selected="true"] { background: rgba(255, 255, 255, 0.14); }
  .demo-caption { display: block; }
}

.demo-caption { display: none; margin: 0 0 12px; color: #c9d6d0; font-size: 14px; line-height: 1.5; min-height: 3em; }

@media (max-width: 900px) {
  .demo { height: 560px; }
  .cab-body { grid-template-columns: 1fr; }
  .cab-side { display: none; }
  .cab-who { display: none; }
  .pane { padding: 14px 12px; }
  .pane-sched { grid-template-columns: 1fr; }
  .sched-month { display: none; }
  .tg-phone { right: -6px; bottom: -14px; width: 214px; height: 400px; }
  .demo-toast { top: 52px; left: 10px; right: auto; max-width: calc(100% - 20px); }
  .week { grid-template-columns: 34px repeat(6, minmax(0, 1fr)); grid-template-rows: 38px repeat(5, 50px); padding: 6px; gap: 3px; }
  .ev { padding: 5px 4px; font-size: 10px; }
  .ev::after { width: 8px; height: 8px; top: 4px; right: 4px; }
  .cl-table { grid-template-columns: 1.1fr 1fr 0.9fr; }
  .cl-table > :nth-child(4n + 2) { display: none; }
  .cl-table > :nth-last-child(-n + 4) { border-bottom: 0; }
}

@media (max-width: 560px) {
  .story h2 br { display: none; }
  .demo { height: 520px; }
  .tg-phone { width: 196px; height: 372px; right: -8px; }
  .link-btn { display: none; }
  .wk-legend { flex-wrap: wrap; gap: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pane, .tg-phone, .cab-modal { transition: none; }
  .tg-chat.is-on > *, .tg-chat.is-on .tap, .demo-toast.is-on, .cab-modal.is-on .typing,
  .demo .ev-new, .pane-clients.is-on .cl-table > * { animation: none !important; }
  .demo-toast.is-on { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .tg-phone { left: -8px; right: auto; }
}

/* поправки демо */
@media (max-width: 1100px) { .demo-caption { display: block; } }
.cab-modal.is-on .typing { animation: chat-in 0.6s ease 0.8s both; }
@media (max-width: 900px) {
  .sched-month { display: block; }
  .sched-grid span { padding: 6px 0 4px; font-size: 12px; }
}
.cab-chip { line-height: 1.2; }
@media (min-width: 901px) { .tg-phone { right: -46px; } }
.bubble.btn {
  align-self: stretch; text-align: center;
  border-radius: 10px; background: #2aa3e0; border-color: #2aa3e0; color: #fff; font-weight: 800;
}
.can-reveal .b-dark.is-in .bubble:nth-child(3) { animation-delay: 1.5s; }

/* Слайд «Напоминания» */
.nt-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; margin-bottom: 6px;
  background: #fff; border: 1px solid #e4ebe7; border-radius: 12px;
}
.nt-who {
  flex: none; width: 62px; text-align: center;
  padding: 3px 0; border-radius: 999px;
  background: #eef6fb; color: #1f86c9; font-size: 10.5px; font-weight: 800;
}
.nt-who.you { background: #e5f4ed; color: #1d6b48; }
.nt-txt { display: grid; gap: 1px; min-width: 0; }
.nt-txt b { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.nt-txt small { color: #6d7773; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-plan {
  font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 5px; border-radius: 5px; background: #e5f4ed; color: #1d6b48;
}
.tgl {
  margin-left: auto; flex: none; position: relative;
  width: 34px; height: 20px; border-radius: 999px; background: #d9e0dc;
}
.tgl::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform 0.3s ease;
}
.tgl.on { background: #23865f; }
.tgl.on::after { transform: translateX(14px); }
.pane-notify.is-on .nt-row { animation: shot-rise 0.4s both; }
.pane-notify.is-on .nt-row:nth-of-type(2) { animation-delay: 0.08s; }
.pane-notify.is-on .nt-row:nth-of-type(3) { animation-delay: 0.16s; }
.pane-notify.is-on .nt-row:nth-of-type(4) { animation-delay: 0.24s; }
.pane-notify.is-on .nt-row:nth-of-type(5) { animation-delay: 0.32s; }
.pane-notify.is-on .nt-row:nth-of-type(6) { animation-delay: 0.4s; }

.day-sep {
  align-self: center; margin: 2px 0;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(17, 25, 22, 0.28); color: #fff; font-size: 10px; font-weight: 700;
}
.msg u { color: #1f86c9; text-decoration: none; }
.tg-chat[data-on="4"].is-on > :nth-child(1) { animation-delay: 0.3s; }
.tg-chat[data-on="4"].is-on > :nth-child(2) { animation-delay: 0.7s; }
.tg-chat[data-on="4"].is-on > :nth-child(3) { animation-delay: 2.6s; }
.tg-chat[data-on="4"].is-on > :nth-child(4) { animation-delay: 3s; }
.demo-toast[data-on="4"].is-on { animation-delay: 1.4s; }

@media (max-width: 900px) {
  .nt-who { width: 54px; }
  .nt-txt small { white-space: normal; }
}
.nt-row .tgl { order: -1; margin-left: 0; }

/* ===================== Первый экран: две колонки на широких экранах ===================== */
@media (min-width: 1100px) {
  .hero { text-align: left; padding: 44px 0 56px; }
  .hero::before { left: 72%; top: -140px; width: 760px; height: 520px; }
  .hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: 64px;
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(44px, 4.3vw, 64px);
    margin: 20px 0 18px;
    max-width: none;
  }
  .hero .lead { margin: 0; max-width: 34em; font-size: 17px; }
  .hero .actions { justify-content: flex-start; margin-top: 26px; }
  .hero .note { margin-top: 12px; }
  .hero-stage { margin: 0; max-width: none; }
  .hero-stage .session-screen { aspect-ratio: 4 / 3; }
  .session-self { width: 28%; }
  .hf-booking { left: -36px; top: 16%; }
  .hf-card { right: -28px; bottom: 14%; }
  .hf-remind { left: 8%; bottom: -18px; }
}

/* Ноутбуки с невысоким экраном: держим видео в пределах первого экрана */
@media (min-width: 1100px) and (max-height: 820px) {
  .hero { padding-top: 28px; padding-bottom: 44px; }
  .hero-stage .session-screen { aspect-ratio: auto; height: min(520px, calc(100vh - 170px)); }
  .hero h1 { font-size: clamp(40px, 4vw, 56px); }
}

/* Планшеты: видео поуже, чтобы влезало */
@media (min-width: 561px) and (max-width: 1099px) {
  .hero-stage { max-width: 760px; margin-top: 40px; }
}

/* Телефоны: плотнее */
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero h1 { margin: 14px auto 12px; }
  .hero .lead { font-size: 15px; line-height: 1.55; }
  .hero .actions { margin-top: 20px; }
  .hero-stage { margin-top: 36px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: clamp(42px, 3.7vw, 54px); }
}

/* ===================== «Об оплате напомнит Сеттинг» ===================== */
.pay { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.pay .phone-wrap { order: -1; }
.pay h2 { max-width: 11em; }
.pay-chat { padding: 44px 0 0; gap: 0; overflow: hidden; }
.pay-chat .tg-head { border-radius: 0; padding: 10px 14px; }
.pay-chat .tg-head b { font-size: 13px; }
.pay-msgs {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  padding: 14px 10px 18px;
  border-radius: 0 0 34px 34px;
  background: #dfe9e3 radial-gradient(circle at 20% 20%, #e9f1ec 0 2px, transparent 3px) 0 0 / 22px 22px;
}
.pay-msgs .msg { font-size: 13px; line-height: 1.4; padding: 9px 11px; }
.pay-msgs .kb em { font-size: 12.5px; padding: 9px 4px; }
.pay-msgs .day-sep { font-size: 11px; }
.pay .phone-toast { top: 2%; bottom: auto; right: max(0px, calc(50% - 280px)); }
.can-reveal .pay .phone-wrap.is-in .pay-msgs > * { animation: chat-in 0.4s ease both; }
.can-reveal .pay .phone-wrap.is-in .pay-msgs > :nth-child(2) { animation-delay: 0.4s; }
.can-reveal .pay .phone-wrap.is-in .pay-msgs > :nth-child(3) { animation-delay: 0.7s; }
.can-reveal .pay .phone-wrap.is-in .pay-msgs > :nth-child(4) { animation-delay: 1.6s; }

@media (max-width: 900px) {
  .pay { grid-template-columns: 1fr; }
  .pay .phone-wrap { order: 0; }
}
@media (max-width: 560px) {
  .pay .phone-toast { top: -12px; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .can-reveal .pay .phone-wrap.is-in .pay-msgs > * { animation: none; }
}

/* Видео первого экрана: клиент чуть левее, чтобы окно «Вы» не закрывало ему голову */
.session-scene { object-position: 85% 30%; }

/* ===================== «Как работает»: компактнее на компьютере ===================== */
@media (min-width: 1101px) {
  .story { padding: 44px 48px 48px; }
  .story-layout { margin-top: 24px; }
  .steps { gap: 2px; }
  .steps button {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 6px;
    row-gap: 4px;
    align-items: baseline;
    padding: 10px 14px 13px;
    border-radius: 14px;
  }
  .steps button span:not(.step-bar) { grid-column: 2; font-size: 13.5px; line-height: 1.45; }
  .steps button span.step-bar { left: 14px; right: 14px; bottom: 6px; }
  .demo { height: 500px; }
}

/* Как начать за 10 минут (v95) */
#how-start .start-steps {
  max-width: 720px;
  margin-bottom: 24px;
}

/* Наведение — как в кабинете: заливная кнопка светлеет и всплывает,
   у белой ярче рамка, текстовые ссылки темнеют. Макеты кабинета в демо не трогаем. */
.landing :is(a, button, summary) {
  transition: color 0.15s, background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.landing :is(a, button).btn:not(.white):not(.ghost):hover {
  background: #1d6b48;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px #1d6b4840;
}

.landing :is(a, button).btn:not(.white):not(.ghost):active {
  transform: none;
  box-shadow: 0 4px 10px #123b2d26;
}

/* Нарисованная кнопка в макете телефона — не команда. */
.landing span.btn {
  pointer-events: none;
}

.landing :is(a, button).btn.white:hover {
  background: #fff;
  border-color: #8fbca7;
  color: var(--ink);
}

.landing .login:hover,
.landing .auth-close:hover,
.landing .foot a:hover {
  color: var(--ink);
}

.landing .faq details:has(summary:hover) {
  border-color: #8fbca7;
}

.landing .price .more summary:hover,
.landing .enter .hint a:hover,
.landing .legal a:hover {
  color: #123b2d;
}

/* «Практика»: тёмно-зелёная шапка с ценой, как в кабинете → «Тариф». */
.price.featured {
  padding: 0;
  overflow: hidden;
}

.price.featured .price-head {
  padding: 24px 26px 22px;
  background: var(--deep);
  color: #fff;
}

.price.featured .price-head .plan-badge {
  background: #ffffff1f;
  color: #fff;
}

.price.featured .price-head .cost span,
.price.featured .price-head .fine {
  color: #cfe3d8;
}

.price.featured .price-head .save {
  color: #fff;
}

/* Звёздочка у «Практики» — песочная, как в кабинете. */
.price.featured .price-head h3::after {
  content: "★";
  margin-left: 6px;
  color: var(--sand);
  font-size: 0.85em;
}

.price.featured > ul,
.price.featured > .btn,
.price.featured > .fine {
  margin-left: 26px;
  margin-right: 26px;
}

.price.featured > .btn {
  width: calc(100% - 52px);
}

.price.featured > .fine:last-child {
  margin-bottom: 26px;
}

.price.featured .fine a {
  color: #1d6b48;
}
