/* ==========================================================================
   Creatly — лендинг
   Палитра: бумага с зелёным оттенком, лесные чернила, светло-зелёный «росток»
   Шрифты: Geologica (заголовки), Golos Text (текст), Martian Mono (цифры, адреса)
   ========================================================================== */

:root {
  --paper: #FCFEFA;
  --paper-2: #F4F9EC;
  --card: #FFFFFF;
  --ink: #15220F;
  --ink-2: #526049;
  --ink-3: #7E8B76;
  --line: #E8EEE0;
  --line-2: #F3F7ED;
  --sprout: #C2FA7F;
  --sprout-hover: #CEFD96;
  --sprout-2: #A9EE60;
  --sprout-pale: #EEFEDE;
  --neon: #B4FF2E;
  --leaf: #2E6912;

  --shadow-1: 0 1px 2px rgba(40, 70, 20, .04), 0 10px 22px -14px rgba(40, 70, 20, .12);
  --shadow-2: 0 2px 4px rgba(40, 70, 20, .03), 0 28px 56px -32px rgba(40, 70, 20, .18);
  --glow: 0 0 14px rgba(180, 255, 46, .75);

  --f-display: "Geologica", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.45, .5, 1);

  color-scheme: light;
}

/* ---------- База ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 12px; }

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

.ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono-s { font: 500 .82em/1 var(--f-mono); letter-spacing: -.01em; }

.link {
  color: var(--leaf);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.link:hover { text-decoration-color: var(--sprout-2); }

/* ---------- Типографика ---------- */

.h1, .h2, .h3, .h-final {
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  color: var(--ink);
  text-wrap: balance;
}

.h1 {
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.048em;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -.038em;
}

.h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}

.lead {
  font-size: clamp(18px, 1.55vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 32em;
}

.label {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--leaf);
}

.sec-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}

.mark {
  position: relative;
  z-index: 0;
  background: none;
  color: inherit;
  white-space: nowrap;
}
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .16em -.1em .02em;
  background: linear-gradient(100deg, var(--sprout), var(--neon));
  box-shadow: 0 8px 26px -8px rgba(180, 255, 46, .85);
  border-radius: .12em;
  transform-origin: 0 50%;
  animation: swipe .8s .45s var(--ease) both;
}
@keyframes swipe { from { transform: scaleX(0); } }

/* ---------- Кнопки ---------- */

.btn {
  --bg: var(--card);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  font: 600 15px/1.1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn-lg { min-height: 58px; padding: 0 26px; font-size: 17px; border-radius: 16px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; gap: 8px; }
.btn-sm .ic { width: 16px; height: 16px; }

.btn-sprout {
  --bg: var(--sprout);
  box-shadow: inset 0 -2px 0 rgba(19, 32, 15, .12), 0 10px 24px -16px rgba(140, 230, 40, .9);
}
.btn-sprout:hover {
  --bg: var(--sprout-hover);
  box-shadow: inset 0 -2px 0 rgba(19, 32, 15, .12), 0 16px 32px -12px rgba(180, 255, 46, 1);
}
.btn-sprout:hover .ic, .btn-ink:hover .ic { transform: translateX(3px); }

.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-ink .ic { color: var(--neon); filter: drop-shadow(var(--glow)); }
.btn-ink:hover { --bg: #24381D; }

.btn-ghost { --bg: transparent; border-color: var(--line); }
.btn-ghost:hover { --bg: var(--card); border-color: var(--ink-3); }

/* ---------- Шапка ---------- */

.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(252, 254, 250, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-stuck { border-bottom-color: var(--line); }

.top-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}
.logo-mark { width: 32px; height: 32px; --mark-a: var(--sprout); --mark-b: var(--paper); }
.logo:hover .logo-mark { animation: nod .5s var(--spring); }
@keyframes nod { 40% { transform: rotate(-8deg) scale(1.06); } }

.logo-word {
  font: 760 24px/1 var(--f-display);
  font-variation-settings: "SHRP" 100;
  letter-spacing: -.055em;
  padding-bottom: 3px;
}

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.top .btn { margin-left: 8px; }

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

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(28px, 4.5vw, 60px) clamp(64px, 8vw, 112px);
}

/* мягкое зелёное свечение за демо */
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -90px 0 18%;
  pointer-events: none;
  background: radial-gradient(62% 56% at 76% 20%, rgba(180, 255, 46, .18), rgba(180, 255, 46, 0) 70%);
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

/* сетка колонок, как в редакторе макетов */
.hero-in::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -120px var(--gutter) -40px;
  pointer-events: none;
  background: repeating-linear-gradient(to right, rgba(46, 105, 18, .06) 0 1px, transparent 1px calc(100% / 12));
  box-shadow: inset -1px 0 rgba(46, 105, 18, .06);
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 88%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .22s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.presence {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font: 500 12px/1 var(--f-mono);
}
.presence-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon);
  filter: drop-shadow(0 0 5px rgba(180, 255, 46, 1));
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(180, 255, 46, .8); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(180, 255, 46, 0); }
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ink-2);
  font-size: 15px;
}
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof .ic { width: 16px; height: 16px; color: var(--leaf); stroke-width: 2.6; }

/* ---------- Демо: вкладки ---------- */

.demo {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: rise .9s .2s var(--ease) both;
}

.demo-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-left: clamp(0px, 5vw, 64px); }
.demo-tabs-label {
  margin-right: 6px;
  color: var(--ink-3);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.chip {
  position: relative;
  overflow: hidden;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 14px/1 var(--f-body);
  cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:focus-visible { outline-offset: 2px; }
.chip-bar {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(180, 255, 46, .9);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.chip.is-running .chip-bar { animation: fill var(--cycle, 10s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Демо: сцена ---------- */

.stage {
  position: relative;
  padding-left: clamp(0px, 5vw, 64px);
  padding-bottom: 272px;
}

.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-2);
}

.b-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-2);
  background: #FDFEFB;
}
.b-nav { display: inline-flex; color: var(--ink-3); }
.b-nav .ic { width: 18px; height: 18px; }

.b-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--paper-2);
  color: var(--ink-2);
  font: 500 12px/1 var(--f-mono);
}
.b-url-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.b-url-text.is-pending { color: var(--ink-3); }
.b-lock { width: 13px; height: 13px; color: var(--ink-3); transition: color .3s; }
.demo.p-s4 .b-lock { color: var(--leaf); }

.b-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--neon);
  text-shadow: 0 0 12px rgba(180, 255, 46, .6);
  font: 600 12px/1 var(--f-mono);
  font-stretch: 87.5%;
  font-variant-numeric: tabular-nums;
}
.b-timer .ic { width: 14px; height: 14px; }

/* ---------- Демо: сгенерированный сайт ---------- */

.site {
  --s-bg: #FFFFFF;
  --s-ink: #1C2419;
  --s-soft: #6B7564;
  --s-acc: #E4EBDC;
  --s-acc-ink: #1C2419;
  --s-card: #FAFCF7;
  --s-line: #EFF3EA;
  --s-font: var(--f-body);
  --s-weight: 650;
  --s-case: none;
  --s-track: -.02em;
  --s-radius: 8px;
  --s-radius-l: 12px;
  --s-art: #F5F8F1;
  --sk: #F1F5EC;

  position: relative;
  overflow: hidden;
  container-type: inline-size;
  padding: 3.2% 4% 12%;
  background: var(--s-bg);
  color: var(--s-ink);
  font-family: var(--s-font);
  transition: background-color .6s var(--ease), color .6s var(--ease);
}

.site > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.demo.p-s1 .site > * { opacity: 1; transform: none; }
.demo.p-s1 .site > :nth-child(2) { transition-delay: .1s; }
.demo.p-s1 .site > :nth-child(3) { transition-delay: .2s; }

/* пока текстов нет — серые полосы-скелетоны */
.site [data-k] {
  color: transparent;
  background-color: var(--sk);
  border-radius: .35em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: color .5s var(--ease), background-color .5s var(--ease);
}
.demo.p-s2 .site [data-k] { color: inherit; background-color: transparent; }

.s-nav {
  display: flex;
  align-items: center;
  gap: 3cqi;
  padding-bottom: 3cqi;
  border-bottom: 1px solid var(--s-line);
  transition: border-color .6s;
}
.s-logo {
  font-size: 3.3cqi;
  font-weight: 700;
  letter-spacing: var(--s-track);
  text-transform: var(--s-case);
}
.s-menu { display: flex; gap: 2.2cqi; margin-left: auto; }
.s-menu i { width: 6.5cqi; height: 1.1cqi; border-radius: 1cqi; background: var(--s-line); transition: background-color .6s; }

.s-pill, .s-btn {
  background: var(--s-acc);
  color: var(--s-acc-ink);
  border-radius: var(--s-radius);
  font-weight: 600;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
.s-pill { padding: 1.3cqi 2.4cqi; font-size: 2.2cqi; }

.s-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 4cqi;
  padding-block: 5cqi 4.5cqi;
}
.s-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2.2cqi; }
.s-kicker { font-size: 1.9cqi; letter-spacing: .09em; text-transform: uppercase; color: var(--s-soft); }
.s-title {
  font-size: 5.5cqi;
  line-height: 1.04;
  font-weight: var(--s-weight);
  letter-spacing: var(--s-track);
  text-transform: var(--s-case);
  text-wrap: balance;
}
.s-text { max-width: 40ch; font-size: 2.4cqi; line-height: 1.45; color: var(--s-soft); }
.s-btn { margin-top: 1cqi; padding: 1.9cqi 3.2cqi; font-size: 2.3cqi; }

.s-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--s-radius-l);
  background: var(--s-art);
}
.s-art-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--s-acc);
  font: 800 12cqi/1 var(--f-display);
  font-variation-settings: "SHRP" 100;
  letter-spacing: -.06em;
}
.s-art-label [data-k]:empty { display: none; }

.s-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2cqi; }
.s-card {
  display: flex;
  flex-direction: column;
  gap: .9cqi;
  padding: 2.3cqi 2.5cqi;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  background: var(--s-card);
  transition: background-color .6s var(--ease), border-color .6s var(--ease);
}
.s-card-t { font-size: 2cqi; color: var(--s-soft); }
.s-card-v { font-size: 2.7cqi; font-weight: 700; }

/* полоса «покраски» в момент, когда применяется дизайн */
.site::after {
  content: "";
  position: absolute;
  inset: -30% 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(180, 255, 46, .6) 48%, rgba(180, 255, 46, .16) 56%, transparent 70%);
}
.demo.p-s3:not(.p-s4) .site::after { animation: sweep 1s var(--ease) both; }
@keyframes sweep {
  from { opacity: 1; transform: translateY(-45%); }
  to { opacity: 0; transform: translateY(45%); }
}

/* темы: палитра и шрифты под нишу */
.demo.p-s3 .site[data-site="coffee"] {
  --s-bg: #F3ECE2;
  --s-ink: #3A2819;
  --s-soft: #7A6552;
  --s-acc: #B8672E;
  --s-acc-ink: #FFF6EC;
  --s-card: #FBF7F1;
  --s-line: #E2D5C4;
  --s-font: Georgia, "Times New Roman", serif;
  --s-weight: 400;
  --s-track: -.01em;
  --s-radius: 999px;
  --s-radius-l: 50%;
  --s-art: radial-gradient(circle, #DDA870 0 17%, #8E5129 18% 30%, #FFFDF9 31% 37%, #E9DCCB 38% 60%, #DCCBB5 61% 100%);
}

.demo.p-s3 .site[data-site="barber"] {
  --s-bg: #17181A;
  --s-ink: #F1EEE6;
  --s-soft: #A29D91;
  --s-acc: #D9A441;
  --s-acc-ink: #17181A;
  --s-card: #202124;
  --s-line: #303235;
  --s-font: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --s-weight: 800;
  --s-case: uppercase;
  --s-track: .01em;
  --s-radius: 2px;
  --s-radius-l: 3px;
  --s-art: repeating-linear-gradient(135deg, #D9A441 0 11%, #F1EEE6 11% 16%, #A8382A 16% 27%, #F1EEE6 27% 32%);
}

.demo.p-s3 .site[data-site="tutor"] {
  --s-bg: #FFFFFF;
  --s-ink: #10214A;
  --s-soft: #58668A;
  --s-acc: #2F62F5;
  --s-acc-ink: #FFFFFF;
  --s-card: #F3F6FF;
  --s-line: #E0E6F6;
  --s-font: var(--f-body);
  --s-weight: 700;
  --s-track: -.03em;
  --s-radius: 10px;
  --s-radius-l: 14px;
  --s-art: linear-gradient(#E3E9FA 1px, transparent 1px) 0 0 / 10% 10%, linear-gradient(90deg, #E3E9FA 1px, transparent 1px) 0 0 / 10% 10%, #FAFBFF;
}

/* ---------- Демо: чат ---------- */

.chat {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(320px, 80%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-2);
  font-size: 13px;
  line-height: 1.45;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
}
.ava {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
}
.ava svg { width: 20px; height: 20px; color: var(--sprout); --mark-a: var(--ink); --mark-b: var(--ink); }
.ava-sm { width: 30px; height: 30px; }
.ava-sm svg { width: 17px; height: 17px; }

.chat-who { display: flex; flex-direction: column; line-height: 1.25; }
.chat-who b { font-size: 14px; }
.chat-who small { color: var(--ink-3); font-size: 12px; }

.chat-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 262px;
  padding: 12px;
  background: radial-gradient(rgba(46, 105, 18, .06) 1px, transparent 1.3px) 0 0 / 14px 14px, #F8FCF3;
}

.msg {
  display: none;
  position: relative;
  max-width: 90%;
  margin: 0;
  padding: 8px 11px;
  border-radius: 14px;
  box-shadow: 0 1px 1px rgba(19, 32, 15, .07);
}
.msg.out { align-self: flex-end; background: var(--sprout-pale); border-bottom-right-radius: 5px; }
.msg.in { align-self: flex-start; background: var(--card); border-bottom-left-radius: 5px; }
.msg time { float: right; margin: 7px 0 -4px 10px; color: var(--leaf); font-size: 10.5px; opacity: .8; }

.demo.p-prompt .msg.out,
.demo.p-steps .steps-msg,
.demo.p-done .done-msg { display: block; animation: pop .4s var(--spring) both; }
.demo.p-typing:not(.p-steps) .typing { display: flex; animation: pop .3s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }

.typing { gap: 4px; padding: 11px 13px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}

.steps { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--ink-3); transition: color .3s; }
.steps .ic {
  width: 16px;
  height: 16px;
  padding: 2px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: transparent;
  stroke-width: 3.2;
  transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--spring);
}
.demo.p-s1 [data-step="1"],
.demo.p-s2 [data-step="2"],
.demo.p-s3 [data-step="3"],
.demo.p-s4 [data-step="4"] { color: var(--ink); }
.demo.p-s1 [data-step="1"] .ic,
.demo.p-s2 [data-step="2"] .ic,
.demo.p-s3 [data-step="3"] .ic,
.demo.p-s4 [data-step="4"] .ic {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
  box-shadow: 0 0 12px rgba(180, 255, 46, .8);
  transform: scale(1.08);
}

.done-msg b { font-family: var(--f-mono); font-weight: 600; font-size: 12px; }
.msg-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--leaf);
  font: 500 11.5px/1.2 var(--f-mono);
}
.msg-link .ic { width: 14px; height: 14px; }

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

.section { padding-block: clamp(72px, 10vw, 136px); }

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-head-split {
  max-width: none;
  flex-flow: row wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 48px;
}
.sec-head-split > div { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.sec-head-split .sec-sub { max-width: 25em; }

/* ---------- Сравнение сроков ---------- */

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

.chart {
  --c-name: 250px;
  --c-val: 118px;
  --c-gap: 28px;
  position: relative;
  padding-top: 34px;
}

.chart-axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--c-name) + var(--c-gap));
  right: calc(var(--c-val) + var(--c-gap));
  pointer-events: none;
}
.chart-axis span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--at) * 1%);
  padding-left: 7px;
  border-left: 1px dashed var(--line);
  color: var(--ink-3);
  font: 500 11px/1 var(--f-mono);
  white-space: nowrap;
}
.chart-axis span:last-child {
  padding: 0 7px 0 0;
  border-left: 0;
  border-right: 1px dashed var(--line);
  transform: translateX(-100%);
}

.chart-rows { position: relative; margin: 0; padding: 0; list-style: none; }

.c-row {
  display: grid;
  grid-template-columns: var(--c-name) minmax(0, 1fr) var(--c-val);
  align-items: center;
  gap: var(--c-gap);
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.c-row:last-child { border-bottom: 1px solid var(--line); }

.c-name { display: flex; flex-direction: column; gap: 2px; }
.c-name b { font-size: 17px; font-weight: 600; }
.c-name span { color: var(--ink-3); font-size: 14px; }

.c-track { position: relative; height: 14px; }
.c-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--from) / 56 * 100%);
  width: calc((var(--to) - var(--from)) / 56 * 100%);
  border-radius: 999px;
  background: linear-gradient(90deg, #E9EFE0, #C2CEB5);
  transform-origin: 0 50%;
}

.c-val {
  justify-self: end;
  color: var(--ink-2);
  font: 600 13px/1.2 var(--f-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.c-row-us .c-name b {
  font: 760 22px/1.1 var(--f-display);
  font-variation-settings: "SHRP" 100;
  letter-spacing: -.035em;
}
.c-row-us .c-name span { color: var(--leaf); }
.c-row-us .c-val { padding: 8px 10px; border-radius: 9px; background: var(--sprout); color: var(--ink); }

.c-us {
  position: absolute;
  left: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--neon);
  filter: drop-shadow(0 0 6px rgba(180, 255, 46, 1));
  animation: ping 2.2s infinite;
}
.c-note {
  position: absolute;
  left: 22px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--leaf);
  font-size: 14px;
  line-height: 1.3;
}
.c-note b { font: 600 13px/1 var(--f-mono); }

@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Как это работает ---------- */

.how { background: var(--paper-2); }

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}

.how-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 60px; }
.how-step > p { max-width: 30em; color: var(--ink-2); font-size: 16px; }

.how-time, .how-step:last-child::after {
  position: absolute;
  top: 0;
  padding: 9px 11px;
  border-radius: 9px;
  font: 600 13px/1 var(--f-mono);
  font-variant-numeric: tabular-nums;
}
.how-time { left: 0; background: var(--ink); color: var(--neon); text-shadow: 0 0 12px rgba(180, 255, 46, .6); }
.how-step:last-child::after {
  content: "5:00";
  right: 0;
  border: 1px dashed var(--ink-3);
  background: var(--paper-2);
  color: var(--ink-3);
}

.snip {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 150px;
  margin-top: auto;
  padding: 16px;
  border-radius: 20px;
  background: radial-gradient(rgba(46, 105, 18, .05) 1px, transparent 1.3px) 0 0 / 14px 14px, #FCFEFA;
}

.bubble {
  max-width: 92%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(19, 32, 15, .07);
  font-size: 14.5px;
  line-height: 1.4;
}
.bubble.out { align-self: flex-end; background: var(--sprout-pale); border-bottom-right-radius: 5px; }
.bubble.in { align-self: flex-start; background: var(--card); border-bottom-left-radius: 5px; }
.bubble-link { display: block; margin-top: 3px; color: var(--leaf); font: 500 12px/1.3 var(--f-mono); }

.voice { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; }
.voice-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--card);
}
.voice-play .ic { width: 15px; height: 15px; margin-left: 2px; fill: currentColor; stroke-width: 1; }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; }
.wave i { width: 3px; height: calc(var(--h) * 100%); border-radius: 2px; background: var(--leaf); }
.wave i:nth-child(n + 9) { opacity: .32; }
.voice-len { color: var(--leaf); font: 500 11px/1 var(--f-mono); }

.kbd { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.kbd span {
  display: grid;
  place-items: center;
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(19, 32, 15, .05);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.kbd span:last-child { grid-column: 1 / -1; }
.kbd .kbd-on { background: var(--sprout); }

/* ---------- Что внутри ---------- */

.inside-in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.inside-copy { display: flex; flex-direction: column; gap: 18px; }

.parts { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.parts li { border-bottom: 1px solid var(--line); }

.part {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 16px 12px 16px 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s;
}
.part::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-radius: 50%;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.part b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.part span { max-width: 36em; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.part:hover { background: rgba(255, 255, 255, .55); }
.part[aria-pressed="true"] { background: var(--card); }
.part[aria-pressed="true"]::before { border-color: var(--leaf); background: var(--sprout); box-shadow: 0 0 0 4px var(--sprout-pale); }

.tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.tech li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 14px;
}

.phone-wrap { position: relative; display: grid; justify-items: center; padding-bottom: 36px; }

.phone {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 340 / 700;
  padding: 11px;
  border-radius: 50px;
  background: var(--ink);
  box-shadow: var(--shadow-2), inset 0 0 0 2px #2B3B25;
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: var(--ink);
  transform: translateX(-50%);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #FBF1F1;
  scroll-behavior: smooth;
}

.m-site {
  --m-ink: #3D1420;
  --m-soft: #8A5F69;
  --m-acc: #9E2A4B;
  --m-line: #EFD9DE;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 44px 14px 120px;
  color: var(--m-ink);
  font-size: 13px;
  line-height: 1.45;
}

.m-part {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 20px;
  outline: 2px dashed transparent;
  outline-offset: -2px;
  transition: outline-color .3s, background-color .3s;
}
.m-part.is-on { outline-color: var(--leaf); background-color: rgba(180, 255, 46, .18); }

.m-nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.m-nav b { font: 700 15px/1 Georgia, "Times New Roman", serif; letter-spacing: .2em; }
.m-nav span {
  padding: 6px 10px;
  border: 1px solid var(--m-acc);
  border-radius: 999px;
  color: var(--m-acc);
  font-size: 11px;
  font-weight: 600;
}
.m-kick { margin-top: 14px; color: var(--m-soft); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.m-title { font: 400 29px/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.01em; text-wrap: balance; }
.m-text { color: var(--m-soft); }
.m-h { margin-bottom: 2px; font: 400 21px/1.1 Georgia, "Times New Roman", serif; }

.m-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--m-acc);
  color: #FFF4F6;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.m-btn-wide { width: 100%; }
.m-btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--m-acc); color: var(--m-acc); }

.m-swatches { display: flex; gap: 8px; margin-top: 6px; }
.m-swatches i { width: 36px; height: 52px; border-radius: 18px 18px 9px 9px; background: #9E2A4B; }
.m-swatches i:nth-child(2) { background: #D9788F; }
.m-swatches i:nth-child(3) { background: #F2C4CE; }
.m-swatches i:nth-child(4) { background: #5B1A2C; }
.m-swatches i:nth-child(5) { background: #E3A58A; }

.m-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-block: 8px;
  border-bottom: 1px solid var(--m-line);
}
.m-row b { font-weight: 600; white-space: nowrap; }

.m-field {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 13.5px;
}
.m-field small { color: var(--m-soft); font-size: 10px; }

.m-quote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  font: italic 14px/1.4 Georgia, "Times New Roman", serif;
}
.m-quote small { color: var(--m-soft); font: 500 11px/1 var(--f-body); }

.m-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.m-photos i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(140deg, #F2C4CE, #9E2A4B); }
.m-photos i:nth-child(2) { background: linear-gradient(140deg, #E3A58A, #5B1A2C); }
.m-photos i:nth-child(3) { background: linear-gradient(140deg, #FBE3E8, #D9788F); }

.m-map {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(28deg, transparent 46%, #FFFFFF 46% 50%, transparent 50%),
    linear-gradient(-62deg, transparent 58%, #FFFFFF 58% 61%, transparent 61%),
    linear-gradient(90deg, transparent 30%, #FFFFFF 30% 33%, transparent 33%),
    #F0E1E4;
}
.m-pin {
  position: absolute;
  left: 46%;
  top: 36%;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--m-acc);
  box-shadow: 0 0 0 5px rgba(158, 42, 75, .18);
  transform: rotate(-45deg);
}
.m-duo { display: flex; gap: 8px; width: 100%; }
.m-duo .m-btn { flex: 1; }

.lead-toast {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(336px, calc(100% - 8px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  font-size: 13px;
  line-height: 1.4;
  transform: translateX(-50%);
}
.lead-toast.is-ping { animation: toast .7s var(--spring); }
@keyframes toast { from { opacity: .2; transform: translate(-50%, 18px) scale(.94); } }
.lead-body { display: flex; flex-direction: column; min-width: 0; }
.lead-top { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); font-size: 12px; }
.lead-top b { color: var(--ink); font-weight: 600; }
.lead-title { font-weight: 600; }
.lead-text { color: var(--ink-2); }

/* ---------- Примеры ---------- */

.examples { background: var(--card); border-block: 1px solid var(--line); }

.ex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px);
}
.ex { display: flex; flex-direction: column; gap: 14px; }

.ex-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
  container-type: inline-size;
}

.ex-page {
  position: absolute;
  inset: 0 0 auto;
  min-height: 160%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3cqi;
  padding: 5cqi 6cqi;
  background: var(--x-bg);
  color: var(--x-ink);
  font-family: var(--x-font);
  transition: transform 1.1s var(--ease);
}
.ex:hover .ex-page { transform: translateY(-34%); }

.x-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 3cqi;
  border-bottom: 1px solid var(--x-line);
  font-size: 3.6cqi;
}
.x-nav b { font-weight: 700; letter-spacing: var(--x-track); text-transform: var(--x-case, none); }
.x-nav i { padding: 1.3cqi 2.6cqi; border: 1px solid currentColor; border-radius: var(--x-r); font-size: 2.9cqi; font-style: normal; }
.x-kick { margin-top: 2cqi; color: var(--x-soft); font-size: 2.7cqi; letter-spacing: .1em; text-transform: uppercase; }
.x-title {
  max-width: 94%;
  font-size: 8.2cqi;
  font-style: var(--x-style, normal);
  font-weight: var(--x-weight);
  line-height: 1.03;
  letter-spacing: var(--x-track);
  text-transform: var(--x-case, none);
  text-wrap: balance;
}
.x-btn {
  padding: 2.5cqi 4.2cqi;
  border-radius: var(--x-r);
  background: var(--x-acc);
  color: var(--x-acc-ink);
  font-size: 3.2cqi;
  font-weight: 600;
}
.x-art { flex: none; width: 100%; height: 36cqi; margin-top: 2cqi; border-radius: var(--x-r-l); background: var(--x-art); }
.x-list { display: flex; flex-direction: column; width: 100%; }
.x-list > span {
  display: flex;
  justify-content: space-between;
  gap: 3cqi;
  padding-block: 2.4cqi;
  border-bottom: 1px solid var(--x-line);
  font-size: 3.4cqi;
}

.ex[data-ex="garage"] .ex-page {
  --x-bg: #1D1E21; --x-ink: #F3F2EE; --x-soft: #9C9A94; --x-line: #34363A;
  --x-acc: #FF7A1A; --x-acc-ink: #1D1E21;
  --x-font: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --x-weight: 800; --x-case: uppercase; --x-track: .01em; --x-r: 3px; --x-r-l: 4px;
  --x-art: repeating-linear-gradient(-45deg, #FF7A1A 0 14px, #1D1E21 14px 28px);
}
.ex[data-ex="bakery"] .ex-page {
  --x-bg: #FCE9ED; --x-ink: #4A2327; --x-soft: #946068; --x-line: #F1CDD5;
  --x-acc: #4A2327; --x-acc-ink: #FCE9ED;
  --x-font: Georgia, "Times New Roman", serif;
  --x-weight: 400; --x-style: italic; --x-track: -.01em; --x-r: 999px; --x-r-l: 24px;
  --x-art: radial-gradient(circle at 24% 55%, #F4A9BA 0 13%, transparent 13.5%), radial-gradient(circle at 50% 45%, #FFF6E9 0 15%, transparent 15.5%), radial-gradient(circle at 76% 58%, #C98B6B 0 12%, transparent 12.5%), #F6D3DA;
}
.ex[data-ex="law"] .ex-page {
  --x-bg: #F6F7F9; --x-ink: #17223B; --x-soft: #5C667D; --x-line: #DDE1E8;
  --x-acc: #17223B; --x-acc-ink: #F6F7F9;
  --x-font: "Times New Roman", Georgia, serif;
  --x-weight: 700; --x-track: -.01em; --x-r: 2px; --x-r-l: 2px;
  --x-art: repeating-linear-gradient(90deg, #17223B 0 7px, transparent 7px 28px) 14px 100% / calc(100% - 14px) 64% no-repeat, linear-gradient(#B08D57, #B08D57) 0 14% / 100% 9% no-repeat, #E8EBF0;
}
.ex[data-ex="photo"] .ex-page {
  --x-bg: #FFFFFF; --x-ink: #111111; --x-soft: #777777; --x-line: #EAEAEA;
  --x-acc: #111111; --x-acc-ink: #FFFFFF;
  --x-font: Georgia, "Times New Roman", serif;
  --x-weight: 400; --x-track: -.02em; --x-r: 0; --x-r-l: 0;
  --x-art: linear-gradient(160deg, #DAD6CF, #8F8A82) 0 0 / 32% 100% no-repeat, linear-gradient(200deg, #BDB8AF, #56524C) 50% 0 / 32% 100% no-repeat, linear-gradient(140deg, #E9E6E0, #A7A198) 100% 0 / 32% 100% no-repeat, #FFFFFF;
}
.ex[data-ex="kids"] .ex-page {
  --x-bg: #FFF4CF; --x-ink: #1B2A5B; --x-soft: #56628A; --x-line: #F1E2A8;
  --x-acc: #2F5BEA; --x-acc-ink: #FFFFFF;
  --x-font: ui-rounded, "Nunito", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --x-weight: 800; --x-track: -.02em; --x-r: 14px; --x-r-l: 22px;
  --x-art: radial-gradient(circle at 22% 50%, #FF6B4A 0 15%, transparent 15.5%), linear-gradient(#2F5BEA, #2F5BEA) 50% 50% / 20% 48% no-repeat, linear-gradient(#FFB400, #FFB400) 80% 32% / 15% 26% no-repeat, #FFE58F;
}
.ex[data-ex="flowers"] .ex-page {
  --x-bg: #1F3A2C; --x-ink: #F7EDE6; --x-soft: #A9BDAF; --x-line: #2E4E3D;
  --x-acc: #F29BB5; --x-acc-ink: #1F3A2C;
  --x-font: Georgia, "Times New Roman", serif;
  --x-weight: 400; --x-style: italic; --x-track: -.01em; --x-r: 999px; --x-r-l: 140px 140px 16px 16px;
  --x-art: radial-gradient(circle at 50% 42%, #F7EDE6 0 6%, #F29BB5 6.5% 15%, #E0678C 15.5% 22%, transparent 22.5%), radial-gradient(circle at 27% 64%, #F29BB5 0 10%, transparent 10.5%), radial-gradient(circle at 73% 66%, #F7C6D4 0 9%, transparent 9.5%), #2B4D3A;
}

.ex-prompt { font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.ex-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: auto;
  color: var(--ink-3);
  font: 500 11.5px/1.3 var(--f-mono);
}
.ex-meta span:first-child { color: var(--leaf); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Тарифы ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
}
.plan + .plan { border-left: 1px solid var(--line); }
.plan-main { background: var(--sprout-pale); }

.plan-flag {
  position: absolute;
  top: 0;
  left: clamp(24px, 3vw, 36px);
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--neon);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.plan-name {
  font: 760 26px/1.1 var(--f-display);
  font-variation-settings: "SHRP" 100;
  letter-spacing: -.03em;
}
.plan-for { min-height: 3em; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.price { display: flex; align-items: baseline; gap: 8px; padding-block: 6px 2px; }
.price b {
  font: 800 clamp(44px, 4.6vw, 60px)/1 var(--f-display);
  font-variation-settings: "SHRP" 100;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.price span { color: var(--ink-2); font: 500 14px/1 var(--f-mono); }

.plan-list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0 0 8px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
}
.plan-main .plan-list { border-top-color: rgba(46, 105, 18, .22); }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}
.plan-list li.is-minus { color: var(--ink-3); }
.plan-list li.is-minus::before { top: .78em; height: 0; border-left: 0; border-bottom-color: var(--ink-3); transform: none; }
.plan .btn { width: 100%; }

.plans-note { max-width: 46em; margin-top: 20px; color: var(--ink-3); font-size: 14px; }

/* ---------- Вопросы ---------- */

.faq { background: var(--paper-2); }

.faq-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.faq-side { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 18px; }

.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat,
    var(--card);
  transition: transform .3s var(--ease), background-color .2s;
}
.qa summary:hover::after { background-color: var(--sprout-pale); }
.qa[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, var(--sprout);
}
.qa summary:focus-visible { border-radius: 8px; outline-offset: 4px; }
.qa-a { max-width: 40em; padding: 0 56px 24px 0; color: var(--ink-2); font-size: 16.5px; }
.qa[open] .qa-a { animation: rise .35s var(--ease); }

/* ---------- Финальный призыв ---------- */

.final { padding-block: clamp(72px, 9vw, 120px); }

.final-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  background: radial-gradient(120% 130% at 92% 4%, rgba(180, 255, 46, .95), rgba(180, 255, 46, 0) 58%), var(--sprout);
  color: var(--ink);
}
.final-card::before {
  content: "5:00";
  position: absolute;
  z-index: -1;
  right: -.04em;
  bottom: -.2em;
  color: rgba(19, 32, 15, .07);
  font: 600 clamp(150px, 25vw, 340px)/1 var(--f-mono);
  letter-spacing: -.08em;
  pointer-events: none;
}

.final-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.label-ink { color: var(--ink); opacity: .72; }
.h-final {
  max-width: 11em;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.045em;
}
.final-clock { max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.final-time {
  display: inline-block;
  min-width: 4ch;
  padding: 1px 8px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--neon);
  text-shadow: 0 0 12px rgba(180, 255, 46, .6);
  font: 600 .84em/1.4 var(--f-mono);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.final-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.final-small { color: rgba(19, 32, 15, .72); font-size: 14px; }

.final-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 216px;
  padding: 18px 18px 14px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 40px -26px rgba(19, 32, 15, .5);
  text-align: center;
  transform: rotate(2.5deg);
  transition: transform .4s var(--spring);
}
.final-qr:hover { transform: rotate(0deg) scale(1.02); }
.qr { width: 172px; aspect-ratio: 1; color: var(--ink); }
.qr svg { display: block; width: 100%; height: 100%; }
.final-qr p { color: var(--ink-2); font-size: 13px; line-height: 1.35; }

/* ---------- Подвал ---------- */

.foot { padding-block: 40px 48px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px 40px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-brand p { color: var(--ink-2); font-size: 15px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: 13px;
}
.foot-legal a { color: inherit; text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }

.dock { display: none; }

/* ---------- Появление при прокрутке (без наблюдателей, только CSS) ---------- */

@keyframes reveal { from { opacity: .4; transform: translateY(22px); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .c-bar { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .how-step, .ex, .plan { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}

/* ---------- Адаптив ---------- */

@container (max-width: 480px) {
  .s-logo { font-size: 4.2cqi; }
  .s-pill { font-size: 3cqi; }
  .s-hero { grid-template-columns: 1.5fr 1fr; }
  .s-kicker { font-size: 2.6cqi; }
  .s-title { font-size: 6.6cqi; }
  .s-text { font-size: 3.2cqi; }
  .s-btn { font-size: 3.1cqi; }
  .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-card:nth-child(3) { display: none; }
  .s-card-t { font-size: 2.8cqi; }
  .s-card-v { font-size: 3.6cqi; }
}

@media (max-width: 1020px) {
  .hero-in, .inside-in, .faq-in { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .faq-side { position: static; }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan-flag { position: static; align-self: flex-start; transform: none; }
  .plan-main { border-radius: 0; }
  .plan-for { min-height: 0; }
  .final-card { grid-template-columns: minmax(0, 1fr); }
  .final-card::before, .final-qr { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .how-steps { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .how-steps::before, .how-step:last-child::after { display: none; }
  .how-step { padding-top: 52px; }
}

@media (max-width: 720px) {
  .section { padding-block: 72px; }
  .sec-head-split { flex-direction: column; align-items: flex-start; }

  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }

  .demo-tabs, .stage { padding-left: 0; }
  .demo-tabs-label { flex-basis: 100%; margin-bottom: 2px; }
  .stage { display: flex; flex-direction: column; padding-bottom: 0; }
  .chat { position: relative; width: min(330px, calc(100% - 16px)); margin: -56px 8px 0 auto; }
  .chat-body { min-height: 250px; }

  .chart-axis { display: none; }
  .c-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name val" "track track";
    row-gap: 14px;
  }
  .c-name { grid-area: name; }
  .c-track { grid-area: track; }
  .c-val { grid-area: val; }
  .c-row-us .c-track { height: 40px; }
  .c-row-us .c-us { top: 50%; }

  .ex-grid { grid-template-columns: minmax(0, 1fr); }

  .qa summary { padding-block: 18px; font-size: 17px; }
  .qa-a { padding-right: 0; }

  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  .dock {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(252, 254, 250, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { width: 100%; min-height: 52px; }
}

@media (max-width: 420px) {
  .b-nav { display: none; }
  .top .btn-sm { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
