/* ==========================================================================
   Волонтёрский фандрайзинг — визард создания сбора + экран «Сбор создан».
   Префиксы vf-/wz-/type-/ty-/cs- (изоляция от site style.css и cab-).
   Токены — копия из docs/mockups/volunteer/_tokens.css (бренд leikozu 2026).
   ========================================================================== */
:root {
  --vf-red: #DA352C;
  --vf-dark-red: #AA1D1D;
  --vf-black: #141412;
  --vf-white: #fff;
  --vf-light-grey: #EFEFEF;
  --vf-border: #eaeaea;
  --vf-grey-2: #9a9a9a;
  --vf-grey-3: #6b6b6b;
  --vf-green: #2BAA1D;
  --vf-red-low: #F0B3AE;
  --vf-ink-55: rgba(20, 20, 18, 0.55);
  --vf-ink-82: rgba(20, 20, 18, 0.82);
  --vf-font: 'TT Fors', Arial, sans-serif;
  --vf-r-card: 1.88rem;
  --vf-r-pill: 3.13rem;
  --vf-r-sm: 1.25rem;
  --vf-sh-card: 0 4px 15px rgba(0, 0, 0, 0.05);
  --vf-sh-hover: 0 12px 28px rgba(0, 0, 0, 0.1);
  --vf-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --vf-ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Скоуп визарда — не задеваем остальную страницу */
.evt { font-family: var(--vf-font); color: var(--vf-black); }
.evt *, .evt *::before, .evt *::after { box-sizing: border-box; }

/* На мобиле прячем плавающую кнопку чата Б24 — перекрывает контент визарда */
@media (max-width: 767px) { .b24-widget-button-wrapper { display: none !important; } }

/* ── Каркас ── */
.wz { max-width: 44rem; margin: 0 auto; padding: 1.5rem 1.1rem 4rem; }
.wz-top { padding: 0.4rem 0; }
.wz-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--vf-grey-3); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; background: none; border: none; cursor: pointer; font-family: inherit; }
.wz-back:hover { color: var(--vf-red); }

.wz-steps { display: flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 0.4rem; }
.wz-step { display: flex; align-items: center; gap: 0.6rem; }
.wz-step__dot { width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; border: 1px solid var(--vf-border); background: var(--vf-white); color: var(--vf-grey-2); flex-shrink: 0; }
.wz-step__dot--on { background: var(--vf-red); border-color: var(--vf-red); color: var(--vf-white); }
.wz-step__dot--done { background: var(--vf-black); border-color: var(--vf-black); color: var(--vf-white); }
.wz-step__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vf-grey-2); }
.wz-step__label--on { color: var(--vf-black); }
.wz-step__bar { flex: 1; height: 1px; background: var(--vf-border); }
.wz-step__bar--done { background: var(--vf-black); }
@media (max-width: 520px) { .wz-step__label { display: none; } .wz-steps { gap: 0.5rem; } }

.wz-head { margin: 1.8rem 0 1.4rem; }
.wz-head h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); line-height: 1.06; text-transform: uppercase; font-weight: 400; margin: 0.6rem 0 0; }
.wz-head p { font-size: 1.25rem; color: var(--vf-ink-82); margin: 0.7rem 0 0; line-height: 1.4; }

.vf-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--vf-ink-55); }

/* Шаги: показываем только активный */
.wz-panel { display: none; }
.wz-panel.is-active { display: block; animation: wzfade 0.3s var(--vf-ease-reveal); }
@keyframes wzfade { from { opacity: 0; transform: translateY(8px); } }

/* ── Кнопки (копия канонической .button сайта) ── */
.vf-btn { background: var(--vf-red); height: 2rem; border-radius: 2.5rem; font-size: 0.75rem; text-transform: uppercase; color: var(--vf-white); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0 0.94rem; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.18); cursor: pointer; font-family: inherit; transition: all 0.3s var(--vf-ease); }
.vf-btn:hover { border-color: var(--vf-dark-red); transform: translateY(-2px) scale(1.02); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.vf-btn:active { transform: translateY(-1px) scale(0.98); background: var(--vf-dark-red); }
.vf-btn:disabled { opacity: 0.5; pointer-events: none; }
.vf-btn--lg { height: 3.13rem; font-size: 1rem; }
.vf-btn--block { display: flex; width: 100%; }
.vf-btn--ghost { background: none; color: var(--vf-black); border: 1px solid var(--vf-black); }
.vf-btn--ghost:hover { background: var(--vf-black); color: var(--vf-white); transform: none; box-shadow: none; }

/* ── Поля ── */
.field { margin-bottom: 1.4rem; }
.field__req { color: var(--vf-red); }
.field__hint { font-size: 0.75rem; color: var(--vf-grey-2); margin-top: 0.45rem; line-height: 1.35; }
.field__err { font-size: 0.8rem; color: var(--vf-red); margin-top: 0.45rem; display: none; }
.field.has-err .field__err { display: block; }
.field.has-err .vf-input, .field.has-err .vf-textarea { border-color: var(--vf-red); }
.field.has-err .evt-editor { border-color: var(--vf-red); }

.vf-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vf-ink-55); margin-bottom: 0.6rem; }
.vf-input, .vf-textarea { width: 100%; font-family: inherit; font-size: 1rem; border: 1px solid var(--vf-border); background: var(--vf-white); border-radius: var(--vf-r-pill); padding: 0 1.25rem; height: 3.13rem; transition: border-color 0.2s, box-shadow 0.2s; }
.vf-textarea { border-radius: var(--vf-r-sm); padding: 1rem 1.25rem; height: auto; min-height: 6rem; resize: none; overflow-y: hidden; line-height: 1.5; }
.vf-input:focus, .vf-textarea:focus { outline: none; border-color: var(--vf-red); box-shadow: 0 0 0 3px rgba(218, 53, 44, 0.1); }
.vf-input::placeholder, .vf-textarea::placeholder { color: rgba(20, 20, 18, 0.45); }

/* ── Шаг 1: пресеты типов ── */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (min-width: 560px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-card { position: relative; text-align: left; cursor: pointer; font-family: inherit; background: var(--vf-white); border: 1px solid var(--vf-border); border-radius: var(--vf-r-card); box-shadow: var(--vf-sh-card); padding: 1.05rem 1rem; display: flex; flex-direction: column; transition: transform 0.25s var(--vf-ease), box-shadow 0.25s var(--vf-ease), border-color 0.25s var(--vf-ease), background 0.25s var(--vf-ease); }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--vf-sh-hover); }
.type-card__emoji { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--vf-light-grey); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1; margin-bottom: 0.65rem; transition: background 0.25s var(--vf-ease); }
.type-card__title { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.type-card__hint { display: block; font-size: 0.75rem; color: var(--vf-grey-2); margin-top: 0.35rem; line-height: 1.35; }
.type-card__check { position: absolute; top: 1rem; right: 1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--vf-border); background: var(--vf-white); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: transparent; transition: all 0.2s var(--vf-ease); }
.type-card.is-on { border-color: var(--vf-red); box-shadow: 0 0 0 2px var(--vf-red), var(--vf-sh-card); background: rgba(218, 53, 44, 0.04); }
.type-card.is-on .type-card__check { background: var(--vf-red); border-color: var(--vf-red); color: var(--vf-white); }
.type-card.is-on .type-card__emoji { background: rgba(218, 53, 44, 0.12); }

/* ── Шаг 2: цель ── */
.goal-row { display: flex; gap: 0.7rem; align-items: stretch; }
.goal-row .vf-input { flex: 1; }
.goal-cur { display: inline-flex; align-items: center; padding: 0 1.2rem; border: 1px solid var(--vf-border); border-radius: var(--vf-r-pill); background: var(--vf-white); color: var(--vf-grey-3); font-size: 1.25rem; }
.goal-unlim { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.7rem; cursor: pointer; font-size: 0.75rem; color: var(--vf-grey-3); }
.goal-unlim input { width: 1.05rem; height: 1.05rem; accent-color: var(--vf-red); }
.goal-row.is-off { opacity: 0.4; pointer-events: none; }

/* ── Шаг 2: платный вход (повод «Мероприятие») ── */
.paid { margin-bottom: 1.4rem; padding: 1.1rem 1.2rem; border: 1px solid var(--vf-border); border-radius: 1.1rem; background: var(--vf-white); }
.paid[hidden] { display: none; }
.paid > .goal-unlim { margin-top: 0; font-size: 0.95rem; color: var(--vf-ink-82); }
.paid__body { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--vf-border); }
.paid__body[hidden] { display: none; }
.paid__body .field:last-child { margin-bottom: 0; }
.paid__body input[type="datetime-local"] { max-width: 18rem; }

/* ── Шаг 2: дата окончания — чипы-пресеты ── */
.date-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.date-chip { font-family: inherit; font-size: 0.9rem; padding: 0.6rem 1.05rem; border-radius: var(--vf-r-pill); border: 1px solid var(--vf-border); background: var(--vf-white); color: var(--vf-ink-82); cursor: pointer; transition: all 0.18s var(--vf-ease); }
.date-chip:hover { border-color: var(--vf-red); color: var(--vf-red); }
.date-chip.is-on { background: var(--vf-red); border-color: var(--vf-red); color: var(--vf-white); }
.date-chip--ghost { color: var(--vf-grey-3); }
.date-chip--ghost.is-on { background: var(--vf-grey-3); border-color: var(--vf-grey-3); color: var(--vf-white); }
.date-custom { margin-top: 0.9rem; }
.date-custom[hidden] { display: none; }
.date-custom .vf-input { max-width: 16rem; }

/* ── Шаг 3: ИИ-ассистент (адаптивный, тихий — редактор главный) ── */
/* Заголовок «История сбора» + тихое «Улучшить ▾» справа */
.ed-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.ed-head .vf-label { margin: 0; }

/* Ghost-кнопка ИИ — не спорит с контентом */
.ai-soft { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.9rem; padding: 0 1.4rem; border-radius: var(--vf-r-pill); font-family: inherit; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; border: 1px solid var(--vf-border); background: var(--vf-white); color: var(--vf-grey-3); transition: all 0.2s var(--vf-ease); }
.ai-soft:hover { border-color: var(--vf-red); color: var(--vf-red); transform: translateY(-1px); box-shadow: var(--vf-sh-card); }
.ai-soft__caret { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 0.15rem; }
.ai-soft--sm { height: 2.3rem; padding: 0 1rem; font-size: 0.7rem; }
.ai-soft.is-busy { pointer-events: none; opacity: 0.7; }

/* Предложение помочь — под пустым холстом */
.ai-offer { display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.9rem; }
.ai-offer__hint { font-size: 0.75rem; color: var(--vf-grey-2); }
.ai-offer[hidden] { display: none; }

/* Тихое «Улучшить ▾» + меню направлений (тон спрятан сюда) */
.improve { position: relative; }
.improve[hidden] { display: none; }
.improve__menu { position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 10; min-width: 15rem; background: var(--vf-white); border: 1px solid var(--vf-border); border-radius: var(--vf-r-sm); box-shadow: 0 20px 50px rgba(0,0,0,0.18); padding: 0.4rem; }
.improve__menu[hidden] { display: none; }
/* Пункты «Улучшить» — как обычное меню: на hover краснеет только текст */
.improve__opt { display: block; padding: 0.5rem 0.75rem; border-radius: 0.6rem; cursor: pointer; }
.improve__opt strong { display: block; font-weight: 600; font-size: 0.92rem; color: var(--vf-ink-82); transition: color 0.15s var(--vf-ease); }
.improve__opt small { display: block; color: var(--vf-grey-2); font-size: 0.75rem; margin-top: 0.1rem; }
.improve__opt:hover strong { color: var(--vf-red); }

/* Статус генерации/ошибки */
.ai-status { font-size: 0.75rem; color: var(--vf-grey-2); margin-top: 0.7rem; text-align: center; }
.ai-status[hidden] { display: none; }
.ai-status.is-err { color: var(--vf-red); }

/* ── Шаг 3: editor.js-холдер ── */
.evt-editor { background: var(--vf-white); border: 1px solid var(--vf-border); border-radius: var(--vf-r-card); box-shadow: var(--vf-sh-card); padding: 1rem 1.5rem; min-height: 12rem; }
.evt-editor .codex-editor__redactor { padding-bottom: 1rem !important; }
.evt-editor .ce-block__content, .evt-editor .ce-toolbar__content { max-width: none; }
/* Находимость блочного меню «+» (заголовок/фото/список/цитата спрятаны в editor.js). */
.editor-hint { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; font-size: 0.75rem; color: var(--vf-grey-2); line-height: 1.4; margin-top: 0.6rem; }
.editor-hint__plus { display: inline-flex; align-items: center; justify-content: center; width: 1.15rem; height: 1.15rem; flex-shrink: 0; border: 1px solid var(--vf-border); border-radius: 50%; font-size: 0.9rem; line-height: 1; color: var(--vf-grey-3); }

/* Типографика контента: сайтовый *{font-size:21px} раздувает editor.js
   (у .ce-header/.ce-paragraph нет своего font-size) — фиксируем явно в px. */
.evt-editor .ce-paragraph { font-size: 16px; line-height: 1.6; }
.evt-editor .cdx-list { font-size: 16px; line-height: 1.6; }
.evt-editor .cdx-quote__text { font-size: 16px; line-height: 1.55; }
.evt-editor .cdx-quote__caption { font-size: 13px; }
.evt-editor .ce-header { font-size: 20px; line-height: 1.3; font-weight: 600; }
.evt-editor h2.ce-header { font-size: 23px; }
.evt-editor h3.ce-header { font-size: 18px; }
/* Image-tool: кнопка «Выбрать фото» и подпись — сайтовый * раздул бы их до 21px. */
.evt-editor .cdx-button { font-size: 14px; }
.evt-editor .image-tool__caption { font-size: 14px; line-height: 1.5; }
/* UI editor.js (popover/тулбар) — не давать глобальному * раздувать текст */
.evt-editor .ce-popover { font-size: 14px; }
.evt-editor .ce-popover-item__title { font-size: 14px; }
.evt-editor .ce-popover-item__secondary-title { font-size: 12px; }
/* CodeX-тултип («Добавить») монтируется на <body> — глобальный * раздувает его
   внутренние спаны напрямую (наследование от .ct__content не спасает). Гасим. */
.ct, .ct * { font-size: 12px; line-height: 1.3; }

/* Благодарность */
.ty { margin-top: 1.8rem; }
.ty-templates { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.ty-tpl { cursor: pointer; height: 2.1rem; padding: 0 0.9rem; display: inline-flex; align-items: center; border: 1px solid var(--vf-border); border-radius: var(--vf-r-pill); background: var(--vf-white); font-size: 0.75rem; color: var(--vf-grey-3); font-family: inherit; transition: all 0.2s var(--vf-ease); }
.ty-tpl:hover { border-color: var(--vf-red); color: var(--vf-red); }
.ty-tpl.is-on { background: var(--vf-red); border-color: var(--vf-red); color: var(--vf-white); }

/* Навигация низа */
/* Тень только сверху: blur=|spread| гасит боковой вынос, поэтому на белом фоне
   не видно вертикального «обрыва» подложки по краям (подъём даёт мягкое свечение). */
.wz-nav { position: sticky; bottom: 0; z-index: 20; display: flex; gap: 0.8rem; align-items: center; margin: 2rem -1.1rem 0; padding: 0.8rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom, 0px)); background: var(--vf-white); box-shadow: 0 -14px 16px -16px rgba(0, 0, 0, 0.18); }
.wz-nav .vf-btn--ghost { flex: 0 0 auto; padding: 0 1.6rem; }
.wz-nav .vf-btn:not(.vf-btn--ghost) { flex: 1; }
/* Выбор блока editor.js — fixed bottom-sheet, но заперт в .codex-editor
   (z-index:1), который ниже sticky-панели (.wz-nav, z-index:20) — поднять
   popover изнутри нельзя. Пока меню открыто, прячем панель: она в этот
   момент не нужна, а sheet перекрывает низ экрана. Якорь на body, т.к. он
   предок и панели, и popover независимо от stacking-контекста. */
body:has(.ce-popover--opened) .wz-nav { visibility: hidden; }
.wz-help { font-size: 0.75rem; color: var(--vf-grey-2); text-align: center; margin-top: 1.1rem; line-height: 1.4; }
.wz-error { color: var(--vf-red); font-size: 0.85rem; text-align: center; margin-top: 1rem; min-height: 1.2em; }

/* ── Экран «Сбор отправлен на проверку» ──
   Экран показывает состояние, а не празднует: сбор ушёл на премодерацию и его
   публичная страница до одобрения отдаёт 404. Отсюда левый край вместо центра,
   отсутствие «успешной» галочки и выход в «Мои сборы», а не на сам сбор. */
.cs { max-width: 38rem; margin: 0 auto; padding: 1.5rem 1.5rem 5rem; }

.cs-head { margin-bottom: 2.2rem; }
.cs-eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--vf-red); }
.cs-title { font-size: clamp(1.75rem, 4.4vw, 2.4rem); line-height: 1.06; text-transform: uppercase; margin: 0.7rem 0 0; font-weight: 400; }
.cs-title span { color: var(--vf-ink-55); }
.cs-lead { font-size: 1rem; color: var(--vf-ink-82); margin: 0.85rem 0 0; max-width: 38ch; line-height: 1.45; }

/* Жизненный цикл сбора — тот же язык точек и линий, что у степпера визарда */
.cs-track { display: flex; align-items: flex-start; margin: 2rem 0 0; }
.cs-tstep { flex: 1; position: relative; padding-top: 1.4rem; }
.cs-tstep::before { content: ''; position: absolute; top: 0.32rem; left: 0; right: 0; height: 1px; background: var(--vf-border); }
.cs-tstep--done::before, .cs-tstep--now::before { background: var(--vf-black); }
.cs-tstep:first-child::before { left: 0.35rem; }
.cs-tstep:last-child::before { right: 50%; }
.cs-tdot { position: absolute; top: 0; left: 0; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--vf-white); border: 1px solid var(--vf-border); }
.cs-tstep--done .cs-tdot { background: var(--vf-black); border-color: var(--vf-black); }
.cs-tstep--now .cs-tdot { background: var(--vf-red); border-color: var(--vf-red); box-shadow: 0 0 0 5px rgba(218, 53, 44, 0.12); }
.cs-tname { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vf-grey-2); }
.cs-tstep--done .cs-tname, .cs-tstep--now .cs-tname { color: var(--vf-black); }
.cs-tmeta { font-size: 0.76rem; color: var(--vf-ink-55); margin-top: 0.25rem; }

/* Карточка созданного сбора: экран должен показывать предмет, а не абстракцию */
.cs-obj { display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem 0 1.4rem; margin-top: 2.4rem; border-top: 1px solid var(--vf-border); }
.cs-obj__cover { width: 5.5rem; height: 5.5rem; border-radius: var(--vf-r-sm); flex-shrink: 0; background: var(--vf-light-grey); position: relative; overflow: hidden; }
.cs-obj__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-obj__cover span { position: absolute; inset: auto 0 0 0; padding: 0.35rem 0.5rem; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(20, 20, 18, 0.55); color: var(--vf-white); text-align: center; }
.cs-obj__main { min-width: 0; }
.cs-obj__kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--vf-ink-55); }
.cs-obj__name { font-size: 1.12rem; line-height: 1.25; margin: 0.3rem 0 0.35rem; font-weight: 400; overflow-wrap: anywhere; }
.cs-obj__goal { font-size: 0.86rem; color: var(--vf-grey-3); }
.cs-obj__edit { margin-left: auto; flex-shrink: 0; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vf-grey-3); text-decoration: none; border-bottom: 1px solid var(--vf-border); padding-bottom: 2px; }
.cs-obj__edit:hover { color: var(--vf-red); border-color: var(--vf-red-low); }

/* Ссылка принадлежит сбору, поэтому не отдельной карточкой, а его продолжением */
.cs-link { border-top: 1px solid var(--vf-border); padding-top: 1.4rem; }
.cs-link__h { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--vf-ink-55); }
.cs-linkrow { display: flex; gap: 0.55rem; margin-top: 0.7rem; align-items: stretch; }
/* Адрес виден целиком и переносится: человек сейчас разошлёт его друзьям,
   обрезать эллипсисом то, что копируют вслепую, — плохая идея. */
.cs-linkbox { flex: 1; min-width: 0; min-height: 3rem; display: flex; align-items: center; padding: 0.6rem 1.1rem; background: #F4F4F3; border-radius: var(--vf-r-sm); font-size: 0.84rem; line-height: 1.35; color: var(--vf-ink-82); overflow-wrap: anywhere; }
.cs-btn { height: 3rem; padding: 0 1.5rem; border-radius: var(--vf-r-pill); border: 1px solid var(--vf-black); background: var(--vf-white); color: var(--vf-black); font-family: inherit; font-size: 0.74rem; cursor: pointer; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; transition: background 0.18s var(--vf-ease), color 0.18s var(--vf-ease), border-color 0.18s var(--vf-ease); }
.cs-btn:hover { background: var(--vf-black); color: var(--vf-white); }
.cs-btn--solid { background: var(--vf-black); color: var(--vf-white); }
.cs-btn--solid:hover { background: var(--vf-red); border-color: var(--vf-red); }
.cs-btn.is-done { background: var(--vf-green); border-color: var(--vf-green); color: var(--vf-white); }
.cs-hint { font-size: 0.8rem; color: var(--vf-ink-55); margin: 0.75rem 0 0; line-height: 1.45; }

/* Тексты постов — один блок с переключателем тона вместо карточек-близнецов */
.cs-wait { margin-top: 2.6rem; background: #FAFAF9; border: 1px solid var(--vf-border); border-radius: var(--vf-r-card); padding: 1.6rem 1.5rem; }
.cs-wait__h { font-size: 1rem; margin: 0 0 0.3rem; font-weight: 400; }
.cs-wait__sub { font-size: 0.85rem; color: var(--vf-ink-55); margin: 0 0 1.1rem; }
.cs-tones { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.cs-tone { font-size: 0.74rem; padding: 0.42rem 0.9rem; border-radius: var(--vf-r-pill); border: 1px solid var(--vf-border); background: var(--vf-white); color: var(--vf-grey-3); cursor: pointer; font-family: inherit; transition: background 0.18s var(--vf-ease), color 0.18s var(--vf-ease); }
.cs-tone:hover { color: var(--vf-black); }
.cs-tone.is-on { background: var(--vf-black); border-color: var(--vf-black); color: var(--vf-white); }
.cs-draft { background: var(--vf-white); border: 1px solid var(--vf-border); border-radius: var(--vf-r-sm); padding: 1rem 1.1rem; font-size: 0.9rem; line-height: 1.55; color: var(--vf-ink-82); white-space: pre-line; overflow-wrap: anywhere; }
.cs-waitfoot { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.9rem; flex-wrap: wrap; }

/* Выход — развилка навигации, а не ещё один призыв к действию */
.cs-exit { margin-top: 2.8rem; border-top: 1px solid var(--vf-border); padding-top: 1.6rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cs-primary { display: inline-flex; align-items: center; gap: 0.5rem; height: 3.13rem; padding: 0 2rem; border-radius: var(--vf-r-pill); background: var(--vf-red); color: var(--vf-white); text-decoration: none; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; transition: background 0.18s var(--vf-ease); }
.cs-primary:hover { background: var(--vf-dark-red); color: var(--vf-white); }
.cs-secondary { font-size: 0.82rem; color: var(--vf-grey-3); text-decoration: none; border-bottom: 1px solid var(--vf-border); padding-bottom: 2px; }
.cs-secondary:hover { color: var(--vf-red); border-color: var(--vf-red-low); }
.cs-mailnote { flex-basis: 100%; font-size: 0.8rem; color: var(--vf-ink-55); margin: 0.2rem 0 0; }

@media (max-width: 560px) {
  .cs { padding: 1rem 1.1rem 4rem; }
  .cs-obj { flex-wrap: wrap; }
  .cs-obj__edit { margin-left: 0; }
  .cs-tmeta { display: none; }
  .cs-tname { font-size: 0.68rem; }
  .cs-linkrow { flex-wrap: wrap; }
  .cs-linkrow .cs-btn { flex: 1 1 100%; }
  .cs-wait { padding: 1.3rem 1.1rem; }
  .cs-waitfoot .cs-btn { flex: 1 1 100%; }
  .cs-primary { width: 100%; justify-content: center; }
}

/* ── Шаг 2: обложка сбора ── */
.cover-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; width: 100%; aspect-ratio: 3 / 2; max-height: 15rem; border: 1.5px dashed var(--vf-border); border-radius: var(--vf-r-card); background: var(--vf-light-grey); cursor: pointer; font-family: inherit; transition: border-color 0.18s var(--vf-ease), background 0.18s var(--vf-ease); }
/* display:flex перебивает UA [hidden]{display:none} — гасим явно */
.cover-empty[hidden], .cover-preview[hidden] { display: none; }
.cover-empty:hover { border-color: var(--vf-red); background: #fbf3f2; }
.cover-empty__plus { font-size: 1.9rem; line-height: 1; color: var(--vf-grey-3); }
.cover-empty:hover .cover-empty__plus { color: var(--vf-red); }
.cover-empty__t { font-size: 0.95rem; color: var(--vf-black); }
.cover-empty__h { font-size: 0.75rem; color: var(--vf-grey-2); }
.cover-preview { position: relative; border-radius: var(--vf-r-card); overflow: hidden; }
.cover-preview__img { display: block; width: 100%; aspect-ratio: 3 / 2; max-height: 15rem; object-fit: cover; }
.cover-preview__bar { position: absolute; right: 0.7rem; bottom: 0.7rem; display: flex; gap: 0.5rem; }
.cover-mini { font-family: inherit; font-size: 0.75rem; padding: 0.45rem 0.85rem; border-radius: var(--vf-r-pill); border: none; background: rgba(20, 20, 18, 0.72); color: var(--vf-white); cursor: pointer; backdrop-filter: blur(4px); }
.cover-mini:hover { background: rgba(20, 20, 18, 0.9); }
.cover-mini--del:hover { background: var(--vf-red); }
.cover-err { font-size: 0.8rem; color: var(--vf-red); margin-top: 0.5rem; }
.cover-err[hidden] { display: none; }

/* ── Кроп-модалка обложки ── */
body.crop-open { overflow: hidden; }
.crop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(20, 20, 18, 0.6); }
.crop[hidden] { display: none; }
.crop__box { width: min(40rem, 100%); background: var(--vf-white); border-radius: var(--vf-r-card); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); overflow: hidden; }
.crop__head { padding: 1.1rem 1.4rem; font-size: 1rem; font-weight: 600; color: var(--vf-black); border-bottom: 1px solid var(--vf-border); }
/* padding:0 обязателен: Cropper берёт offsetWidth этого контейнера (с padding)
   как ширину канваса — боковой padding приводил к выходу за правый край. */
.crop__stage { padding: 0; background: var(--vf-light-grey); }
.crop__stage img { display: block; max-width: 100%; max-height: 60vh; }
.crop__foot { display: flex; justify-content: flex-end; gap: 0.7rem; padding: 1rem 1.4rem; border-top: 1px solid var(--vf-border); }
/* Крупные тач-кнопки: голый .vf-btn (2rem/0.75rem) в модалке слишком мелкий. */
.crop__foot .vf-btn { flex: 1 1 0; height: 3.13rem; font-size: 1rem; padding: 0 1.5rem; }

/* ==========================================================================
   Посадочная раздела — /events/ «Событие со смыслом».
   Вёрстка из docs/mockups/volunteer/landing.html.

   ВАЖНО: страница живёт внутри чрома сайта, где глобальный * { font-size: 21px }
   делает 1rem = 21px и раздувает любой унаследованный размер. Поэтому здесь
   всё в px (тот же приём, что в css/event.css), а токены --vf-* переопределены
   на .ld — секция визарда выше остаётся в rem и не задета.

   Всё под .ld — включая .ev-card: карточка сбора пока живёт только на этой
   витрине. Понадобится в кабинете — вынести блок из-под скоупа.
   ========================================================================== */
.ld {
  /* Отступ до футера — padding, а не margin у последней секции: маржин
     выпадал наружу и фон страницы обрывался, оставляя белую полосу. */
  padding-bottom: 72px;
  --vf-r-card: 30px;
  --vf-r-pill: 50px;
  --vf-r-sm: 20px;
  --vf-sh-btn: 0 12px 28px rgba(218, 53, 44, 0.28);
  font-family: var(--vf-font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--vf-black);
  background: var(--vf-light-grey);
  -webkit-font-smoothing: antialiased;
}
.ld *, .ld *::before, .ld *::after { box-sizing: border-box; }
.ld h1, .ld h2, .ld h3 { font-weight: 400; margin: 0; }
.ld p { margin: 0; }

/* Сетка секций — общий .wrapper сайта (style.css), свой контейнер не заводим:
   поля витрины совпадают с шапкой, подвалом и карточкой сбора. */

/* ── Общие примитивы страницы ── */
.ld .vf-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--vf-ink-55); }
.ld .vf-h2 { font-size: 43px; line-height: 1.12; }
.ld .vf-mt-1 { margin-top: 8px; }


.ld .vf-btn { height: 32px; padding: 0 15px; font-size: 12px; border-radius: var(--vf-r-pill); letter-spacing: 0.04em; }
.ld .vf-btn--lg { height: 50px; padding: 0 26px; font-size: 16px; }

.ld .vf-progress { height: 11px; border-radius: 8px; background: rgba(20, 20, 18, 0.1); overflow: hidden; }
.ld .vf-progress__fill { height: 100%; border-radius: 8px; background: var(--vf-red); transition: width 0.6s var(--vf-ease-reveal); }
.ld .vf-progress__fill--full { background: var(--vf-green); }

/* ── Hero: полноширинный ролик, центральная композиция ── */
.ld-hero-video { position: relative; height: 88vh; min-height: 608px; max-height: 832px; overflow: hidden; background: var(--vf-black); }
.ld-hero-video__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-hero-video__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,0.32) 0%, rgba(20,20,18,0.12) 30%, rgba(20,20,18,0.18) 65%, rgba(20,20,18,0.55) 100%); }

/* Разлетевшиеся точки-акценты — фирменные red/green */
.ld-dot { position: absolute; border-radius: 50%; z-index: 1; }
.ld-dot--red { background: var(--vf-red); }
.ld-dot--green { background: var(--vf-green); }
.ld-dot--white { background: rgba(255,255,255,0.85); }
.ld-dot-1 { width: 14px; height: 14px; top: 14%; left: 9%; }
.ld-dot-2 { width: 9px; height: 9px; top: 22%; left: 30%; }
.ld-dot-3 { width: 18px; height: 18px; top: 62%; left: 15%; }
.ld-dot-4 { width: 10px; height: 10px; top: 78%; left: 34%; }
.ld-dot-5 { width: 11px; height: 11px; top: 16%; right: 12%; }
.ld-dot-6 { width: 16px; height: 16px; top: 40%; right: 22%; }
.ld-dot-7 { width: 8px; height: 8px; top: 68%; right: 10%; }
.ld-dot-8 { width: 12px; height: 12px; top: 85%; right: 30%; }

.ld-hero-video__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.ld-hero-video__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--vf-white); background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px); padding: 8px 18px; border-radius: var(--vf-r-pill); margin-bottom: 26px;
}
.ld-hero-video__title { color: var(--vf-white); font-size: clamp(48px, 6.4vw, 90px); line-height: 0.98; text-transform: uppercase; max-width: 22ch; margin: 0; }
/* font-size обязателен: глобальный * { font-size: 21px } бьёт по em напрямую,
   правило заголовка на вложенный тег не распространяется */
.ld-hero-video__title em { color: var(--vf-red); font-style: normal; font-size: inherit; }
.ld-hero-video__lead { color: rgba(255,255,255,0.86); font-size: 20px; max-width: 40ch; margin: 22px 0 0; line-height: 1.45; }
.ld-hero-video__cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
/* Три гарантии вместо одной ноты: «сколько времени», «когда опубликуют»,
   «куда уйдут деньги» — три главных возражения закрыты до первого скролла.
   font-size на li обязателен: глобальный * { font-size: 21px } бьёт напрямую. */
.ld-hero-video__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ld-hero-video__pills li {
  font-size: 12px; line-height: 1.2; color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); padding: 7px 15px; border-radius: var(--vf-r-pill);
}

/* ── Как это работает ──
   Связанный путь: четыре кружка-иконки, нанизанные на пунктирную линию —
   читается как маршрут, а не как перечень фич. Линия лежит под кружками
   (z-index 0), непрозрачная белая заливка кружка её перекрывает. */
.ld-path { padding-top: 24px; padding-bottom: 80px; }
.ld-path__head { max-width: 40ch; margin-bottom: 44px; }
.ld-path__row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
/* 12.5% = центры крайних колонок при четырёх равных долях; 44px = центр кружка */
.ld-path__line {
  position: absolute; z-index: 0; top: 44px; left: 12.5%; right: 12.5%; height: 2px;
  background-image: linear-gradient(90deg, var(--vf-red) 0 8px, transparent 8px 16px);
  background-size: 16px 2px; background-repeat: repeat-x;
}
.ld-path__step { position: relative; z-index: 1; padding: 0 20px; text-align: center; }
/* Блок фиксированной ширины, а не inline-block: у inline-block остаётся
   baseline-зазор снизу, из-за которого линия и кружки разъезжаются. */
.ld-path__figure { position: relative; width: 88px; margin: 0 auto 22px; }
.ld-path__circle { width: 88px; height: 88px; border-radius: 50%; background: var(--vf-white); border: 2px solid var(--vf-black); display: flex; align-items: center; justify-content: center; }
.ld-path__circle svg { width: 32px; height: 32px; color: var(--vf-black); }
/* Подсветка при наведении на шаг: обводка и иконка краснеют. Под
   @media (hover: hover) — на тач-экранах :hover залипает после тапа. */
.ld-path__circle, .ld-path__circle svg { transition: border-color 0.25s var(--vf-ease), color 0.25s var(--vf-ease); }
@media (hover: hover) {
  .ld-path__step:hover .ld-path__circle { border-color: var(--vf-red); }
  .ld-path__step:hover .ld-path__circle svg { color: var(--vf-red); }
}
.ld-path__num { position: absolute; top: -5px; right: -5px; width: 27px; height: 27px; border-radius: 50%; background: var(--vf-red); color: var(--vf-white); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.ld-path__title { font-size: 17px; text-transform: uppercase; line-height: 1.2; margin-bottom: 8px; }
.ld-path__text { font-size: 14px; line-height: 1.5; color: var(--vf-ink-82); max-width: 24ch; margin: 0 auto; }
/* Появление на скролле: шаги всплывают по очереди, пунктир прочерчивается
   слева направо. Класс is-armed вешает JS — поэтому без JS (и при
   prefers-reduced-motion, см. ниже) блок остаётся видимым и статичным. */
.ld-path__row.is-armed .ld-path__step { opacity: 0; transform: translateY(14px); }
.ld-path__row.is-armed .ld-path__line { transform: scaleX(0); transform-origin: left center; }
.ld-path__row.is-armed.is-in .ld-path__step {
  opacity: 1; transform: none;
  transition: opacity 0.5s var(--vf-ease), transform 0.5s var(--vf-ease-reveal);
}
.ld-path__row.is-armed.is-in .ld-path__step:nth-of-type(2) { transition-delay: 0.1s; }
.ld-path__row.is-armed.is-in .ld-path__step:nth-of-type(3) { transition-delay: 0.2s; }
.ld-path__row.is-armed.is-in .ld-path__step:nth-of-type(4) { transition-delay: 0.3s; }
.ld-path__row.is-armed.is-in .ld-path__line {
  transform: scaleX(1); transition: transform 0.9s var(--vf-ease-reveal) 0.15s;
}

/* ── Витрина ── */
.ld-showcase { padding-top: 72px; padding-bottom: 64px; }
.ld-showcase__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ld-showcase__title { margin-top: 6px; }
.ld-showcase__live { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--vf-ink-82); padding-bottom: 6px; }
.ld-showcase__live b { color: var(--vf-red); font-weight: 400; }
.ld-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vf-green); flex-shrink: 0; animation: ld-pulse 2s var(--vf-ease) infinite; }
@keyframes ld-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.ld-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.ld-filter { padding: 9px 18px; border-radius: var(--vf-r-pill); border: 1px solid var(--vf-border); background: var(--vf-white); font-family: inherit; font-size: 13px; color: var(--vf-black); cursor: pointer; transition: 0.2s var(--vf-ease); }
.ld-filter:hover { border-color: var(--vf-red); color: var(--vf-red); }
.ld-filter.is-on { background: var(--vf-red); color: var(--vf-white); border-color: var(--vf-red); }
.ld-filter.is-on:hover { color: var(--vf-white); }

/* Первая карточка — «витрина витрины»: крупнее, задаёт ритм вместо однородной сетки */
.ld-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 24px; }
.ld-card[hidden] { display: none; }

/* Пустое состояние: на витрине может не быть ни одного активного сбора */
.ld-empty { background: var(--vf-white); border: 1px solid var(--vf-border); border-radius: var(--vf-r-card); padding: 56px 32px; text-align: center; }
.ld-empty b { display: block; font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.ld-empty p { font-size: 15px; color: var(--vf-grey-3); line-height: 1.5; margin: 0 auto 24px; max-width: 46ch; }

/* ── Карточка сбора ── */
.ld .ev-card { background: var(--vf-white); border: 1px solid var(--vf-border); border-radius: var(--vf-r-card); box-shadow: var(--vf-sh-card); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow 0.3s var(--vf-ease), transform 0.3s var(--vf-ease); }
.ld .ev-card:hover { box-shadow: var(--vf-sh-hover); transform: translateY(-3px); }
.ld .ev-card__cover { position: relative; height: 176px; background: var(--vf-light-grey); }
.ld .ev-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld .ev-card__badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--vf-r-pill); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); }
.ld .ev-card__badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.ld .ev-card__badge--active .dot { background: var(--vf-green); }
.ld .ev-card__badge--done .dot { background: var(--vf-grey-2); }
.ld .ev-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ld .ev-card__kicker { font-size: 12px; color: var(--vf-grey-2); margin-bottom: 8px; }
.ld .ev-card__name { font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.ld .ev-card__raise { margin-top: auto; padding-top: 18px; }
.ld .ev-card__sum { font-size: 15px; }
.ld .ev-card__sum b { color: var(--vf-red); font-weight: 400; }
.ld .ev-card__sum--done b { color: var(--vf-green); }
.ld .ev-card__goal { font-size: 12px; color: var(--vf-grey-2); }

.ld .ev-card--feature { grid-column: span 2; }
.ld .ev-card--feature .ev-card__cover { height: 256px; }
.ld .ev-card--feature .ev-card__name { font-size: 27px; }

/* ── FAQ ──
   Список-полоса, а не стопка карточек: вопросы разделены линиями, знак
   раскрытия — графитовый +/− без цвета и поворота. Красная акцент-полоса
   и тени убраны: на текстовом блоке они читаются как декор ради декора. */
.ld-faq { padding-top: 16px; padding-bottom: 72px; }
.ld-faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.ld-faq__head { max-width: 32ch; }
.ld-faq__title { margin-top: 6px; }
.ld-faq__note { font-size: 16px; line-height: 1.5; color: var(--vf-ink-82); margin-top: 16px; }
.ld-faq__note a { color: var(--vf-red); text-decoration: underline; text-underline-offset: 3px; }

/* Не --vf-border: #eaeaea на светло-сером #EFEFEF не читается */
.ld-faq__list { border-top: 1px solid rgba(20, 20, 18, 0.14); }
.ld-q { border-bottom: 1px solid rgba(20, 20, 18, 0.14); }
.ld-q summary { position: relative; padding: 21px 44px 21px 0; cursor: pointer; font-size: 18px; line-height: 1.35; list-style: none; }
.ld-q summary::-webkit-details-marker { display: none; }
.ld-q summary:hover { color: var(--vf-red); }
.ld-q summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; color: var(--vf-grey-2); }
.ld-q[open] summary::after { content: '\2212'; }
.ld-q p { font-size: 15px; line-height: 1.6; color: var(--vf-ink-82); margin: 0 0 22px; max-width: 66ch; }

/* ── Закрывающий экран: итоги и призыв в одной красной карте.
     Фирменный красный, а не графит: тёмная заливка в дизайн-коде фонда
     не используется. Числа весом 400 — в TT Fors нет жирного начертания,
     700 давал синтетический жир. Count-up на въезде в кадр. */
.ld-close { background: var(--vf-red); color: var(--vf-white); border-radius: var(--vf-r-card); padding: 44px 52px 50px; }
.ld-close__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.68); padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.ld-close__nums { display: grid; grid-template-columns: repeat(3, 1fr); }
.ld-close__item { padding: 30px 34px 0; border-left: 1px solid rgba(255,255,255,0.3); }
.ld-close__item:first-child { padding-left: 0; border-left: none; }
.ld-close__num { display: block; font-size: clamp(38px, 4vw, 54px); font-weight: 400; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ld-close__num i { font-style: normal; opacity: 0.6; margin-left: 2px; }
.ld-close__label { display: block; margin-top: 13px; font-size: 13px; color: rgba(255,255,255,0.78); }

.ld-close__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.3); }
.ld-close__title { font-size: 38px; text-transform: uppercase; line-height: 1.08; max-width: 18ch; }
.ld-close__lead { font-size: 16px; color: rgba(255,255,255,0.82); margin-top: 12px; max-width: 40ch; }
.ld-close__actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* Кнопки на красном: заливка меняется на белую, иначе красное на красном */
.ld .ld-close__btn { background: var(--vf-white); color: var(--vf-red); border-color: var(--vf-white); }
.ld .ld-close__btn:hover { background: var(--vf-light-grey); border-color: var(--vf-light-grey); }
.ld .ld-close__btn--ghost { background: none; color: var(--vf-white); border: 1px solid rgba(255,255,255,0.55); }
.ld .ld-close__btn--ghost:hover { background: var(--vf-white); color: var(--vf-red); border-color: var(--vf-white); }

@media (max-width: 960px) {
  .ld-hero-video { height: 72vh; min-height: 500px; }
  .ld-hero-video__title { max-width: 15ch; }
  .ld-dot-2, .ld-dot-4, .ld-dot-6, .ld-dot-8 { display: none; }
  .ld .vf-h2 { font-size: 32px; }
  .ld-showcase { padding-top: 48px; }
  .ld-path { padding-top: 16px; }
  .ld-path__row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ld-path__line { display: none; }
  .ld-grid { grid-template-columns: repeat(2, 1fr); }
  .ld .ev-card--feature { grid-column: span 2; }
  .ld-faq__grid { grid-template-columns: 1fr; gap: 24px; }
  .ld-close { padding: 30px 24px 34px; }
  .ld-close__nums { grid-template-columns: 1fr; }
  .ld-close__item { padding: 22px 0 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.3); }
  .ld-close__item:first-child { border-top: none; }
  .ld-close__title { font-size: 30px; }
}
@media (max-width: 640px) {
  /* Hero занимает чуть больше половины экрана: остаток отдан витрине, чтобы
     верх первой карточки попадал в первый экран — сбор виден до скролла.
     Точки-акценты прячем целиком: на 375px они ложатся поверх заголовка. */
  .ld-hero-video { height: 58vh; min-height: 420px; }
  .ld-dot { display: none; }
  .ld-hero-video__eyebrow { margin-bottom: 14px; letter-spacing: 0.1em; padding: 6px 14px; }
  .ld-hero-video__title { font-size: 40px; max-width: 13ch; }
  .ld-hero-video__lead { font-size: 17px; max-width: 32ch; margin-top: 14px; }
  /* Второе предложение лида — только на широких: на мобильном это две лишние
     строки ровно там, где мы выигрываем высоту. */
  .ld-hero-video__lead-more { display: none; }
  .ld-hero-video__cta { margin-top: 22px; gap: 11px; }
  .ld-hero-video__pills li { font-size: 11px; padding: 6px 12px; }

  .ld-showcase { padding-top: 26px; padding-bottom: 40px; }
  .ld-showcase__head { margin-bottom: 18px; }

  /* «Путь» ложится в строки: иконка слева, текст справа. Вертикальная
     колонка вместо стопки центрированных карточек — шаг ~90px вместо ~235px.
     Пунктир рисуем псевдоэлементом шага, а не общей .ld-path__line: её длину
     до центра последней иконки в вертикальной раскладке не выразить. */
  .ld-path { padding-top: 8px; padding-bottom: 48px; }
  .ld-path__head { margin-bottom: 26px; }
  .ld-path__row { grid-template-columns: 1fr; row-gap: 26px; }
  .ld-path__step {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 16px;
    align-items: start; text-align: left; padding: 0;
  }
  .ld-path__step:not(:last-child)::before {
    content: ''; position: absolute; left: 23px; top: 56px; bottom: -26px; width: 2px;
    background-image: linear-gradient(180deg, var(--vf-red) 0 6px, transparent 6px 12px);
    background-size: 2px 12px; background-repeat: repeat-y;
  }
  .ld-path__figure { grid-row: 1 / span 2; width: 48px; margin: 0; }
  .ld-path__circle { width: 48px; height: 48px; }
  .ld-path__circle svg { width: 20px; height: 20px; }
  .ld-path__num { top: -6px; right: -6px; width: 22px; height: 22px; font-size: 11px; }
  .ld-path__title { margin-top: 3px; font-size: 16px; }
  .ld-path__text { max-width: none; margin: 0; }

  .ld-grid { grid-template-columns: 1fr; }
  .ld .ev-card--feature { grid-column: span 1; }
  .ld .ev-card--feature .ev-card__cover { height: 176px; }
  .ld .ev-card--feature .ev-card__name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-live-dot { animation: none; }
  .ld .ev-card, .ld .ev-card:hover { transition: none; transform: none; }
  .ld-path__row .ld-path__step, .ld-path__row .ld-path__line { opacity: 1; transform: none; transition: none; }
  .ld-path__circle, .ld-path__circle svg { transition: none; }
}

/* ── Режим правки сбора (/cabinet/create/?edit=ID) ──
   Визард раскрыт целиком: мастер из трёх шагов ради правки одной даты —
   лишнее трение. Разметка та же, различия только в показе. */
.evt--edit .wz-steps,
.evt--edit .wz-top,
.evt--edit .wz-help,
.evt--edit .wz-panel .vf-eyebrow,
.evt--edit .wz-nav [data-next],
.evt--edit .wz-nav [data-prev] { display: none; }

.evt--edit .wz-panel { display: block; }
.evt--edit .wz-panel + .wz-panel { border-top: 1px solid var(--vf-line, #eaeaea); margin-top: 2.4rem; }
.evt--edit .wz-head h1 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
.evt--edit .wz-head p { font-size: 1rem; }

.wz-edithead { margin: 1.8rem 0 0.6rem; }
.wz-edithead h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); line-height: 1.06; text-transform: uppercase; font-weight: 400; margin: 0; }
.wz-edithead p { font-size: 1.05rem; line-height: 1.4; margin: 0.7rem 0 0; }
/* Замечание модератора в шапке правки. font-size задан явно: глобальный
   style.css бьёт по `*` и без этого съедает размер. */
.wz-modnote {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border-left: 3px solid var(--vf-red, #E4322B);
  background: #fbf1f0;
  color: #7a2420;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}
.wz-modnote strong { display: block; margin-bottom: 0.25rem; font-size: 14px; font-weight: 600; }
