/* Лендинг и страницы документов. Цвета и компоненты — как в приложении (frontend/app/globals.css)
   и в макете Figma: фон --bg, акцент --accent, заголовки Cormorant Garamond, текст Golos Text. */
:root {
  --bg: #f6f4ed; --surface: #fff; --surface-hover: #fbfaf6; --border: #e9e5d8; --soft: #f1eee2;
  --text: #1b1d22; --nav: #6b6f78; --text-muted: #7f7f80; --bubble-user: #dfd8bd;
  --accent: #5f4f4b; --accent-hover: #3d322f; --danger: #dc2626; --ok: #16a34a;
  --radius-btn: 8px; --radius-card: 24px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: "Golos Text", -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 17px; line-height: 28px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
strong, b { font-weight: 600; }
button { font: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Типографика ---------- */
h1, h2, h3, .logo { font-family: var(--serif); font-weight: 700; }
h1 em, h2 em, h3 em, .logo { font-style: italic; }
h1, .h-section { font-size: 64px; line-height: 64px; text-align: center; max-width: 860px; margin: 0 auto; text-wrap: balance; }
h3 { font-size: 32px; line-height: 36px; text-wrap: balance; }
.lead { font-size: 20px; line-height: 32px; text-align: center; max-width: 680px; margin: 0 auto; text-wrap: pretty; }
.muted { color: var(--text-muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  padding: 8px 16px; border-radius: var(--radius-btn); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-weight: 500; font-size: 16px; line-height: 24px;
  white-space: nowrap; transition: background .15s ease, border-color .15s ease;
}
.btn:hover:not(:disabled) { background: var(--surface-hover); color: var(--text); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-lg { padding: 15px 23px; font-size: 20px; line-height: 32px; }
.btn-block { width: 100%; }

/* ---------- Шапка: полупрозрачный фон страницы и размытие того, что под ней. Размытие — на прямоугольнике
   шапки без маски: в сочетании с mask-image его теряют часть браузеров. Снизу — короткий градиент,
   чтобы край размытия не был резким ---------- */
header { position: sticky; top: 0; z-index: 10; }
header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(246, 244, 237, .72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
}
header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(246, 244, 237, .72), rgba(246, 244, 237, 0));
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 16px; }
.logo { font-size: 36px; line-height: 34px; color: var(--text); }
.logo:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
/* Белая рамка вместо бежевой: бежевая сливается с фоном, и «Войти» на вид ниже темной кнопки */
.nav-login { border-color: var(--surface); }
.label-short { display: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; line-height: 23px; font-weight: 500; color: var(--nav); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* ---------- Первый экран: за заголовком медленно плывут теплые пятна ---------- */
.hero-area { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding-top: 72px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
}
.hero-glow { --amp: 1; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; }
.hero-glow i:nth-child(1) { width: 520px; height: 420px; left: calc(50% - 600px); top: 20px; background: #e4d9b8; }
.hero-glow i:nth-child(2) { width: 460px; height: 380px; left: calc(50% + 100px); top: 140px; background: #e8d6cb; }
.hero-glow i:nth-child(3) { width: 360px; height: 300px; left: calc(50% - 180px); top: 360px; background: #fffdf6; opacity: .9; }
.hero { position: relative; padding-top: 120px; padding-bottom: 40px; text-align: center; }
.hero .lead { margin-top: 24px; }
.hero .btn { margin-top: 40px; }

/* ---------- Секции ---------- */
section { padding-top: 160px; }
.section-lead { margin-top: 24px; }
.section-body { margin-top: 72px; }

/* Проблема и возможности: текст без подложек */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 72px; }

/* Лента проблем: во всю ширину экрана, края растворяются, полосы прокрутки не видно */
.marquee-track {
  overflow: hidden; touch-action: pan-y; cursor: grab; padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track.dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.marquee-track:focus-visible { outline: none; }
/* Ряд пунктов двигает скрипт через transform — дробные пиксели, без рывков */
.marquee-row { display: flex; gap: 64px; width: max-content; will-change: transform; }
.marquee-row .point { flex: 0 0 340px; }
.marquee-row img { -webkit-user-drag: none; }  /* мышью тянут ленту, а не картинку */
.point h3 { margin-bottom: 12px; }
.ill { display: block; width: 160px; height: 120px; object-fit: contain; object-position: left bottom; margin-bottom: 24px; }
.bridge { margin: 112px auto 0; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 50px; max-width: 840px; text-wrap: balance; }
/* Жирная бежевая полоса под главной мыслью. Одна на всю фразу (без box-decoration-break: clone),
   поэтому при переносе рисуется сначала первая строка, потом вторая */
.bridge em {
  font-style: italic; padding: 0 2px;
  background: linear-gradient(var(--bubble-user), var(--bubble-user)) no-repeat 0 86% / 100% 32%;
}

/* Как это работает: шаги по очереди слева и справа, напротив — фрагмент интерфейса */
.steps { display: grid; gap: 120px; }
.step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.step.flip .step-text { order: 2; }
.step-text h3 { font-size: 48px; line-height: 56px; }
.step-text p { margin-top: 16px; font-size: 20px; line-height: 32px; }

/* Карточки: доверие и безопасность */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border-radius: var(--radius-card); padding: 40px 36px; }
.card h3 { margin-bottom: 12px; }

.cta { background: var(--surface); border-radius: var(--radius-card); padding: 96px 32px; text-align: center; }
.cta .lead { margin-top: 24px; }
.cta .btn { margin-top: 40px; }

footer { margin-top: 160px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; font-size: 14px; line-height: 21px; color: var(--text-muted); }
footer nav { display: flex; gap: 12px 24px; flex-wrap: wrap; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--text); }

/* ---------- Фрагменты интерфейса (иллюстрации) ---------- */
.mock { background: var(--surface); border-radius: var(--radius-card); padding: 28px; display: grid; gap: 16px; font-size: 15px; line-height: 22px; }
.mock-file { display: flex; align-items: center; gap: 14px; position: relative; }
.mock-file > div { min-width: 0; }  /* длинное имя файла переносится, а не распирает карточку */
.mock-file + .mock-file { border-top: 1px solid var(--border); padding-top: 16px; }
.mock-type { flex: none; width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.mock-file b { display: block; font-weight: 500; }
.mock-file small, .mock-src small { display: block; color: var(--text-muted); font-size: 13px; line-height: 20px; }
.mock-file .tag { margin-left: auto; flex: none; font-size: 12px; line-height: 20px; padding: 2px 10px; border-radius: 99px; background: var(--soft); color: var(--accent); font-weight: 600; }
.mock-file .progress { position: absolute; left: 58px; right: 0; bottom: -9px; height: 2px; border-radius: 1px; background: var(--accent); transform-origin: left; transform: scaleX(0); opacity: 0; }

/* Переписка — облачками, как в чате приложения (.msg-user, .msg-assistant) */
.chat-demo { display: grid; gap: 16px; font-size: 16px; line-height: 25px; }
.bubble { padding: 14px 18px; overflow-wrap: break-word; }
.bubble-user { justify-self: end; max-width: 84%; background: var(--bubble-user); border-radius: 16px 16px 4px 16px; }
.bubble-bot, .bubble-typing { grid-area: 2 / 1; justify-self: start; background: var(--surface); border-radius: 16px 16px 16px 4px; }
.bubble-bot { max-width: 92%; }
.bubble-typing { align-self: start; display: flex; gap: 5px; padding: 18px 20px; opacity: 0; }
.bubble-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: dot 1.1s ease-in-out infinite; }
.bubble-typing i:nth-child(2) { animation-delay: .15s; }
.bubble-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.ref { display: inline-block; min-width: 20px; padding: 0 5px; border-radius: 6px; background: var(--soft); color: var(--accent); font-size: 12px; line-height: 18px; font-weight: 600; text-align: center; vertical-align: 1px; }

.mock-src b { display: block; font-weight: 600; }
.player { display: flex; align-items: center; gap: 12px; }
.player i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); position: relative; }
.player i::before, .player i::after { content: ""; position: absolute; }
.player i::after { left: 13px; top: 11px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.player.playing i::before, .player.playing i::after { top: 11px; width: 4px; height: 12px; border: 0; border-radius: 1px; background: #fff; }
.player.playing i::before { left: 11px; }
.player.playing i::after { left: 19px; }
.player span { flex: 1; height: 5px; border-radius: 3px; background: var(--soft); position: relative; overflow: hidden; }
.player span::before { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--accent); transform-origin: left; transform: scaleX(var(--played, .382)); transition: transform 1s linear; }
.player time { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.mock-quote { background: var(--bg); border-radius: 12px; padding: 14px 16px; }

/* ---------- Анимации: только если человек не просил их выключить ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .9s var(--ease) both; }
  .hero > :nth-child(2) { animation-delay: .12s; }
  .hero > :nth-child(3) { animation-delay: .24s; }

  /* Появление при прокрутке: html.js ставит скрипт в <head>, без него все видно сразу */
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }

  /* Маркер под главной мыслью дорисовывается, когда фраза появилась */
  .js .bridge em { background-size: 0% 32%; transition: background-size 1.6s cubic-bezier(.45, 0, .25, 1) .5s; }
  .js .bridge.in em { background-size: 100% 32%; }

  .hero-glow i:nth-child(1) { animation: orbit-a 26s ease-in-out infinite; }
  .hero-glow i:nth-child(2) { animation: orbit-b 32s ease-in-out infinite; }
  .hero-glow i:nth-child(3) { animation: orbit-c 38s ease-in-out infinite; }

  /* Файлы: загружаются по очереди, потом появляется статус */
  .js .mock-files .mock-file { opacity: 0; }
  .js .mock-files.in .mock-file { animation: rise .5s var(--ease) both; animation-delay: calc(var(--n) * .55s + .2s); }
  .js .mock-files.in .progress { animation: load .9s ease-out both; animation-delay: calc(var(--n) * .55s + .35s); }
  .js .mock-files .tag { opacity: 0; }
  .js .mock-files.in .tag { animation: pop .4s var(--ease) both; animation-delay: calc(var(--n) * .55s + 1.2s); }

  /* Переписка: вопрос → «печатает» → ответ, затем ссылки на источники */
  .js .chat-demo .bubble-user, .js .chat-demo .bubble-bot { opacity: 0; }
  .js .chat-demo.in .bubble-user { animation: rise-right .6s var(--ease) .2s both; }
  .js .chat-demo.in .bubble-typing { animation: typing 1.6s ease .9s both; }
  .js .chat-demo.in .bubble-bot { animation: rise .6s var(--ease) 2.4s both; }
  .js .chat-demo .ref { transform: scale(0); }
  .js .chat-demo.in .ref { animation: pop .4s var(--ease) 2.9s both; }
  .js .chat-demo.in .ref + .ref, .js .chat-demo.in .ref:last-child { animation-delay: 3.15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes orbit-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(calc(160px * var(--amp)), calc(70px * var(--amp))) scale(1.12); }
  50% { transform: translate(calc(260px * var(--amp)), calc(-10px * var(--amp))) scale(.94); }
  75% { transform: translate(calc(110px * var(--amp)), calc(-80px * var(--amp))) scale(1.06); }
}
@keyframes orbit-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(calc(-170px * var(--amp)), calc(50px * var(--amp))) scale(.92); }
  50% { transform: translate(calc(-280px * var(--amp)), calc(-40px * var(--amp))) scale(1.1); }
  75% { transform: translate(calc(-120px * var(--amp)), calc(-100px * var(--amp))) scale(1); }
}
@keyframes orbit-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(calc(-150px * var(--amp)), calc(-60px * var(--amp))) scale(1.15); }
  66% { transform: translate(calc(140px * var(--amp)), calc(-30px * var(--amp))) scale(.9); }
}
@keyframes rise-right { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes load { 0% { opacity: 1; transform: scaleX(0); } 85% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes typing { 0% { opacity: 0; transform: translateY(8px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Окна: заявка на демо и вход ---------- */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(27, 29, 34, .4); display: none; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.modal-back.open { display: flex; animation: fade .2s ease both; }
.modal-back.open .modal { animation: modal-in .35s var(--ease) both; }
@keyframes fade { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal { position: relative; width: 100%; max-width: 440px; background: var(--surface); border-radius: var(--radius-card); padding: 32px; margin: auto; }
.modal h2 { font-size: 40px; line-height: 48px; padding-right: 32px; }
.modal .subtitle { color: var(--text-muted); font-size: 16px; line-height: 24px; margin-bottom: 24px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: var(--radius-btn); background: transparent; color: var(--text-muted); cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { background: var(--soft); color: var(--text); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--text-muted); }
.field input, .field select {
  height: 46px; padding: 0 13px; border: 1px solid var(--border); border-radius: var(--radius-btn);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; outline: none; width: 100%;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237f7f80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--text-muted); margin: 4px 0 20px; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.form-msg { font-size: 14px; line-height: 21px; color: var(--danger); margin: -8px 0 16px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); }
.form-note { margin-top: 16px; text-align: center; font-size: 13px; line-height: 20px; color: var(--text-muted); }
/* Плашка про cookie (cookie.js): внизу, под окнами (у них z-index 50) */
.cookie-bar { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 32px rgba(27, 29, 34, .12); animation: fade .3s ease both; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.cookie-bar a { white-space: nowrap; }
.cookie-bar .btn { flex: none; }
@media (max-width: 480px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
.login-links { margin-top: 16px; text-align: center; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.login-spaces { display: flex; flex-direction: column; gap: 8px; }
.subtitle b { font-weight: 600; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Документы (политика, согласие) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 0; }
.doc h1 { text-align: left; font-size: 48px; line-height: 52px; margin: 0 0 24px; max-width: none; }
.doc h2 { font-family: var(--serif); font-size: 32px; line-height: 36px; margin: 40px 0 12px; }
.doc p { margin-bottom: 12px; }
.doc li { margin-bottom: 4px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 12px; }
.doc blockquote { background: var(--soft); border-radius: 12px; padding: 14px 18px; margin: 0 0 24px; }
.doc blockquote p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; line-height: 22px; background: var(--surface); border-radius: 12px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { background: var(--soft); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.doc code { font: inherit; }
.doc-table { overflow-x: auto; }

/* ---------- Узкие экраны ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
  body { font-size: 16px; line-height: 26px; }
  .nav { padding-top: 14px; padding-bottom: 12px; gap: 12px; }
  .nav-right { gap: 16px; }
  .logo { font-size: 30px; line-height: 30px; }
  .nav .btn { padding: 6px 12px; font-size: 14px; line-height: 21px; }
  .hero-area { margin-top: -60px; padding-top: 60px; }
  .hero-glow { --amp: .5; }
  .hero-glow i { filter: blur(40px); }
  .hero-glow i:nth-child(1) { width: 300px; height: 260px; left: -80px; }
  .hero-glow i:nth-child(2) { width: 280px; height: 240px; left: auto; right: -80px; }
  .hero-glow i:nth-child(3) { width: 240px; height: 200px; left: calc(50% - 120px); }
  .hero { padding-top: 64px; padding-bottom: 24px; }
  h1, .h-section { font-size: 40px; line-height: 44px; }
  .lead { font-size: 18px; line-height: 28px; }
  section { padding-top: 104px; }
  .section-body { margin-top: 48px; }
  .points, .points.two { grid-template-columns: 1fr; gap: 36px; }
  .marquee-row { gap: 36px; }
  .marquee-row .point { flex-basis: 280px; }
  h3 { font-size: 28px; line-height: 32px; }
  .bridge { font-size: 30px; line-height: 38px; margin-top: 72px; }
  .steps { gap: 80px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step > * { min-width: 0; }  /* макеты не распирают колонку на узких экранах */
  .step.flip .step-text { order: 0; }
  .step-text h3 { font-size: 36px; line-height: 40px; }
  .step-text p { font-size: 18px; line-height: 28px; margin-top: 12px; }
  .chat-demo { font-size: 15px; line-height: 23px; }
  .card { padding: 28px 24px; }
  .ill { width: 136px; height: 102px; margin-bottom: 20px; }
  .cta { padding: 64px 24px; }
  footer { margin-top: 104px; }
  .modal { padding: 24px; }
  .modal h2 { font-size: 34px; line-height: 40px; }
  .doc { padding-top: 32px; }
  .doc h1 { font-size: 36px; line-height: 40px; }
}
/* Телефоны: «Войти» остается в шапке, у заявки — короткая надпись «Демо» */
@media (max-width: 440px) {
  .nav-actions { gap: 8px; }
  .nav .btn { padding: 6px 10px; }
  .logo { font-size: 26px; }
  .nav-actions .label-long { display: none; }
  .nav-actions .label-short { display: inline; }
}
