/* ================= Kon24 — публичные страницы в стиле «матовое стекло» =================
   Подключается только на публичных страницах (body.glass). Кабинет остаётся в стиле Sam CRM. */

body.glass {
  --text: #0e1424; --text-2: #434959; --text-3: #5f6575;
  --accent: #0a4cff; --accent-hover: #003de6; --accent-soft: rgba(10, 76, 255, .1);
  --g-card: rgba(255, 255, 255, .58); --g-card-2: rgba(255, 255, 255, .8); --g-edge: rgba(255, 255, 255, .9);
  --g-line: rgba(22, 40, 100, .1); --g-input: rgba(255, 255, 255, .72); --g-input-edge: rgba(22, 40, 100, .14);
  --g-shadow: 0 1px 2px rgba(30, 50, 120, .05), 0 18px 48px rgba(36, 64, 160, .12);
  --sl-fill: #f4f7ff; --g-solid: #f8f9fe;
  font-size: 16px;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 88% -4%, #d9e3ff 0, transparent 62%),
    radial-gradient(760px 520px at -6% 26%, #eef1ff 0, transparent 60%),
    linear-gradient(180deg, #f3f6fd 0%, #e8eefb 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: clip;
  /* app.css ставит body высоту 100% (для кабинета) — тогда «липкая» шапка уезжала вместе со страницей после первого экрана */
  height: auto; min-height: 100%;
  display: flex; flex-direction: column;
}
body.glass > main { flex: 1 0 auto; width: 100%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.glass {
    --text: #eef1f8; --text-2: #bcc2d0; --text-3: #959cad; --accent: #5b8cff; --accent-hover: #7aa2ff; --accent-soft: rgba(91, 140, 255, .16);
    --g-card: rgba(255, 255, 255, .06); --g-card-2: rgba(30, 38, 66, .92); --g-edge: rgba(255, 255, 255, .12);
    --g-line: rgba(255, 255, 255, .1); --g-input: rgba(255, 255, 255, .06); --g-input-edge: rgba(255, 255, 255, .16); --g-shadow: 0 18px 48px rgba(0, 0, 0, .35);
    --sl-fill: #1a2238; --g-solid: #161c30;
    background: radial-gradient(900px 520px at 88% -4%, #1b2a5c 0, transparent 62%), linear-gradient(180deg, #0b1020, #10182f);
  }
}
:root[data-theme="dark"] body.glass {
  --text: #eef1f8; --text-2: #bcc2d0; --text-3: #959cad; --accent: #5b8cff; --accent-hover: #7aa2ff; --accent-soft: rgba(91, 140, 255, .16);
  --g-card: rgba(255, 255, 255, .06); --g-card-2: rgba(30, 38, 66, .92); --g-edge: rgba(255, 255, 255, .12);
  --g-line: rgba(255, 255, 255, .1); --g-input: rgba(255, 255, 255, .06); --g-input-edge: rgba(255, 255, 255, .16); --g-shadow: 0 18px 48px rgba(0, 0, 0, .35);
  --sl-fill: #1a2238; --g-solid: #161c30;
  background: radial-gradient(900px 520px at 88% -4%, #1b2a5c 0, transparent 62%), linear-gradient(180deg, #0b1020, #10182f);
}

.glass main { position: relative; z-index: 1; }
.glass .g-wrap, .glass .site-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* декоративное стекло */
.g-deco { position: absolute; top: 0; left: 0; right: 0; height: 1150px; overflow: hidden; pointer-events: none; z-index: 0; }
/* фон спокойнее: фигура не спорит с формой и QR-кодом */
.g-deco img { position: absolute; right: -170px; top: 36px; width: 860px; height: auto; opacity: .5; filter: saturate(.7); }
:root[data-theme="dark"] .g-deco img { opacity: .28; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-deco img { opacity: .28; } }

/* общие стеклянные поверхности */
.glass-card, .glass .card, .glass .feature, .glass .faq details, .glass .price, .glass .center-card, .glass .prose, .glass .kind, .glass .steps li, .glass .cta-band {
  background: var(--g-card);
  border: 1px solid var(--g-edge);
  box-shadow: var(--g-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

/* ---------- шапка (вариант Б): плавающая матовая панель ---------- */
html { scroll-padding-top: 104px; } /* якоря (#faq) не прячутся под шапку */
.g-head { position: sticky; top: 0; z-index: 40; padding: 14px 28px 0; pointer-events: none; }
.g-bar { pointer-events: auto; max-width: 1384px; margin: 0 auto; height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 22px 0 26px;
  border-radius: 22px; background: color-mix(in srgb, var(--g-card-2) 74%, transparent); border: 1px solid var(--g-edge);
  box-shadow: 0 1px 2px rgba(30, 50, 120, .05), 0 10px 32px rgba(36, 64, 160, .1);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.glass .g-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 27px; letter-spacing: -.02em; flex: none; }
.g-mark { width: 38px; height: 38px; display: block; flex: none; object-fit: contain; }
.g-nav { flex: 1; display: flex; justify-content: center; gap: clamp(20px, 3.4vw, 52px); }
.glass .g-nav a { position: relative; color: var(--text); text-decoration: none; font-weight: 500; font-size: 16.5px; padding: 12px 2px; white-space: nowrap; }
.g-nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 3px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); transition: width .18s ease; }
.g-nav a:hover::after { width: 34%; opacity: .45; }
.g-nav a[aria-current="page"] { font-weight: 600; }
.g-nav a[aria-current="page"]::after { width: 52%; opacity: 1; }
.glass .g-login { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 12px; flex: none;
  border: 1.5px solid color-mix(in srgb, var(--text) 32%, transparent); color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px;
  background: color-mix(in srgb, var(--g-solid) 40%, transparent); transition: border-color .15s, background .15s; }
.glass .g-login:hover { border-color: var(--accent); color: var(--accent); }
.g-theme { flex: none; width: 44px; height: 44px; margin-right: -10px; border-radius: 12px; border: 0; background: transparent; color: var(--text-2); display: inline-grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.g-theme:hover { background: var(--accent-soft); color: var(--accent); }
.g-theme .i { width: 21px; height: 21px; }
.g-menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 16px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 16px;
  color: var(--text); background: color-mix(in srgb, var(--g-solid) 40%, transparent); border: 1.5px solid color-mix(in srgb, var(--text) 32%, transparent); cursor: pointer; }
.g-menu-btn.open { border-color: transparent; background: transparent; }
.g-menu-btn .i { width: 22px; height: 22px; }
/* открытое меню на телефоне */
.mnav { pointer-events: auto; position: absolute; left: 10px; right: 10px; top: calc(100% + 6px); padding: 8px 18px 20px; border-radius: 22px; background: var(--g-solid); border: 1px solid var(--g-edge);
  box-shadow: 0 24px 60px rgba(20, 40, 100, .22); display: grid; animation: up .15s ease-out; }
.mnav[hidden] { display: none; }
.glass .mnav-item { position: relative; display: flex; align-items: center; min-height: 64px; padding-left: 34px; border-bottom: 1px solid var(--g-line); color: var(--text); text-decoration: none; font-size: 19px; font-weight: 600; }
.mnav-item[aria-current="page"]::before { content: ""; position: absolute; left: 4px; width: 15px; height: 15px; border-radius: 4px; background: var(--accent); }
.glass .mnav-item:hover { color: var(--accent); }
.glass .mnav .g-login.wide { margin-top: 22px; height: 52px; font-size: 17px; font-weight: 600; border-color: var(--text); }
.glass .mnav-reg { justify-self: center; margin-top: 12px; padding: 8px 14px; color: var(--accent); text-decoration: none; font-weight: 500; font-size: 17px; }
.mnav-reg:hover { text-decoration: underline; }

/* ---------- кнопки и поля ---------- */
.g-icon { width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--text); display: inline-grid; place-items: center; }
.g-icon:hover { background: var(--accent-soft); }
.glass .btn { height: 48px; border-radius: 14px; padding: 0 22px; font-weight: 600; background: var(--g-input); border: 1px solid var(--g-edge); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass .btn:hover { background: var(--g-card-2); }
.glass .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(10, 76, 255, .28); }
.glass .btn.primary:hover { background: var(--accent-hover); }
.glass .btn.sm { height: 42px; border-radius: 12px; padding: 0 16px; font-size: 15px; }
.glass .btn.big { height: 60px; border-radius: 18px; font-size: 18px; padding: 0 30px; }
.glass .btn:disabled { opacity: .45; }
.glass .input { height: 56px; border-radius: 16px; font-size: 17px; padding: 0 18px; background: var(--g-input); border: 1px solid var(--g-input-edge);
  box-shadow: inset 0 1px 2px rgba(20, 40, 100, .06); color: var(--text); }
.glass textarea.input { min-height: 112px; padding: 14px 18px; }
.glass select.input { height: 42px; font-size: 15px; padding: 0 10px; border-radius: 12px; }
.glass .input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.glass .input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.glass .field { gap: 8px; margin-bottom: 18px; }
.glass .field > span { font-size: 16px; color: var(--text); font-weight: 500; }
.glass .hint { color: var(--text-3); font-size: 14px; }
.glass .field-err { color: var(--danger); font-size: 15px; margin: -8px 0 14px; line-height: 1.45; }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
.glass .seg { background: var(--g-input); border: 1px solid var(--g-edge); border-radius: 14px; padding: 4px; }
.glass .seg span { height: 40px; border-radius: 10px; font-size: 15px; padding: 0 14px; color: var(--text-2); }
.glass .seg input:checked + span { background: var(--g-solid); color: var(--accent); box-shadow: 0 2px 8px rgba(20, 40, 100, .12); font-weight: 600; }
.glass .chip { height: 38px; border-radius: 19px; padding: 0 16px; font-size: 14.5px; background: var(--g-input); border: 1px solid var(--g-edge); color: var(--text); }
.glass .chip.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.glass .switch { font-size: 16px; }
.glass .switch input, .glass .radio-card input { width: 22px; height: 22px; }
.glass a { color: var(--accent); }

/* ---------- генератор ---------- */
.gen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); column-gap: 64px; padding: 56px 0 24px;
  grid-template-areas: "head preview" "types preview" "fields preview" "dyn preview" "design preview" "privacy preview";
  grid-template-rows: auto auto auto auto auto 1fr; }
.gen-head { grid-area: head; }
.types { grid-area: types; margin-top: 30px; position: relative; z-index: 30; } /* меню «Ещё» — поверх карточек ниже (у них своё стекло и свой слой) */
.gen-fields { grid-area: fields; margin-top: 26px; }
.gen-preview { grid-area: preview; align-self: start; position: sticky; top: 96px; }
.gen-design { grid-area: design; }
.privacy-note { grid-area: privacy; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.gen-head h1, .glass .hero h1, .glass h1.big { font-size: clamp(42px, 6.4vw, 88px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; margin: 0; }
.gen-sub { font-size: 21px; color: var(--text-2); margin: 16px 0 0; max-width: 560px; line-height: 1.45; }

.seg-types { display: inline-flex; align-items: center; padding: 6px; border-radius: 20px; background: var(--g-card); border: 1px solid var(--g-edge); box-shadow: var(--g-shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.seg-type { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: transparent;
  color: var(--text); font-size: 16.5px; font-weight: 500; position: relative; white-space: nowrap; }
.seg-type + .seg-type::before, .seg-type + .more-wrap > .seg-type::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--g-line); }
.seg-type.on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); font-weight: 600; }
.seg-type.on::before, .seg-type.on + .seg-type::before, .seg-type.on + .more-wrap > .seg-type::before { display: none; }
.seg-type:not(.on):hover { background: var(--accent-soft); }
.seg-type .i { width: 20px; height: 20px; }
.more-wrap { position: relative; }
.seg-type.more .chev { width: 15px; height: 15px; margin-left: -3px; color: var(--text-3); }
.seg-type.more[aria-expanded="true"] .chev { transform: rotate(180deg); }
/* «Все типы»: на компьютере — окно под панелью типов, на телефоне — панель снизу */
.types-panel { position: absolute; top: calc(100% + 10px); left: 0; width: min(600px, 100%); padding: 14px; border-radius: 22px; background: var(--g-solid);
  border: 1px solid var(--g-edge); box-shadow: 0 24px 60px rgba(20, 40, 110, .22); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  z-index: 40; animation: up .12s ease-out; }
.tp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 10px 6px; }
.tp-head b { font-size: 15.5px; }
.tp-close { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--g-input-edge); background: var(--g-input); color: var(--text); display: grid; place-items: center; flex: none; cursor: pointer; }
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tp-item { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px; border: 1px solid transparent; border-radius: 14px;
  background: transparent; color: var(--text); cursor: pointer; font: inherit; min-height: 64px; }
.tp-item:hover { background: var(--accent-soft); }
.tp-item.on { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.tp-item .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.tp-item.on .ic { background: var(--accent); color: #fff; }
.tp-item .tx { display: grid; gap: 2px; min-width: 0; }
.tp-item b { font-size: 15px; font-weight: 600; }
.tp-item small { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.tp-backdrop { display: none; }
@keyframes sheet { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }

/* «Менять ссылку после печати» */
.dyn-opt { grid-area: dyn; margin: 2px 0 18px; padding: 14px 16px; border-radius: 18px; background: var(--g-card); border: 1px solid var(--g-edge); }
.glass .dyn-switch { margin: 0; align-items: flex-start; }
.dyn-switch b { display: block; font-size: 15.5px; }
.dyn-switch .hint { display: block; font-size: 13.5px; margin-top: 1px; }
.dyn-more { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--g-line); }
.dyn-more p { margin: 0 0 12px; line-height: 1.5; font-size: 14.5px; color: var(--text-2); }
.dyn-more .hint { margin: 10px 0 0; font-size: 13px; }
.dyn-more .btn .i { margin-left: 4px; }

.preview-card { border-radius: 30px; padding: 26px; position: relative; }
.qr-plate { background: #fff; border-radius: 20px; padding: 22px; min-height: 320px; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(20, 40, 100, .08), inset 0 0 0 1px rgba(20, 40, 100, .05); }
.qr-plate .qr { width: 100%; max-width: 340px; transition: opacity .15s; }
.qr-plate .qr svg { width: 100%; height: auto; display: block; }
.preview-card.busy .qr { opacity: .35; }
.preview-card.busy:not(.empty) .qr-plate { position: relative; }
.preview-card.busy:not(.empty) .qr-plate::after { content: "Обновляем QR…"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 8px 14px; border-radius: 999px; background: rgba(15, 22, 38, .82); color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.target-line { display: flex; align-items: baseline; gap: 6px; margin: 14px 2px 0; font-size: 14.5px; color: var(--text-2); min-width: 0; }
.target-line .t-k { flex: none; }
.target-line .t-v { flex: 1 1 60%; min-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 500; }
.target-line a { flex: none; margin-left: auto; padding-left: 8px; }
/* не помещается — «Скопировать / Открыть» уходят на вторую строку, а адрес остаётся виден */
.target-line { flex-wrap: wrap; row-gap: 4px; }
.target-line .t-act { flex: none; margin-left: auto; display: flex; gap: 14px; padding-left: 8px; }
.target-line .t-act a { margin: 0; padding: 0; }
.target-line .t-link { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.target-line .t-link:hover { text-decoration: underline; }
.qr-plate .placeholder { color: #8a91a2; text-align: center; max-width: 230px; font-size: 15px; }
.qr-plate .placeholder svg.i { width: 56px; height: 56px; stroke-width: 1.2; margin-bottom: 8px; }
.status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 2px; font-size: 15.5px; }
.status .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.status b { font-weight: 500; }
.status .score-n { color: var(--text-3); font-size: 14px; }
.checks-more { margin-top: 8px; font-size: 14.5px; }
.checks-more summary { cursor: pointer; text-align: center; color: var(--accent); list-style: none; padding: 6px; border-radius: 10px; }
.checks-more summary::-webkit-details-marker { display: none; }
.checks-more[open] summary { margin-bottom: 8px; }
.glass .checks { font-size: 14.5px; gap: 9px; }
.glass .checks li { color: var(--text-2); }
.preview-card .dl-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 16px; }
.preview-card .dl-row .btn { height: 60px; border-radius: 18px; font-size: 18px; }
.preview-card .dl-row .btn:not(.primary) { padding: 0 28px; }
.dl-opts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 14.5px; color: var(--text-2); }
.dl-opts select.input { width: auto; }
.preview-card > .hint { margin: 12px 0 0; text-align: center; }

.gen-design { margin-top: 10px; border-radius: 20px; background: var(--g-card); border: 1px solid var(--g-edge); box-shadow: var(--g-shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.gen-design > summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 22px; cursor: pointer; font-size: 18px; font-weight: 500; border-radius: 20px; }
.gen-design > summary::-webkit-details-marker { display: none; }
.gen-design > summary .hint { font-size: 14px; font-weight: 400; }
.gen-design > summary .chev { margin-left: auto; transition: transform .2s; }
.gen-design[open] > summary .chev { transform: rotate(180deg); }
.gen-design-body { padding: 0 22px 22px; }
.glass .style-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; margin: 0 0 18px; border: 1px solid var(--g-edge); border-radius: 18px; background: var(--g-input); }
.glass .style-tabs .tab { height: 48px; border: 0; border-radius: 13px; justify-content: center; font-size: 15.5px; font-weight: 500; color: var(--text); padding: 0 8px; }
.glass .style-tabs .tab.on { background: var(--g-solid); color: var(--accent); box-shadow: 0 2px 8px rgba(20, 40, 100, .12); font-weight: 600; }
.glass .style-tabs .tab .i { width: 18px; height: 18px; }
.glass .color-row input[type=color] { width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--g-edge); background: var(--g-input); padding: 4px; }
.glass .color-row .input { width: 140px; font-weight: 600; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch { width: 48px; height: 48px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(20, 40, 100, .18); padding: 0; }
.swatch.on, .swatch:hover { outline: 3px solid var(--accent); outline-offset: 2px; }
.glass .logo-drop { border-color: var(--g-line); background: var(--g-input); border-radius: 18px; }
.glass .range-row input[type=range] { height: 32px; }

.privacy-note { display: flex; gap: 8px; align-items: flex-start; color: var(--text-3); font-size: 14px; margin: 14px 2px 0; }
.privacy-note .i { margin-top: 2px; }

/* ---------- страницы под запросы, контент ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; padding-top: 22px; font-size: 14.5px; color: var(--text-3); flex-wrap: wrap; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs + .gen { padding-top: 22px; }
.seo-block { margin: 56px 0; }
.glass .kinds-hero { padding-bottom: 0; }
.glass .kinds-hero p { margin: 20px auto 0; }
.kinds-sub { color: var(--text-2); font-size: 17px; margin: -8px 0 20px; max-width: 760px; }
.seo-block > h2, .seo-text h2, .glass .faq h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 20px; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.kind { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.kind:hover { transform: translateY(-2px); }
.kind .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.kind b { display: block; font-size: 17px; margin-bottom: 4px; }
.kind .hint { display: block; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; counter-reset: s; }
.steps li { padding: 20px; border-radius: 20px; display: grid; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.steps .n { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.seo-text { max-width: 840px; margin: 0 0 20px; }
.seo-text section { margin: 0 0 34px; }
.seo-text h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }
.seo-text p, .seo-text li { font-size: 17.5px; line-height: 1.7; color: var(--text-2); }
.seo-text p { margin: 0 0 12px; }
.seo-text ul { margin: 0; padding-left: 22px; }
.glass .features { gap: 16px; margin: 56px 0; }
.glass .feature { border-radius: 22px; padding: 22px 24px; }
.glass .feature h3 { font-size: 18px; }
.glass .feature p { line-height: 1.6; }
.glass .faq details { border-radius: 18px; padding: 0 22px; }
.glass .faq details + details { margin-top: 10px; }
.glass .faq summary { padding: 18px 0; font-size: 17.5px; }
.glass .faq details p { font-size: 16.5px; line-height: 1.65; margin-bottom: 18px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: 26px; margin: 40px 0; flex-wrap: wrap; }
.cta-band b { display: block; font-size: 22px; margin-bottom: 4px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.glass .hero { padding: 56px 0 18px; }
.glass .hero p { font-size: 20px; color: var(--text-2); max-width: 680px; line-height: 1.5; }
.glass .cmp td, .glass .cmp th { height: auto; padding: 14px 18px; white-space: normal; font-size: 15.5px; background: transparent; }
.glass .cmp th { background: var(--g-input); position: static; }

/* ---------- тарифы (макет «Тарифы») ---------- */
.glass .hero.left { text-align: left; }
.glass .prices { max-width: none; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glass .price { border-radius: 34px; padding: 44px 48px; gap: 22px; }
.glass .price .p-name { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.glass .price .amount { font-size: clamp(54px, 6vw, 80px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.glass .price .amount small { font-size: 30px; font-weight: 500; color: var(--text); margin-left: 8px; letter-spacing: 0; }
.glass .price ul { gap: 16px; }
.glass .price li { font-size: 18px; color: var(--text); align-items: center; gap: 16px; }
.glass .price li svg { width: 28px; height: 28px; color: var(--text); stroke-width: 1.6; flex: none; }
.glass .price li.no { color: var(--text-3); }
.glass .price li.no svg { color: var(--text-3); }
.glass .price .btn { height: 64px; border-radius: 18px; font-size: 19px; }
.glass .price.best { box-shadow: var(--g-shadow), 0 0 0 2px var(--accent); }
/* три тарифа: Бесплатно / Про / Бизнес */
.glass .prices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.glass .prices.three .price { padding: 34px 30px; gap: 16px; border-radius: 30px; }
.glass .prices.three .p-name { font-size: 30px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.glass .prices.three .amount { font-size: clamp(44px, 4.2vw, 62px); }
.glass .prices.three .amount small { font-size: 22px; }
.glass .prices.three li { font-size: 16px; gap: 12px; align-items: flex-start; }
.glass .prices.three li svg { width: 24px; height: 24px; }
.glass .prices.three .btn { height: 58px; font-size: 18px; margin-top: auto; }
.glass .price ul { flex: 1; }
.p-tag { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.p-year { font-size: 15px; color: var(--text-2); margin-top: -6px; }
.price.best .p-year { color: var(--accent); font-weight: 600; }
.glass .price li.soon { color: var(--text-2); }
.glass .price li.soon svg { color: var(--text-3); }
.price-note { max-width: 860px; margin: 22px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 1100px) and (min-width: 901px) {
  .glass .prices.three .price { padding: 28px 22px; }
  .glass .prices.three .p-name { font-size: 26px; }
}

/* ---------- вход и регистрация (макет «Создать кабинет») ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 40px; align-items: center; min-height: calc(100vh - 72px); padding: 40px 0; }
.auth-art { position: relative; height: 640px; }
.auth-art img { position: absolute; left: -260px; top: -10px; width: 820px; height: auto; transform: rotate(8deg); }
.auth-card { border-radius: 34px; padding: 48px 52px; background: var(--g-card); border: 1px solid var(--g-edge); box-shadow: var(--g-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
.auth-card h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.auth-card .lead { font-size: 21px; color: var(--text-2); margin: 12px 0 28px; }
.ico-input { position: relative; }
.ico-input > .i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text); pointer-events: none; }
.ico-input .input { padding-left: 54px; }
.ico-input .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.test-box { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #f5b400 16%, var(--g-solid)); border: 1px solid color-mix(in srgb, #f5b400 45%, transparent); font-size: 15px; line-height: 1.5; }
.test-box .mono { font-size: 18px; letter-spacing: .12em; }
.glass .code-input { font-size: 26px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; height: 62px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }
.ico-input .eye + .input, .ico-input .input.has-eye { padding-right: 56px; }
.auth-card .btn.big { width: 100%; }
.auth-card .switch { align-items: center; margin: 4px 0 10px; }
.auth-foot { text-align: center; margin: 22px 0 0; font-size: 18px; }
.auth-foot a { font-weight: 700; text-decoration: none; }

/* ---------- прочие публичные страницы ---------- */
.glass .center-card { border-radius: 30px; padding: 36px; max-width: 520px; }
.glass .prose { border-radius: 30px; padding: 40px 44px; max-width: 860px; }
.glass .prose h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.glass .prose p, .glass .prose li { font-size: 17px; }
.glass .kv { font-size: 16px; grid-template-columns: 170px minmax(0, 1fr); }

/* ---------- подвал (вариант Б): графитовый ---------- */
.g-foot { position: relative; z-index: 1; margin-top: 40px; background: #23262f; color: #f2f4f8; }
.g-foot-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 44px; }
.glass .g-foot .g-logo { color: #fff; align-self: start; }
.g-foot .g-mark { width: 34px; height: 34px; }
.fcol { margin: 0; }
.fcol summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 12px; cursor: default; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol summary .i { display: none; }
.glass .fcol a { display: block; width: fit-content; color: #e3e6ee; text-decoration: none; font-size: 16px; line-height: 1.5; padding: 5px 0; }
.glass .g-foot a:hover { color: #9db8ff; }
.foot-bottom { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot-copy { color: #e3e6ee; font-size: 15px; }
.foot-links { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 30px; }
.glass .foot-links a { color: #e3e6ee; text-decoration: none; font-size: 15px; }
.g-foot :focus-visible { outline: 2px solid #9db8ff; outline-offset: 2px; border-radius: 6px; }
:root[data-theme="dark"] .g-foot { background: #161a24; border-top: 1px solid rgba(255, 255, 255, .08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-foot { background: #161a24; border-top: 1px solid rgba(255, 255, 255, .08); } }

/* ---------- адаптивность ---------- */
@media (max-width: 1080px) {
  .gen { column-gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); }
  .seg-type { padding: 0 16px; }
}
@media (max-width: 900px) {
  .gen { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "types" "fields" "preview" "dyn" "design" "privacy"; grid-template-rows: none; padding-top: 28px; }
  .gen-preview { position: static; margin-bottom: 16px; }
  .seg-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .seg-type { padding: 0 8px; }
  .more-wrap > .seg-type { width: 100%; }
  .glass .prices, .glass .prices.three { grid-template-columns: minmax(0, 1fr); }
  .glass .prices.three .price.best { order: -1; } /* на телефоне рекомендуемый «Про» — первым, до «Бесплатно» */
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth-art { display: none; }
  .g-deco img { width: 560px; right: -220px; top: 520px; opacity: .4; }
}
/* четыре раздела в шапке помещаются от 1061 px; уже — кнопка «Меню», панель меню справа шириной с телефон */
@media (max-width: 1060px) {
  .g-nav, .g-bar > .g-login { display: none; }
  .g-menu-btn { display: inline-flex; margin-left: 0; }
  .g-theme { margin: 0 2px 0 auto; }
}
@media (min-width: 601px) and (max-width: 1060px) {
  .mnav { left: auto; right: max(10px, calc((100% - 1384px) / 2)); width: 400px; }
}
@media (max-width: 820px) {
  .g-head { padding: 8px 8px 0; }
  .g-bar { height: 60px; padding: 0 8px 0 16px; border-radius: 18px; gap: 8px; }
  html { scroll-padding-top: 84px; }
  .g-nav, .g-bar > .g-login { display: none; }
  .g-menu-btn { display: inline-flex; margin-left: 0; }
  .g-theme { margin: 0 2px 0 auto; }
  .foot-top { grid-template-columns: 1fr; gap: 0; padding: 36px 0 8px; }
  .foot-logo { margin-bottom: 22px; }
  .fcol { border-top: 1px solid rgba(255, 255, 255, .16); }
  .fcol:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .fcol summary { min-height: 60px; margin: 0; cursor: pointer; font-size: 19px; }
  .fcol summary .i { display: block; width: 22px; height: 22px; transition: transform .15s; }
  .fcol[open] summary .i { transform: rotate(180deg); }
  .fcol[open] { padding-bottom: 12px; }
  .glass .fcol a { font-size: 17px; padding: 8px 0; }
  .foot-bottom { flex-direction: column; align-items: flex-start; border-top: 0; padding: 18px 0 34px; gap: 22px; }
  .foot-links { order: -1; margin: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
  .glass .foot-links a { font-size: 17px; padding: 7px 0; }
}
@media (max-width: 600px) {
  .glass .g-wrap, .glass .site-wrap { padding: 0 16px; }
  .glass .g-logo { font-size: 24px; }
  .g-mark { width: 32px; height: 32px; }
  .g-foot-in { padding: 0 20px; }
  .gen-head h1 { font-size: clamp(40px, 13vw, 56px); }
  .gen-sub { font-size: 17px; }
  .types { margin-top: 22px; }
  .seg-types { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 5px; }
  .seg-type { height: 50px; font-size: 16px; gap: 7px; padding: 0 6px; }
  .seg-type.desk-only { display: none; }
  .preview-card { padding: 18px; border-radius: 26px; }
  .qr-plate { min-height: 0; padding: 16px; aspect-ratio: 1; }
  .preview-card .dl-row .btn { height: 56px; font-size: 17px; }
  .gen-design > summary .hint { display: none; }
  .gen-design-body { padding: 0 14px 16px; }
  .glass .style-tabs { grid-template-columns: repeat(2, 1fr); }
  .swatches { gap: 10px; }
  .swatch { width: 42px; height: 42px; }
  .glass .row2 { grid-template-columns: 1fr; gap: 0; }
  .glass .seg { display: flex; flex-wrap: wrap; gap: 2px; }
  .glass .seg label { flex: 1 1 auto; min-width: 0; } /* ширина по тексту: «WPA/WPA2/WPA3» не наезжает на «WEP» */
  .glass .seg span { height: 44px; justify-content: center; width: 100%; padding: 0 10px; }
  .glass .btn.sm { min-height: 44px; }
  .glass .price { padding: 30px 24px; border-radius: 28px; }
  .glass .price .p-name { font-size: 32px; }
  .auth-card { padding: 30px 20px; border-radius: 28px; }
  .glass .prose { padding: 26px 20px; border-radius: 24px; }
  .glass .center-card { padding: 26px 20px; margin: 24px 0; }
  .cta-band { padding: 22px; }
  .glass .hero p { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
}
/* Телефон: поле ввода и скачивание — как можно выше. Пояснение под заголовком уезжает под код. */
@media (max-width: 600px) {
  .gen { padding-top: 16px; grid-template-areas: "head" "types" "fields" "preview" "dyn" "sub" "design" "privacy"; }
  .gen-head { display: contents; }
  .gen-head h1 { grid-area: head; font-size: clamp(30px, 9.2vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
  .gen-head .eyebrow { display: none; }
  .gen-sub { grid-area: sub; font-size: 15px; margin: 0 2px 14px; color: var(--text-3); }
  .types { margin-top: 14px; }
  .gen-fields { margin-top: 14px; }
  .gen-fields .field { margin-bottom: 12px; }
  .gen-preview { margin-bottom: 12px; }
  .qr-plate .qr { max-width: 250px; }
  .qr-plate { aspect-ratio: auto; padding: 14px; }
  .preview-card.empty { padding: 12px; }
  .preview-card.empty .qr-plate { min-height: 0; padding: 14px 16px; border-radius: 16px; }
  .preview-card.empty .placeholder { display: flex; align-items: center; gap: 12px; max-width: none; text-align: left; font-size: 15px; }
  .preview-card.empty .placeholder svg.i { width: 30px; height: 30px; margin: 0; flex: none; }
  .preview-card.empty .dl-row, .preview-card.empty .dl-opts, .preview-card.empty > .hint { display: none; }
  .preview-card .dl-row { margin-top: 12px; }
  .target-line { margin-top: 12px; font-size: 14px; }
}
@media (max-width: 380px) {
  .preview-card .dl-row .btn:not(.primary) { padding: 0 16px; }
  .preview-card .dl-row .btn { font-size: 16px; }
}
@media (max-width: 360px) {
  .seg-type { font-size: 14.5px; gap: 5px; }
  .seg-type .i { width: 17px; height: 17px; }
  .glass .g-logo { font-size: 22px; gap: 8px; }
  .g-bar { padding: 0 6px 0 12px; gap: 4px; }
  .g-theme { width: 40px; height: 40px; }
  .g-menu-btn { gap: 6px; padding: 0 10px 0 12px; }
}
.glass .field > label { font-size: 16px; font-weight: 500; color: var(--text); }
.nw { white-space: nowrap; }
.glass .seg, .glass .style-tabs, .glass .color-row input[type=color], .glass .logo-drop { border-color: var(--g-input-edge); }
.glass .hero.left p { margin-left: 0; }

/* ---------- электронная визитка /v/… ----------
   Цвета задаёт страница: --vc (цвет визитки), --vc-on (текст на нём), --vc-ink (цвет, читаемый на белом).
   Дизайны: .vc-t-classic, .vc-t-cover, .vc-t-minimal, .vc-t-gradient. */
.vc-page { --vc-soft: color-mix(in srgb, var(--vc) 12%, transparent); --vc-ic: var(--vc-ink); }
:root[data-theme="dark"] .vc-page { --vc-soft: color-mix(in srgb, var(--vc) 40%, transparent); --vc-ic: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vc-page { --vc-soft: color-mix(in srgb, var(--vc) 40%, transparent); --vc-ic: #fff; } }
.vc { max-width: 460px; margin: 0 auto; padding: 24px 16px 40px; display: grid; gap: 14px; position: relative; z-index: 1; }
.vc .glass-card { border-radius: 26px; }
.vc-card { position: relative; overflow: hidden; text-align: center; padding: 0 22px 22px; }
.vc-band { height: 124px; margin: 0 -22px; background: linear-gradient(135deg, var(--vc), color-mix(in srgb, var(--vc) 50%, #fff)); }
.vc-head { display: grid; justify-items: center; }
.vc-photo { width: 128px; height: 128px; margin: -64px auto 14px; border-radius: 50%; overflow: hidden; border: 4px solid var(--g-solid);
  background: var(--vc); color: var(--vc-on); display: grid; place-items: center; font-size: 42px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 12px 30px rgba(20, 30, 70, .22); }
.vc-photo img, .vc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc h1 { font-size: 27px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vc-role { margin: 0; color: var(--text-2); font-size: 16.5px; }
.vc-logo { position: absolute; top: 12px; left: 12px; max-width: 110px; max-height: 30px; padding: 5px 8px; border-radius: 10px; box-sizing: content-box; background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12); object-fit: contain; z-index: 2; }
.vc-about { margin: 14px 0 0; color: var(--text-2); white-space: pre-line; line-height: 1.5; }
.vc-quick { display: flex; justify-content: center; gap: 4px; margin: 20px 0 18px; flex-wrap: wrap; }
.glass .vc-quick a { display: grid; justify-items: center; gap: 6px; width: 66px; color: var(--text); text-decoration: none; font-size: 12.5px; font-weight: 500; }
.vc-quick .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--vc-soft); color: var(--vc-ic);
  transition: transform .15s, background .15s, color .15s; }
.vc-quick a:hover .ic, .vc-quick a:focus-visible .ic { background: var(--vc); color: var(--vc-on); transform: translateY(-2px); }
.glass .btn.primary.vc-save { background: var(--vc); border-color: var(--vc); color: var(--vc-on); gap: 10px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--vc) 35%, transparent); }
.glass .btn.primary.vc-save:hover { background: color-mix(in srgb, var(--vc) 86%, #000); }
.vc-list { padding: 6px; }
.glass .vc-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; color: var(--text); text-decoration: none; min-height: 56px; }
.glass a.vc-row:hover { background: var(--vc-soft); }
.vc-row + .vc-row { border-top: 1px solid var(--g-line); }
.vc-row .ic, .vc-form summary .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--vc-soft); color: var(--vc-ic); }
.vc-row > span:last-child { min-width: 0; overflow-wrap: anywhere; font-size: 16px; }
.vc-row small, .vc-form summary small { display: block; color: var(--text-3); font-size: 13px; }
.vc-form { padding: 6px; }
.vc-form summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 10px 14px; min-height: 56px; border-radius: 18px; }
.vc-form summary::-webkit-details-marker { display: none; }
.vc-form summary > span:nth-child(2) { flex: 1; text-align: left; }
.vc-form .chev { transition: transform .2s; color: var(--text-3); }
.vc-form[open] .chev { transform: rotate(180deg); }
.vc-form form { padding: 6px 14px 14px; }
.glass .vc-form .input { height: 50px; font-size: 16px; }
.glass .vc-form textarea.input { height: auto; padding: 12px 16px; }
.glass .btn.primary.vc-send { background: var(--vc); border-color: var(--vc); color: var(--vc-on); }
.vc-consent { margin: 10px 0 0; font-size: 13px; }
.vc-thanks { display: flex; gap: 12px; align-items: flex-start; padding: 6px 14px 14px; }
.vc-thanks .i { color: var(--ok, #2fa86b); flex: none; margin-top: 2px; }
.vc-thanks p { margin: 0; }
.vc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.glass .vc-share { gap: 8px; min-height: 52px; }
.vc-qr { padding: 16px 18px; }
.vc-qr .qr { background: #fff; border-radius: 16px; padding: 14px; margin: 0 auto 8px; max-width: 260px; }
.vc-qr .qr svg { width: 100%; height: auto; display: block; }
.vc-qr .hint { text-align: center; margin: 0; }
.vc .brandline { margin: 6px 0 0; text-align: center; }
.vc .brandline a { color: inherit; }
.vc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--g-solid) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--g-line); }
.vc-sticky .vc-save { max-width: 428px; margin: 0 auto; }
@media (min-width: 761px) { .vc-sticky { display: none; } }
@media (max-width: 760px) { .vc-page:not(.vc-preview) .vc { padding-bottom: 96px; } }

/* появление блоков; в предпросмотре и при «уменьшить движение» — без анимации */
@keyframes vc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.vc > * { animation: vc-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.vc > :nth-child(2) { animation-delay: .06s; } .vc > :nth-child(3) { animation-delay: .12s; } .vc > :nth-child(n+4) { animation-delay: .18s; }
.vc-preview .vc > * { animation: none; }
@media (prefers-reduced-motion: reduce) { .vc > * { animation: none; } }

/* Обложка: большое фото, имя поверх */
.vc-cover { position: relative; margin: 0 -22px; aspect-ratio: 1 / .9; background: linear-gradient(150deg, var(--vc), color-mix(in srgb, var(--vc) 45%, #000)); overflow: hidden; }
.vc-cover::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.vc-initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px; font-weight: 700; color: color-mix(in srgb, var(--vc-on) 80%, transparent); }
.vc-cover-text { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; text-align: left; color: #fff; }
.vc-cover-text h1 { color: #fff; font-size: 30px; margin-bottom: 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.vc-cover-text .vc-role { color: rgba(255, 255, 255, .9); }
.vc-t-cover .vc-body { padding-top: 4px; }

/* Минимал: без шапки, фото слева, текст по левому краю */
.vc-t-minimal .vc-band { display: none; }
.vc-t-minimal .vc-card { text-align: left; padding-top: 22px; }
.vc-t-minimal .vc-head { grid-template-columns: 84px 1fr; gap: 16px; align-items: center; justify-items: start; }
.vc-t-minimal .vc-photo { width: 84px; height: 84px; margin: 0; border-radius: 22px; border: 0; font-size: 30px; box-shadow: none; }
.vc-t-minimal h1 { font-size: 24px; }
.vc-t-minimal .vc-quick { justify-content: flex-start; }
.vc-t-minimal .vc-logo { position: static; display: block; margin: 16px 0 0; padding: 0; background: none; box-shadow: none; max-height: 36px; }
.vc-t-minimal .vc-card { border-top: 4px solid var(--vc); }

/* Градиент: весь фон в цвете визитки, текст подобран по контрасту (--vc-on) */
:root body.glass.vc-t-gradient { background: linear-gradient(165deg, color-mix(in srgb, var(--vc) 88%, #fff) 0%, var(--vc) 38%, color-mix(in srgb, var(--vc) 60%, #000) 100%);
  --text: var(--vc-on); --text-2: color-mix(in srgb, var(--vc-on) 82%, transparent); --text-3: color-mix(in srgb, var(--vc-on) 70%, transparent);
  --g-line: color-mix(in srgb, var(--vc-on) 18%, transparent); --vc-soft: color-mix(in srgb, var(--vc-on) 16%, transparent); --vc-ic: var(--vc-on);
  --g-input: color-mix(in srgb, var(--vc-on) 10%, transparent); --g-input-edge: color-mix(in srgb, var(--vc-on) 30%, transparent); color: var(--vc-on); }
.vc-t-gradient .g-deco { display: none; }
.vc-t-gradient .glass-card { background: color-mix(in srgb, var(--vc-on) 11%, transparent); border-color: color-mix(in srgb, var(--vc-on) 22%, transparent); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.vc-t-gradient .vc-band { display: none; }
.vc-t-gradient .vc-card { padding-top: 34px; }
.vc-t-gradient .vc-card:has(.vc-logo) { padding-top: 66px; }
.vc-t-gradient .vc-photo { margin-top: 0; border-color: color-mix(in srgb, var(--vc-on) 70%, transparent); background: color-mix(in srgb, var(--vc-on) 18%, transparent); color: var(--vc-on); }
.vc-t-gradient .vc-quick a:hover .ic { background: var(--vc-on); color: var(--vc); }
.glass.vc-t-gradient .btn.primary.vc-save, .glass.vc-t-gradient .btn.primary.vc-send { background: var(--vc-on); border-color: var(--vc-on); color: var(--vc-ink); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.glass.vc-t-gradient .btn.primary.vc-save:hover { background: color-mix(in srgb, var(--vc-on) 88%, var(--vc)); }
.glass.vc-t-gradient .vc-share { background: color-mix(in srgb, var(--vc-on) 12%, transparent); border-color: color-mix(in srgb, var(--vc-on) 28%, transparent); color: var(--vc-on); }
.vc-t-gradient .vc-sticky { background: color-mix(in srgb, var(--vc) 80%, transparent); border-top-color: color-mix(in srgb, var(--vc-on) 20%, transparent); }
.vc-t-gradient .vc-thanks .i { color: var(--vc-on); }

/* полоска над примером визитки */
.vc-example-bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: center;
  padding: 10px 16px; background: color-mix(in srgb, var(--g-solid) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--g-line); font-size: 14px; color: var(--text); }
.glass .vc-example-bar a:not(.btn) { color: var(--text); text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--g-line); }
.glass .vc-example-bar a[aria-current] { background: var(--vc); color: var(--vc-on); border-color: var(--vc); }
:root body.glass.vc-t-gradient .vc-example-bar { color: #0e1424; }
:root body.glass.vc-t-gradient .vc-example-bar a:not(.btn):not([aria-current]) { color: #0e1424; }
.glass .gen-tip { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 14px; line-height: 1.45; }
.glass .gen-tip .i { flex: none; margin-top: 2px; color: var(--accent); }
@media (max-width: 760px) { .vc-example-bar { position: static; } }

/* ---------- /elektronnaya-vizitka ---------- */
.ec-hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: center; padding: 28px 0 8px; }
.ec-hero h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; margin: 0; }
.ec-lead { font-size: 20px; color: var(--text-2); line-height: 1.5; max-width: 600px; margin: 18px 0 0; }
.ec-copy .hero-cta { justify-content: flex-start; }
.ec-copy > .hint { margin: 12px 0 0; }
.ec-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 16px; color: var(--text); }
.ec-points li { display: flex; gap: 10px; align-items: center; }
.ec-points .i { color: var(--accent); flex: none; }
.ec-phone { display: grid; justify-items: center; gap: 12px; }
.phone-frame { width: 384px; height: 720px; border-radius: 44px; padding: 11px; background: #11141c; box-shadow: 0 30px 70px rgba(10, 20, 60, .3), inset 0 0 0 2px #2b3040; }
.phone-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #f4f6fb; display: block; }
.glass .ec-phone-link { font-size: 15px; text-decoration: none; }
.ec-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.glass .ec-design { display: grid; gap: 4px; padding: 12px 12px 16px; border-radius: 20px; text-decoration: none; color: var(--text); background: var(--g-card);
  border: 1px solid var(--g-edge); box-shadow: var(--g-shadow); text-align: center; transition: transform .15s; }
.glass .ec-design:hover { transform: translateY(-3px); }
.ec-design .tp-art { height: 120px; margin-bottom: 8px; }
@media (max-width: 960px) {
  .ec-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ec-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ec-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .ec-lead { font-size: 17px; }
  .phone-frame { width: min(384px, 100%); height: 640px; padding: 8px; border-radius: 38px; }
  .phone-frame iframe { border-radius: 30px; }
}
.glass .ec-strip { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 18px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--g-card); border: 1px solid var(--g-edge); box-shadow: var(--g-shadow); font-size: 15.5px; line-height: 1.45; }
.glass .ec-strip .i { color: var(--accent); flex: none; width: 26px; height: 26px; }
.glass .ec-strip .go { margin-left: auto; color: var(--accent); font-weight: 600; white-space: nowrap; padding-left: 8px; }
.glass .gen-note { margin: 0 0 12px; line-height: 1.45; }
@media (max-width: 600px) { .glass .ec-strip { font-size: 14.5px; padding: 12px 14px; } .glass .ec-strip .go { display: none; } }

/* ================= мини-сайт /m/<адрес> — основа та же, что у визитки (.vc) ================= */
.ms-write { margin-top: 18px; gap: 10px; }
.ms-other { display: block; margin: 10px auto 0; padding: 8px 14px; border: 0; border-radius: 10px; background: none; color: var(--vc-ic);
  font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.ms-other:hover { background: var(--vc-soft); }
.ms-list { padding: 20px 18px 8px; }
.ms-list h2 { font-size: 21px; margin: 0 0 4px; letter-spacing: -.01em; }
.ms-sec { margin: 18px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.ms-items { list-style: none; margin: 0; padding: 0; }
.ms-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--g-line); }
.ms-items:first-of-type .ms-item:first-child, .ms-sec + .ms-items .ms-item:first-child { border-top: 0; }
.ms-item.has-ph { grid-template-columns: 76px minmax(0, 1fr) auto; }
.ms-ph { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; display: block; background: var(--vc-soft); }
.ms-txt { min-width: 0; }
.ms-txt b { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ms-desc { display: block; margin-top: 2px; color: var(--text-3); font-size: 14px; line-height: 1.35; }
.ms-price { display: block; margin-top: 4px; font-weight: 700; font-size: 15.5px; color: var(--text); }
.glass .ms-ask { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 13px; background: var(--vc-soft); color: var(--vc-ic);
  font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.glass .ms-ask:hover, .glass .ms-ask:focus-visible { background: var(--vc); color: var(--vc-on); }
.ms-off { padding: 6px 10px; border-radius: 10px; background: var(--g-input); color: var(--text-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ms-item.off .ms-txt { opacity: .55; }
.ms-item.off .ms-ph { filter: grayscale(1); opacity: .6; }
@media (max-width: 400px) {
  .ms-list { padding: 18px 14px 6px; }
  .ms-item.has-ph { grid-template-columns: 60px minmax(0, 1fr); }
  .ms-item.has-ph .ms-side { grid-column: 2; }
  .ms-ph { width: 60px; height: 60px; border-radius: 13px; }
  .glass .ms-ask { padding: 0 12px; font-size: 14px; }
}
.vc-t-gradient .ms-off { background: color-mix(in srgb, var(--vc-on) 14%, transparent); color: var(--text-2); }
.vc-t-gradient .ms-ask:hover { background: var(--vc-on); color: var(--vc); }

/* окно «Как связаться»: на телефоне — снизу, на компьютере — по центру */
.ms-sheet { border: 0; padding: 0; background: transparent; width: calc(100% - 24px); max-width: 460px; max-height: calc(100dvh - 24px); overflow: visible; color: var(--text); }
.ms-sheet::backdrop { background: rgba(8, 12, 28, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ms-sheet[open] { animation: ms-in .18s ease-out; }
@keyframes ms-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ms-sheet-in { max-height: calc(100dvh - 24px); overflow: auto; padding: 18px 18px 16px; border-radius: 24px; background: var(--g-solid); border: 1px solid var(--g-edge);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.ms-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ms-sheet-head h2 { margin: 0; font-size: 20px; }
.ms-x { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--g-input); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.ms-x:hover { background: var(--vc-soft); }
.ms-chosen { margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; background: var(--vc-soft); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.ms-msg { margin-bottom: 12px; }
.glass .ms-msg textarea.input { height: auto; min-height: 84px; padding: 10px 14px; font-size: 16px; line-height: 1.4; resize: vertical; }
.ms-chans { display: grid; gap: 6px; margin-bottom: 10px; }
.glass .ms-ch { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-radius: 16px; background: var(--g-input);
  border: 1px solid var(--g-input-edge); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.glass .ms-ch:hover, .glass .ms-ch:focus-visible { border-color: var(--vc); transform: translateY(-1px); }
.ms-ch .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--vc-soft); color: var(--vc-ic); }
.ms-ch > span:nth-child(2) { flex: 1; min-width: 0; }
.ms-ch b { display: block; font-size: 16px; }
.ms-ch small { display: block; color: var(--text-3); font-size: 13px; overflow-wrap: anywhere; }
.ms-ch .go { flex: none; color: var(--text-3); }
.glass .ms-copy { gap: 8px; }
.ms-note { margin: 10px 0 0; text-align: center; font-size: 13px; }
@media (max-width: 600px) {
  .ms-sheet { width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh; }
  .ms-sheet-in { max-height: 92dvh; border-radius: 24px 24px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .ms-sheet[open] { animation-name: ms-up; }
  @keyframes ms-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
}
/* в «Градиенте» окно остаётся обычным светлым/тёмным, а не цветным */
:root body.glass.vc-t-gradient .ms-sheet { --text: #0e1424; --text-2: #434959; --text-3: #5f6575; --g-solid: #f8f9fe; --g-input: #fff;
  --g-input-edge: rgba(22, 40, 100, .14); --g-edge: rgba(255, 255, 255, .9); --g-line: rgba(22, 40, 100, .1);
  --vc-soft: color-mix(in srgb, var(--vc) 12%, transparent); --vc-ic: var(--vc-ink); }
:root[data-theme="dark"] body.glass.vc-t-gradient .ms-sheet { --text: #eef1f8; --text-2: #bcc2d0; --text-3: #959cad; --g-solid: #161c30;
  --g-input: rgba(255, 255, 255, .06); --g-input-edge: rgba(255, 255, 255, .16); --g-edge: rgba(255, 255, 255, .12); --g-line: rgba(255, 255, 255, .1);
  --vc-soft: color-mix(in srgb, var(--vc) 40%, transparent); --vc-ic: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.glass.vc-t-gradient .ms-sheet { --text: #eef1f8; --text-2: #bcc2d0; --text-3: #959cad; --g-solid: #161c30;
    --g-input: rgba(255, 255, 255, .06); --g-input-edge: rgba(255, 255, 255, .16); --g-edge: rgba(255, 255, 255, .12); --g-line: rgba(255, 255, 255, .1);
    --vc-soft: color-mix(in srgb, var(--vc) 40%, transparent); --vc-ic: #fff; }
}
@media (prefers-reduced-motion: reduce) { .ms-sheet[open] { animation: none; } }

/* ---------- /mini-sayt ---------- */
.ms-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ms-flow-step { padding: 20px 22px; border-radius: 22px; }
.ms-flow-step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.ms-flow-step b { display: block; font-size: 18px; margin-bottom: 6px; }
.ms-flow-step p { margin: 0; color: var(--text-2); line-height: 1.5; }
.ms-flow-step .ms-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #1f5fe8; color: #fff; font-size: 15px; }
.ms-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.glass .ms-phone { display: grid; justify-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--text); }
.ms-phone b { font-size: 17px; margin-top: 8px; }
.ms-phone { min-width: 0; }
.phone-frame.sm { display: block; width: min(338px, 100%); height: 600px; border-radius: 38px; padding: 9px; }
.phone-frame.sm iframe { border-radius: 30px; pointer-events: none; }
.ms-phone:hover .phone-frame { transform: translateY(-3px); }
.phone-frame { transition: transform .2s; }
@media (max-width: 900px) { .ms-flow { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .ms-phones { grid-template-columns: minmax(0, 1fr); } }

/* мини-сайт на телефоне: шапка компактнее, чтобы услуги и цены были видны сразу (а не с 650-го пикселя) */
@media (max-width: 600px) {
  .ms-page .vc { padding-top: 12px; gap: 12px; }
  .ms-page .vc-card { padding: 0 18px 16px; }
  .ms-page .vc-band { height: 68px; margin: 0 -18px; }
  .ms-page .vc-photo { width: 84px; height: 84px; margin: -42px auto 8px; font-size: 28px; border-width: 3px; }
  .ms-page .vc h1 { font-size: 23px; margin-bottom: 2px; }
  .ms-page .vc-role { font-size: 15px; }
  .ms-page .vc-about { font-size: 15px; margin-top: 8px; line-height: 1.45; }
  .ms-page .ms-write { margin-top: 12px; min-height: 50px; }
  .ms-page .ms-other { margin-top: 4px; padding: 6px 12px; }
  .ms-page .vc-cover { aspect-ratio: 16 / 9; margin: 0 -18px; }
  .ms-page .vc-cover-text h1 { font-size: 24px; }
  .ms-page.vc-t-minimal .vc-card { padding-top: 16px; }
  .ms-page.vc-t-minimal .vc-photo { width: 64px; height: 64px; margin: 0; font-size: 24px; }
  .ms-page.vc-t-minimal .vc-head { grid-template-columns: 64px 1fr; gap: 12px; }
  .ms-page.vc-t-gradient .vc-card { padding-top: 18px; }
  .ms-page.vc-t-gradient .vc-card:has(.vc-logo) { padding-top: 52px; }
  .ms-page .vc-logo { top: 10px; left: 10px; max-height: 26px; }
}

/* экраны 320–380 px: длинные слова в заголовках и надписи на больших кнопках не выходят за край */
@media (max-width: 380px) {
  .glass .hero h1, .glass h1.big { font-size: 34px; }
  .glass .btn.big { height: auto; min-height: 56px; padding: 12px 18px; white-space: normal; line-height: 1.25; text-align: center; }
}
.vc-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.glass .vc-share { min-width: 0; padding-left: 10px; padding-right: 10px; }

/* ---------- главная: живой пример «Страница, с которой вам пишут» ---------- */
.home-show { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; margin: 64px 0 0; padding: 40px 44px;
  border-radius: 32px; position: relative; overflow: hidden; }
.home-show::before { content: ""; position: absolute; inset: auto -120px -160px auto; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.home-show h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
.hs-lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 520px; margin: 16px 0 0; }
.hs-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.hs-points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.hs-points .i { color: var(--accent); flex: none; margin-top: 2px; }
.hs-copy .hero-cta { justify-content: flex-start; margin-top: 24px; }
.hs-copy > .hint { margin: 12px 0 0; }
.hs-demo { display: grid; justify-items: center; gap: 14px; position: relative; z-index: 1; }
.glass .hs-switch { display: inline-flex; width: auto; }
.glass .hs-switch button { border: 0; background: transparent; padding: 8px 16px; border-radius: 12px; font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--text-2); cursor: pointer; min-height: 38px; }
.glass .hs-switch button[aria-pressed="true"] { background: var(--g-card-2); color: var(--text); box-shadow: 0 2px 8px rgba(30, 50, 120, .12); }
.hs-stage { position: relative; }
/* пример — как настоящий телефон: страница шириной 375 px, уменьшенная под рамку */
.phone-frame.hs-frame { width: 320px; height: 600px; padding: 10px; border-radius: 44px; overflow: hidden; transform: rotate(1.5deg); transition: transform .25s; }
.hs-stage:hover .phone-frame.hs-frame { transform: rotate(0); }
.phone-frame.hs-frame iframe { pointer-events: none; width: 375px; height: 725px; transform: scale(.8); transform-origin: 0 0; border-radius: 42px; }
.hs-proof { position: absolute; left: -96px; bottom: 22px; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 16px;
  background: var(--g-card-2); border: 1px solid var(--g-edge); box-shadow: 0 14px 34px rgba(20, 40, 100, .18); transform: rotate(-3deg); max-width: 250px; }
.hs-proof .ic { width: 32px; height: 32px; border-radius: 10px; background: #e3f5ea; color: #1f8a4c; display: grid; place-items: center; flex: none; }
.hs-proof b { display: block; font-size: 13.5px; }
.hs-proof small { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 1px; }
:root[data-theme="dark"] .hs-proof .ic { background: rgba(46, 160, 90, .2); color: #6fd39a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hs-proof .ic { background: rgba(46, 160, 90, .2); color: #6fd39a; } }
.hs-note { margin: 0; font-size: 13px; }

/* «Что хотите создать?» */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.glass .choice { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 22px; text-decoration: none; color: var(--text);
  transition: transform .15s, box-shadow .15s; min-height: 118px; }
.glass .choice:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(30, 60, 160, .14); }
.choice .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.choice.t-green .ic { background: rgba(37, 140, 90, .12); color: #1e8a57; }
.choice.t-amber .ic { background: rgba(196, 120, 40, .13); color: #b06a1f; }
.choice.t-violet .ic { background: rgba(120, 80, 190, .12); color: #7552b8; }
:root[data-theme="dark"] .choice.t-green .ic { color: #6fd39a; } :root[data-theme="dark"] .choice.t-amber .ic { color: #f0b46a; } :root[data-theme="dark"] .choice.t-violet .ic { color: #b9a0ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .choice.t-green .ic { color: #6fd39a; } :root:not([data-theme="light"]) .choice.t-amber .ic { color: #f0b46a; } :root:not([data-theme="light"]) .choice.t-violet .ic { color: #b9a0ff; } }
.choice .tx { display: grid; gap: 4px; min-width: 0; }
.choice b { font-size: 17px; }
.choice .hint { font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.choice .go { margin-left: auto; flex: none; color: var(--text-3); margin-top: 4px; transition: transform .15s, color .15s; }
.glass .choice:hover .go { color: var(--accent); transform: translateX(3px); }
.kind-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.kind-chips .hint { margin-right: 4px; font-size: 14.5px; }
.glass .kind-chips .chip { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14px; height: 36px; }
.glass .kind-chips .chip .i { color: var(--accent); }
.glass .kind-chips .chip.all { color: var(--accent); font-weight: 600; }

@media (max-width: 1000px) {
  .home-show { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding: 32px; }
  .phone-frame.hs-frame { width: 300px; height: 560px; }
  .phone-frame.hs-frame iframe { height: 723px; transform: scale(.7467); border-radius: 46px; }
  .hs-proof { left: -24px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-show { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; margin-top: 44px; border-radius: 26px; gap: 26px; }
  .hs-lead { font-size: 16.5px; }
  .hs-copy .hero-cta .btn { flex: 1 1 auto; }
  .phone-frame.hs-frame { transform: none; padding: 10px; border-radius: 40px; }
  .hs-proof { left: -10px; bottom: -14px; }
  .hs-note { margin-top: 10px; }
  .choice-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .glass .choice { min-height: 0; padding: 16px; border-radius: 18px; }
  .choice .ic { width: 40px; height: 40px; }
  .choice b { font-size: 16px; }
  .choice .hint { font-size: 14px; }
}
@media (max-width: 380px) {
  .home-show { padding: 22px 16px; }
  .phone-frame.hs-frame { width: 250px; height: 480px; padding: 8px; border-radius: 34px; }
  .phone-frame.hs-frame iframe { height: 744px; transform: scale(.624); border-radius: 48px; }
  .hs-proof { left: -4px; max-width: 220px; padding: 10px 12px; }
  .glass .hs-switch button { padding: 8px 12px; }
}

/* ---------- /sokratit-ssylku ---------- */
.sl-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; padding: 28px 0 8px; }
.sl-hero h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; margin: 0; }
.sl-form { display: flex; gap: 10px; margin-top: 26px; max-width: 620px; }
.sl-form .input { flex: 1; min-width: 0; height: 56px; font-size: 17px; }
.sl-form .btn { flex: none; }
.sl-hint { margin: 12px 0 0; max-width: 620px; }
.sl-demo { border-radius: 28px; padding: 24px; display: grid; gap: 10px; }
.sl-step { display: grid; gap: 4px; }
.sl-step .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sl-long { font-size: 13.5px; color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(200, 60, 60, .5); word-break: break-all; line-height: 1.45; }
.sl-short { font-size: 22px; letter-spacing: -.01em; color: var(--accent); word-break: break-all; }
.sl-arrow { color: var(--text-3); }
.sl-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--g-line); }
.sl-qr { background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 6px 18px rgba(20, 40, 100, .1); }
.sl-qr svg { display: block; width: 100%; height: auto; }
.sl-stats { display: grid; gap: 4px; min-width: 0; }
.sl-num { font-size: 32px; letter-spacing: -.02em; line-height: 1; }
.sl-bars { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin: 6px 0 2px; }
.sl-bars i { flex: 1; background: var(--accent); opacity: .75; border-radius: 3px 3px 0 0; min-height: 4px; }
.sl-note { margin: 4px 0 0; font-size: 12.5px; }
.auth-ctx { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--text); line-height: 1.45; }
.auth-ctx .i { color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 960px) { .sl-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; } .sl-demo { max-width: 460px; } }
@media (max-width: 600px) {
  .sl-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .sl-form { flex-direction: column; }
  .sl-form .input { flex: none; }
  .sl-form .btn { width: 100%; }
  .sl-row { grid-template-columns: 104px minmax(0, 1fr); }
  .sl-short { font-size: 19px; }
}

/* ---------- «Все типы» и панель типов на планшете и телефоне ---------- */
@media (max-width: 900px) {
  .seg-types { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seg-type.more .chev { display: none; }
}
@media (max-width: 600px) {
  .seg-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seg-type { font-size: 15px; gap: 6px; padding: 0 4px; }
  .seg-type.more > .i { display: none; }
  .seg-type.more span { overflow: hidden; text-overflow: ellipsis; }
  .types-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 84vh; overflow: auto; z-index: 70;
    border-radius: 24px 24px 0 0; padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px)); animation: sheet .18s ease-out; }
  .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tp-item { padding: 10px 8px; border-color: var(--g-line); }
  .tp-item .ic { width: 32px; height: 32px; }
  .tp-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; background: rgba(8, 14, 36, .38); z-index: 69; }
  .dyn-opt { margin: 14px 0 6px; }
}
@media (max-width: 360px) {
  /* колонки по ширине подписи: «Чат» короткий, «Все типы» длинный — иначе подпись обрезается */
  .seg-types { grid-template-columns: auto auto auto auto; }
  .seg-type { font-size: 13.5px; gap: 4px; padding: 0 3px; }
  .seg-type .i { width: 16px; height: 16px; }
  .seg-type.more span { overflow: visible; }
  .tp-item small { display: none; }
  .tp-item { min-height: 0; align-items: center; }
}
.glass .chat-notext { background: var(--g-input); }
.glass .chip.preset { height: 34px; padding: 0 12px; font-size: 14px; }
.glass .label-block { border-color: var(--g-input-edge); border-radius: 16px; background: var(--g-input); padding: 14px 16px; }
.glass .lb-k { font-size: 15px; }
.glass .lb-seg span { height: 36px; font-size: 14px; }
.glass .lb-chips .chip { height: 34px; padding: 0 13px; font-size: 14px; background: var(--g-solid); }
.glass .lb-chips .chip.on { background: var(--accent-soft); }
@media (max-width: 600px) {
  .lb-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .glass .lb-seg { width: 100%; }
}
.glass .presets-k { color: var(--text-2); }
/* длинный заголовок генератора («Ссылка на Telegram с готовым текстом») — меньше, чтобы генератор не уезжал вниз */
@media (min-width: 901px) { .gen-head h1.long { font-size: clamp(42px, 4.6vw, 66px); } }

/* === Справочные страницы мини-сайта (16.11.2026): как нас найти, уголок потребителя, инструкция, афиша, форма === */
.ms-maps { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 14px 12px 68px; }
.ms-maps .btn { min-height: 42px; flex: 1 1 auto; justify-content: center; }
.ms-info { padding: 20px 18px 10px; }
.ms-info-h { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.ms-rows, .ms-steps { list-style: none; margin: 0; padding: 0; }
.ms-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--g-line); }
.ms-row:first-child { border-top: 0; }
.ms-row-t { flex: 1; min-width: 0; }
.ms-row-t b { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ms-val { flex: none; max-width: 55%; text-align: right; font-weight: 700; font-size: 15.5px; overflow-wrap: anywhere; }
.ms-badge { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--vc-soft); color: var(--vc-ic); font-weight: 800; font-size: 15px; }
.ms-rows.stack .ms-row { flex-direction: column; gap: 2px; }
.ms-rows.stack .ms-row-t b { font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.ms-rows.stack .ms-val { max-width: none; text-align: left; font-size: 16.5px; font-weight: 600; order: 2; }
.ms-rows.stack .ms-desc { order: 3; }
.ms-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--g-line); }
.ms-steps li:first-child { border-top: 0; }
.ms-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--vc); color: var(--vc-on); font-weight: 800; font-size: 15px; }
.ms-steps .ms-val { display: inline-block; margin-left: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-3); text-align: left; }
.ms-links { display: grid; gap: 8px; padding: 6px 0 10px; }
.glass .ms-link { justify-content: flex-start; text-align: left; min-height: 52px; height: auto; padding: 10px 16px; white-space: normal; }
.ms-link > span { display: grid; gap: 1px; }
/* без прозрачности: на белой кнопке цвет страницы с opacity не добирал контраст 4.5 */
.ms-link small { font-weight: 400; font-size: 13px; }
.ms-formcard { padding: 20px 18px 16px; }
.ms-formcard h2 { font-size: 21px; margin: 0 0 12px; }
.glass .ms-formcard .input { height: 50px; font-size: 16px; }
.glass .ms-formcard textarea.input { height: auto; padding: 12px 16px; }
.ms-agree { margin: 4px 0 14px; align-items: flex-start; }
.ms-agree small { color: var(--text-3); font-size: 13px; line-height: 1.4; }
.ms-formcard .vc-thanks { padding: 4px 0 6px; }
@media (max-width: 420px) {
  .ms-info, .ms-formcard { padding: 18px 14px 8px; }
  .ms-maps { padding-left: 14px; }
}

/* === Главная после разбора 16.11.2026: условия на первом экране, изменяемый код — отдельным предложением,
       спокойнее фон, скачивание без лишнего до появления кода === */
.gen { grid-template-areas: "head preview" "types preview" "fields preview" "design preview" "dyn preview" "privacy preview"; }
.gen-head h1, .glass .hero h1, .glass h1.big { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
@media (min-width: 901px) { .gen-head h1.long { font-size: clamp(36px, 3.6vw, 50px); } }
.gen-sub { font-size: 19px; margin-top: 14px; }
.gen-trust { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 500; color: var(--text); }
.gen-trust li { display: flex; align-items: center; gap: 7px; }
.gen-trust .i { color: var(--ok, #1f9d57); flex: none; stroke-width: 2.4; }
.types { margin-top: 24px; }
.gen-fields { margin-top: 22px; }
.g-deco img { opacity: .3; }
:root[data-theme="dark"] .g-deco img { opacity: .2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-deco img { opacity: .2; } }

/* предложение «Нужно менять ссылку после печати?» */
.dyn-opt { display: flex; gap: 14px; align-items: flex-start; margin: 14px 0 0; padding: 16px 18px; }
.dyn-opt[hidden] { display: none; }
.dyn-opt > .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.dyn-tx { min-width: 0; }
.dyn-tx b { display: block; font-size: 16.5px; }
.dyn-tx p { margin: 4px 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.dyn-tx .btn { min-height: 44px; }
.dyn-tx .btn .i { margin-left: 4px; }
.dyn-tx p.hint { margin: 10px 0 0; font-size: 13.5px; color: var(--text-3); }
.gen-design { margin-top: 4px; }

/* результат: пока кода нет — только подсказка и одна неактивная кнопка без яркой заливки */
.qr-plate .placeholder { color: var(--text-3); }
.preview-card.empty .dl-row { grid-template-columns: 1fr; }
.preview-card.empty [data-dl-svg], .preview-card.empty .dl-opts, .preview-card.empty > .hint { display: none; }
.glass .preview-card .btn.primary:disabled { opacity: 1; background: var(--g-input); color: var(--text-3); border-color: var(--g-line); box-shadow: none; cursor: default; }
.preview-card .static-note { color: var(--text-2); }
.preview-card .print-tip { margin-top: 12px; }
.preview-card .static-note { margin-top: 6px; }

/* «Как создать»: три шага строкой, без больших карточек */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 18px; }
.steps .n { width: 34px; height: 34px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 8px; } .steps li { padding: 14px 16px; } }

/* блок «Страница, с которой вам пишут» — компактнее */
.home-show { margin-top: 48px; padding: 32px 40px; }
.phone-frame.hs-frame { height: 520px; }

@media (max-width: 900px) {
  .gen { grid-template-areas: "head" "types" "fields" "preview" "design" "dyn" "privacy"; }
}
@media (max-width: 600px) {
  /* телефон: заголовок → одна-две строки пояснения → тип → поле → код → оформление → изменяемый код */
  .gen { grid-template-areas: "head" "sub" "types" "fields" "preview" "trust" "design" "dyn" "low" "privacy"; }
  .gen-head h1 { font-size: clamp(26px, 7.8vw, 32px); }
  .gen-sub { grid-area: sub; font-size: 15.5px; margin: 6px 0 0; color: var(--text-2); }
  .types { margin-top: 12px; }
  .gen-fields { margin-top: 12px; }
  .qr-plate .qr { max-width: 216px; }
  .preview-card:not(.empty) .qr-plate { min-height: 0; padding: 12px; }
  .gen-sub.low { grid-area: low; margin: 10px 2px 4px; color: var(--text-3); font-size: 15px; }
  .gen-trust { grid-area: trust; margin: 0 2px 12px; gap: 6px 16px; font-size: 14px; }
  .gen-trust .desk-only { display: none; }
  .dyn-opt { padding: 14px; gap: 12px; margin-top: 10px; }
  .dyn-opt > .ic { width: 34px; height: 34px; border-radius: 10px; }
  .dyn-tx .btn { width: 100%; justify-content: center; }
  .hs-points { display: none; }
  .hs-proof { display: none; }
  .home-show { margin-top: 28px; padding: 22px 18px; }
}
@media (max-width: 600px) {
  .hs-copy .hero-cta { flex-direction: column; align-items: stretch; }
  .glass .hs-copy .hero-cta .btn { width: 100%; min-width: 0; padding: 0 14px; font-size: 16.5px; }
}
.gen-sub { max-width: 640px; }

/* ================= Документы (16.11.2026): оферта, правила, политики, cookies ================= */
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; justify-content: space-between; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.glass .foot-legal a { color: #c9cdd8; text-decoration: none; font-size: 14px; }
.glass .foot-legal a:hover { color: #fff; text-decoration: underline; }
.foot-legal p { margin: 0; color: #a9aebb; font-size: 13.5px; }
.foot-bottom { padding-bottom: 18px; }
@media (max-width: 760px) { .foot-legal { flex-direction: column; gap: 14px; } .foot-legal nav { flex-direction: column; gap: 2px; } .glass .foot-legal a { font-size: 15px; padding: 5px 0; } }

.legal { padding-top: 26px; padding-bottom: 64px; }
.legal-docs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 22px; }
.legal-docs a { height: 36px; padding: 0 15px; border-radius: 18px; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600;
  color: var(--text-2); text-decoration: none; background: var(--g-card); border: 1px solid var(--g-edge); backdrop-filter: blur(14px); }
.legal-docs a:hover { color: var(--text); }
.legal-docs a[aria-current="page"] { background: var(--text); color: #fff; border-color: transparent; }
:root[data-theme="dark"] .legal-docs a[aria-current="page"] { background: #fff; color: #0b1020; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legal-docs a[aria-current="page"] { background: #fff; color: #0b1020; } }
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-toc { position: sticky; top: 104px; }
.legal-toc details { background: var(--g-card); border: 1px solid var(--g-edge); border-radius: 22px; padding: 16px 14px 14px; backdrop-filter: blur(18px); box-shadow: var(--g-shadow); }
.legal-toc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 0 6px 8px; cursor: default; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary .i { display: none; }
.legal-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; gap: 1px; max-height: calc(100vh - 190px); overflow: auto; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 8px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.legal-toc a::before { content: counter(toc); color: var(--text-3); font-variant-numeric: tabular-nums; font-weight: 600; }
.legal-toc a:hover, .legal-toc a.on { background: var(--accent-soft); color: var(--text); }
.legal-doc { background: var(--g-card-2); border: 1px solid var(--g-edge); border-radius: 30px; padding: 44px 52px 40px; box-shadow: var(--g-shadow); backdrop-filter: blur(20px); min-width: 0; }
.legal-eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.legal-head h1, .legal-hub-head h1 { margin: 0; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; hyphens: auto; overflow-wrap: break-word; }
.legal-sec h2, .legal-card b, .legal-toc a { hyphens: auto; overflow-wrap: break-word; }
.legal-meta { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 15px; margin: 14px 0 0; }
.legal-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.legal-acts .btn { max-width: 100%; white-space: normal; }
.legal-head { padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--g-line); }
.legal-admin { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #fff4d6; color: #5c4400; font-size: 14.5px; }
.legal-sec { padding: 26px 0 4px; scroll-margin-top: 100px; }
.legal-sec + .legal-sec { border-top: 1px solid var(--g-line); }
.legal-sec h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 12px; font-size: 22px; letter-spacing: -.015em; line-height: 1.25; }
.legal-n { flex: none; width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--accent-soft);
  color: var(--accent); font-size: 15px; font-weight: 800; transform: translateY(-3px); font-variant-numeric: tabular-nums; }
.legal-sec h3 { font-size: 16.5px; margin: 20px 0 6px; }
.legal-sec p, .legal-sec li { font-size: 16.5px; line-height: 1.65; color: var(--text); }
.legal-sec p { margin: 0 0 12px; }
.legal-sec ul { margin: 6px 0 14px; padding-left: 22px; }
.legal-sec li { margin: 0 0 8px; }
.legal-sec li::marker { color: var(--accent); }
.legal-sec a, .legal-req a, .legal-contact a { color: var(--accent); }
.legal-table { overflow-x: auto; margin: 12px 0 8px; border: 1px solid var(--g-line); border-radius: 16px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-top: 1px solid var(--g-line); line-height: 1.5; }
.legal-table tr:first-child th, .legal-table tr:first-child td, .legal-table thead th { border-top: 0; }
.legal-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); background: var(--accent-soft); }
.legal-table tbody th { width: 30%; font-weight: 650; }
.legal-table code { font-size: 14px; background: var(--accent-soft); padding: 2px 6px; border-radius: 6px; }
.legal-req { margin-top: 30px; padding: 22px 24px; border-radius: 22px; background: var(--g-card); border: 1px solid var(--g-edge); }
.legal-req h2 { margin: 0 0 12px; font-size: 18px; }
.legal-req dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 15.5px; }
.legal-req dt { color: var(--text-3); }
.legal-req dd { margin: 0; overflow-wrap: anywhere; }
/* раздел «Документы» */
.legal-hub-head { max-width: 760px; margin: 18px 0 28px; }
.legal-lead { font-size: 19px; line-height: 1.55; color: var(--text-2); margin: 14px 0 0; }
.legal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 14px; }
.legal-card { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 24px; text-decoration: none; color: var(--text);
  background: var(--g-card); border: 1px solid var(--g-edge); box-shadow: var(--g-shadow); backdrop-filter: blur(18px); transition: transform .15s, box-shadow .15s; }
.legal-card:hover { transform: translateY(-2px); }
.legal-card b { font-size: 18px; letter-spacing: -.01em; color: var(--text); line-height: 1.25; }
.lc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 4px; }
.lc-t { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.lc-go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 4px; }
.legal-hub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.legal-hub-row .legal-req { margin-top: 0; }
.legal-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.legal-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.legal-contact .i { color: var(--accent); margin-top: 3px; }
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .legal-toc { position: static; }
  .legal-toc details:not([open]) { padding-bottom: 8px; }
  .legal-toc summary { cursor: pointer; padding-bottom: 6px; }
  .legal-toc summary .i { display: block; transition: transform .15s; }
  .legal-toc details[open] summary .i { transform: rotate(180deg); }
  .legal-toc ol { max-height: none; }
  .legal-hub-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .legal { padding-top: 12px; }
  .legal-docs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 2px; scrollbar-width: none; }
  .legal-docs::-webkit-scrollbar { display: none; }
  .legal-docs a { flex: none; }
  .legal-doc { padding: 26px 20px 24px; border-radius: 24px; }
  .legal-sec h2 { font-size: 19px; gap: 10px; }
  .legal-n { width: 30px; height: 30px; font-size: 14px; }
  .legal-sec p, .legal-sec li { font-size: 16px; }
  .legal-req { padding: 18px; }
  .legal-req dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-req dd { margin-bottom: 8px; }
  .legal-table tbody th { width: 40%; }
}
@media print {
  .g-head, .g-foot, .legal-docs, .legal-toc, .legal-acts, .legal-admin, .cookie-note, .toasts { display: none !important; }
  body.glass { background: #fff !important; }
  .legal-grid { display: block; }
  .legal-doc { box-shadow: none; border: 0; padding: 0; background: #fff; backdrop-filter: none; }
  .legal-sec { break-inside: avoid-page; }
}
/* уведомление о cookies — небольшая панель снизу, сайт не закрывает */
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 520px; display: flex; gap: 14px; align-items: center;
  padding: 14px 14px 14px 18px; border-radius: 18px; background: rgba(14, 20, 36, .92); color: #eef1f8; box-shadow: 0 18px 48px rgba(10, 20, 50, .3);
  backdrop-filter: blur(14px); }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.cookie-note a { color: #9cbcff; }
.cookie-note .btn { flex: none; background: #fff; color: #0e1424; border-color: transparent; }
/* на телефоне — обычным блоком в самом низу страницы: поверх «Скачать PNG» и форм он не ложится */
@media (max-width: 640px) { .cookie-note { position: static; margin: 0; border-radius: 0; max-width: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: #0e1424; box-shadow: none; border-top: 1px solid rgba(255, 255, 255, .12); } .cookie-note p { font-size: 13.5px; } }

/* ================= Логотип Kon24 (16.11.2026, вариант 2): золотая «К» + «on24» =================
   Картинка-логотип целиком; на тёмной теме и в графитовом подвале — версия со светлыми «on». */
.g-wordmark { display: block; height: 44px; width: auto; flex: none; }
.g-wordmark.dk { display: none; }
:root[data-theme="dark"] .g-wordmark.lt { display: none; }
:root[data-theme="dark"] .g-wordmark.dk { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-wordmark.lt { display: none; } :root:not([data-theme="light"]) .g-wordmark.dk { display: block; } }
.g-foot .g-wordmark.foot { display: block; height: 46px; }
@media (max-width: 1060px) { .g-wordmark { height: 40px; } }
@media (max-width: 600px) { .g-wordmark { height: 36px; } .g-foot .g-wordmark.foot { height: 40px; } }
@media (max-width: 360px) { .g-wordmark { height: 32px; } }
/* вход: «или» и кнопка «по коду» */
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--text-3); font-size: 14px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--g-line); }
.glass .auth-code-btn { width: 100%; justify-content: center; text-align: center; white-space: normal; line-height: 1.25; }

/* --- корзина мини-сайта (16.11.2026): «В заказ» у позиции → количество, полоска снизу, окно со списком --- */
.ms-side { display: flex; align-items: center; justify-content: flex-end; }
.glass .ms-add { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px 0 11px; border: 0; border-radius: 13px;
  background: var(--vc-soft); color: var(--vc-ic); font: inherit; font-weight: 600; font-size: 14.5px; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s; }
.glass .ms-add:hover, .glass .ms-add:focus-visible { background: var(--vc); color: var(--vc-on); }
.ms-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 14px; background: var(--vc); color: var(--vc-on); }
.ms-qty[hidden] { display: none; }
.ms-qty > b { min-width: 26px; text-align: center; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.ms-qty button, .ms-qbtn { width: 36px; height: 36px; border: 0; border-radius: 11px; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.ms-qty button:hover, .ms-qty button:focus-visible { background: color-mix(in srgb, var(--vc-on) 18%, transparent); }
.ms-item.in-cart .ms-txt b { color: var(--vc-ic); }

.ms-cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; width: min(492px, 100%); margin: 0 auto; box-sizing: border-box;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); animation: ms-in .18s ease-out; }
.ms-cartbar[hidden] { display: none; }
.ms-cartbar-btn { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 460px; margin: 0 auto; min-height: 60px;
  padding: 8px 10px 8px 8px; border: 0; border-radius: 20px; background: var(--vc); color: var(--vc-on); font: inherit; cursor: pointer; text-align: left;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28); }
.ms-cart-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--vc-on) 16%, transparent); }
.ms-cart-ic b { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--vc-on); color: var(--vc);
  font-size: 12.5px; line-height: 21px; text-align: center; font-variant-numeric: tabular-nums; }
.ms-cart-sum { flex: 1; min-width: 0; }
.ms-cart-sum small { display: block; font-size: 12.5px; opacity: .85; }
.ms-cart-sum b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-cart-go { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; min-height: 42px; border-radius: 13px;
  background: var(--vc-on); color: var(--vc); font-weight: 700; font-size: 15px; }
.ms-has-cart .vc-sticky { display: none !important; }
.ms-has-cart .vc { padding-bottom: 100px; }

.ms-cart-list { list-style: none; margin: 0 0 6px; padding: 0; max-height: 46dvh; overflow: auto; }
.ms-cart-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--g-line); }
.ms-cart-row:first-child { border-top: 0; }
.ms-cart-t { flex: 1; min-width: 0; }
.ms-cart-t b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.ms-cart-t small { display: block; color: var(--text-3); font-size: 13.5px; }
.ms-cart-row .ms-qty { background: var(--vc-soft); color: var(--vc-ic); }
.ms-cart-total { margin: 4px 0 14px; padding-top: 10px; border-top: 1px solid var(--g-line); font-weight: 700; font-size: 17px; }
.ms-cart-acts { display: grid; gap: 8px; }
.ms-cart-acts .ms-other { margin-top: 0; }
.ms-order-cart { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--vc-soft); }
.ms-order-cart[hidden] { display: none; }
.ms-order-cart .t { flex: 1; min-width: 0; }
.ms-order-cart small { display: block; color: var(--text-3); font-size: 13px; margin-bottom: 2px; }
.ms-order-cart [data-order-cart-text] { white-space: pre-line; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.ms-order-cart .ms-other { margin: -4px -6px 0 0; flex: none; }
.ver-bar form { margin: 0; }
@media (max-width: 400px) {
  .glass .ms-add { padding: 0 11px 0 9px; font-size: 14px; }
  .ms-qty button { width: 34px; height: 34px; }
  .ms-cart-go { padding: 0 10px; font-size: 14.5px; }
}
.vc-t-gradient .ms-add:hover { background: var(--vc-on); color: var(--vc); }
.vc-t-gradient .ms-qty { background: var(--vc-on); color: var(--vc-ink); }
.vc-t-gradient .ms-cartbar-btn { background: var(--vc-on); color: var(--vc-ink); }
.vc-t-gradient .ms-cart-ic { background: color-mix(in srgb, var(--vc) 14%, transparent); }
.vc-t-gradient .ms-cart-ic b, .vc-t-gradient .ms-cart-go { background: var(--vc); color: var(--vc-on); }
@media (prefers-reduced-motion: reduce) { .ms-cartbar { animation: none; } }
.glass .ms-ask[hidden], .glass .ms-add[hidden], .ms-cart-ctl[hidden] { display: none; }
@media (max-width: 400px) { .ms-item.has-ph .ms-side { justify-content: flex-start; } }

/* регистрация по приглашению партнёра */
.auth-gift { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); }
.auth-gift .i { color: var(--accent); flex: none; margin-top: 2px; }
.auth-promo { margin: 0 0 14px; }
.auth-promo summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.auth-promo .field { margin-top: 8px; }

/* --- /partneram --- */
.pt-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; align-self: center; }
.pt-figs div { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pt-figs b { font-size: 26px; letter-spacing: -.02em; color: var(--accent); }
.pt-figs span { font-size: 13.5px; color: var(--text-2); line-height: 1.35; }
.pt-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-tools li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--g-card, rgba(255, 255, 255, .6)); border: 1px solid var(--g-line); }
.pt-tools .i { color: var(--accent); flex: none; margin-top: 2px; }
.pt-tools code { overflow-wrap: anywhere; }
@media (max-width: 700px) { .pt-tools { grid-template-columns: 1fr; } .pt-figs b { font-size: 22px; } }

/* --- отраслевые страницы --- */
.ind-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ind-use { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.ind-use .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.ind-use h3 { margin: 6px 0 0; font-size: 17px; }
.ind-use p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; flex: 1; }
.ind-use a { font-weight: 600; font-size: 14.5px; text-decoration: none; }
.ind-places { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ind-places li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--g-line); font-size: 14.5px; }
.ind-places .i { color: var(--accent); }
.ind-prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.ind-print { padding: 12px; display: grid; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.ind-print .ph-art { height: 120px; }
.ind-more { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.ind-more a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--g-line); text-decoration: none; font-size: 14.5px; color: var(--text); }
.ind-more a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 1000px) { .ind-uses { grid-template-columns: 1fr 1fr; } .ind-prints { grid-template-columns: 1fr 1fr; } }
@media (min-width: 821px) and (max-width: 1060px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ind-uses { grid-template-columns: 1fr; } }
.steps.steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps.steps-2 { grid-template-columns: 1fr; } }

/* фото у строк «Как нас найти», «Инструкция», «Афиша» (18.11.2026): раньше редактор их принимал, а страница не показывала */
.ms-iph { flex: none; width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: var(--vc-soft); }
.ms-steps li .ms-iph { margin-left: auto; }
/* 20.11.2026: ссылка в жёлтой плашке администратора читается и в тёмной теме */
.legal-admin a, .post-admin-bar a { color: #7a2e00; text-decoration: underline; }
