/* Koyomi — ознакомительная страница проекта.
 *
 * Здесь нет ни строчки JavaScript: все «сценки» — рисунки, собранные из
 * разметки и стилей, и оживают они силами одного CSS. Поэтому страница ничего
 * не собирает и никуда не обращается: после загрузки она молчит.
 *
 * Тёмная тема повторяет оформление приложения: почти чёрный фон, зелёный
 * акцент действий и розовый из иконки. Внешних шрифтов и библиотек нет.
 */

:root {
  --bg: #0a0e0b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9f0e7;
  --text-soft: #a3b0a4;
  --text-dim: #77857a;
  --green: #b7e08a;
  --green-deep: #7fb84f;
  --pink: #f58bae;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

/* Авторские правила display перебивают служебный стиль [hidden] браузера. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(183, 224, 138, 0.1);
  color: var(--green);
  padding: 2px 7px;
  border-radius: 7px;
  white-space: nowrap;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }
.brand-icon { width: 34px; height: 34px; border-radius: 10px; }
.brand-name { font-size: 18px; }

.nav { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; color: var(--text-soft); }
.nav a { transition: color 0.18s ease; }
.nav a:hover { color: var(--text); }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.badge-closed {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text-soft);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.badge-closed i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(245, 139, 174, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #cbec9f 0%, var(--green) 40%, #9fd06c 100%);
  color: #10160c;
  box-shadow: 0 10px 26px -12px rgba(183, 224, 138, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(183, 224, 138, 0.8); }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-strong); transform: translateY(-2px); }

.btn-large { padding: 17px 26px; font-size: 16px; border-radius: 16px; }

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

.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(560px 380px at 18% 30%, rgba(183, 224, 138, 0.16), transparent 65%),
    radial-gradient(520px 360px at 82% 18%, rgba(245, 139, 174, 0.14), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px 7px 12px;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(245, 139, 174, 0.18); }

h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
  font-weight: 700;
  text-wrap: balance;
  max-width: 18ch;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green) 10%, #e7f7cf 45%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 18px; color: var(--text-soft); margin: 20px 0 0; max-width: 34em; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 26px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}
.hero-facts li { position: relative; padding-left: 18px; }
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-deep);
}

.hero-art { position: relative; display: flex; justify-content: center; }

.phone {
  width: min(330px, 76vw);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.phone-screen { border-radius: 32px; overflow: hidden; background: #060906; }

.hero-badge {
  position: absolute;
  font-size: 13px;
  font-weight: 560;
  color: var(--text);
  background: rgba(16, 22, 17, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 15px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
  animation: float 6s ease-in-out infinite;
}
.hero-badge-a { top: 13%; left: -14px; }
.hero-badge-b { bottom: 15%; right: -14px; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --- Сценка «календарь» (первый экран) --------------------------------- */

.demo-cal {
  padding: 18px 14px 14px;
  background:
    radial-gradient(320px 200px at 50% -10%, rgba(183, 224, 138, 0.09), transparent 70%),
    #060906;
  font-size: 11px;
  color: var(--text-soft);
  user-select: none;
}

.cal-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.cal-title { font-size: 19px; font-weight: 660; color: var(--text); letter-spacing: -0.02em; }
.cal-sub { font-size: 10.5px; color: var(--text-dim); }

.cal-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 12px;
}
.cal-tabs b {
  flex: 1;
  text-align: center;
  font-weight: 520;
  font-size: 10.5px;
  padding: 6px 0;
  border-radius: 8px;
  color: var(--text-dim);
  transition: background 0.3s ease, color 0.3s ease;
}
.cal-tabs .on { background: rgba(183, 224, 138, 0.16); color: var(--green); }

.cal-month { text-align: center; font-size: 12px; color: var(--text); margin-bottom: 10px; font-weight: 560; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid .dow {
  text-align: center;
  font-size: 9.5px;
  color: var(--text-dim);
  padding-bottom: 4px;
  text-transform: lowercase;
}
.cal-grid i {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-style: normal;
  font-size: 10.5px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.022);
  animation: calCell 9s ease-in-out infinite both;
}
.cal-grid i.dim { color: rgba(119, 133, 122, 0.5); }

/* События: цветная плашка внизу ячейки. */
.cal-grid i.ev::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--green);
  animation: calEvent 9s ease-in-out infinite both;
}
.cal-grid i.ev-1::after { animation-delay: 2.1s; width: 55%; }
.cal-grid i.ev-2::after { animation-delay: 2.6s; width: 40%; background: var(--pink); }
.cal-grid i.ev-3::after { animation-delay: 3.1s; width: 62%; }
.cal-grid i.ev-4::after { animation-delay: 3.6s; width: 48%; }

.cal-grid i.today {
  background: linear-gradient(180deg, #cbec9f, #9fd06c);
  color: #10160c;
  font-weight: 680;
  animation: calCell 9s ease-in-out infinite both, calToday 3s ease-in-out infinite;
}

/* Ячейки проявляются каскадом, живут и гаснут вместе с циклом. */
@keyframes calCell {
  0% { opacity: 0; transform: scale(0.72); }
  6% { opacity: 0; transform: scale(0.72); }
  16% { opacity: 1; transform: scale(1); }
  84% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.72); }
}
@keyframes calEvent {
  0%, 22% { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
  32% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  84% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  94%, 100% { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
}
@keyframes calToday {
  0%, 100% { box-shadow: 0 0 0 0 rgba(183, 224, 138, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(183, 224, 138, 0); }
}

/* Каскад по строкам сетки. */
.cal-grid i:nth-child(7n + 8)  { animation-delay: 0.05s; }
.cal-grid i:nth-child(7n + 9)  { animation-delay: 0.10s; }
.cal-grid i:nth-child(7n + 10) { animation-delay: 0.15s; }
.cal-grid i:nth-child(7n + 11) { animation-delay: 0.20s; }
.cal-grid i:nth-child(7n + 12) { animation-delay: 0.25s; }
.cal-grid i:nth-child(7n + 13) { animation-delay: 0.30s; }
.cal-grid i:nth-child(7n + 14) { animation-delay: 0.35s; }
.cal-grid i:nth-child(7n + 15) { animation-delay: 0.40s; }
.cal-grid i:nth-child(7n + 16) { animation-delay: 0.45s; }
.cal-grid i:nth-child(7n + 17) { animation-delay: 0.50s; }
.cal-grid i:nth-child(7n + 18) { animation-delay: 0.55s; }
.cal-grid i:nth-child(7n + 19) { animation-delay: 0.60s; }
.cal-grid i:nth-child(7n + 20) { animation-delay: 0.65s; }
.cal-grid i:nth-child(7n + 21) { animation-delay: 0.70s; }
.cal-grid i:nth-child(7n + 22) { animation-delay: 0.75s; }
.cal-grid i:nth-child(7n + 23) { animation-delay: 0.80s; }
.cal-grid i:nth-child(7n + 24) { animation-delay: 0.85s; }
.cal-grid i:nth-child(7n + 25) { animation-delay: 0.90s; }
.cal-grid i:nth-child(7n + 26) { animation-delay: 0.95s; }
.cal-grid i:nth-child(7n + 27) { animation-delay: 1.00s; }
.cal-grid i:nth-child(7n + 28) { animation-delay: 1.05s; }
.cal-grid i:nth-child(7n + 29) { animation-delay: 1.10s; }
.cal-grid i:nth-child(7n + 30) { animation-delay: 1.15s; }
.cal-grid i:nth-child(7n + 31) { animation-delay: 1.20s; }
.cal-grid i:nth-child(7n + 32) { animation-delay: 1.25s; }
.cal-grid i:nth-child(7n + 33) { animation-delay: 1.30s; }
.cal-grid i:nth-child(7n + 34) { animation-delay: 1.35s; }

.cal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
}
.cal-today { color: var(--text); font-weight: 560; }
.cal-empty { color: var(--text-dim); }

/* --- Секции ------------------------------------------------------------ */

.section { padding: 92px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 12%, rgba(255, 255, 255, 0.018) 88%, transparent); }

.section-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  margin: 0;
  font-weight: 680;
  text-wrap: balance;
}

.section-lead { color: var(--text-soft); font-size: 17px; margin: 16px 0 0; max-width: 62ch; }

/* --- Карточки возможностей --------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 46px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-strong); }

.card h3 { margin: 18px 0 8px; font-size: 18.5px; letter-spacing: -0.015em; font-weight: 640; }
.card p { margin: 0; color: var(--text-soft); font-size: 15px; }

.card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.card-icon svg { width: 24px; height: 24px; fill: currentColor; }
.icon-green { background: rgba(183, 224, 138, 0.13); color: var(--green); }
.icon-pink { background: rgba(245, 139, 174, 0.13); color: var(--pink); }

/* --- Сценки «как это работает» ----------------------------------------- */

.showcase { display: grid; gap: 26px; margin-top: 46px; }

.show {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
}
.show-reverse { grid-template-columns: 0.95fr 1.05fr; }
.show-reverse .show-stage { order: 2; }

.show-text h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.02em; font-weight: 650; }
.show-text p { margin: 0; color: var(--text-soft); font-size: 15.5px; }

.show-stage {
  background:
    radial-gradient(320px 200px at 50% 0%, rgba(183, 224, 138, 0.08), transparent 70%),
    #070b08;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  min-height: 230px;
  display: grid;
  align-items: center;
}

/* Сценка «разговор с помощником» */

.demo-chat { font-size: 14px; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.chat-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.chat-body { display: grid; gap: 12px; }

.bubble {
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 90%;
}
.bubble-user {
  justify-self: end;
  background: linear-gradient(180deg, #cbec9f, #a9d778);
  color: #10160c;
  border-bottom-right-radius: 6px;
}
.bubble-ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  color: var(--text);
  opacity: 0;
  animation: bubbleIn 10s ease-in-out infinite both;
}

.typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  border-right: 2px solid rgba(16, 22, 12, 0.7);
  animation: typing 10s steps(24, end) infinite both, caret 0.9s step-end infinite;
}

.chat-done {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--green);
  opacity: 0;
  animation: chatDone 10s ease-in-out infinite both;
}
.chat-done i {
  width: 17px; height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  background: rgba(183, 224, 138, 0.16);
}

@keyframes typing {
  0%, 3% { width: 0; }
  26% { width: 100%; }
  94% { width: 100%; }
  100% { width: 0; }
}
@keyframes caret {
  0%, 100% { border-color: rgba(16, 22, 12, 0.7); }
  50% { border-color: transparent; }
}
@keyframes bubbleIn {
  0%, 27% { opacity: 0; transform: translateY(8px); }
  34% { opacity: 1; transform: translateY(0); }
  94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}
/* Подтверждение приходит последним: печать → ответ → «добавлено». */
@keyframes chatDone {
  0%, 40% { opacity: 0; transform: translateY(6px); }
  47% { opacity: 1; transform: translateY(0); }
  94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(6px); }
}

/* Сценка «синхронизация» */

.demo-sync {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.dev {
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  padding: 7px;
}
.dev-phone { width: 58px; height: 104px; border-radius: 14px; }
.dev-desk { width: 116px; height: 76px; border-radius: 10px; }

.dev-screen {
  display: grid;
  gap: 6px;
  align-content: start;
  height: 100%;
  padding: 7px;
  border-radius: 8px;
  background: #0a0f0b;
}
.dev-screen .ln { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.09); }
.dev-screen .ln.short { width: 62%; }
.dev-screen .chip {
  display: block;
  height: 9px;
  border-radius: 4px;
  background: rgba(183, 224, 138, 0.3);
  animation: chipPulse 4s ease-in-out infinite;
}

.sync-link { position: relative; height: 2px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; }
.sync-link .dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(183, 224, 138, 0.7);
  opacity: 0;
  animation: runDot 4s ease-in-out infinite;
}
.sync-link .d2 { animation-delay: 1.1s; background: var(--pink); box-shadow: 0 0 10px rgba(245, 139, 174, 0.7); }
.sync-link .d3 { animation-delay: 2.2s; }

.sync-status {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  font-size: 12.5px;
  color: var(--green);
  opacity: 0;
  animation: syncStatus 8s ease-in-out infinite both;
}
.sync-status i {
  width: 17px; height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  background: rgba(183, 224, 138, 0.16);
}

@keyframes syncStatus {
  0%, 28% { opacity: 0; transform: translateY(6px); }
  38% { opacity: 1; transform: translateY(0); }
  94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(6px); }
}
@keyframes runDot {
  0% { left: 0; opacity: 0; transform: scale(0.6); }
  12% { opacity: 1; transform: scale(1); }
  88% { opacity: 1; transform: scale(1); }
  100% { left: 100%; opacity: 0; transform: scale(0.6); }
}
@keyframes chipPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Сценка «напоминания» */

.demo-remind { display: grid; place-items: center; }
.remind-screen { display: grid; gap: 10px; width: 100%; max-width: 330px; }

.remind-card {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 30px -22px rgba(0, 0, 0, 0.9);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-dim);
  opacity: 0;
  animation: remindIn 8s ease-in-out infinite both;
}
.remind-card b { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.remind-card i {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(183, 224, 138, 0.14);
  position: relative;
}
.remind-card i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.remind-card.r2 i { background: rgba(245, 139, 174, 0.14); }
.remind-card.r2 i::after { background: var(--pink); }
.remind-card.r2 { animation-delay: 0.7s; }

.remind-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  opacity: 0;
  animation: remindNote 8s ease-in-out infinite both;
}

@keyframes remindIn {
  0%, 8% { opacity: 0; transform: translateY(12px) scale(0.98); }
  17% { opacity: 1; transform: translateY(0) scale(1); }
  92% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(12px) scale(0.98); }
}
@keyframes remindNote {
  0%, 34% { opacity: 0; }
  44% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; }
}

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

.footer { border-top: 1px solid var(--line); padding: 42px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 620; }
.footer-brand img { width: 28px; height: 28px; border-radius: 9px; }
.footer-nav { display: flex; gap: 22px; font-size: 14.5px; color: var(--text-soft); }
.footer-nav a:hover { color: var(--text); }
.footer-copy { margin: 0 0 0 auto; color: var(--text-dim); font-size: 13.5px; }

/* --- Уважение к настройкам системы ------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Сценки должны остаться читаемыми, а не пустыми. */
  .cal-grid i, .cal-grid i.ev::after, .bubble-ai, .chat-done, .sync-status,
  .remind-card, .remind-note {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .typed { width: 100% !important; border-right: 0 !important; animation: none !important; }
  .cal-grid i.ev::after { width: 55% !important; }
}

/* --- Адаптивность ------------------------------------------------------ */

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; }
  .phone { width: min(300px, 68vw); }
  .nav { display: none; }
  .hero-badge { display: none; }
  .show, .show-reverse { grid-template-columns: 1fr; gap: 24px; }
  .show-reverse .show-stage { order: 0; }
}

@media (max-width: 760px) {
  .section { padding: 66px 0; }
  .hero { padding: 56px 0 68px; }
  .hero-facts { font-size: 13.5px; gap: 8px 18px; }
  .footer-copy { margin-left: 0; }
  .card { padding: 22px; }
  .show { padding: 22px; }
  .show-stage { padding: 20px; min-height: 0; }
  .badge-closed { display: none; }
}

@media (max-width: 420px) {
  .btn-large { width: 100%; }
  .cta { gap: 10px; }
  .dev-desk { width: 92px; height: 64px; }
}