/* Лендинг «Айда — заведениям» по макету Claude Design. Токены — как в дизайн-системе Айды (tokens/*.css). */
/* Шрифты лежат на этом же сервере (fonts/, переменные: одно начертание на набор символов) — посетитель не ходит в Google */
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/fonts/golos-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/fonts/golos-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/fonts/golos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; font-weight: 500 800; font-display: swap; src: url(/fonts/rubik-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Rubik'; font-weight: 500 800; font-display: swap; src: url(/fonts/rubik-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Rubik'; font-weight: 500 800; font-display: swap; src: url(/fonts/rubik-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rubik'; font-weight: 500 800; font-display: swap; src: url(/fonts/rubik-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #201A2E; --ink-soft: #4A4456; --ink-2: #2C2440;
  --orange: #F4762A; --orange-deep: #C2551A; --orange-tint: #FFE1CC;
  --cream: #FFF6EC; --paper: #F1EDE4; --white: #FFFFFF; --line: #E8DFCE;
  --stone: #6E6A5E; --stone-2: #8A8578;
  --success: #2F9461; --error: #D6453D;
  --accent: var(--orange); --accent-hover: var(--orange-deep); --text-on-accent: var(--cream);
  --font-display: 'Rubik', system-ui, sans-serif; --font-body: 'Golos Text', system-ui, sans-serif;
  --radius-sm: 6px; --radius-md: 10px;
}
* { box-sizing: border-box; }
/* hidden прячет всегда — даже элементы, которым стили задают display */
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 14px; line-height: 1.5; }
h1, h2, h3, p, ol, ul { margin: 0; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }

@keyframes wiggle { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wiggle { animation: none !important; }
  .phone-shot { transition: none !important; }
}

/* ——— Каркас ——— */
.page { position: relative; min-height: 100vh; }
.bg-tiles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bg-tile {
  position: absolute; font-family: var(--font-display); font-weight: 800; font-size: 64px; letter-spacing: -1px;
  text-transform: uppercase; white-space: nowrap; color: var(--ink); opacity: 0.045;
}
.wrap { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 20px 56px; }
.card {
  position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 32px;
  box-shadow: 5px 5px 0 var(--ink); padding: 48px; margin-top: 24px;
}
.h2 { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; text-transform: uppercase; letter-spacing: -0.3px; }
.squiggle { display: block; width: 220px; margin: 10px 0 0 2px; }
.squiggle--200 { width: 200px; }
.squiggle path { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; }
.text { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ——— Кнопки ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px;
  border: 2px solid var(--ink); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700;
  font-size: 16px; text-decoration: none; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn--accent { background: var(--accent); color: var(--text-on-accent); box-shadow: 2px 2px 0 var(--ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--text-on-accent); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--accent:active { transform: translate(2px, 2px); box-shadow: none; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-2); }
.btn--block { display: flex; width: 100%; }
.btn:disabled { cursor: default; opacity: 0.6; transform: none; box-shadow: 2px 2px 0 var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ——— Первый экран ——— */
.hero { padding: 56px 300px 52px 48px; margin-top: 40px; }
.hero-logo { position: absolute; top: -44px; left: 28px; width: 293px; height: auto; transform: rotate(-4deg); }
.hero-city {
  position: absolute; top: -18px; right: 40px; z-index: 3; background: var(--ink); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--orange); padding: 8px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; transform: rotate(2deg);
}
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1.06; letter-spacing: -1px; text-transform: uppercase; }
.hero-mark { display: inline-block; background: var(--orange); color: var(--cream); border-radius: 14px; padding: 0 14px 4px; transform: rotate(-2deg); }
.hero-lead { margin-top: 26px; max-width: 36ch; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.5; }
.hl { box-shadow: inset 0 -0.45em var(--orange-tint); }
.hero-for { margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--orange-deep); }
/* слоган — просто текст с полоской, без рамки и тени: не похож на кнопку */
.hero-tagline { margin-top: 22px; padding-left: 14px; border-left: 4px solid var(--orange); font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-soft); }
/* рядом с телефоном места на две кнопки в строку нет — столбиком одной ширины */
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-cta .btn { min-width: 260px; }

/* телефон с экранами приложения */
.phone { position: absolute; right: -20px; bottom: -60px; width: 244px; height: 500px; transform: rotate(5deg); z-index: 2; }
.phone-body {
  position: absolute; inset: 0; background: var(--ink); border-radius: 40px; padding: 12px;
  box-shadow: 14px 16px 0 var(--ink-2), 22px 26px 40px rgba(32, 26, 46, 0.35);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--cream); }
.phone-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.6s ease; }
.phone-shot.on { opacity: 1; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: var(--ink); border-radius: 999px; z-index: 3; }

/* ——— Что получает заведение ——— */
.benefits { margin-top: 100px; }
.benefit-list { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.benefit { background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); padding: 20px 22px; }
.benefit-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.benefit-title::before {
  content: ''; flex: none; width: 12px; height: 12px; background: var(--orange); border: 2px solid var(--ink); border-radius: 4px; transform: rotate(-8deg);
}
.benefit p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ——— Три шага ——— */
.steps { padding: 48px 48px 48px 180px; margin-top: 96px; }
.steps-kubych { position: absolute; left: 30px; top: -54px; width: 128px; height: auto; transform: rotate(-6deg); z-index: 3; }
.step-list { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; }
.step-list p { margin-top: 2px; max-width: 52ch; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.step-list strong { color: var(--ink); font-weight: 600; }
.step-num {
  flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--orange);
  color: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; transform: rotate(-2deg);
}
.step-num.tilt-r { transform: rotate(2deg); }
.step-num.wiggle { animation: wiggle 3s ease-in-out infinite; }

/* ——— Что внутри ——— */
.features { margin-top: 72px; }
.feature-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--white); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 4px 4px 0 var(--ink); padding: 24px; }
.feature-tag {
  display: inline-block; background: var(--orange-tint); color: var(--orange-deep); border-radius: 999px; padding: 3px 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.feature-title { margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.feature p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ——— Соревнование столов ——— */
.features + .versus { margin-top: 16px; }
.versus-title { margin-top: 12px; }
.versus-hl { color: var(--ink); font-weight: 600; }
.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; align-items: center; }
.versus-text { margin-top: 18px; max-width: 34ch; }
.board { background: var(--ink); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 4px 4px 0 var(--orange); padding: 20px; transform: rotate(1.5deg); }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; }
.board-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--cream); text-transform: uppercase; }
.board-live { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--paper); }
.board-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.board-rows { display: flex; flex-direction: column; gap: 8px; }
.board-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--ink-2);
  color: var(--cream); border-radius: 12px; padding: 10px 14px; font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.board-row--1 { background: var(--orange); }
.board-row--dim { color: var(--paper); }
.num { font-variant-numeric: tabular-nums; }

/* ——— Что требуется ——— */
.needs-kubych { position: absolute; right: 44px; top: 50%; width: 140px; height: auto; transform: translateY(-50%) rotate(6deg); }
.needs-list { list-style: none; padding: 0; margin-top: 24px; max-width: 420px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink-soft); }
.needs-list li { display: flex; gap: 12px; align-items: baseline; }
.needs-list .mark { font-weight: 700; }
.needs-list .no .mark { color: var(--stone-2); }
.needs-list .yes .mark { color: var(--success); }
.needs-list .yes span:last-child { color: var(--ink); font-weight: 600; }

/* ——— Тарифы ——— */
.prices { position: relative; margin-top: 72px; }
.prices-trial {
  width: fit-content; margin: 14px auto 0; background: var(--orange-tint); border-radius: 999px; padding: 6px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; transform: rotate(-1.5deg);
}
.price-grid { position: relative; z-index: 1; margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--ink);
  border-radius: 24px; box-shadow: 4px 4px 0 var(--ink); padding: 28px 24px; min-height: 440px;
}
.price--hot { border-color: var(--orange); box-shadow: 4px 4px 0 var(--orange); padding-top: 36px; margin-top: -20px; }
.price-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--orange); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-family: var(--font-display); font-weight: 700; font-size: 13px; white-space: nowrap;
}
.price-name { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.price-cost { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 6px; }
.price-sum { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.5px; white-space: nowrap; }
.price-sum--text { font-size: 28px; letter-spacing: -0.3px; line-height: 43px; }
.price-per { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.price-list { list-style: none; padding: 0; margin: 22px 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.price-list li { display: flex; gap: 10px; align-items: baseline; }
.price-list .ok { color: var(--success); font-weight: 700; }
.price-list .strong { color: var(--ink); font-weight: 600; }
.price .btn { margin-top: auto; height: 48px; font-size: 15px; }
/* «Как работают офферы» — подробности тарифа в свёрнутом блоке */
.price-more { margin: -12px 0 24px; }
.price-more summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; padding-left: 22px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--orange-deep); white-space: nowrap;
  text-decoration: underline dotted; text-underline-offset: 3px;
}
.price-more summary::-webkit-details-marker { display: none; }
.price-more summary::after { content: '▾'; font-size: 12px; transition: transform 0.15s; }
.price-more[open] summary::after { transform: rotate(180deg); }
.price-more summary:hover { color: var(--orange); }
.price-more .price-list { margin: 12px 0 0; }

/* ——— Частые вопросы ——— */
.faq { margin-top: 64px; }
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--cream); border: 2px solid var(--ink); border-radius: 14px; }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 24px; color: var(--orange); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ——— Контакт ——— */
.form-card { background: var(--cream); margin-top: 120px; }
.form-kubych { position: absolute; right: 48px; top: -94px; width: 180px; height: auto; z-index: 2; pointer-events: none; }
.contact-text { margin-top: 14px; max-width: 520px; }
.contact-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.contact-mail {
  display: inline-block; max-width: 100%; background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius-md); box-shadow: 3px 3px 0 var(--ink); padding: 16px 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); text-decoration: none;
  overflow-wrap: anywhere; transition: transform 0.15s, box-shadow 0.15s, color 0.15s;
}
.contact-mail:hover { color: var(--accent); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.contact-mail:active { transform: translate(2px, 2px); box-shadow: none; }

/* ——— Футер ——— */
.foot {
  position: relative; max-width: 800px; margin: 0 auto; padding: 0 20px 40px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--stone);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a, .foot-btn { color: var(--ink-soft); }
.foot a:hover, .foot-btn:hover { color: var(--orange-deep); }
.foot-btn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* ——— Cookie ——— */
/* компактная плашка снизу по центру, выезжает при появлении (класс .on ставит app.js) */
.cookie {
  position: fixed; z-index: 40; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 18px; background: var(--white);
  border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); padding: 10px 12px 10px 20px;
  opacity: 0; transform: translate(-50%, 24px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie.on { opacity: 1; transform: translate(-50%, 0); }
.cookie p { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--ink); }
.cookie a { color: var(--orange-deep); margin-left: 4px; }
.cookie-btns { flex: none; display: flex; gap: 10px; }
.cookie .btn { height: 44px; padding: 0 18px; font-size: 15px; }

/* ——— Политика конфиденциальности ——— */
.doc-back { display: inline-block; margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.doc-back:hover { color: var(--orange-deep); }
.doc { margin-top: 16px; }
.doc-sub { margin-top: 8px; font-size: 15px; color: var(--ink-soft); overflow-wrap: anywhere; }
.doc-date { margin-top: 6px; font-size: 14px; color: var(--stone); }
.doc h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; }
/* цели обработки и третьи лица — карточками со списком «поле — значение» */
.doc-purpose { margin-top: 14px; background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.doc-purpose dl { margin: 10px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; line-height: 1.55; }
.doc-purpose dt { color: var(--stone); }
.doc-purpose dd { margin: 0; color: var(--ink-soft); }
.doc-purpose p { margin-top: 6px; font-size: 15px; }
.doc-req { line-height: 1.8; }
.doc h2 { margin-top: 30px; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.doc p { margin-top: 10px; }
.doc ul { margin-top: 10px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--orange-deep); }

/* ——— Демо ——— */
.demo { position: fixed; inset: 0; z-index: 50; background: rgba(32, 26, 46, 0.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.demo[hidden] { display: none; }
.demo-box {
  position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 32px; box-shadow: 6px 7px 0 var(--ink);
  padding: 40px; max-width: 380px; width: 100%; text-align: center;
}
.demo-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 50%; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; font-family: var(--font-body);
}
.demo-close:hover { background: var(--white); }
.demo-avatar {
  width: 96px; height: 96px; margin: -90px auto 20px; display: flex; align-items: center; justify-content: center; background: var(--cream);
  border: 2px solid var(--ink); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink);
}
.demo-avatar img { display: block; width: 62px; height: 62px; }
.demo-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; text-transform: uppercase; text-wrap: balance; }
.demo-text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.demo-qr {
  position: relative; margin: 24px auto 0; width: 208px; height: 208px; padding: 14px; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius-md); box-shadow: 3px 3px 0 var(--ink);
}
.demo-qr > svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.demo-qr-face { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #FFFFFF; padding: 3px; border-radius: 10px; }
.demo-qr-face svg { display: block; width: 38px; height: 38px; }

/* ——— Телефоны и узкие экраны: телефон-макет под текстом, Кубычи меньше, кнопки во всю ширину ——— */
@media (max-width: 760px) {
  .wrap { padding: 16px 16px 48px; }
  .card { padding: 32px 22px; border-radius: 26px; }
  .h2 { font-size: 24px; }
  .hero { padding: 52px 22px 400px; margin-top: 44px; }
  .hero-logo { top: -36px; left: 14px; width: 220px; }
  /* на узком экране плашка города — строкой над заголовком, иначе она ложится на логотип */
  .hero-city { position: static; display: inline-block; margin-bottom: 18px; font-size: 13px; padding: 6px 14px; }
  .hero-title { font-size: 32px; }
  .hero-lead { font-size: 17px; }
  .hero-for { font-size: 13px; }
  .hero-tagline { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .phone { right: 50%; bottom: -40px; width: 196px; height: 400px; transform: translateX(50%) rotate(4deg); }
  .phone-body { border-radius: 32px; padding: 10px; }
  .phone-screen { border-radius: 24px; }
  .phone-notch { width: 66px; height: 18px; }
  .benefits { margin-top: 84px; }
  .benefit { padding: 18px; }
  .steps { margin-top: 110px; padding: 72px 22px 32px; }
  .steps-kubych { left: 18px; top: -46px; width: 96px; }
  .steps .btn, .needs .btn { width: 100%; }
  .versus { gap: 28px; }
  .needs { padding-top: 32px; }
  .needs-kubych { top: -40px; right: 14px; width: 84px; transform: rotate(6deg); }
  .needs .h2 { padding-right: 70px; }
  .features { margin-top: 56px; }
  .feature { padding: 22px; }
  .price { min-height: 0; }
  .price--hot { margin-top: 0; }
  .form-card { margin-top: 100px; }
  .form-kubych { right: 20px; top: -72px; width: 130px; }
  .faq-item summary { font-size: 16px; padding: 14px 48px 14px 16px; }
  .faq-item p { padding: 0 16px 16px; }
  .contact-mail { display: block; width: 100%; text-align: center; font-size: 21px; padding: 14px 16px; }
  .contact-copy { width: 100%; }
  .foot { padding: 0 16px 32px; flex-direction: column; }
  .cookie { width: calc(100% - 32px); flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; text-align: center; }
  .doc-purpose dl { grid-template-columns: 1fr; gap: 0; }
  .doc-purpose dd { margin-bottom: 8px; }
  .cookie-btns .btn { flex: 1; }
  .demo-box { padding: 36px 22px 26px; }
}
