@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/inter-tight-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/inter-tight-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/inter-tight-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/inter-tight-700.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --navy-950: #050f20;
  --navy-900: #05193a;
  --navy-800: #0c306a;
  --navy-700: #2b4061;
  --gold: #1989f1;
  --gold-light: #10a9f8;
  --cyan: #07c9ff;
  --ink: #f7f9fc;
  --muted: #bac5dd;
  --line: rgba(186, 197, 221, 0.18);
  --surface: #1e2736;
  --surface-light: #353d4a;
  --canvas: #050f20;
  --success: #7cff4d;
  --danger: #ef6565;
  --radius: 18px;
  --brand-gradient: linear-gradient(90deg, #1989f1 0%, #07c9ff 100%);
  --brand-gradient-deep: linear-gradient(90deg, #10a9f8 0%, #0087cd 100%);
  --brand-radial: radial-gradient(circle, #05193a 68%, #0c306a 100%);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(25, 137, 241, 0.25), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(7, 201, 255, 0.14), transparent 32%),
    #020815;
  color: var(--ink);
  font-family: "Inter Tight", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  width: 100%;
}

.app {
  min-height: 100vh;
  background: var(--canvas);
}

body[data-shell="browser"] .app-shell {
  padding: 42px 20px;
  display: grid;
  place-items: start center;
}

body[data-shell="browser"] .app {
  position: relative;
  width: min(100%, 430px);
  min-height: 0;
  overflow: hidden;
  border: 8px solid #101827;
  border-radius: 42px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(25, 137, 241, 0.14);
}

body[data-shell="browser"] .app::before {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 24px;
  content: "";
  transform: translateX(-50%);
  border-radius: 20px;
  background: #101827;
}

body[data-shell="telegram"] {
  background: var(--canvas);
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  height: 72px;
  padding: 13px 18px 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(14, 35, 65, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  text-decoration: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__text {
  display: grid;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.05;
}

.brand__text strong {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
}

.brand__text span {
  margin-top: 3px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
}

.topbar__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar__status span {
  font-size: 7px;
}

.icon-button {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy-900);
  font-size: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 44%),
    var(--navy-900);
  color: white;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(226, 207, 173, 0.15);
  border-radius: 50%;
}

.hero::before {
  width: 240px;
  height: 240px;
  top: -100px;
  right: -115px;
}

.hero::after {
  width: 155px;
  height: 155px;
  top: -58px;
  right: -72px;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  position: relative;
  max-width: 360px;
  margin: 16px 0 16px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: clamp(34px, 9vw, 43px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.hero__lead {
  max-width: 340px;
  margin-bottom: 26px;
  color: #cbd4df;
  font-size: 14px;
  line-height: 1.65;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.primary-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 10px 28px rgba(189, 152, 96, 0.2);
}

.primary-button span {
  font-size: 20px;
  font-weight: 400;
}

.primary-button:hover {
  background: #cba970;
  transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.choice:has(input:focus-visible),
.segmented label:has(input:focus-visible),
.upload:has(input:focus-visible),
.consent:has(input:focus-visible) {
  outline: 3px solid rgba(58, 139, 199, 0.45);
  outline-offset: 2px;
}

.hero__meta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 207, 173, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-light);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
}

.hero__meta p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.hero__meta strong {
  font-size: 12px;
}

.hero__meta p span {
  color: #9eabb9;
  font-size: 10px;
}

.stats {
  position: relative;
  z-index: 2;
  margin: -1px 14px 0;
  padding: 20px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 26px rgba(18, 37, 61, 0.08);
}

.stats article {
  padding: 0 8px;
  display: grid;
  align-content: start;
  text-align: center;
}

.stats article + article {
  border-left: 1px solid var(--line);
}

.stats strong {
  color: var(--navy-900);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.1;
}

.stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
}

.section {
  padding: 46px 20px;
}

.section-heading > span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-heading h2,
.final-cta h2,
.success h2 {
  margin-bottom: 22px;
  color: var(--navy-900);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.case-list {
  display: grid;
  gap: 10px;
}

.case-card {
  padding: 17px;
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid rgba(14, 35, 65, 0.07);
  border-radius: 14px;
}

.case-card__number {
  color: var(--gold);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
}

.case-card h3 {
  margin-bottom: 5px;
  color: var(--navy-900);
  font-size: 13px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.quote {
  position: relative;
  margin: 0 14px;
  padding: 30px 26px 26px;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius);
  color: white;
}

.quote__mark {
  position: absolute;
  top: 0;
  right: 18px;
  color: rgba(226, 207, 173, 0.14);
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: 1;
}

.quote blockquote {
  position: relative;
  margin: 0 0 18px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.5;
}

.quote p {
  margin: 0;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.process {
  padding-bottom: 52px;
}

.process ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  list-style: none;
}

.process li {
  position: relative;
  display: flex;
  gap: 14px;
}

.process li:not(:last-child)::after {
  position: absolute;
  top: 38px;
  bottom: -22px;
  left: 17px;
  width: 1px;
  content: "";
  background: var(--gold-light);
}

.process li > span {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--navy-900);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 14px;
}

.process strong {
  color: var(--navy-900);
  font-size: 13px;
}

.process p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.final-cta {
  padding: 38px 24px 34px;
  background: var(--navy-900);
  color: white;
}

.final-cta__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(226, 207, 173, 0.38);
  border-radius: 20px;
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.final-cta h2 {
  margin-bottom: 12px;
  color: white;
}

.final-cta p {
  margin-bottom: 22px;
  color: #aebac7;
  font-size: 12px;
  line-height: 1.55;
}

.primary-button--light {
  background: white;
  color: var(--navy-900);
}

.footer {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a949f;
  font-size: 8px;
}

.footer p {
  margin: 0;
}

.questionnaire {
  min-height: calc(100vh - 72px);
  padding: 24px 20px max(24px, env(safe-area-inset-bottom));
  background: var(--canvas);
}

.progress {
  margin-bottom: 30px;
}

.progress__meta {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.04em;
}

.progress__track {
  height: 4px;
  overflow: hidden;
  background: #d9dee3;
  border-radius: 10px;
}

.progress__track span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
  transition: width 240ms ease;
}

.form-step {
  min-width: 0;
  padding: 0;
  border: 0;
}

.form-step legend {
  width: 100%;
  padding: 0;
  color: var(--navy-900);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.17;
}

.form-step__hint {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice {
  min-height: 94px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.choice:hover {
  transform: translateY(-1px);
  border-color: #b9c1ca;
}

.choice:has(input:checked) {
  background: #f4efe5;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.choice input,
.segmented input,
.upload input,
.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf0f3;
  color: var(--navy-700);
  font-size: 14px;
  font-weight: 500;
}

.choice:has(input:checked) .choice__icon {
  background: var(--navy-900);
  color: var(--gold-light);
}

.field {
  position: relative;
  margin-bottom: 17px;
  display: grid;
  gap: 7px;
}

.answer-modes {
  margin-bottom: 18px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #e3e6e7;
  border-radius: 13px;
}

.answer-mode {
  min-height: 46px;
  padding: 6px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.answer-mode span {
  color: #7c8794;
  font-size: 11px;
}

.answer-mode.is-active {
  background: var(--surface);
  color: var(--navy-900);
  box-shadow: 0 2px 8px rgba(14, 35, 65, 0.08);
}

.answer-mode.is-active span {
  color: var(--gold);
}

.answer-mode:focus-visible {
  outline: 3px solid rgba(58, 139, 199, 0.45);
  outline-offset: 1px;
}

.answer-panel {
  min-height: 268px;
}

.field__label {
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  transition:
    border 160ms ease,
    box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a2aab3;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(189, 152, 96, 0.12);
}

.field__counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding-left: 8px;
  background: var(--surface);
  color: #99a2ad;
  font-size: 9px;
}

.field-error {
  min-height: 0;
  margin: -8px 0 12px;
  color: var(--danger);
  font-size: 10px;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.privacy-note {
  margin-top: 22px;
  padding: 14px;
  display: flex;
  gap: 11px;
  background: #e8f1ed;
  border-radius: 12px;
  color: var(--success);
}

.privacy-note > span {
  font-size: 10px;
}

.privacy-note p {
  margin: 0;
  display: grid;
  gap: 3px;
  color: #5c7069;
  font-size: 10px;
  line-height: 1.45;
}

.privacy-note strong {
  color: var(--success);
}

.recorder {
  min-height: 268px;
  padding: 24px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.recorder.is-recording {
  border-color: rgba(181, 65, 65, 0.42);
  box-shadow: 0 0 0 4px rgba(181, 65, 65, 0.06);
}

.recorder__visual {
  width: 78px;
  height: 78px;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2ede4;
  color: var(--gold);
}

.recorder__mic {
  font-size: 17px;
}

.recorder__wave {
  display: none;
  align-items: center;
  gap: 3px;
}

.recorder__wave i {
  width: 3px;
  height: 18px;
  background: var(--danger);
  border-radius: 4px;
  animation: sound-wave 900ms ease-in-out infinite alternate;
}

.recorder__wave i:nth-child(2),
.recorder__wave i:nth-child(6) {
  height: 28px;
  animation-delay: -300ms;
}

.recorder__wave i:nth-child(3),
.recorder__wave i:nth-child(5) {
  height: 38px;
  animation-delay: -600ms;
}

.recorder__wave i:nth-child(4) {
  height: 48px;
  animation-delay: -150ms;
}

.recorder.is-recording .recorder__visual {
  background: #f8e9e9;
}

.recorder.is-recording .recorder__mic {
  display: none;
}

.recorder.is-recording .recorder__wave {
  display: flex;
}

.recorder__title {
  color: var(--navy-900);
  font-size: 13px;
}

.recorder__status {
  max-width: 270px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.recorder__timer {
  margin: 12px 0 15px;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recorder.is-recording .recorder__timer {
  color: var(--danger);
}

.recorder__playback {
  width: 100%;
  height: 42px;
  margin-bottom: 14px;
}

.recorder__actions {
  width: 100%;
  display: grid;
  gap: 8px;
}

.record-button,
.stop-button {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
}

.record-button {
  background: var(--navy-900);
  color: white;
}

.record-button span {
  margin-right: 6px;
  color: #e36b67;
}

.stop-button {
  background: var(--danger);
  color: white;
}

.stop-button span {
  margin-right: 6px;
  font-size: 9px;
}

.delete-recording {
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 9px;
  font-weight: 700;
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-950);
  border-radius: 13px;
}

.video-stage__placeholder {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: white;
}

.video-stage__placeholder > span {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
}

.video-stage__placeholder strong {
  font-size: 12px;
}

.video-stage__placeholder small {
  max-width: 220px;
  color: #aab4c0;
  font-size: 9px;
  line-height: 1.45;
}

.video-stage__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-stage__recording {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  background: rgba(181, 65, 65, 0.9);
  border-radius: 5px;
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recorder--video {
  padding: 12px;
}

.recorder__video-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

.recorder__video-meta .recorder__timer {
  margin: 11px 0;
  flex: 0 0 auto;
  font-size: 14px;
}

.recorder__video-meta .recorder__status {
  margin: 11px 0;
}

@keyframes sound-wave {
  from {
    transform: scaleY(0.35);
  }
  to {
    transform: scaleY(1);
  }
}

.upload {
  min-height: 150px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: var(--surface);
  border: 1px dashed #aeb8c2;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
}

.upload:hover {
  border-color: var(--gold);
}

.upload__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2ede4;
  color: var(--gold);
  font-size: 21px;
}

.upload strong {
  color: var(--navy-900);
  font-size: 12px;
}

.upload > span:last-child {
  color: var(--muted);
  font-size: 9px;
}

.file-list {
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.file-list li {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  background: #e8f1ed;
  border-radius: 10px;
  color: var(--success);
  font-size: 10px;
}

.file-list li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list li span:last-child {
  flex: 0 0 auto;
  color: #6e817a;
}

.segmented {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 8px;
}

.segmented label {
  min-height: 52px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.segmented label:has(input:checked) {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: white;
}

.consent {
  position: relative;
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  cursor: pointer;
}

.consent__box {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid #bfc6ce;
  border-radius: 5px;
  color: transparent;
  font-size: 12px;
}

.consent:has(input:checked) .consent__box {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: white;
}

.form-actions {
  margin-top: 28px;
  display: flex;
  gap: 9px;
}

.form-actions .primary-button {
  flex: 1;
}

.secondary-button {
  min-width: 92px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy-900);
}

.secondary-button:hover {
  background: #e7e9e8;
}

.prototype-note {
  margin: 16px 0 0;
  color: #929ba5;
  font-size: 9px;
  text-align: center;
}

.success {
  min-height: calc(100vh - 72px);
  padding: 68px 26px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.success__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 30px;
}

@media (max-width: 560px) {
  body[data-shell="telegram"] {
    background: var(--canvas);
  }

  body[data-shell="telegram"] .app-shell {
    min-height: 100dvh;
  }

  .topbar {
    padding-top: max(9px, env(safe-area-inset-top));
    height: calc(64px + env(safe-area-inset-top));
  }
}

@media (max-width: 350px) {
  .hero,
  .section,
  .questionnaire {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.app,
.questionnaire {
  background:
    radial-gradient(circle at 90% 4%, rgba(12, 48, 106, 0.46), transparent 28%),
    var(--canvas);
}

.topbar {
  background: rgba(5, 15, 32, 0.92);
  border-bottom-color: rgba(186, 197, 221, 0.12);
}

.brand,
.brand__text strong {
  color: #fff;
}

.brand__logo {
  width: 124px;
  height: auto;
  display: block;
}

.brand__mark {
  border-color: rgba(255, 255, 255, 0.65);
  background: #fff;
  color: var(--navy-950);
  font-family: Times, "Times New Roman", serif;
  text-transform: lowercase;
}

.brand__text {
  letter-spacing: -0.015em;
}

.brand__text strong {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: -0.025em;
  text-transform: none;
}

.brand__text span {
  color: var(--gold-light);
  letter-spacing: 0.14em;
}

.topbar__status {
  margin-right: 12px;
  color: var(--success);
}

.icon-button {
  border-color: var(--line);
  background: var(--surface);
  color: #fff;
}

.hero {
  isolation: isolate;
  padding-top: clamp(64px, 16vw, 72px);
  background: var(--navy-900) url("./assets/krasovskii-hero-original.webp") 50% 50% / cover
    no-repeat;
}

.hero::before {
  display: none;
}

.hero__watermark {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: auto;
  aspect-ratio: 1274 / 176;
  overflow: hidden;
}

.hero__watermark img {
  position: absolute;
  display: block;
  height: auto;
}

.hero__watermark-vladimir {
  top: 19.89%;
  left: 2.2%;
  width: 44.43%;
}

.hero__watermark-krasovskii {
  top: 3.98%;
  left: 48.04%;
  width: 50.08%;
}

.hero::after {
  z-index: -1;
  top: auto;
  right: -86px;
  bottom: -104px;
  width: 260px;
  height: 260px;
  border: 0;
  background: radial-gradient(circle, rgba(16, 169, 248, 0.2), transparent 67%);
}

.eyebrow {
  color: var(--gold-light);
}

.eyebrow::before {
  background: var(--brand-gradient);
}

.hero h1,
.section-heading h2,
.final-cta h2,
.success h2,
.form-step legend {
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(36px, 10vw, 47px);
  line-height: 0.98;
}

.hero__lead,
.hero__meta p span,
.final-cta p,
.footer,
.prototype-note {
  color: var(--muted);
}

.primary-button {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 12px 30px rgba(25, 137, 241, 0.24);
}

.primary-button:hover {
  background: linear-gradient(90deg, #2e97f7 0%, #21d0ff 100%);
  box-shadow: 0 14px 36px rgba(16, 169, 248, 0.32);
}

.primary-button--light {
  background: var(--brand-gradient);
  color: #fff;
}

.avatar {
  border-color: rgba(16, 169, 248, 0.7);
  background: rgba(25, 137, 241, 0.15);
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
}

.stats {
  background: var(--surface);
  border: 1px solid rgba(25, 137, 241, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.stats strong,
.case-card h3,
.process strong,
.process li > span {
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
}

.stats strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.stats span,
.case-card p,
.process p,
.form-step__hint,
.field__counter,
.recorder__status,
.upload > span:last-child,
.consent,
.success > p {
  color: var(--muted);
}

.section-heading > span,
.case-card__number {
  color: var(--gold-light);
}

.case-card {
  background:
    linear-gradient(110deg, rgba(25, 137, 241, 0.09), transparent 56%),
    var(--surface);
  border-color: rgba(186, 197, 221, 0.13);
}

.case-card__number {
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 700;
}

.quote {
  background:
    radial-gradient(circle at 90% 10%, rgba(16, 169, 248, 0.22), transparent 37%),
    var(--navy-900);
  border: 1px solid rgba(25, 137, 241, 0.22);
}

.quote__mark {
  color: rgba(25, 137, 241, 0.18);
  font-family: Times, "Times New Roman", serif;
}

.quote blockquote {
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 600;
}

.quote p {
  color: var(--gold-light);
}

.process li:not(:last-child)::after {
  background: linear-gradient(var(--gold-light), rgba(16, 169, 248, 0.08));
}

.process li > span {
  border-color: var(--gold);
  background: var(--navy-900);
}

.final-cta {
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 201, 255, 0.22), transparent 42%),
    var(--navy-900);
  border-top: 1px solid rgba(25, 137, 241, 0.18);
}

.final-cta__badge {
  border-color: rgba(16, 169, 248, 0.45);
  background: rgba(25, 137, 241, 0.11);
  color: var(--gold-light);
}

.progress__meta {
  color: var(--muted);
}

.progress__track {
  background: var(--surface-light);
}

.progress__track span {
  background: var(--brand-gradient);
  box-shadow: 0 0 16px rgba(16, 169, 248, 0.42);
}

.choice {
  background: var(--surface);
  border-color: var(--line);
  color: #fff;
}

.choice:hover {
  border-color: rgba(16, 169, 248, 0.58);
}

.choice:has(input:checked) {
  background:
    linear-gradient(125deg, rgba(25, 137, 241, 0.28), rgba(7, 201, 255, 0.08)),
    var(--surface);
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 1px var(--gold),
    0 8px 22px rgba(25, 137, 241, 0.13);
}

.choice__icon {
  background: var(--surface-light);
  color: var(--gold-light);
}

.choice:has(input:checked) .choice__icon {
  background: var(--brand-gradient);
  color: #fff;
}

.answer-modes {
  background: #101a2a;
  border: 1px solid rgba(186, 197, 221, 0.1);
}

.answer-mode,
.answer-mode span {
  color: #8794aa;
}

.answer-mode.is-active {
  background: var(--surface-light);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.answer-mode.is-active span {
  color: var(--gold-light);
}

.field__label,
.recorder__title,
.recorder__timer,
.upload strong,
.segmented label,
.secondary-button {
  color: #fff;
}

.field input,
.field textarea {
  border-color: var(--line);
  background: var(--surface);
  color: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7e8a9d;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(16, 169, 248, 0.14);
}

.field__counter {
  background: var(--surface);
}

.privacy-note {
  background: rgba(124, 255, 77, 0.08);
  border: 1px solid rgba(124, 255, 77, 0.18);
  color: var(--success);
}

.privacy-note p {
  color: #a9bcae;
}

.privacy-note strong {
  color: var(--success);
}

.recorder {
  background:
    radial-gradient(circle at 50% 0%, rgba(25, 137, 241, 0.14), transparent 48%),
    var(--surface);
  border-color: var(--line);
}

.recorder.is-recording {
  border-color: rgba(239, 101, 101, 0.58);
  box-shadow: 0 0 0 4px rgba(239, 101, 101, 0.08);
}

.recorder__visual,
.upload__icon {
  background: rgba(25, 137, 241, 0.14);
  color: var(--gold-light);
}

.recorder.is-recording .recorder__visual {
  background: rgba(239, 101, 101, 0.12);
}

.record-button {
  background: var(--brand-gradient-deep);
  color: #fff;
}

.video-stage {
  background:
    radial-gradient(circle at 50% 45%, rgba(12, 48, 106, 0.95), transparent 70%),
    var(--navy-950);
  border: 1px solid rgba(25, 137, 241, 0.16);
}

.video-stage__placeholder > span {
  border-color: rgba(16, 169, 248, 0.42);
  background: rgba(25, 137, 241, 0.12);
  color: var(--gold-light);
}

.video-stage__placeholder small {
  color: var(--muted);
}

.upload {
  background: var(--surface);
  border-color: rgba(16, 169, 248, 0.38);
}

.upload:hover {
  border-color: var(--cyan);
}

.file-list li {
  background: rgba(124, 255, 77, 0.08);
  color: var(--success);
}

.file-list li span:last-child {
  color: #a9bcae;
}

.segmented label {
  background: var(--surface);
  border-color: var(--line);
}

.segmented label:has(input:checked) {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #fff;
}

.consent__box {
  background: var(--surface);
  border-color: rgba(186, 197, 221, 0.35);
}

.consent:has(input:checked) .consent__box {
  background: var(--brand-gradient);
  border-color: var(--gold);
  color: #fff;
}

.secondary-button {
  border-color: var(--line);
  background: var(--surface);
}

.secondary-button:hover {
  background: var(--surface-light);
}

.success {
  background:
    radial-gradient(circle at 50% 22%, rgba(124, 255, 77, 0.08), transparent 28%),
    var(--canvas);
}

.success__icon {
  background: var(--success);
  color: var(--navy-950);
  box-shadow: 0 0 28px rgba(124, 255, 77, 0.2);
}

/* Чередование секций как на основном сайте */

#landingView > .section {
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 169, 248, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  color: var(--navy-950);
}

#landingView > .section .section-heading h2,
#landingView > .section .case-card h3,
#landingView > .section.process strong {
  color: var(--navy-950);
}

#landingView > .section .case-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(5, 25, 58, 0.1);
  box-shadow: 0 9px 24px rgba(5, 15, 32, 0.06);
}

#landingView > .section .case-card p,
#landingView > .section.process p {
  color: #59677a;
}

#landingView > .section.process li > span {
  border-color: rgba(25, 137, 241, 0.65);
  background: #fff;
  color: var(--navy-950);
  box-shadow: 0 5px 16px rgba(5, 15, 32, 0.08);
}

#landingView > .section.process li:not(:last-child)::after {
  background: linear-gradient(var(--gold-light), rgba(16, 169, 248, 0.14));
}

#landingView > .quote {
  margin: 0;
  padding: 52px 26px 46px;
  background:
    radial-gradient(circle at 92% 8%, rgba(16, 169, 248, 0.25), transparent 38%),
    linear-gradient(145deg, #05193a 0%, #050f20 72%);
  border-width: 1px 0;
  border-radius: 0;
}

#landingView > .quote blockquote {
  max-width: 340px;
  font-size: 23px;
  line-height: 1.35;
}

/* Версия 2.0 — интерфейс Telegram Mini App в стиле Liquid Glass */

.app {
  position: relative;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(16, 169, 248, 0.2), transparent 28%),
    radial-gradient(circle at 12% 52%, rgba(25, 137, 241, 0.12), transparent 36%),
    linear-gradient(180deg, #050f20 0%, #07152d 48%, #050b17 100%);
}

.topbar {
  background: rgba(5, 15, 32, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

.app-views {
  min-height: 0;
}

.app-view[hidden] {
  display: none !important;
}

.app-view {
  animation: app-view-in 220ms ease both;
}

@keyframes app-view-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero--compact {
  min-height: 470px;
  padding: 83px 14px 28px;
  background:
    linear-gradient(180deg, rgba(5, 15, 32, 0.08), rgba(5, 15, 32, 0.2)),
    url("./assets/krasovskii-hero-original.webp") 50% 50% / cover no-repeat;
}

.hero--compact h1 {
  max-width: 355px;
  margin: 18px 0 14px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: clamp(36px, 9.6vw, 43px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero--compact .hero__lead {
  max-width: 360px;
  margin-bottom: 24px;
  color: rgba(237, 244, 255, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.glass-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.glass-badge span {
  color: var(--success);
  font-size: 8px;
}

.primary-button--glass {
  position: relative;
  width: min(100%, 350px);
  min-height: 56px;
  padding: 4px 5px 4px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 40%),
    var(--brand-gradient);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 34px rgba(7, 152, 232, 0.3);
}

.primary-button--glass .primary-button__label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  text-align: left;
}

.primary-button--glass .primary-button__arrow {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1989f1;
  font-size: 22px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 18px rgba(5, 15, 32, 0.16);
}

.primary-button--glass::after {
  position: absolute;
  z-index: 0;
  top: -55%;
  left: -18%;
  width: 42%;
  height: 210%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: rotate(17deg);
}

.form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 18, 34, 0.72);
  color: rgba(255, 243, 243, 0.92);
  font-size: 13px;
  line-height: 1.45;
}

.form-status[data-tone="success"] {
  border-color: rgba(72, 198, 138, 0.34);
  color: rgba(227, 255, 240, 0.95);
}

.form-status[data-tone="error"] {
  border-color: rgba(255, 124, 124, 0.3);
  color: rgba(255, 233, 233, 0.95);
}

.glass-stats {
  position: relative;
  z-index: 2;
  margin: -18px 14px 0;
  padding: 18px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(9, 23, 46, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 45px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

.glass-stats article {
  padding: 0 7px;
  display: grid;
  gap: 5px;
  text-align: center;
}

.glass-stats article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-stats strong {
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.glass-stats span {
  color: rgba(224, 233, 247, 0.58);
  font-size: 8px;
  line-height: 1.25;
}

.home-section,
.route-card,
.inner-view {
  margin-right: 14px;
  margin-left: 14px;
}

.home-section {
  padding-top: 34px;
}

.app-section-heading,
.route-card__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.app-section-heading > div > span,
.route-card__top > div > span,
.view-heading > span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.app-section-heading h2,
.view-heading h1,
.empty-state h2 {
  margin: 0;
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-count {
  color: rgba(186, 197, 221, 0.46);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.service-grid,
.material-list,
.settings-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(10, 22, 42, 0.72);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 16px 38px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.glass-card--action {
  width: 100%;
  min-height: 78px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.glass-card--action > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.glass-card--action > span:last-child,
.settings-item > span:last-child {
  color: rgba(255, 255, 255, 0.48);
  font-size: 25px;
}

.glass-card__icon,
.material-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 169, 248, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(25, 137, 241, 0.26), rgba(7, 201, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  color: #68d2ff;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.glass-card strong {
  font-size: 13px;
}

.glass-card small {
  color: rgba(219, 228, 241, 0.55);
  font-size: 9px;
  line-height: 1.35;
}

.route-card {
  margin-top: 22px;
  padding: 18px;
}

.route-card__top > div {
  display: grid;
  gap: 3px;
}

.route-card__top strong {
  font-size: 13px;
}

.route-card__status {
  padding: 6px 8px;
  border: 1px solid rgba(124, 255, 77, 0.2);
  border-radius: 999px;
  background: rgba(124, 255, 77, 0.08);
  color: var(--success);
  font-size: 8px;
}

.route-steps {
  position: relative;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.route-steps::before {
  position: absolute;
  top: 13px;
  right: 16%;
  left: 16%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, #1989f1, #07c9ff);
}

.route-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.route-steps li > span {
  z-index: 1;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: linear-gradient(135deg, #1989f1, #07c9ff);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(25, 137, 241, 0.25);
}

.inner-view {
  min-height: 690px;
  padding: 34px 0 26px;
}

.view-heading {
  padding: 0 5px;
}

.view-heading h1 {
  font-size: 36px;
}

.view-heading p {
  margin: 12px 0 0;
  color: rgba(219, 228, 241, 0.63);
  font-size: 13px;
  line-height: 1.5;
}

.empty-state {
  margin-top: 26px;
  padding: 28px 20px 20px;
  text-align: center;
}

.empty-state__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 169, 248, 0.25);
  border-radius: 21px;
  background: radial-gradient(circle at 35% 25%, rgba(7, 201, 255, 0.3), rgba(25, 137, 241, 0.08));
  color: #7cddff;
  font-size: 28px;
}

.empty-state p {
  margin: 10px auto 20px;
  max-width: 280px;
  color: rgba(219, 228, 241, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.privacy-card {
  margin-top: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.privacy-card > span {
  color: var(--success);
}

.privacy-card p {
  margin: 5px 0 0;
  color: rgba(219, 228, 241, 0.55);
  font-size: 10px;
  line-height: 1.45;
}

.material-card {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
}

.material-card__icon {
  font-size: 11px;
  font-weight: 700;
}

.material-card > div {
  display: grid;
  gap: 6px;
}

.material-card p {
  margin: 0;
  color: rgba(219, 228, 241, 0.58);
  font-size: 10px;
  line-height: 1.45;
}

.material-card > div > span {
  color: var(--gold-light);
  font-size: 8px;
}

.profile-card {
  margin-top: 26px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
}

.profile-card__avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, #1989f1, #07c9ff);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.profile-card > div {
  display: grid;
  gap: 4px;
}

.profile-card > div > span {
  color: rgba(219, 228, 241, 0.55);
  font-size: 10px;
}

.profile-card__online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(124, 255, 77, 0.58);
}

.settings-item {
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  text-align: left;
}

.settings-item > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #7cddff;
}

.settings-item > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.liquid-nav {
  position: fixed;
  z-index: 30;
  right: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 410px);
  min-height: 76px;
  padding: 9px 7px 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 27px;
  background:
    radial-gradient(circle at 50% -45%, rgba(110, 202, 255, 0.2), transparent 54%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.035) 46%),
    rgba(5, 11, 22, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.23),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(7, 201, 255, 0.045);
  transform: translateX(50%);
  -webkit-backdrop-filter: blur(32px) saturate(185%);
  backdrop-filter: blur(32px) saturate(185%);
}

.liquid-nav::before {
  position: absolute;
  top: 4px;
  right: 13%;
  left: 13%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.liquid-nav__item {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 6px 2px;
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: rgba(224, 233, 247, 0.52);
  -webkit-tap-highlight-color: transparent;
}

.liquid-nav__icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
  color: currentColor;
}

.liquid-nav__icon::before,
.liquid-nav__icon::after {
  position: absolute;
  content: "";
  box-sizing: border-box;
}

.liquid-nav__icon--home::before {
  left: 4px;
  bottom: 1px;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 4px 4px;
}

.liquid-nav__icon--home::after {
  top: 2px;
  left: 5px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 2px 0 0;
  transform: rotate(45deg);
}

.liquid-nav__icon--appeals::before {
  top: 1px;
  left: 4px;
  width: 15px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.liquid-nav__icon--appeals::after {
  top: 7px;
  left: 7px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

.liquid-nav__icon--materials::before {
  top: 3px;
  left: 4px;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: rotate(45deg);
}

.liquid-nav__icon--materials::after {
  top: 9px;
  left: 9px;
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  opacity: 0.72;
}

.liquid-nav__icon--profile::before {
  top: 1px;
  left: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.liquid-nav__icon--profile::after {
  bottom: 1px;
  left: 3px;
  width: 16px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.liquid-nav__item small {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.liquid-nav__item.is-active {
  color: #6bd7ff;
  text-shadow: 0 0 18px rgba(7, 201, 255, 0.46);
}

.liquid-nav__item--primary {
  position: relative;
  align-self: center;
  margin-top: -27px;
  color: #fff;
}

.liquid-nav__item--primary > .liquid-nav__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #1989f1, #07c9ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 28px rgba(7, 169, 241, 0.48),
    0 0 0 5px rgba(25, 137, 241, 0.1);
}

.liquid-nav__icon--plus::before,
.liquid-nav__icon--plus::after {
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.liquid-nav__icon--plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.liquid-nav__item--primary small {
  color: rgba(255, 255, 255, 0.82);
}

.questionnaire,
.success {
  min-height: calc(100vh - 72px);
  padding-bottom: max(32px, calc(24px + env(safe-area-inset-bottom)));
}

@media (max-width: 350px) {
  .hero--compact {
    padding-right: 14px;
    padding-left: 14px;
  }

  .liquid-nav {
    width: calc(100% - 16px);
  }

  .liquid-nav__item small {
    font-size: 8px;
  }
}

/* Версия 3.0 — спокойный премиальный первый экран */

.hero--v3 {
  min-height: 500px;
}

.hero--v3::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  content: "";
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 15, 32, 0.06) 0%,
      rgba(5, 15, 32, 0.22) 53%,
      rgba(5, 15, 32, 0.78) 100%
    ),
    linear-gradient(180deg, transparent 42%, rgba(5, 15, 32, 0.42) 100%);
  pointer-events: none;
}

.hero--v3 > :not(.hero__watermark, .hero__portrait) {
  position: relative;
  z-index: 2;
}

.hero--v3 .hero__watermark {
  z-index: 2;
}

.hero--v3 .glass-badge {
  margin-bottom: 24px;
}

.hero--v3 h1 {
  max-width: 335px;
  margin: 0 0 22px;
  font-size: clamp(31px, 8.15vw, 37px);
  line-height: 1.08;
  letter-spacing: -0.043em;
}

.hero--v3 .hero__lead {
  max-width: 382px;
  margin-bottom: 30px;
  font-size: clamp(10.5px, 2.82vw, 12px);
  line-height: 1.58;
}

.hero--v3 .hero__lead span {
  display: block;
  white-space: nowrap;
}

.hero--v3 .hero__lead span + span {
  margin-top: 3px;
}

.hero__portrait {
  position: absolute;
  z-index: 0;
  right: -72px;
  bottom: 0;
  width: 50%;
  height: auto;
  display: block;
  opacity: 0.34;
  filter: brightness(0.46) contrast(0.82) saturate(0.65) blur(1.2px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 31%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 31%, #000 100%);
}

.hero--v3 + .glass-stats {
  padding-top: 15px;
  padding-bottom: 15px;
}

.hero--v3 + .glass-stats strong {
  font-size: 13px;
}

@media (max-width: 350px) {
  .hero__portrait {
    right: -82px;
    width: 56%;
    opacity: 0.3;
  }

  .hero--v3 h1 {
    font-size: 30px;
  }
}

.hero--v3 .primary-button--glass {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(105deg, #13b7f8 0%, #0b99dc 52%, #087fbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 30px rgba(4, 119, 180, 0.28);
}

.hero--v3 .primary-button--glass::after {
  display: none;
}

.hero--v3 .primary-button__label {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Финальная настройка ритма и двухколоночной композиции */

.hero--v3 {
  min-height: 540px;
  padding-top: 98px;
  padding-bottom: 44px;
}

.hero--v3 .hero__watermark {
  top: -3px;
}

.hero--v3 .glass-badge {
  max-width: 64%;
  margin-bottom: 20px;
  padding: 6px 9px;
  font-size: 8px;
}

.hero--v3 h1 {
  width: 64%;
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(28px, 7.35vw, 34px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.038em;
}

.hero--v3 .hero__lead {
  width: 64%;
  max-width: none;
  margin-bottom: 24px;
  color: rgba(242, 247, 255, 0.82);
  font-size: clamp(11px, 2.9vw, 12.5px);
  line-height: 1.65;
}

.hero--v3 .hero__lead span {
  white-space: normal;
}

.hero--v3 .hero__lead span + span {
  margin-top: 5px;
}

.hero--v3 .primary-button--glass {
  width: 64%;
  min-height: 50px;
  padding: 4px;
}

.hero--v3 .primary-button__label {
  padding-left: 10px;
  font-size: 14px;
}

.hero--v3 .primary-button__arrow {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 20px;
}

.hero__portrait {
  top: 112px;
  right: -8px;
  bottom: auto;
  width: 36%;
  opacity: 0.68;
  filter: brightness(0.72) contrast(0.94) saturate(0.82) blur(0.35px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.hero--v3::before {
  background:
    linear-gradient(
      90deg,
      rgba(5, 15, 32, 0.02) 0%,
      rgba(5, 15, 32, 0.08) 62%,
      rgba(5, 15, 32, 0.36) 100%
    ),
    linear-gradient(180deg, transparent 52%, rgba(5, 15, 32, 0.26) 100%);
}

.hero--v3 + .glass-stats {
  margin-top: -34px;
  padding-top: 14px;
  padding-bottom: 14px;
  transform: translateY(-15px);
}

.hero--v3 + .glass-stats strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero--v3 + .glass-stats span {
  color: rgba(224, 233, 247, 0.66);
  font-size: 8.2px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 350px) {
  .hero--v3 {
    min-height: 525px;
    padding-top: 94px;
  }

  .hero--v3 h1 {
    font-size: 27px;
  }

  .hero__portrait {
    top: 108px;
    right: -10px;
    width: 35%;
    opacity: 0.64;
  }
}

/* Поясной портрет и финальная типографика */

.hero--v3 h1 {
  width: 66%;
  margin-bottom: 24px;
  font-size: clamp(25px, 6.45vw, 27px);
  line-height: 1.14;
}

.hero--v3 h1 span {
  display: block;
  white-space: nowrap;
}

.hero--v3 .hero__lead,
.hero--v3 .primary-button--glass {
  width: 66%;
}

.hero__portrait {
  top: 60px;
  right: -18px;
  width: 41%;
  opacity: 0.74;
  filter: brightness(0.78) contrast(0.93) saturate(0.82) blur(0.2px);
  clip-path: inset(0 0 38% 0);
  -webkit-mask-image: radial-gradient(
    ellipse 76% 90% at 58% 42%,
    #000 52%,
    rgba(0, 0, 0, 0.86) 68%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 76% 90% at 58% 42%,
    #000 52%,
    rgba(0, 0, 0, 0.86) 68%,
    transparent 100%
  );
}

.hero--v3::after {
  position: absolute;
  z-index: 1;
  top: 215px;
  right: -18px;
  bottom: auto;
  width: 47%;
  height: 110px;
  content: "";
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 58% 50%,
    rgba(12, 126, 214, 0.28),
    rgba(7, 72, 142, 0.12) 48%,
    transparent 76%
  );
  filter: blur(14px);
  pointer-events: none;
}

.hero--v3 .primary-button__arrow {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 5px 12px rgba(5, 15, 32, 0.1);
}

@media (max-width: 350px) {
  .hero--v3 h1 {
    font-size: 22px;
  }

  .hero__portrait {
    top: 56px;
    right: -20px;
    width: 40%;
  }
}

/* Возврат к выбранной редакции первого экрана */

.hero--v3 {
  min-height: 500px;
  padding-top: 82px;
  padding-bottom: 36px;
}

.hero--v3 .hero__watermark {
  top: 0;
}

.hero--v3 h1 {
  width: 100%;
  max-width: 355px;
  margin: 0 0 28px;
  font-size: clamp(34px, 9vw, 37px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero--v3 .hero__lead {
  width: 100%;
  max-width: 382px;
  margin-bottom: 30px;
  color: rgba(235, 242, 253, 0.76);
  font-size: clamp(10.5px, 2.82vw, 12px);
  line-height: 1.58;
}

.hero--v3 .hero__lead span {
  display: block;
  white-space: nowrap;
}

.hero--v3 .hero__lead span + span {
  margin-top: 3px;
}

.hero--v3 .primary-button--glass {
  width: min(100%, 350px);
  min-height: 56px;
  padding: 4px 5px 4px 20px;
}

.hero--v3 .primary-button__label {
  padding-left: 0;
  font-size: 16px;
}

.hero--v3 .primary-button__arrow {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1989f1;
  font-size: 22px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 18px rgba(5, 15, 32, 0.16);
}

.hero__portrait {
  top: auto;
  right: -38px;
  bottom: 0;
  width: 52%;
  opacity: 0.76;
  filter: brightness(0.9) contrast(1.08) saturate(0.9);
  clip-path: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 20%,
    #000 34%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 20%,
    #000 34%,
    #000 100%
  );
}

.hero--v3::before {
  background:
    linear-gradient(
      90deg,
      rgba(5, 15, 32, 0.02) 0%,
      rgba(5, 15, 32, 0.08) 58%,
      rgba(5, 15, 32, 0.3) 100%
    ),
    linear-gradient(180deg, transparent 50%, rgba(5, 15, 32, 0.24) 100%);
}

.hero--v3::after {
  display: none;
}

@media (max-width: 350px) {
  .hero--v3 {
    min-height: 490px;
    padding-top: 78px;
  }

  .hero--v3 h1 {
    font-size: 32px;
  }

  .hero__portrait {
    right: -46px;
    width: 56%;
    opacity: 0.72;
  }
}

.hero--v3 .glass-badge {
  max-width: none;
  text-transform: none;
  letter-spacing: 0.035em;
}

.topbar {
  height: 72px;
  padding: 11px 18px;
  background: #000;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (max-width: 560px) {
  .topbar {
    height: calc(64px + env(safe-area-inset-top));
    padding: max(11px, env(safe-area-inset-top)) 18px 11px;
  }
}

.topbar {
  height: 64px;
  padding: 10px 18px;
}

.brand__logo {
  width: 112px;
}

.topbar__status {
  margin-right: 0;
  gap: 4px;
  font-size: 9px;
}

.topbar__status span {
  font-size: 6px;
}

@media (max-width: 560px) {
  .topbar {
    height: calc(58px + env(safe-area-inset-top));
    padding: max(8px, env(safe-area-inset-top)) 18px 8px;
  }
}

.topbar__status {
  margin-right: 8px;
}

.hero--v3 {
  background: linear-gradient(180deg, #061a38 0%, #082349 62%, #0b3266 100%);
}

.hero--v3::before {
  background: linear-gradient(
    180deg,
    rgba(4, 14, 31, 0.04) 0%,
    rgba(4, 14, 31, 0.08) 56%,
    rgba(4, 14, 31, 0.2) 100%
  );
}

.hero__portrait {
  filter: none;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Единый фон первого экрана без прямоугольных графических слоёв */

.hero--v3 {
  isolation: isolate;
  background: linear-gradient(180deg, #082349 0%, #082349 62%, #0b3266 100%);
}

.hero--v3::before,
.hero--v3::after {
  display: none;
  content: none;
}

.hero--v3 .hero__watermark {
  z-index: 1;
}

.hero--v3 > :not(.hero__watermark, .hero__portrait) {
  z-index: 3;
}

.hero--v3 .hero__portrait {
  z-index: 2;
  background: transparent;
  filter: none;
  mix-blend-mode: normal;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Затемнение фирменной надписи и скругления первого экрана как на сайте */

.hero--v3 {
  margin-right: 0;
  margin-left: 0;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 3, 12, 0.72) 0%,
      rgba(0, 5, 17, 0.5) 15%,
      rgba(2, 13, 32, 0.18) 28%,
      transparent 40%
    ),
    linear-gradient(180deg, #082349 0%, #082349 62%, #0b3266 100%);
}

@media (max-width: 350px) {
  .hero--v3 {
    margin-right: 0;
    margin-left: 0;
    border-radius: 0 0 20px 20px;
  }
}

/* Положение фотографии и мягкое растворение фигуры в фоне */

.hero--v3 .hero__portrait {
  right: -48px;
  bottom: 10px;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 40%,
    rgba(0, 0, 0, 0.92) 56%,
    rgba(0, 0, 0, 0.72) 74%,
    rgba(0, 0, 0, 0.28) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 40%,
    rgba(0, 0, 0, 0.92) 56%,
    rgba(0, 0, 0, 0.72) 74%,
    rgba(0, 0, 0, 0.28) 92%,
    transparent 100%
  );
}

@media (max-width: 350px) {
  .hero--v3 .hero__portrait {
    right: -52px;
    bottom: 8px;
  }
}

/* Поясной кадр: глаза на уровне оффера, лицо не пересекается с текстом */

.hero--v3 h1 {
  max-width: 310px;
}

.hero--v3 h1 span {
  display: block;
  white-space: nowrap;
}

.hero--v3 .hero__portrait {
  right: -78px;
  bottom: 25px;
  width: 63.6%;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.9) 68%,
    rgba(0, 0, 0, 0.54) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.9) 68%,
    rgba(0, 0, 0, 0.54) 84%,
    transparent 100%
  );
}

@media (max-width: 350px) {
  .hero--v3 h1 {
    max-width: 270px;
    font-size: 30px;
  }

  .hero--v3 .hero__portrait {
    right: -76px;
    bottom: 25px;
    width: 65.7%;
  }
}

/* Компактная кнопка и более спокойный портрет */

.hero--v3 .glass-badge {
  visibility: hidden;
}

.hero--v3 h1,
.hero--v3 .hero__lead {
  transform: translateY(-32px);
}

.hero--v3 .primary-button--glass {
  width: min(56%, 245px);
  margin-top: 9px;
}

.hero--v3 .primary-button__arrow {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.hero--v3 .hero__portrait {
  opacity: 0.72;
  filter: brightness(0.82) contrast(0.98) saturate(0.92);
}

.hero--v3 {
  min-height: 460px;
  padding-bottom: 22px;
}

@media (max-width: 350px) {
  .hero--v3 {
    min-height: 450px;
    padding-bottom: 18px;
  }
}

/* Второй прокручиваемый экран: объяснение процесса перед анкетой */

.process-section {
  min-height: 0;
  margin-top: 8px;
  padding: 34px 14px 52px;
  scroll-margin-top: 58px;
  color: #fff;
  background: #030d20;
  border-radius: 22px;
}

.process-section__heading h2 {
  margin: 0;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: clamp(30px, 7.9vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.process-section__heading p {
  margin: 11px 0 0;
  color: rgba(228, 236, 248, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.process-steps {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.process-step {
  position: relative;
  min-height: 98px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-content: center;
  column-gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(73, 132, 196, 0.22);
  border-radius: 22px;
  background: #10294c;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 30px rgba(0, 4, 14, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.process-step__number {
  position: static;
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  width: 48px;
  padding-right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: visible;
}

.process-step__number img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 48px;
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 8px 18px rgba(7, 160, 235, 0.18));
}

.process-step > div {
  grid-row: 1;
  grid-column: 1;
  min-width: 0;
  max-width: none;
  padding-right: 0;
}

.process-step h3 {
  margin: 0 0 8px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.process-step p {
  margin: 0;
  color: rgba(224, 233, 247, 0.68);
  font-size: 11px;
  line-height: 1.48;
}

.process-confidentiality {
  margin: 15px 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(224, 233, 247, 0.58);
  font-size: 10.5px;
  line-height: 1.45;
}

.process-confidentiality__icon {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.68;
}

.process-section__continue {
  width: 100%;
  min-height: 56px;
  margin-top: 42px;
  padding: 4px 5px 4px 20px;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(105deg, #13b7f8 0%, #0b99dc 52%, #087fbd 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 30px rgba(4, 119, 180, 0.28);
}

.process-section__continue::after {
  display: none;
}

.process-section__continue .primary-button__label {
  padding-left: 0;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.process-section__continue .primary-button__arrow {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1989f1;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 18px rgba(5, 15, 32, 0.16);
}

.mvp-placeholder {
  min-height: 690px;
  padding: 72px 5px 44px;
  color: #fff;
}

.mvp-placeholder__content {
  max-width: 355px;
}

.mvp-placeholder h1 {
  margin: 0;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.mvp-placeholder p {
  max-width: 330px;
  margin: 18px 0 0;
  color: rgba(219, 228, 241, 0.66);
  font-size: 13px;
  line-height: 1.55;
}

.mvp-placeholder__button {
  width: min(100%, 280px);
  min-height: 54px;
  margin-top: 30px;
}

@media (max-width: 350px) {
  .process-section {
    min-height: 0;
    margin-top: 8px;
    padding: 30px 12px 52px;
    border-radius: 20px;
  }

  .process-section__heading h2 {
    font-size: 29px;
  }

  .process-steps {
    margin-top: 22px;
  }

  .process-step {
    min-height: 94px;
    padding: 13px 14px;
    grid-template-columns: minmax(0, 1fr) 70px;
    column-gap: 10px;
  }

  .process-step__number {
    width: 48px;
  }

  .process-step__number img {
    height: 42px;
    max-width: 48px;
  }

  .mvp-placeholder {
    min-height: 640px;
    padding-top: 62px;
  }
}

/* Анкета версии 3.0 */

.questionnaire {
  min-height: calc(100vh - 64px);
  padding: 24px 18px max(32px, calc(24px + env(safe-area-inset-bottom)));
  background:
    radial-gradient(circle at 92% 2%, rgba(25, 137, 241, 0.2), transparent 28%),
    linear-gradient(180deg, #071a37 0%, #07152d 58%, #050f20 100%);
}

.questionnaire .progress {
  margin-bottom: 32px;
}

.questionnaire .progress__track {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.questionnaire .form-step legend {
  max-width: 370px;
  font-size: clamp(30px, 8vw, 36px);
  line-height: 1.03;
}

.questionnaire .form-step__hint {
  max-width: 360px;
  margin: 13px 0 25px;
  color: rgba(224, 233, 247, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.questionnaire .answer-modes__label {
  margin: 0 0 10px;
  color: rgba(244, 248, 255, 0.88);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.questionnaire .answer-modes {
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 15, 32, 0.7);
}

.questionnaire [data-step="1"] .answer-modes {
  margin-bottom: 10px;
}

.questionnaire [data-step="2"] .answer-modes {
  margin-bottom: 8px;
}

.questionnaire .answer-mode {
  min-height: 48px;
  gap: 5px;
  font-size: 10px;
}

.questionnaire .answer-mode span {
  font-size: 13px;
}

.answer-modes--two {
  grid-template-columns: repeat(2, 1fr);
}

.questionnaire .answer-panel {
  min-height: 0;
}

.questionnaire .field {
  margin-bottom: 18px;
}

.questionnaire .field__label {
  color: rgba(248, 251, 255, 0.94);
  font-size: 11px;
}

.questionnaire .field__label--required {
  position: relative;
  padding-left: 9px;
}

.questionnaire .field__label--contact-aligned {
  padding-left: 9px;
}

.questionnaire .field__label--required::before {
  position: absolute;
  top: -1px;
  left: 0;
  content: "*";
  color: #ff4d5f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.questionnaire .field input,
.questionnaire .field textarea {
  border-color: rgba(186, 197, 221, 0.17);
  background: rgba(18, 40, 73, 0.84);
}

.questionnaire .field--large textarea {
  min-height: 220px;
}

.questionnaire .field__counter {
  background: rgba(18, 40, 73, 0.94);
}

.questionnaire-confidentiality {
  margin: 18px 2px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(205, 216, 235, 0.5);
  font-size: 10.5px;
  line-height: 1.45;
}

.questionnaire-confidentiality > span {
  flex: 0 0 auto;
  opacity: 0.58;
  filter: grayscale(1);
}

.questionnaire-confidentiality p {
  margin: 0;
}

.questionnaire .upload {
  min-height: 128px;
  margin-bottom: 14px;
  border-color: rgba(28, 181, 249, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(25, 137, 241, 0.12), transparent 62%),
    rgba(14, 34, 65, 0.9);
}

.questionnaire .upload__icon {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.file-list li {
  padding: 10px 10px 10px 12px;
  align-items: center;
  border: 1px solid rgba(124, 255, 77, 0.12);
}

.file-list__meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.file-list__meta strong {
  overflow: hidden;
  color: #eaf7ee;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list__meta small {
  color: #8ca49a;
  font-size: 8px;
}

.file-list__remove {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.documents-explanation {
  margin-top: 18px;
  padding-top: 20px;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.documents-explanation__heading {
  margin-bottom: 15px;
}

.documents-explanation__heading strong {
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
}

.documents-explanation__heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.answer-panel--compact {
  min-height: 0;
}

#documentsVoicePanel:not([hidden]) {
  margin-bottom: 18px;
}

.recorder--compact {
  min-height: 232px;
  padding-top: 18px;
}

.recorder--compact .recorder__visual {
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
}

.questionnaire .segmented {
  grid-template-columns: 1fr 1fr;
}

.questionnaire .segmented label {
  min-height: 58px;
  border-color: rgba(186, 197, 221, 0.17);
  background: rgba(18, 40, 73, 0.84);
  font-size: 12px;
}

.questionnaire .segmented--binary {
  gap: 10px;
}

.questionnaire [data-step="3"] .segmented--binary {
  margin-bottom: 10px;
}

.questionnaire [data-step="3"] #deadlineField {
  margin-bottom: 10px;
}

.questionnaire .segmented--binary label {
  position: relative;
  min-height: 60px;
  overflow: hidden;
  border: 1px solid rgba(25, 137, 241, 0.5);
  background:
    linear-gradient(145deg, rgba(25, 137, 241, 0.11), rgba(7, 201, 255, 0.03)),
    rgba(18, 40, 73, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 20px rgba(0, 7, 24, 0.16);
  color: rgba(242, 247, 255, 0.92);
  font-size: 14px;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.questionnaire .segmented--binary label:active {
  transform: scale(0.985);
}

.questionnaire .segmented--binary label:has(input:checked) {
  border-color: rgba(69, 214, 255, 0.9);
  background: var(--brand-gradient);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 26px rgba(15, 163, 245, 0.28);
  color: #fff;
}

.deadline-examples {
  margin: -4px 0 18px;
  padding: 15px 16px 15px 30px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(25, 137, 241, 0.14);
  border-radius: 13px;
  background: rgba(18, 40, 73, 0.58);
  color: rgba(224, 233, 247, 0.62);
  font-size: 9px;
  line-height: 1.4;
}

.optional-label {
  color: rgba(224, 233, 247, 0.48);
  font-size: 8px;
  font-weight: 500;
}

.confirmation-card {
  margin-bottom: 22px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(25, 137, 241, 0.18);
  border-radius: 14px;
  background: rgba(18, 40, 73, 0.7);
}

.confirmation-card > span {
  flex: 0 0 auto;
  font-size: 14px;
}

.confirmation-card p {
  margin: 0;
  color: rgba(224, 233, 247, 0.68);
  font-size: 10px;
  line-height: 1.5;
}

.consent-group {
  overflow: hidden;
  border: 1px solid rgba(186, 197, 221, 0.13);
  border-radius: 13px;
  background: rgba(18, 40, 73, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 28px rgba(0, 6, 20, 0.12);
}

.questionnaire .consent-group .consent {
  min-height: 45px;
  margin: 0;
  padding: 6px 13px;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(224, 233, 247, 0.72);
  font-size: 10px;
  line-height: 1.35;
}

.questionnaire .consent__link {
  color: #39bfff;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 2px;
  transition:
    color 150ms ease,
    text-shadow 150ms ease;
}

.questionnaire .consent__link:hover,
.questionnaire .consent__link:focus-visible {
  color: #78d8ff;
  text-decoration: underline;
  text-shadow: 0 0 14px rgba(57, 191, 255, 0.24);
}

.consent-group .field-error {
  margin: -2px 13px 6px 43px;
}

.questionnaire .form-actions {
  margin-top: 30px;
}

.questionnaire form:has(.form-step[data-step="2"]:not([hidden])) .form-actions {
  margin: 12px 2px 0;
}

.questionnaire .form-actions .primary-button,
.questionnaire .form-actions .secondary-button {
  min-height: 54px;
  border-radius: 14px;
}

.success {
  min-height: calc(100vh - 64px);
  padding: 56px 24px max(34px, calc(26px + env(safe-area-inset-bottom)));
}

.success > * {
  position: relative;
  top: -60px;
}

.success h2 {
  max-width: 350px;
  margin: 14px 0 0;
  font-size: clamp(32px, 9vw, 40px);
  line-height: 1.04;
}

.success h2,
.success__message {
  transform: translateY(20px);
}

.success__message {
  width: 100%;
  max-width: 350px;
  margin: 18px 0 28px;
  display: grid;
  gap: 8px;
}

.success__message p {
  margin: 0;
  color: rgba(236, 244, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.success #restartDemo {
  transform: translateY(50px);
}

@media (max-width: 350px) {
  .questionnaire {
    padding-right: 14px;
    padding-left: 14px;
  }

  .questionnaire .form-step legend {
    font-size: 29px;
  }

  .questionnaire .answer-mode {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 9px;
  }

  .questionnaire .answer-mode span {
    font-size: 11px;
  }
}
