/* APPLACE UGC Creator Program — лендинг. Размеры и токены — из Figma «✅ Финал» (1440 / 390) */
:root {
  --black: #000;
  --ink: #0F1719;
  --surface: #162329;
  --footer: #0A0A0A;
  --pill: #161616;
  --white: #fff;
  --soft: #E8E8E8;
  --muted: rgba(255,255,255,.6);
  --subtle: rgba(255,255,255,.5);
  --inverse-muted: rgba(0,0,0,.62);
  --border-subtle: rgba(255,255,255,.14);
  --border-pill: rgba(255,255,255,.18);
  --border-strong: #D2D2D2;
  --border-inverse: rgba(0,0,0,.14);
  --lime: #8AF877;
  --lime-hover: #B0FC9E;
  --lavender: #C1AFFF;
  --mist: #DBE4F4;
  --pink: #FF738D;
  --focus: #C1AFFF;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Roc Grotesk", Lexend, system-ui, sans-serif;
  --ui: "Neue Haas Unica", Inter, system-ui, sans-serif;
  /* шире 1440 контент держим по сетке макета: 1280 по центру */
  --gutter: max(80px, (100vw - 1280px) / 2);
  --inset: max(24px, (100vw - 1392px) / 2);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
/* hidden прячет всегда: иначе display у .menu и др. перебивает атрибут, и невидимое меню ловит клики */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 18px/28px var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
.lime { color: var(--lime); }
section[id] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: #000; font: 500 13px/16px var(--ui); }
.skip:focus { top: 12px; }
.m { display: none; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.btn img { flex: none; transition: transform .2s var(--ease); }
.btn-s { height: 40px; padding: 0 20px; gap: 6px; font: 500 13px/16px var(--ui); }
.btn-l { height: 64px; padding: 0 32px; gap: 10px; font: 500 20px/24px var(--display); }
.btn-xl { height: 104px; padding: 0 32px; gap: 10px; font: 500 30px/36px var(--display); width: 100%; }
.btn-block { width: 100%; }
.btn-primary { background: var(--lime); color: #000; }
.btn-primary:hover { background: var(--lime-hover); }
.btn-primary:hover img { transform: translate(4px, -4px); }
.btn-outline { box-shadow: inset 0 0 0 2px var(--border-strong); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px var(--white); }
.btn:disabled { background: rgba(255,255,255,.12); color: var(--subtle); cursor: default; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 max(32px, (100vw - 1376px) / 2); background: var(--black); border-bottom: 1px solid var(--border-subtle); transition: background-color .2s var(--ease); }
.header.scrolled { background: rgba(0,0,0,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-word { display: block; width: auto; height: 32px; } /* логотип с applace.io, 270×90 */
.logo-tag { padding: 6px 12px; border-radius: 999px; background: var(--lavender); color: #000; font: 500 13px/16px var(--ui); }
.nav { display: flex; gap: 6px; }
.pill { height: 40px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; background: var(--pill); border: 1px solid var(--border-pill); font: 500 13px/16px var(--ui); white-space: nowrap; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.pill:hover { border-color: rgba(255,255,255,.6); }
.pill.active { border-color: var(--lime); box-shadow: inset 0 0 0 .5px var(--lime); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header .btn-s { box-sizing: border-box; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; background: var(--pill); border: 1px solid var(--border-pill); align-items: center; justify-content: center; }

/* ---------- мобильное меню ---------- */
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--black); opacity: 0; transform: translateY(-12px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu.open { opacity: 1; transform: none; }
.menu-head { height: 68px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; border-bottom: 1px solid var(--border-subtle); }
.menu-head .logo { gap: 8px; }
.menu-head .logo-word { height: 27px; }
.menu-head .logo-tag { padding: 5px 10px; }
.menu-head .menu-btn { display: flex; }
.menu-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 20px 32px; overflow-y: auto; }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--border-subtle); font: 400 36px/42px var(--display); letter-spacing: -.72px; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu.open .menu-nav a { opacity: 1; transform: none; }
.menu.open .menu-nav a:nth-child(2) { transition-delay: 40ms; }
.menu.open .menu-nav a:nth-child(3) { transition-delay: 80ms; }
.menu.open .menu-nav a:nth-child(4) { transition-delay: 120ms; }
.menu-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 24px; }
.caption-muted { font: 400 13px/18px var(--display); color: var(--muted); text-align: center; }

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; gap: 72px; padding: 112px 0 120px; }
.hero-content { display: flex; flex-direction: column; gap: 40px; padding: 0 var(--gutter); }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border: 1px solid var(--border-pill); border-radius: 999px; font: 600 13px/16px var(--ui); letter-spacing: .78px; color: var(--soft); white-space: nowrap; }
.hero-title { display: flex; flex-direction: column; font: 500 96px/96px var(--display); letter-spacing: -2.4px; color: var(--soft); max-width: 1180px; }
.hero-sub { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-copy { display: flex; flex-direction: column; gap: 36px; }
.hero-lead { max-width: 700px; font: 400 24px/34px var(--display); letter-spacing: -.12px; color: var(--muted); }
.hero-ctas { display: flex; gap: 12px; }
.scroll-btn { flex: none; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--soft); font: 500 16px/20px var(--display); color: var(--soft); transition: background-color .2s var(--ease), color .2s var(--ease); }
.scroll-btn:hover { background: var(--white); color: #000; }

/* появление hero при загрузке */
.hero-in { animation: fadeUp .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* лента карточек */
.marquee { height: 470px; overflow: hidden; }
.marquee-track { display: flex; gap: 20px; width: max-content; padding-left: 0; animation: marquee 40s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(var(--start, -150px)); } to { transform: translateX(calc(var(--start, -150px) - var(--shift, 50%))); } }
.ugc { position: relative; flex: none; width: 240px; height: 426px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 16px 18px; border-radius: 28px; background: var(--tile); overflow: hidden; }
.ugc.low { margin-top: 44px; }
.ugc-visual { position: absolute; left: 35px; top: 92px; width: 170px; height: 170px; pointer-events: none; }
.ugc::after { content: ""; position: absolute; left: 0; top: 206px; width: 240px; height: 220px; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.62)); pointer-events: none; }
.ugc-top, .ugc-bottom { position: relative; z-index: 1; }
.ugc-top { display: flex; align-items: center; gap: 10px; }
.ugc-badge { width: 36px; height: 36px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: rgba(255,255,255,.22); }
.ugc-meta { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.ugc-meta b { font: 500 13px/16px var(--ui); }
.ugc-meta span { font: 400 13px/18px var(--display); opacity: .8; }
.ugc-bottom { display: flex; align-items: flex-end; gap: 12px; }
.ugc-caption { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ugc-caption p { font: 500 15px/22px var(--display); }
.ugc-views { display: flex; align-items: center; gap: 6px; font: 400 13px/18px var(--display); white-space: nowrap; }
.ugc-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ugc-rail span { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 400 11px/18px var(--display); white-space: nowrap; }

/* ---------- бегущая строка ---------- */
.ticker { height: 150px; overflow: hidden; }
.ticker-track { display: flex; width: max-content; padding-top: 40px; animation: ticker 30s linear infinite; will-change: transform; }
.ticker-run { flex: none; white-space: pre; font: 400 64px/72px var(--display); letter-spacing: -1.28px; color: var(--subtle); }
.ticker-run i { font-style: normal; color: var(--lime); }
@keyframes ticker { from { transform: translateX(calc(-1 * var(--shift, 50%))); } to { transform: translateX(0); } }

/* ---------- заголовки секций ---------- */
.h2 { font: 400 64px/72px var(--display); letter-spacing: -1.28px; }

/* ---------- How it works ---------- */
.how { display: flex; flex-direction: column; gap: 48px; padding: 80px var(--gutter) 140px; }
.steps { display: flex; gap: 20px; }
.step { flex: 1 1 0; min-width: 0; height: 420px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 36px 36px; border-radius: 40px; background: var(--bg); color: #000; transition: transform .25s var(--ease); }
.step-num { font: 500 96px/96px var(--display); letter-spacing: -2.4px; }
.step-copy { display: flex; flex-direction: column; gap: 12px; }
.step-copy h3 { font: 500 30px/38px var(--display); letter-spacing: -.3px; }
.step-copy p { font: 400 18px/28px var(--display); color: var(--inverse-muted); }

/* ---------- цветные блоки ---------- */
.block-wrap { padding: 0 var(--inset) 24px; }
.block { border-radius: 56px; overflow: hidden; } /* плашки выезжают справа — не даём им вылезти за блок */

/* What we need */
.need { display: flex; align-items: center; gap: 64px; padding: 72px 56px; background: var(--ink); }
.need-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.need-lead { max-width: 500px; font: 400 18px/28px var(--display); color: var(--muted); }
.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; align-items: center; gap: 16px; font: 400 24px/34px var(--display); letter-spacing: -.12px; color: var(--soft); }
.mark { flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--lime); }
.tiles { flex: none; width: 600px; display: flex; flex-direction: column; gap: 12px; }
.tile { display: flex; align-items: center; gap: 20px; padding: 18px 28px; border-radius: 28px; background: var(--tile); }
.tile dt { flex: none; width: 84px; font: 500 13px/16px var(--ui); opacity: .8; }
.tile dd { flex: 1; min-width: 0; font: 500 20px/24px var(--display); }

/* What you get */
.get { display: flex; flex-direction: column; gap: 48px; padding: 72px 56px 64px; background: var(--lavender); color: #000; }
.get-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.get-head p { width: 400px; flex: none; font: 400 18px/28px var(--display); color: var(--inverse-muted); }
.blobs { display: flex; gap: 16px; }
.blob { flex: 1 1 0; min-width: 0; height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 32px; background: #000; color: var(--white); text-align: center; transition: border-radius .4s var(--ease); }
.blob h3 { width: 230px; max-width: 100%; font: 500 30px/38px var(--display); letter-spacing: -.3px; }
.blob p { width: 220px; max-width: 100%; font: 400 15px/22px var(--display); color: var(--muted); }
.blob-1 { border-radius: 110px; }
.blob-2 { border-radius: 40px 120px 40px 120px; }
.blob-3 { border-radius: 999px; }
.blob-4 { border-radius: 120px 24px 120px 24px; }
@media (hover: hover) {
  .blob-1:hover { border-radius: 40px 120px 40px 120px; }
  .blob-2:hover { border-radius: 160px; }
  .blob-3:hover { border-radius: 120px 24px 120px 24px; }
  .blob-4:hover { border-radius: 110px; }
  .step:hover { transform: translateY(-6px); }
}

/* FAQ */
.faq { display: flex; align-items: flex-start; gap: 64px; padding: 72px 56px; background: var(--mist); color: #000; }
.faq-title { width: 340px; flex: none; }
.faq-list { flex: 1 1 0; min-width: 0; }
.faq-item { display: flex; flex-direction: column; padding: 28px 0; border-bottom: 1px solid var(--border-inverse); }
.faq-item h3 { font: inherit; }
.faq-item button { width: 100%; display: flex; align-items: center; gap: 24px; text-align: left; font: 500 22px/30px var(--display); letter-spacing: -.11px; color: #000; }
.faq-toggle { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 999px; background: #fff url("/assets/icon-plus.svg") center / 20px 20px no-repeat; box-shadow: inset 0 0 0 1.5px #000; transition: background-color .2s var(--ease); }
.faq-item button[aria-expanded="true"] .faq-toggle { background: #000 url("/assets/icon-minus.svg") center / 20px 20px no-repeat; box-shadow: none; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-top: 14px; font: 400 18px/28px var(--display); color: var(--inverse-muted); }
.faq-item button[aria-expanded="true"] + .faq-a, .faq-item h3:has(button[aria-expanded="true"]) + .faq-a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 120px var(--gutter); }
.final-title { margin-bottom: 40px; /* в макете: gap 24 + spacer 16 */ font: 500 96px/96px var(--display); letter-spacing: -2.4px; text-align: center; }
.final-note { font: 400 15px/22px var(--display); color: var(--muted); white-space: pre; text-align: center; }

/* ---------- футер ---------- */
.footer { display: flex; flex-direction: column; gap: 72px; padding: 88px var(--gutter) 48px; background: var(--footer); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.footer-brand { width: 380px; display: flex; flex-direction: column; gap: 20px; }
.footer-brand p { font: 400 15px/22px var(--display); color: var(--muted); }
.footer-brand .logo-word { align-self: flex-start; margin: -1px 0; } /* как строка текста 30px в макете */
.footer-cols { display: flex; gap: 72px; white-space: nowrap; }
.footer-cols nav { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font: 500 13px/16px var(--ui); color: var(--subtle); }
.footer-cols a { font: 400 15px/22px var(--display); color: var(--soft); transition: color .15s var(--ease); }
.footer-cols a:hover { color: var(--lime); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { font: 400 13px/18px var(--display); color: var(--subtle); }

/* ---------- появление при скролле ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0ms); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }
.blob[data-reveal].in { transition: opacity .7s var(--ease), transform .7s var(--ease), border-radius .4s var(--ease); }
.step[data-reveal].in { transition: opacity .7s var(--ease), transform .25s var(--ease); }

/* ---------- модалка ---------- */
body.locked { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 80; }
.modal-backdrop { position: absolute; inset: 0; overflow: hidden; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .2s var(--ease); }
.modal.open .modal-backdrop { opacity: 1; }
.deco { position: absolute; pointer-events: none; }
.deco-circle { left: -160px; top: -140px; width: 520px; height: 520px; }
.deco-sun { right: -100px; bottom: -60px; width: 360px; height: 360px; }
.deco-dots { right: 56px; top: 90px; display: grid; grid-template-columns: repeat(3, 40px); gap: 22px; }
.dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; padding: 40px 16px; }
.modal-card { position: relative; margin: auto; width: 760px; max-width: 100%; padding: 48px; border-radius: 40px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: scale(.96); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-card.is-thanks { width: 620px; padding: 56px; }
.apply-form { display: flex; flex-direction: column; gap: 32px; }
.modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-title { display: flex; flex-direction: column; gap: 12px; }
.eyebrow-plain { padding: 0; border: 0; gap: 8px; }
.modal-title h2 { font: 400 64px/72px var(--display); letter-spacing: -1.28px; }
.modal-note { font: 400 15px/22px var(--display); color: var(--muted); white-space: pre; }
.close-btn { flex: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--pill); border: 1px solid var(--border-pill); transition: border-color .18s var(--ease); }
.close-btn:hover { border-color: rgba(255,255,255,.6); }
.close-btn img { width: 20.16px; height: 20.16px; }
.close-btn-s { width: 44px; height: 44px; }
.close-btn-s img { width: 18.48px; height: 18.48px; }

.fields { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; gap: 16px; }
.row > .field { flex: 1 1 0; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 500 13px/16px var(--ui); color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 56px; padding: 0 20px; border: 0; border-radius: 16px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--border-pill); color: var(--white); font: 400 18px/28px var(--display); transition: box-shadow .15s var(--ease); -webkit-appearance: none; appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); opacity: 1; }
.field textarea { height: 132px; padding-top: 18px; resize: vertical; display: block; }
.select-wrap { position: relative; }
.field select { padding-right: 52px; cursor: pointer; }
.field select:invalid, .field select.placeholder { color: var(--subtle); }
.field select option { color: var(--white); background: var(--ink); }
.select-wrap img { position: absolute; right: 20px; top: 18px; pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 2px var(--pink); }
.error { display: flex; align-items: center; gap: 8px; font: 400 13px/18px var(--display); color: var(--pink); }
.error[hidden] { display: none; }
.field input[readonly], .field textarea[readonly] { opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-error { margin-bottom: -16px; font: 400 15px/22px var(--display); color: var(--pink); text-align: center; }
#submitBtn .icon-loader { display: none; animation: spin 1s linear infinite; }
#submitBtn.loading .icon-loader { display: block; }
#submitBtn.loading .icon-arrow { display: none; }
#submitBtn.loading { background: var(--lime); color: #000; cursor: progress; }
#submitBtn.loading:hover img { transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.thanks .close-btn { align-self: flex-end; }
.thanks-check { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--lime); }
.thanks-check .d { width: 40.32px; height: 40.32px; }
.thanks-check .m { width: 36.96px; height: 36.96px; }
.thanks h2 { font: 400 48px/56px var(--display); letter-spacing: -.72px; outline: none; }
.thanks p { margin-bottom: 8px; font: 400 24px/34px var(--display); letter-spacing: -.12px; color: var(--muted); }
.thanks[hidden], .apply-form[hidden] { display: none; }

/* ==================== планшет 768–1199 ==================== */
@media (max-width: 1199px) {
  :root { --gutter: 40px; }
  .header { padding: 0 24px; }
  .nav { gap: 4px; }
  .pill { padding: 0 14px; }
  .hero { padding-top: 88px; }
  .hero-title, .final-title { font-size: 72px; line-height: 72px; letter-spacing: -1.8px; }
  .hero-lead { font-size: 22px; line-height: 32px; }
  .scroll-btn { width: 120px; height: 120px; }
  .h2 { font-size: 56px; line-height: 64px; }
  .need { flex-direction: column; align-items: stretch; gap: 40px; padding: 56px 40px; }
  .tiles { width: auto; }
  .get { padding: 56px 40px; }
  .get-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .get-head p { width: auto; max-width: 560px; }
  .blobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { flex-direction: column; gap: 24px; padding: 56px 40px; }
  .faq-title { width: auto; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 1023px) {
  .steps { flex-direction: column; }
  .step { flex: none; height: auto; min-height: 300px; gap: 48px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
}

/* ==================== мобайл < 768 (макет 390) ==================== */
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 68px; }
  .d { display: none; }
  .m { display: inline; }
  img.m { display: block; }

  .header { height: 68px; padding: 0 16px 0 20px; }
  .logo { gap: 8px; }
  .logo-word { height: 27px; }
  .logo-tag { padding: 5px 10px; }
  .header .btn-s .btn-arrow-s { display: none; }

  .hero { gap: 40px; padding: 48px 0 72px; }
  .hero-content { gap: 24px; }
  .eyebrow { gap: 8px; padding: 8px 14px 8px 12px; font-size: 12px; letter-spacing: .72px; }
  .hero-title { font-size: 44px; line-height: 48px; letter-spacing: -1.1px; }
  .hero-sub { display: block; }
  .hero-copy { gap: 24px; }
  .hero-lead { font-size: 18px; line-height: 28px; letter-spacing: 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .scroll-btn { display: none; }
  .marquee { height: 426px; }
  .marquee-track { gap: 16px; --start: 20px; }
  .ugc.low { margin-top: 0; }

  .ticker { height: 96px; }
  .ticker-track { padding-top: 24px; }
  .ticker-run { font-size: 36px; line-height: 42px; letter-spacing: -.72px; }

  .h2 { font-size: 36px; line-height: 42px; letter-spacing: -.72px; }
  .how { gap: 36px; padding: 48px 20px 72px; } /* в макете: gap 12 + spacer 12 + gap 12 */
  .steps { gap: 12px; }
  .step { min-height: 0; gap: 10px; justify-content: flex-start; padding: 20px 24px 26px; border-radius: 32px; }
  .step-num { margin-bottom: 34px; font: 400 64px/72px var(--display); letter-spacing: -1.28px; } /* gap 10 + spacer 24 */
  .step-copy { gap: 10px; }
  .step-copy h3 { font-size: 24px; line-height: 30px; letter-spacing: -.24px; }
  .step-copy p { font-size: 15px; line-height: 22px; }

  .block-wrap { padding: 0 12px 12px; }
  .block { border-radius: 32px; }
  .need { gap: 18px; padding: 40px 20px 28px; }
  .need-copy { gap: 18px; }
  .need-lead { font-size: 15px; line-height: 22px; }
  .checklist { gap: 18px; }
  .checklist li { gap: 12px; font-size: 18px; line-height: 28px; letter-spacing: 0; }
  .mark { width: 28px; height: 28px; }
  .mark img { width: 14px; height: 14px; }
  .tiles { margin-top: 24px; gap: 18px; } /* spacer 6 + gap 18 */
  .tile { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px; border-radius: 22px; }
  .tile dt { width: auto; font: 400 13px/18px var(--display); }
  .tile dd { font: 500 15px/22px var(--display); }

  .get { gap: 20px; padding: 40px 20px 20px; }
  .get-head { gap: 20px; }
  .get-head p { font-size: 15px; line-height: 22px; }
  .blobs { display: flex; flex-direction: column; gap: 10px; }
  .blob { height: auto; align-items: flex-start; gap: 6px; padding: 24px 28px; text-align: left; }
  .blob h3 { width: auto; font: 500 20px/24px var(--display); letter-spacing: 0; }
  .blob p { width: auto; }
  .blob-1, .blob-1:hover { border-radius: 56px; }
  .blob-2, .blob-2:hover { border-radius: 20px 56px 20px 56px; }
  .blob-3, .blob-3:hover { border-radius: 60px; }
  .blob-4, .blob-4:hover { border-radius: 56px 20px 56px 20px; }

  .faq { gap: 4px; padding: 40px 20px 32px; }
  .faq-list { display: flex; flex-direction: column; gap: 4px; } /* в макете у листа gap 4 между всеми строками */

  .final { gap: 20px; padding: 72px 20px; }
  .final-title { margin-bottom: 0; font-size: 44px; line-height: 48px; letter-spacing: -1.1px; }
  .btn-xl { height: 72px; font: 500 20px/24px var(--display); }
  .final-note { white-space: normal; }

  .footer { gap: 40px; padding: 56px 20px 32px; }
  .footer-top { gap: 40px; }
  .footer-brand { width: auto; gap: 14px; }
  .footer-brand .logo-word { height: 27px; margin: 1.5px 0; }
  .footer-cols { flex-wrap: wrap; gap: 32px 20px; }
  .footer-cols nav { width: 165px; gap: 10px; }
  .footer-bottom { padding-top: 20px; }

  /* форма — полноэкранный лист снизу */
  .modal-backdrop { display: none; }
  .modal-scroll { padding: 0; background: var(--surface); transform: translateY(100%); transition: transform .3s var(--ease); }
  .modal.open .modal-scroll { transform: none; }
  .modal-card, .modal-card.is-thanks { width: 100%; min-height: 100%; margin: 0; padding: 24px 20px 40px; border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
  .apply-form { gap: 24px; }
  /* шапка листа: «Apply Now» + ✕ в ряд, подпись строкой ниже */
  .modal-top { flex-wrap: wrap; align-items: center; row-gap: 24px; }
  .modal-title { display: contents; }
  .modal-title .eyebrow { display: none; }
  .modal-title h2 { order: 1; flex: 1; font-size: 36px; line-height: 42px; letter-spacing: -.72px; }
  .modal-top .close-btn { order: 2; }
  .modal-note { order: 3; flex-basis: 100%; white-space: normal; }
  .close-btn { width: 44px; height: 44px; }
  .close-btn img { width: 18.48px; height: 18.48px; }
  .row { flex-direction: column; gap: 20px; }
  .modal-card.is-thanks { display: flex; padding: 0 24px; }
  .thanks { flex: 1; justify-content: center; gap: 20px; min-height: 100dvh; }
  .thanks .close-btn { position: absolute; top: 24px; right: 20px; }
  .thanks-check { width: 88px; height: 88px; }
  .thanks h2 { font-size: 36px; line-height: 42px; }
  .thanks p { margin-bottom: 0; font-size: 18px; line-height: 28px; letter-spacing: 0; }
}

/* ---------- меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .ticker-track { animation: none; }
  .marquee-track { transform: translateX(var(--start, -150px)); }
  .hero-in { animation: none; }
  [data-reveal], [data-reveal="right"], [data-reveal="scale"] { opacity: 1; transform: none; transition: none; }
  .menu, .menu-nav a, .modal-card, .modal-scroll, .modal-backdrop { transition: none; }
}
