/* Поддержка Physical Life и TransformMate: одна общая форма.
   Страница перекрашивается под выбранное приложение: фон, акцент, иллюстрация справа.
   Токены из локальной коллекции Figma "Форма поддержки" (режимы Нейтрально / Physical Life / TransformMate),
   файл mGlQkMTSgO9O7icPHwKeW4, страница "Общая форма". */

/* акцент меняется плавно: переменные зарегистрированы как цвет */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #1B1D22; }
@property --accent-soft { syntax: '<color>'; inherits: true; initial-value: #F1F2F4; }

:root {
  --on-accent: #FFFFFF;
  --text-primary: #16181D;
  --text-secondary: #6B6F78;
  --text-placeholder: #9A9EA6;
  --text-on-dark: #FFFFFF;
  --text-on-dark-2: #A7ABB3;
  --surface-card: #FFFFFF;
  --surface-field: #F2F3F5;
  --surface-field-disabled: #F7F8F9;
  --line-field: #E3E5E9;
  --line-divider: #ECEDF0;
  --status-error: #E5484D;
  --status-error-soft: #FDECEC;
  --page-base: #0B0C10;
  --glass-fill: rgba(255, 255, 255, .08);
  --glass-line: rgba(255, 255, 255, .14);
  --brand-pl: #576CED;
  --brand-tm: #E54F09;
  --pl-soft: #EEF0FD;
  --tm-soft: #FFF1EB;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --mode-t: .75s;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--page-base); color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; }
p, h1, h2, ol { margin: 0; }
ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
input, textarea { font: inherit; }

/* =========================================================
   Сцена
   ========================================================= */
.viewer { position: fixed; inset: 0; background: var(--page-base); }
.stage { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.device { position: relative; flex: none; width: 100%; height: 100%; }
.screen {
  position: absolute; inset: 0; overflow: hidden; container: screen / size;
  background: var(--page-base);
  --accent: #1B1D22; --accent-soft: #F1F2F4;
  transition: --accent var(--mode-t) var(--ease-io), --accent-soft var(--mode-t) var(--ease-io);
}
.screen[data-app="fz"] { --accent: #576CED; --accent-soft: #EEF0FD; }
.screen[data-app="tm"] { --accent: #E54F09; --accent-soft: #FFF1EB; }

.scroller {
  position: absolute; inset: 0; z-index: 2; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px); mask-image: linear-gradient(180deg, transparent 0, #000 12px);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
  scroll-padding: 100px 0 40px;
}
.scroller::-webkit-scrollbar { width: 10px; }
.scroller::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }

/* =========================================================
   Фоны режимов
   ========================================================= */
.bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity var(--mode-t) var(--ease-io); }
.screen[data-app="none"] .bg--none, .screen[data-app="fz"] .bg--fz, .screen[data-app="tm"] .bg--tm { opacity: 1; }
/* нейтральный: почти чёрный, синее сияние слева, тёплое справа (43:23) */
.bg--none {
  background:
    radial-gradient(circle 300px at 19px 60px, rgba(43, 80, 237, .4) 0%, rgba(43, 80, 237, 0) 100%),
    radial-gradient(circle 300px at calc(100% - 19px) 200px, rgba(229, 79, 9, .3) 0%, rgba(229, 79, 9, 0) 100%),
    var(--page-base);
}
/* Physical Life: фирменный градиент (43:138) */
.bg--fz {
  background:
    radial-gradient(circle 325px at 92% 650px, rgba(123, 63, 228, .35) 0%, rgba(75, 43, 176, .1) 60%, rgba(15, 17, 34, 0) 100%),
    radial-gradient(circle 420px at 30px 122px, rgba(43, 80, 237, .55) 0%, rgba(43, 63, 168, .18) 50%, rgba(15, 17, 34, 0) 100%),
    linear-gradient(180deg, #1A1F4D 0, #121530 895px, #0F1122 1628px),
    #0F1122;
}
/* TransformMate: #1F2022, сверху mesh с зерном (43:263) */
.bg--tm { background: #1F2022; }
.mesh {
  position: absolute; left: 0; right: 0; top: 0; height: 520px; overflow: hidden; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.mesh i { position: absolute; inset: 0; display: block; }
.mesh .m-img { background: url(img/tm-mesh-mob.webp) center / cover no-repeat; transform-origin: 60% 40%; animation: meshBreathe 26s ease-in-out infinite alternate; }
.mesh .m-grain { background: url(img/tm-grain.webp) 0 0 / 122.4px 100px; opacity: .5; }
@container screen (width >= 600px) {
  .bg--none {
    background:
      radial-gradient(circle 720px at 12% 140px, rgba(43, 80, 237, .38) 0%, rgba(43, 80, 237, 0) 100%),
      radial-gradient(circle 692px at 90% 421px, rgba(229, 79, 9, .28) 0%, rgba(229, 79, 9, 0) 100%),
      var(--page-base);
  }
  .bg--fz {
    background:
      radial-gradient(circle 648px at 92% 605px, rgba(123, 63, 228, .35) 0%, rgba(75, 43, 176, .1) 60%, rgba(15, 17, 34, 0) 100%),
      radial-gradient(circle 792px at 8% 120px, rgba(43, 80, 237, .55) 0%, rgba(43, 63, 168, .18) 50%, rgba(15, 17, 34, 0) 100%),
      linear-gradient(180deg, #1A1F4D 0, #121530 832px, #0F1122 1513px),
      #0F1122;
  }
  .mesh { height: 1100px; }
  .mesh .m-img { background-image: url(img/tm-mesh.webp); }
}

/* =========================================================
   Страница
   ========================================================= */
.page { position: relative; min-height: 100%; display: flex; flex-direction: column; gap: 20px; padding: 12px 16px 0; }
.page > * { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }
.hdr {
  position: sticky; top: 8px; z-index: 20; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 16px;
  background: var(--glass-fill); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.page.is-scrolled .hdr {
  background: rgba(22, 24, 30, .78); border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
}
.hdr-logos { display: flex; align-items: center; gap: 12px; }
.hdr-pl { width: 78px; height: 24.63px; }
.hdr-sep { display: block; width: 1px; height: 22px; background: var(--glass-line); }
.hdr-tm { width: 105.5px; height: 22px; }
.hdr-label { display: none; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-on-dark-2); white-space: nowrap; }

.content { position: relative; flex: 1; display: flex; align-items: flex-start; gap: 64px; }
.col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.view { display: flex; flex-direction: column; gap: 20px; }
.view.is-in { animation: viewIn .55s var(--ease-out) both; }
.aside { display: none; }

.intro { display: flex; flex-direction: column; gap: 8px; }
.h1 { font-size: 24px; line-height: 30px; font-weight: 600; color: var(--text-on-dark); }
.lead { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--text-on-dark-2); }

.card { background: var(--surface-card); border-radius: 20px; padding: 20px 16px; display: flex; flex-direction: column; gap: 22px; }
.fld { position: relative; display: flex; flex-direction: column; gap: 8px; }
.lbl { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-primary); }
.lbl label { cursor: pointer; }
.req { color: var(--status-error); }
.hint { font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--text-secondary); }
.err { font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--status-error); }
.swap-text { display: inline-block; }

/* раскрывающиеся блоки (по высоте) */
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease-out), opacity .3s var(--ease-out), margin-top .45s var(--ease-out); }
.reveal > div { min-height: 0; overflow: hidden; }
.reveal.is-open { grid-template-rows: 1fr; opacity: 1; }
.fld > .reveal { margin-top: -8px; }
.fld > .reveal.is-open, .fld.is-error > .err-reveal { margin-top: 0; }
.fld.is-error > .err-reveal { grid-template-rows: 1fr; opacity: 1; }
.fld.is-error > .note-reveal { grid-template-rows: 0fr; opacity: 0; margin-top: -8px; }

/* Приложение: карточки-радио (41:50) */
.fld[data-req="app"] { gap: 10px; }
.fld[data-req="app"] > .reveal { margin-top: -10px; }
.fld[data-req="app"].is-error > .err-reveal { margin-top: 0; }
.apps { display: flex; flex-direction: column; gap: 10px; }
.app-card {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left;
  background: var(--surface-card); border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--line-field);
  transition: box-shadow .3s var(--ease-out), background-color .35s var(--ease-out), transform .16s var(--ease-out);
}
.app-card:hover { box-shadow: inset 0 0 0 1.5px #CDD1D8; }
.app-card:active { transform: scale(.985); }
.app-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.app-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-field); }
.app-ico img { width: 22px; height: 22px; }
.app-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-name { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text-primary); }
.app-desc { max-width: 183px; font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--text-secondary); }  /* перенос как в макете */
.radio { position: relative; width: 22px; height: 22px; flex: none; border-radius: 11px; background: var(--surface-card); box-shadow: inset 0 0 0 1.5px var(--line-field); transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out); }
.radio::after { content: ''; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .4s var(--ease-spring); }
.app-card--fz.is-on { background: var(--pl-soft); box-shadow: inset 0 0 0 2px var(--brand-pl); }
.app-card--tm.is-on { background: var(--tm-soft); box-shadow: inset 0 0 0 2px var(--brand-tm); }
.app-card--fz.is-on .radio { background: var(--brand-pl); box-shadow: none; }
.app-card--tm.is-on .radio { background: var(--brand-tm); box-shadow: none; }
.app-card.is-on .radio::after { transform: scale(1); }
.fld.is-error .app-card { box-shadow: inset 0 0 0 1.5px var(--status-error); }

/* поля (40:24, 40:40, 40:81) */
.input, .area, .select {
  display: block; width: 100%; margin: 0; outline: 0;
  border: 1px solid var(--line-field); border-radius: 12px; background: var(--surface-field);
  font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text-primary);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s;
}
.input { height: 52px; padding: 13px 15px; }
.area { min-height: 120px; padding: 13px 15px; resize: none; overflow: hidden; }
.input::placeholder, .area::placeholder { color: var(--text-placeholder); opacity: 1; transition: opacity .2s; }
.input:hover, .area:hover, .select:not(:disabled):hover { background: #EDEEF1; }
.input:focus, .area:focus, .select:focus-visible, .select.is-open { border-color: var(--accent); box-shadow: inset 0 0 0 .5px var(--accent); background: var(--surface-field); }
.input:focus::placeholder, .area:focus::placeholder { opacity: .65; }
.fld.is-error .input, .fld.is-error .area, .fld.is-error .select { border-color: var(--status-error); box-shadow: inset 0 0 0 .5px var(--status-error); }
.err--email { display: none; }
.fld.is-error .hint--email { display: none; }
.fld.is-error .err--email { display: block; animation: fadeUp .3s var(--ease-out); }

.dd { position: relative; }
.select { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 13px 11px 13px 15px; text-align: left; cursor: pointer; }
.select:disabled { cursor: default; background: var(--surface-field-disabled); }
.sel-text { flex: 1; min-width: 0; color: var(--text-primary); transition: opacity .2s; }
.sel-text.is-empty { color: var(--text-placeholder); }
.sel-arrow {
  width: 20px; height: 20px; flex: none; display: block; background: var(--text-secondary);
  -webkit-mask: url(img/chev-down.svg) center / 20px 20px no-repeat; mask: url(img/chev-down.svg) center / 20px 20px no-repeat;
  transition: transform .35s var(--ease-out), background-color .25s;
}
.select:disabled .sel-arrow { background: var(--text-placeholder); }
.select.is-open .sel-arrow { transform: rotate(180deg); }
.select.is-open .sel-text { color: var(--text-placeholder); }

/* выпадающее меню на десктопе */
.menu {
  position: absolute; z-index: 25; left: 0; right: 0; top: calc(100% + 6px);
  padding: 5px; border-radius: 14px; background: var(--surface-card); border: 1px solid var(--line-field);
  box-shadow: 0 12px 32px rgba(13, 15, 26, .18);
  display: flex; flex-direction: column; gap: 2px;
  transform-origin: top center; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .2s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
}
.menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
.menu.is-up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.menu.is-up.is-open { transform: none; }

/* пункт списка (40:108): общий для меню и шторки */
.opt {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 12px 12px 12px 16px; border-radius: 10px; text-align: left;
  font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text-primary);
  transition: background-color .15s, color .2s;
}
.opt span { flex: 1; min-width: 0; }
.opt:hover, .opt:focus-visible { background: #F5F6F8; outline: none; }
.opt.is-on:focus-visible { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 40%, transparent); }
.opt.is-on { background: var(--accent-soft); color: var(--accent); }
.opt .tick { width: 20px; height: 20px; flex: none; display: none; }
.opt.is-on .tick { display: block; }
.opt--idea { color: var(--accent); }
.opt--idea:hover { background: var(--accent-soft); }
.opt-sep { display: block; height: 1px; background: var(--line-divider); flex: none; }

/* загрузка файлов (40:92) */
.fld--upload { gap: 10px; }
.upload { position: relative; }
.upload { display: flex; flex-direction: column; }
.drop {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 20px 16px; border-radius: 14px; background: var(--surface-field); text-align: center;
  transition: background-color .25s var(--ease-out), transform .18s var(--ease-out), opacity .25s;
}
.drop:hover { background: #EDEEF1; }
.drop:active { transform: scale(.99); }
.drop:disabled { cursor: default; opacity: .6; }
.drop:disabled:hover { background: var(--surface-field); }
.drop:disabled:active { transform: none; }
.drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.files-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.files-wrap.is-open { grid-template-rows: 1fr; }
.files-wrap > div { min-height: 0; overflow: hidden; }
.files { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding-top: 10px; }
.dash { position: absolute; inset: .75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); overflow: visible; pointer-events: none; }
.dash rect { fill: none; stroke: var(--line-field); stroke-width: 1.5; stroke-dasharray: 6 4; }
.up-ico { width: 24px; height: 24px; display: block; background: var(--accent); -webkit-mask: url(img/upload-icon.svg) center / 19.5px 19.5px no-repeat; mask: url(img/upload-icon.svg) center / 19.5px 19.5px no-repeat; transition: transform .35s var(--ease-spring); }
.drop:not(:disabled):hover .up-ico { transform: translateY(-3px); }
.up-title { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--accent); }
.up-sub { font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--text-secondary); }
.file { position: relative; width: 72px; height: 72px; flex: none; border-radius: 12px; overflow: hidden; background: var(--surface-field); }
.file.is-new { animation: tileIn .5s var(--ease-spring) both; }
.file.is-out { animation: tileOut .28s var(--ease-out) both; }
.file .thumb { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.file-x { position: absolute; top: 4px; left: 48px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; transition: transform .15s var(--ease-out); }
.file-x img { width: 16.67px; height: 16.67px; }
.file-x:hover { transform: scale(1.12); }
.file-x:active { transform: scale(.9); }


/* Если хотите, уточните */
.details { display: flex; flex-direction: column; gap: 18px; }
.details-head { display: flex; flex-direction: column; gap: 2px; }
.details-title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text-primary); }
.details-sub { font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--text-secondary); }
.details-more { display: flex; flex-direction: column; gap: 18px; }
.details > .reveal { margin-top: -18px; }
.details > .reveal.is-open { margin-top: 0; }
.fld--chips { gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; overflow: hidden; isolation: isolate; max-width: 100%;
  padding: 8px 14px; border-radius: 100px; background: var(--surface-field); text-align: left;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-primary);
  transition: color .25s var(--ease-out), background-color .25s, transform .16s var(--ease-out);
}
.chip::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent); transform: scale(.45); opacity: 0; transition: transform .38s var(--ease-out), opacity .25s var(--ease-out); }
.chip:hover { background: #E9EBEE; }
.chip:active { transform: scale(.95); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.is-on { color: var(--on-accent); }
.chip.is-on::before { transform: none; opacity: 1; }
.chip-text { display: inline-block; }

/* кнопки (40:91) */
.submit { display: flex; flex-direction: column; gap: 12px; }
.legal { font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--text-secondary); }
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 14px;
  font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap;
  transition: transform .16s var(--ease-out), box-shadow .3s var(--ease-out), background-color .25s, color .25s;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 34%, transparent); }
.btn-outline { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1.5px var(--line-field); }
.btn-outline:hover { background: #F7F8F9; }
.btn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spin { display: block; }

/* липкая панель с кнопкой (мобилка) */
.sticky {
  position: sticky; bottom: 0; z-index: 15; flex: none; margin-top: auto;
  width: auto; max-width: none; margin-left: -16px; margin-right: -16px;
  padding: 12px 16px 28px; background: var(--surface-card); border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .3);
}

/* строка под формой */
.alt { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--text-on-dark-2); }
.alt a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: opacity .2s; }
.alt a:hover { opacity: .8; }
.col > .alt { padding-bottom: 4px; }

/* экран "отправлено" */
.sent { padding: 24px 16px 20px; gap: 20px; }
.sent .cascade { display: flex; flex-direction: column; gap: 20px; }
.badge { width: 56px; height: 56px; border-radius: 100px; display: grid; place-items: center; background: var(--accent); }
.badge svg { width: 18.67px; height: 12.53px; overflow: visible; }
.sent.is-anim .badge { animation: pop .6s var(--ease-spring) both; }
.sent.is-anim .badge .tick { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s .45s var(--ease-out) forwards; }
.sent-text { display: flex; flex-direction: column; gap: 8px; }
.sent-title { font-size: 24px; line-height: 30px; font-weight: 600; color: var(--text-primary); }
.sent-lead { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--text-secondary); }
.next { display: flex; flex-direction: column; gap: 12px; }
.next-title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text-primary); }
.next ol { display: flex; flex-direction: column; gap: 12px; }
.next li { display: flex; align-items: center; gap: 12px; }
.next li p { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--text-primary); }
.num { width: 28px; height: 28px; flex: none; border-radius: 100px; display: grid; place-items: center; background: var(--accent-soft); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent); }
.sent.is-anim .cascade > * { animation: rise .55s var(--ease-out) backwards; }
.sent.is-anim .cascade > *:nth-child(1) { animation-delay: .3s; }
.sent.is-anim .cascade > *:nth-child(2) { animation-delay: .42s; }
.sent.is-anim .cascade > *:nth-child(3) { animation-delay: .54s; }
.sent.is-anim ol li { animation: rise .5s var(--ease-out) backwards; }
.sent.is-anim ol li:nth-child(1) { animation-delay: .5s; }
.sent.is-anim ol li:nth-child(2) { animation-delay: .58s; }
.sent.is-anim ol li:nth-child(3) { animation-delay: .66s; }

/* шторка со списком типов (45:455) */
.sheet-layer { position: absolute; inset: 0; z-index: 30; }
.sheet-dim { position: absolute; inset: 0; background: rgba(11, 12, 16, .78); opacity: 0; transition: opacity .3s var(--ease-out); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 4px; padding: 8px 12px 28px; border-radius: 24px 24px 0 0; background: var(--surface-card);
  transform: translateY(100%); transition: transform .42s var(--ease-out);
  touch-action: pan-y;
}
.sheet-layer.is-open .sheet-dim { opacity: 1; }
.sheet-layer.is-open .sheet { transform: none; }
.sheet.is-dragging { transition: none; }
.sheet-handle { display: block; flex: none; width: 36px; height: 4px; margin: 0 auto; border-radius: 2px; background: var(--line-field); }
.sheet-title { padding: 12px 4px 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text-primary); }
.sheet-list { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 440px) { .sheet { padding-bottom: max(28px, calc(12px + env(safe-area-inset-bottom, 0px))); } }

/* только узкая или только широкая раскладка */
@container screen (width < 600px) { .only-wide { display: none !important; } }
@container screen (width >= 600px) { .only-narrow { display: none !important; } }

/* =========================================================
   Планшет и десктоп
   ========================================================= */
@container screen (width >= 600px) {
  .page { padding: 24px 32px 64px; gap: 40px; }
  .hdr { top: 12px; padding: 14px 24px; border-radius: 20px; }
  .hdr-logos { gap: 20px; }
  .hdr-pl { width: 104px; height: 32.84px; }
  .hdr-sep { height: 28px; }
  .hdr-tm { width: 134.3px; height: 28px; }
  .hdr-label { display: block; }
  .col { max-width: 620px; margin: 0 auto; gap: 24px; }
  .view { gap: 24px; }
  .lead { font-size: 16px; line-height: 24px; font-weight: 500; }
  .card { border-radius: 24px; padding: 32px; gap: 26px; }
  .apps { flex-direction: row; gap: 12px; }
  .app-card { flex: 1 1 0; min-width: 0; }
  .sent { padding: 40px 32px 32px; gap: 22px; }
  .sent .cascade { gap: 22px; }
  .badge { width: 64px; height: 64px; }
  .badge svg { width: 21.33px; height: 14.31px; }
  .sent-lead { font-size: 16px; line-height: 24px; font-weight: 500; }
  .scroller { scroll-padding: 110px 0 40px; }
}
@container screen (width >= 1000px) {
  .page { padding: 24px 40px 80px; }
  .content { gap: 40px; }
  .col { flex: 0 0 500px; max-width: none; margin: 0; }
  .aside { display: block; position: sticky; top: 111px; flex: 1 1 0; min-width: 0; height: min(780px, calc(100cqh - 154px)); min-height: 520px; }
}
@container screen (width >= 1200px) { .page { padding-left: 56px; padding-right: 56px; } .content { gap: 48px; } .col { flex-basis: 560px; } }
@container screen (width >= 1360px) { .page { padding-left: 80px; padding-right: 80px; } .content { gap: 64px; } .col { flex-basis: 620px; } }

/* =========================================================
   Иллюстрация справа: три режима
   ========================================================= */
.ill {
  position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity var(--mode-t) var(--ease-io), visibility 0s var(--mode-t);
}
.screen[data-app="none"] .ill--none, .screen[data-app="fz"] .ill--fz, .screen[data-app="tm"] .ill--tm {
  opacity: 1; visibility: visible; transition: opacity var(--mode-t) var(--ease-io), visibility 0s;
}
/* общая панель: заливки трёх режимов лежат стопкой и сменяются растворением */
.ill-panel { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; }
.pf { position: absolute; inset: 0; display: block; border-radius: inherit; opacity: 0; transition: opacity var(--mode-t) var(--ease-io); }
.screen[data-app="none"] .pf--none, .screen[data-app="fz"] .pf--fz, .screen[data-app="tm"] .pf--tm { opacity: 1; }
.pf--none { background: var(--glass-fill); box-shadow: inset 0 0 0 1px var(--glass-line); }
.pf--fz { background: var(--brand-pl); }
/* TransformMate (43:263): градиент сверху вниз, оранжевое свечение снизу по центру, зерно, тонкая обводка */
.pf--tm {
  background:
    radial-gradient(circle 429px at 50% 95%, rgba(229, 79, 9, .45) 0%, rgba(229, 79, 9, .12) 55%, rgba(229, 79, 9, 0) 100%),
    linear-gradient(180deg, #2C3035 0%, #1B1D20 100%);
}
.pf--tm::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: url(img/tm-grain.webp) 0 0 / 122.4px 100px; opacity: .35; }
.pf--tm::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(145, 148, 158, .16); }
.ill-title { position: absolute; z-index: 3; left: 48px; right: 28px; top: 44px; max-width: 520px; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--text-on-dark); }
.ill--none .ill-title { left: 47px; top: 43px; }
.ill-box {
  position: absolute; z-index: 1; left: 50%; top: 0; width: 596px; height: 780px; transform-origin: top center;
  perspective: 1400px; translate: 0 14px;
  transition: translate var(--mode-t) var(--ease-out);
}
.screen[data-app="none"] .ill--none .ill-box, .screen[data-app="fz"] .ill--fz .ill-box, .screen[data-app="tm"] .ill--tm .ill-box { translate: 0 0; }
.ill--none .ill-box { perspective-origin: 36.3% 52.8%; }
.ill--fz .ill-box { perspective-origin: 51.7% 55.2%; }
.breathe { position: absolute; inset: 0; transform-style: preserve-3d; animation: groupBreathe 8.5s ease-in-out infinite; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ph { position: absolute; }
.frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.frame::after { content: ''; position: absolute; inset: 0; border: 5px solid var(--surface-card); border-radius: inherit; pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
/* нейтрально: оба приложения (43:133) */
.ill-tm { position: absolute; left: 223px; top: 189px; width: 382px; height: 403px; object-fit: contain; }
.ph-n-food { left: 27px; top: 229px; width: 170px; height: 368px; }
.ph-n-food .frame { border-radius: 19px; }
.ph-n-main { left: 109px; top: 179px; width: 215px; height: 466px; transform: translateZ(30px) scale(.97857); }
.ph-n-main .frame { border-radius: 24px; }
/* Physical Life: синяя панель, три экрана (43:258) */
.ph-f-food { left: 58px; top: 210px; width: 200px; height: 433px; }
.ph-f-done { left: 358px; top: 210px; width: 200px; height: 433px; }
.ph-f-food .frame, .ph-f-done .frame { border-radius: 22px; }
.ph-f-main { left: 183px; top: 160px; width: 250px; height: 541px; transform: translateZ(30px) scale(.97857); }
.ph-f-main .frame { border-radius: 28px; }
/* TransformMate: коллаж на mesh, без панели */
.ill-tm-big { position: absolute; left: 48px; top: 150px; width: 520px; height: 548px; object-fit: contain; }
/* блик на панели под экранами, следует за курсором */
.sheen {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 380px at var(--sx, 50%) var(--sy, 40%), rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .035) 45%, rgba(255, 255, 255, 0) 100%);
}

/* =========================================================
   Анимации
   ========================================================= */
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-3px); } }
@keyframes tileIn { from { opacity: 0; transform: scale(.6); } }
@keyframes tileOut { to { opacity: 0; transform: scale(.6); } }
@keyframes shake { 20% { transform: translateX(-4px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } 100% { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes groupBreathe { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
@keyframes meshBreathe { 0% { transform: scale(1) translate3d(0, 0, 0); } 100% { transform: scale(1.07) translate3d(-1.2%, .8%, 0); } }
.shake { animation: shake .4s var(--ease-out); }

::view-transition-group(shell) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(shell) { animation: vtOut .22s ease both; }
::view-transition-new(shell) { animation: vtIn .4s .06s ease both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* на тач-экранах наведение "залипает" после тапа */
@media (hover: none) {
  .app-card:hover { box-shadow: inset 0 0 0 1.5px var(--line-field); }
  .app-card--fz.is-on:hover { box-shadow: inset 0 0 0 2px var(--brand-pl); }
  .app-card--tm.is-on:hover { box-shadow: inset 0 0 0 2px var(--brand-tm); }
  .fld.is-error .app-card:hover { box-shadow: inset 0 0 0 1.5px var(--status-error); }
  .chip:hover { background: var(--surface-field); }
  .btn-primary:hover { box-shadow: none; }
  .btn-outline:hover { background: transparent; }
  .drop:hover { background: var(--surface-field); }
  .input:hover:not(:focus), .area:hover:not(:focus), .select:not(:disabled):hover:not(.is-open) { background: var(--surface-field); }
  .opt:hover { background: transparent; }
  .opt.is-on:hover { background: var(--accent-soft); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .breathe, .mesh .m-img { animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.sheet:focus { outline: none; }

/* =========================================================
   Отправка: ошибка, капча, ошибки файлов
   ========================================================= */
.legal a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.send-err {
  padding: 12px 14px; border-radius: 12px; background: var(--status-error-soft); color: var(--status-error);
  font-size: 14px; line-height: 20px; font-weight: 500; animation: fadeUp .3s var(--ease-out);
}
.captcha { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--accent-soft); animation: fadeUp .3s var(--ease-out); }
.captcha-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-primary); }
.captcha-sub { font-size: 12px; line-height: 15.6px; font-weight: 400; color: var(--text-secondary); }
#captchaSlot { margin-top: 8px; --altcha-max-width: 100%; --altcha-color-base: var(--surface-card); --altcha-border-radius: 12px; }
.up-err { padding-top: 8px; font-size: 12px; line-height: 15.6px; font-weight: 500; color: var(--status-error); }
.drop.is-over { background: var(--accent-soft); }
.file .thumb-video { width: 100%; height: 100%; object-fit: cover; background: #1B1D22; }
.file-play { position: absolute; left: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; pointer-events: none; }
.file-play::after { content: ''; margin-left: 2px; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
