/* Токены mmix.biz (DESIGN.md). Радиус 0, тень только жёсткая. */
:root {
  --ink: #0A0A0A; --ink2: #161616; --paper: #FFFFFF; --paper2: #F4F2EE;
  --mute: #5F5F5F; --rule: #E5E5E2;
  --red: #E53A1F; --orange: #F08A2B; --yellow: #F5C53A; --lime: #B6CC3A; --green: #4FA53A;
  --teal: #2BAFA9; --blue: #2C58B3; --purple: #6E3F9E; --magenta: #C03B7A;
  --wa: #1F7A3A; --tg: #2C58B3;
  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow: 6px 6px 0 0 var(--ink);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --top-h: 64px;
  --dock-h: 84px;
  --gut: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.55 var(--body); }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--red); margin-right: 9px; vertical-align: 1px; }

/* ---------- верх ---------- */
.top {
  position: sticky; top: 0; z-index: 20; height: var(--top-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 0 var(--gut); background: var(--paper); border-bottom: 1px solid var(--rule);
}
.logo img { width: 64px; height: auto; }
.progress { min-width: 0; visibility: hidden; }
[data-screen="ask"] .progress { visibility: visible; }
.progress-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
@media (max-width: 1023px) { .progress { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; } .progress-row { display: contents; } .progress-label { grid-column: 1; grid-row: 1; margin-bottom: 6px; } .mini { grid-column: 2; grid-row: 1 / span 2; } .segs { grid-column: 1; grid-row: 2; } }
.progress-label { color: var(--mute); white-space: nowrap; }
.segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.segs i { height: 5px; background: var(--rule); position: relative; overflow: hidden; }
.segs i::after { content: ""; position: absolute; inset: 0; background: var(--c, var(--ink)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.segs i.on::after { transform: scaleX(1); }
.segs i:nth-child(1) { --c: var(--red); } .segs i:nth-child(2) { --c: var(--orange); } .segs i:nth-child(3) { --c: var(--green); }
.segs i:nth-child(4) { --c: var(--teal); } .segs i:nth-child(5) { --c: var(--blue); }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px 0 2px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; }
.back span { display: none; }
.back:focus-visible, .btn:focus-visible, .opt:has(> input:focus-visible), .field input:focus-visible, .field textarea:focus-visible, .bug-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* мини-макет в строке прогресса (телефон) */
.mini { width: 76px; height: 46px; position: relative; overflow: hidden; flex: none; border: 1.5px solid var(--ink); background: var(--paper); }
.mini .mock { position: absolute; left: 0; top: 0; width: 360px; transform: scale(.2056); transform-origin: 0 0; border: 0; box-shadow: none; }

/* ---------- экраны ---------- */
.stage { min-height: calc(100dvh - var(--top-h)); overflow-x: clip; }
/* анимация входа — на внутренних блоках: transform на .screen сделал бы его контейнером для fixed-панели кнопок */
.screen.anim .start-card, .screen.anim .ask-body, .screen.anim .final-panel, .screen.anim .canvas { animation: enter .36s var(--ease) both; }
.screen.anim.back-dir .start-card, .screen.anim.back-dir .ask-body, .screen.anim.back-dir .final-panel, .screen.anim.back-dir .canvas { animation-name: enter-back; }
@keyframes enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

/* ---------- старт ---------- */
.start { display: flex; flex-direction: column; }
/* живые работы MMIX вместо картинки-заставки */
.start-art { margin: 0; position: relative; overflow: hidden; background: var(--paper2); height: 184px; border-bottom: 2px solid var(--ink); }
.works-label { position: absolute; left: var(--gut); top: 10px; z-index: 3; margin: 0; color: var(--mute); }
.work { --r: 0deg; position: absolute; display: block; background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 0 var(--ink); text-decoration: none; color: var(--ink); z-index: 2;
  animation: work-in .8s var(--ease) both; animation-delay: var(--d, 0ms); transition: transform .25s var(--ease), box-shadow .25s var(--ease); transform: rotate(var(--r)); }
@keyframes work-in { from { opacity: 0; transform: translateY(46px) rotate(calc(var(--r) * 2.2)) scale(.9); } to { opacity: 1; transform: rotate(var(--r)); } }
.work:hover, .work:focus-visible { transform: translateY(-6px) rotate(0deg); box-shadow: 8px 8px 0 0 var(--ink); z-index: 4; }
.work:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.work-bar { display: flex; gap: 3px; align-items: center; height: 11px; padding: 0 5px; border-bottom: 1.5px solid var(--ink); background: var(--paper2); }
.work-bar i { width: 4px; height: 4px; border: 1px solid var(--ink); }
.work img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: top; background: var(--paper2); }
.work-cap { display: none; }
.work.w1 { --r: -5deg; left: 3%; top: 40px; width: 44%; }
.work.w2 { --r: 2deg; left: 31%; top: 30px; width: 40%; z-index: 3; }
.work.w3 { --r: 6deg; right: 2%; top: 46px; width: 38%; }
.work.w4 { display: none; }
.start-art .poly.p1 { top: auto; bottom: 6px; left: 2%; border-bottom-width: 30px; border-left-width: 18px; border-right-width: 18px; }
.start-art .poly.p3 { top: 8px; right: 6%; }
.start-art .poly.p2 { display: none; }
.start-card { position: relative; z-index: 2; margin: -22px var(--gut) 0; padding: 20px 18px 18px; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 12px; color: var(--mute); }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(31px, 9vw, 44px); line-height: .92; letter-spacing: -.02em; word-spacing: .04em; margin: 0 0 14px; }
.display .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.display .ln > span { display: inline-block; animation: line-up .8s var(--ease) both; }
.display .ln:nth-child(2) > span { animation-delay: .08s; } .display .ln:nth-child(3) > span { animation-delay: .16s; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.display-mix { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 7.6vw, 46px); line-height: 1.02; letter-spacing: -.012em; word-spacing: .03em; margin: 0 0 12px; }
.display-mix:focus { outline: none; }
.lede { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: #2A2A2A; max-width: 34em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 2px solid var(--ink); background: var(--paper); font-weight: 800; font-size: 17px; cursor: pointer; text-decoration: none; color: var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s; }
.btn-main { width: 100%; background: var(--yellow); box-shadow: var(--shadow); }
.btn-main:hover { background: var(--blue); color: var(--paper); }
.btn:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 0 var(--ink); }
.btn-main .arr { transition: transform .2s var(--ease); }
.btn-main:hover .arr { transform: translateX(6px); }
.btn[disabled] { background: var(--paper2); color: #8A8A8A; border-color: #BDBDB8; box-shadow: none; cursor: not-allowed; }
.btn-ghost { box-shadow: none; }
.btn-ghost:hover { background: var(--paper2); }
.bug-link { display: block; margin: 16px auto 0; background: none; border: 0; padding: 8px; font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* полигоны логотипа */
.poly { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 1; }
.poly.p1 { border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 44px solid var(--red); top: 14%; left: 7%; animation: float1 18s ease-in-out infinite; }
.poly.p2 { border-top: 34px solid var(--teal); border-right: 40px solid transparent; bottom: 12%; right: 9%; animation: float2 24s ease-in-out infinite; }
.poly.p3 { border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 30px solid var(--yellow); top: 10%; right: 22%; animation: float2 20s ease-in-out infinite reverse; }
.poly.p4 { border-bottom: 38px solid var(--purple); border-left: 30px solid transparent; bottom: 18%; left: 8%; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -14px) rotate(14deg); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-12px, 10px) rotate(-12deg); } }

/* ---------- вопрос ---------- */
.ask-panel { padding: 18px var(--gut) calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); }
.q-tag { margin: 0 0 6px; color: var(--mute); }
.q-tag b { color: var(--ink); font-weight: 700; }
.q-hint { margin: -2px 0 12px; font-size: 14.5px; color: var(--mute); }
.opts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.opt { position: relative; border-bottom: 1px solid var(--rule); animation: opt-in .42s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes opt-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > label { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: center; min-height: 54px; padding: 11px 10px 11px 4px; cursor: pointer; font-size: 16.5px; line-height: 1.32; transition: background-color .18s, color .18s; }
.opt .box { width: 22px; height: 22px; border: 2px solid var(--ink); background: var(--paper); position: relative; transition: background-color .18s; }
.opt.single .box { transform: rotate(45deg) scale(.82); }
.opt .box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.opt.single .box::after { left: 4px; top: 4px; width: 10px; height: 10px; border: 0; background: var(--paper); transform: scale(0); }
.opt > label:hover { background: var(--paper2); }
.opt > input:checked + label { background: var(--ink); color: var(--paper); }
.opt > input:checked + label .box { background: var(--acc, var(--yellow)); border-color: var(--acc, var(--yellow)); }
.opt > input:checked + label .box::after { transform: rotate(45deg) scale(1); border-color: var(--ink); }
.opt.single > input:checked + label .box::after { transform: scale(1); background: var(--ink); }
.other-field { padding: 0 0 12px 40px; }
.field { display: block; margin: 0 0 16px; }
.field-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-weight: 700; margin-bottom: 7px; font-size: 16px; }
.field-label .opt-tag { font-weight: 400; color: var(--mute); font-size: 13px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 2px solid var(--ink); background: var(--paper); font-size: 16.5px; border-radius: 0; }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.field-hint { margin: 6px 0 0; font-size: 14px; color: var(--mute); }
.field-err { margin: 6px 0 0; font-size: 14px; color: #B3261E; font-weight: 600; }
.q-sub { margin: -2px 0 16px; font-size: 16px; color: #2A2A2A; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: grid; gap: 8px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); }
.dock .btn { width: 100%; }
.dock .btn-ghost { min-height: 46px; font-size: 15.5px; font-weight: 700; border-width: 1.5px; }

.canvas { display: none; }

/* ---------- макет-подпись ---------- */
.mock { width: 100%; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); font-family: var(--display); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-bottom: 2px solid var(--ink); background: var(--paper2); }
.mock-bar i { width: 9px; height: 9px; border: 1.5px solid var(--ink); }
.mock-url { margin-left: 8px; flex: 1; min-width: 0; height: 18px; line-height: 16px; padding: 0 8px; border: 1.5px solid var(--ink); background: var(--paper); font: 600 11px/16px var(--mono); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { padding: 10px; display: grid; gap: 8px; }
.m-nav { display: flex; align-items: center; gap: 8px; height: 22px; }
.m-nav b { width: 26px; height: 14px; background: var(--ink); }
.m-nav span { width: 30px; height: 5px; background: var(--rule); }
.m-nav em { margin-left: auto; width: 54px; height: 16px; background: var(--hc, var(--rule)); }
.m-hero { position: relative; min-height: 104px; padding: 12px; background: var(--hc, var(--paper2)); color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; transition: background-color .5s var(--ease); }
.m-hero strong { font-weight: 900; font-size: 22px; line-height: .92; letter-spacing: -.03em; text-transform: uppercase; max-width: 80%; overflow-wrap: anywhere; }
.m-hero .bars { display: grid; gap: 5px; }
.m-hero .bars i { height: 6px; width: 70%; background: rgba(255,255,255,.55); }
.m-hero .bars i + i { width: 46%; }
.m-hero .tri { position: absolute; right: -6px; top: -6px; border-left: 46px solid transparent; border-top: 46px solid rgba(255,255,255,.28); }
.m-hero.empty { color: var(--mute); }
.m-hero.empty .bars i { background: var(--rule); }
.m-mods { display: grid; gap: 8px; }
.mod { --mc: var(--ink); border: 1.5px solid var(--ink); padding: 8px; display: grid; gap: 6px; animation: mod-in .52s var(--ease) both; }
@keyframes mod-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.mod-t { font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.mod-t::before { content: ""; width: 8px; height: 8px; background: var(--mc); }
.mod-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mod-row i { height: 26px; background: var(--mc); opacity: .9; }
.mod-row.four { grid-template-columns: repeat(4, 1fr); }
.mod-row.four i { height: 30px; }
.mod-row.cal { grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mod-row.cal i { height: 12px; background: var(--rule); }
.mod-row.cal i.on { background: var(--mc); }
.mod-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 5px; }
.mod-form i { height: 18px; border: 1.5px solid var(--ink); }
.mod-form b { width: 46px; height: 18px; background: var(--mc); }
.mod-pay { display: flex; gap: 5px; align-items: center; }
.mod-pay i { flex: 1; height: 8px; background: var(--rule); }
.mod-pay b { width: 58px; height: 20px; background: var(--mc); }
.mod.dashed { border-style: dashed; }
.mod.dashed .mod-row i { background: transparent; border: 1.5px dashed var(--mc); }
.m-foot { height: 18px; background: var(--ink); }
.m-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.m-chips span { font: 700 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 6px; border: 1.5px solid var(--ink); background: var(--paper); animation: mod-in .4s var(--ease) both; }
/* старый сайт (ветка «существующий») */
.mock.old .m-hero { background: #CFCFCB; color: #8B8B86; }
.mock.old .m-nav em { background: #CFCFCB; }
.mock.old .mod { --mc: #BDBDB8 !important; border-color: #9B9B96; }
.mock.old .m-hero strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 19px; }
.pains { display: flex; flex-wrap: wrap; gap: 5px; }
.pains span { font: 700 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 6px; background: var(--red); color: var(--paper); animation: tag-in .4s var(--ease) both; }
@keyframes tag-in { from { transform: translateY(-6px) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.stamp { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border: 2px solid var(--ink); background: var(--yellow); font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transform: rotate(-4deg); }

/* ---------- финал ---------- */
.final-panel { padding: 22px var(--gut) 32px; }
.final .lede { margin-bottom: 20px; }
.msgr { display: grid; gap: 12px; }
.msgr .btn { width: 100%; justify-content: flex-start; color: var(--paper); box-shadow: var(--shadow); font-size: 17.5px; min-height: 60px; }
.msgr .btn svg { flex: none; }
.msgr .btn .arr { margin-left: auto; transition: transform .2s var(--ease); }
.msgr .btn:hover .arr { transform: translateX(6px); }
.msgr .btn.whatsapp { background: var(--wa); }
.msgr .btn.telegram { background: var(--tg); }
.msgr .btn.viber { background: #6E3F9E; }
.msgr .btn:hover { filter: brightness(1.08); }
.note { margin: 14px 0 0; font-size: 14.5px; color: var(--mute); }
.answers { margin-top: 22px; border-top: 2px solid var(--ink); }
.answers summary { cursor: pointer; padding: 14px 0; color: var(--ink); }
.answers ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; font-size: 15px; }
.answers li b { font-weight: 700; }
.final-mock-m { margin: 20px 0 0; position: relative; }

/* ---------- диалог ---------- */
.bug { border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 18px; max-width: min(420px, calc(100vw - 32px)); }
.bug::backdrop { background: rgba(10,10,10,.45); }
.bug form { display: grid; gap: 14px; }

/* низкие телефоны */
@media (max-height: 700px) and (max-width: 1023px) {
  .start-art { height: 132px; }
  .gets-h { display: none; }
  .gets li:nth-child(n+2) { display: none; }
  .work.w1, .work.w3 { top: 34px; }
  .gets li { padding-top: 5px; padding-bottom: 5px; font-size: 14px; }
  .meta { display: none; }
  .display { font-size: 29px; margin-bottom: 10px; }
  .lede { font-size: 15px; margin-bottom: 14px; }
  .start-card { padding: 16px 16px 14px; }
  .opt label { min-height: 48px; padding-top: 8px; padding-bottom: 8px; font-size: 15.5px; }
}

/* ---------- планшет / десктоп ---------- */
@media (min-width: 720px) {
  :root { --gut: 32px; }
  .logo img { width: 80px; }
  .back span { display: inline; }
  .start-card { margin: -40px auto 0; max-width: 640px; padding: 28px; }
}
@media (min-width: 1024px) {
  :root { --top-h: 76px; --gut: 48px; }
  .top { grid-template-columns: 1fr minmax(320px, 520px) 1fr; }
  .back { justify-self: end; }
  .mini { display: none; }
  .progress-row { justify-content: center; }
  .start { display: grid; grid-template-columns: 5fr 7fr; min-height: calc(100dvh - var(--top-h)); }
  .start-card { order: -1; margin: 0; max-width: none; border: 0; box-shadow: none; padding: 32px 56px 32px var(--gut); align-self: center; }
  .start-art { height: auto; min-height: 100%; border-left: 2px solid var(--ink); border-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 38px; align-content: center; justify-content: center; grid-template-columns: repeat(2, minmax(0, 270px)); gap: 28px 36px; padding: 60px clamp(40px, 5vw, 96px) 36px; }
  .works-label { left: clamp(48px, 6vw, 110px); top: 34px; }
  .work, .work.w1, .work.w2, .work.w3, .work.w4 { position: relative; left: auto; right: auto; top: auto; width: auto; display: block; }
  .work.w1 { --r: -2deg; } .work.w2 { --r: 1.5deg; margin-top: 22px; } .work.w3 { --r: 1deg; margin-top: -22px; } .work.w4 { --r: -1.5deg; }
  .work-bar { height: 18px; gap: 5px; padding: 0 8px; }
  .work-bar i { width: 6px; height: 6px; }
  .work-cap { display: block; padding: 10px 12px 12px; border-top: 1.5px solid var(--ink); font-size: 13.5px; line-height: 1.35; color: var(--mute); }
  .work-cap b { display: block; color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: -.01em; }
  .start-art .poly.p1 { top: 9%; bottom: auto; left: 4%; } .start-art .poly.p2 { display: block; } .start-art .poly.p3 { top: 5%; right: 8%; }
  .gets { max-width: 30em; }
  .meta { text-align: left; }
  .display { font-size: clamp(44px, 4vw, 64px); }
  .lede { font-size: 18px; }
  .btn-main { width: auto; min-width: 300px; }
  .start .bug-link { margin: 18px 0 0; }
  .ask, .final { display: grid; grid-template-columns: 5fr 7fr; min-height: calc(100dvh - var(--top-h)); }
  .ask-panel { padding: clamp(36px, 6vh, 80px) 56px 0 var(--gut); }
  .dock { position: sticky; bottom: 0; padding: 18px 0 20px; border: 0; background: var(--paper); grid-auto-flow: column; justify-content: start; }
  .dock .btn { width: auto; min-width: 220px; }
  .canvas { display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: var(--paper2); border-left: 2px solid var(--ink); padding: 56px clamp(40px, 6vw, 110px); }
  .canvas-label { margin: 0 0 14px; color: var(--mute); position: relative; z-index: 2; }
  .mock-wrap { position: relative; z-index: 2; max-width: 620px; width: 100%; }
  .mock-wrap .mock { --s: 1; }
  .mock-wrap .m-hero { min-height: 170px; padding: 18px; }
  .mock-wrap .m-hero strong { font-size: 40px; }
  .mock-wrap .mock-body { padding: 14px; gap: 10px; }
  .mock-wrap .mod-row i { height: 40px; }
  .mock-wrap .mod-row.four i { height: 46px; }
  .mock-wrap .mod-row.cal i { height: 18px; }
  .mock-wrap .mod-t, .mock-wrap .m-chips span, .mock-wrap .pains span { font-size: 11px; }
  .final-panel { padding: 56px 56px 48px var(--gut); align-self: center; }
  .final-mock-m { display: none; }
  .msgr .btn { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .poly { animation: none !important; }
}

/* что человек получит + мета */
.gets { list-style: none; margin: -4px 0 16px; padding: 0; border-top: 1px solid var(--rule); }
.gets li { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.35; font-weight: 600; animation: get-in .5s var(--ease) both; animation-delay: var(--d, 0ms); }
.gets li b { color: #C52E17; font-size: 11px; } /* mmix.biz textAccent(red): AA на белом */
@keyframes get-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.meta { margin: 10px 0 0; color: var(--mute); text-align: center; }

/* что будет дальше (финал) */
.next-steps { list-style: none; margin: 22px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--rule); animation: get-in .5s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 350ms); }
.next-steps b { width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); color: var(--ink); font-size: 11px; letter-spacing: 0; }
.next-steps strong { display: block; font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: -.01em; margin-bottom: 2px; }
.next-steps li > span { font-size: 14.5px; color: #3A3A3A; line-height: 1.45; }
.answers { margin-top: 18px; }

/* микроанимации переходов */
.ask-body.leaving { animation: leave .17s cubic-bezier(.4, 0, 1, 1) forwards !important; }
.ask-body.leaving.back { animation-name: leave-back !important; }
@keyframes leave { to { opacity: 0; transform: translateX(-22px); } }
@keyframes leave-back { to { opacity: 0; transform: translateX(22px); } }
.opt.just > input:checked + label .box { animation: pop .32s var(--ease); }
@keyframes pop { 0% { transform: scale(.6) var(--rot, rotate(0)); } 60% { transform: scale(1.18) var(--rot, rotate(0)); } 100% { transform: scale(1) var(--rot, rotate(0)); } }
.opt.single { --rot: rotate(45deg); }
.opt.single.just > input:checked + label .box { animation-name: pop-d; }
@keyframes pop-d { 0% { transform: rotate(45deg) scale(.5); } 60% { transform: rotate(45deg) scale(1.05); } 100% { transform: rotate(45deg) scale(.82); } }
.opt.just > input:checked + label { animation: row-flash .42s var(--ease); }
@keyframes row-flash { 0% { box-shadow: inset 6px 0 0 0 var(--acc, var(--yellow)); } 100% { box-shadow: inset 0 0 0 0 var(--acc, var(--yellow)); } }
.progress-label.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
#next.ready .arr { animation: nudge .5s var(--ease) 2; }
@keyframes nudge { 50% { transform: translateX(7px); } }
.msgr .btn { animation: msgr-in .55s var(--ease) both; }
.msgr .btn:nth-child(2) { animation-delay: .09s; } .msgr .btn:nth-child(3) { animation-delay: .18s; }
@keyframes msgr-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.stamp { animation: stamp .5s cubic-bezier(.2, 1.4, .4, 1) .7s both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-22deg) scale(1.6); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
.mock.final-build .mod { animation-duration: .6s; }

.gets-h { margin: 0 0 6px; color: var(--ink); }

@media (min-width: 1024px) { .meta { text-align: left; } }

/* строка согласия — копия mmix.biz (AnalyticsConsent.tsx): одна строка, «отключить» мелко, «Принять» чернилами */
.consent { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; background: var(--paper); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); animation: get-in .4s var(--ease) both; }
.consent p { flex: 1; min-width: 0; margin: 0; display: flex; align-items: center; padding: 4px 4px 4px 16px; font-size: 12.5px; line-height: 1.2; color: #2A2A2A; }
.consent .c-short { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consent .c-long { display: none; }
.consent .c-off { flex: none; border: 0; background: none; padding: 0 8px; font-size: 11.5px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent .c-ok { flex: none; min-height: 44px; border: 0; background: var(--ink); color: var(--paper); padding: 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.consent .c-ok:hover { background: var(--blue); }
.consent button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
[data-screen="ask"] .consent, .app[data-screen="ask"] ~ .consent { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
body.has-consent .ask-panel { padding-bottom: calc(var(--dock-h) + 72px + env(safe-area-inset-bottom)); }
body.has-consent .start-card, body.has-consent .final-panel { margin-bottom: 56px; }
@media (min-width: 1024px) {
  .consent, .app[data-screen="ask"] ~ .consent { left: auto; right: 16px; bottom: 16px; max-width: min(30rem, calc(100% - 2rem)); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding-bottom: 0; }
  .consent .c-short { display: none; } .consent .c-long { display: inline; }
  .consent p { padding: 8px 12px 8px 16px; font-size: 13px; }
  body.has-consent .ask-panel { padding-bottom: 0; }
  body.has-consent .start-card, body.has-consent .final-panel { margin-bottom: 0; }
}
