:root {
  --accent: #990066;
  --accent-pale: color-mix(in srgb, var(--accent) 42%, #fff);
  --accent-deep: color-mix(in srgb, var(--accent) 84%, #000);
  --accent-dim: color-mix(in srgb, var(--accent) 80%, var(--ink));
  --accent-mark: #ff4da6; /* монограмма логотипа на тёмном диске: --accent слишком тёмный, нужен светлый вариант того же оттенка (контраст на --ink ~6.7:1) */
  --ink: color-mix(in srgb, #000 90%, var(--accent));
  --ink-2: color-mix(in srgb, #000 84%, var(--accent));
  --muted: color-mix(in srgb, var(--ink) 55%, var(--paper));
  --paper: color-mix(in srgb, #fff 94%, var(--accent));
  --line: color-mix(in srgb, #fff 88%, var(--accent));
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.14);
  --danger: #b3261e;
  --danger-bg: #fbeae6;
  --danger-border: #e3b9ae;
  --warn: #c47d16;
  --warn-bg: #fff5e6;
  --warn-border: #f0d49f;
  --success: var(--accent);
  --success-bg: var(--paper);
  --success-border: var(--accent-pale);
  --rating: #f5b400;
  --rating-off: #d9d9ce;
  --info: color-mix(in srgb, var(--accent) 45%, var(--ink));
  --accent-dark: var(--accent-deep);
  --accent-soft: var(--accent-pale);
  --success-soft: var(--success-bg);
  --warning: var(--warn);
  --warning-bg: var(--warn-bg);
  --warning-border: var(--warn-border);
  --warning-soft: var(--warn-bg);
  --danger-soft: var(--danger-bg);
  --surface: var(--white);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --shadow-1: 0 8px 24px -8px color-mix(in srgb, var(--ink) 10%, transparent);
  --shadow-2: 0 24px 50px -28px color-mix(in srgb, var(--ink) 32%, transparent);
  --shadow-3: 0 12px 28px -10px color-mix(in srgb, var(--ink) 50%, transparent);
  --wrap: min(1240px, calc(100% - 48px));
  --section-pad: clamp(72px, 10vh, 140px);
  --font: "Onest", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--white) 82%, transparent);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  position: relative;
  width: var(--wrap);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-mark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__name {
  white-space: nowrap;
}

.brand__link-word {
  font-weight: 700;
}

.topbar__nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.topbar__nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__nav a:hover {
  color: var(--ink);
}

.topbar__actions {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.support-link,
.topbar__cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 17px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.support-link:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.topbar__cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 700;
}

.topbar__cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.topbar-menu {
  display: none;
}

.topbar-menu > summary {
  width: 42px;
  height: 42px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0 11px;
  cursor: pointer;
  list-style: none;
}

.topbar-menu > summary::-webkit-details-marker {
  display: none;
}

.topbar-menu > summary span {
  height: 2px;
  display: block;
  border-radius: var(--radius-pill);
  background: var(--ink);
}

.topbar-menu[open] > summary {
  background: var(--ink);
}

.topbar-menu[open] > summary span {
  background: var(--white);
}

.topbar-menu__panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 18px 0 24px;
  box-shadow: var(--shadow-1);
}

.topbar-menu__panel a {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.topbar-menu__panel a:hover {
  background: var(--paper);
}

.topbar-menu__panel .topbar-menu__cta {
  margin-top: 8px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.save-status {
  flex: none;
  color: var(--info);
  font-size: 13px;
  font-weight: 650;
}

.save-status[data-state="error"] {
  color: var(--danger);
}

.progress {
  --progress-inline-gap: 10px;
  width: min(960px, calc(100% - 48px));
  margin: 34px auto 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.progress__step {
  position: relative;
  min-width: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--progress-inline-gap);
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font: inherit;
  text-align: center;
}

.progress__step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 15px;
  right: calc(-50% + 48px);
  left: calc(50% + 48px);
  height: 1px;
  background: var(--line);
  content: "";
}

.progress__step[data-state="done"]:not(:last-child)::after {
  background: var(--ink);
}

.progress__bar {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress__step:nth-child(1) .progress__bar::before {
  content: "1";
}

.progress__step:nth-child(2) .progress__bar::before {
  content: "2";
}

.progress__step:nth-child(3) .progress__bar::before {
  content: "3";
}

.progress__step:nth-child(4) .progress__bar::before {
  content: "4";
}

.progress__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress__step[data-state="active"] .progress__bar {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--accent);
}

.progress__step[data-state="done"] .progress__bar {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.progress__step[data-state="active"] .progress__label,
.progress__step[data-state="done"] .progress__label {
  color: var(--ink);
}

.progress__step:not(:disabled) {
  cursor: pointer;
}

@media (min-width: 761px) {
  .progress__step:not(:last-child)::after {
    right: -50%;
    left: 50%;
  }

  .progress__bar,
  .progress__label {
    box-shadow: 0 0 0 var(--progress-inline-gap) var(--white);
  }

  .progress__label {
    background: var(--white);
  }
}

.workspace {
  width: min(960px, calc(100% - 48px));
  margin: 14px auto 88px;
}

.workspace.qualification-workspace {
  width: var(--wrap);
}

.tool,
.result {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.tool__header {
  min-height: 118px;
  padding: 30px 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1.5px solid var(--line);
}

.step-label {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.05;
}

.delete-button {
  flex: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.delete-button:hover,
.delete-button:focus-visible {
  color: var(--danger);
}

.questions {
  padding: 6px 34px 0;
}

.question {
  min-width: 0;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1.5px solid var(--line);
}

.question:last-child {
  border-bottom: 0;
}

.question__number {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.question__title {
  max-width: 700px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.question__help {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.choices {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.choices[data-count="3"],
.choices[data-count="4"],
.choices[data-count="5"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 11px 14px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.choice:hover,
.choice:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: inset 3px 0 0 var(--accent);
}

.number-input {
  width: 150px;
  height: 52px;
  margin-top: 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 0 15px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.number-input:focus {
  border-color: var(--ink);
  background: var(--white);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.number-picker {
  margin-top: 18px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}

.number-picker__presets {
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 10px;
}

.number-picker__button {
  min-height: 58px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.number-picker__button:hover,
.number-picker__button:focus-visible {
  border-color: var(--ink);
}

.number-picker__button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--accent);
}

.number-picker__other {
  min-width: 210px;
  display: grid;
  grid-template-columns: auto 92px;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 0 10px 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.number-picker__other .number-input {
  width: 92px;
  height: 42px;
  margin: 0;
  background: var(--white);
}

.question[data-invalid="true"] .question__title {
  color: var(--danger);
}

.question__error {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 650;
}

@media (min-width: 901px) {
  .qualification-workspace .tool__header {
    align-items: center;
    padding: 34px 46px;
  }

  .qualification-workspace .questions {
    padding: 8px 46px 0;
  }

  .qualification-workspace .actions {
    padding: 22px 46px 30px;
  }
}

.form-error {
  min-height: 20px;
  margin: 0;
  padding: 0 34px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 650;
}

.form-recovery {
  margin: -8px 0 0;
  padding: 0 34px;
  font-size: 14px;
  font-weight: 700;
}

.form-recovery a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.actions {
  min-height: 96px;
  padding: 20px 34px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1.5px solid var(--line);
}

.qualification-workspace #nextButton {
  margin-left: auto;
}

.button {
  min-height: 50px;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.button--primary {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button--primary:hover:not(:disabled) {
  border-color: var(--accent-deep);
  background: var(--accent);
  color: var(--ink);
}

.button--secondary {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover:not(:disabled) {
  background: var(--ink);
  color: var(--white);
}

.loading {
  margin: 0;
  padding: 44px 0;
  color: var(--muted);
}

.result {
  padding: 36px;
  border-top: 6px solid var(--info);
}

.result[data-result="allow"] {
  border-top-color: var(--success);
  background: var(--success-bg);
}

.result[data-result="review"],
.result[data-result="warn"] {
  border-top-color: var(--accent);
  background: var(--paper);
}

.result[data-result="stop"] {
  border-top-color: var(--danger);
  background: var(--danger-bg);
}

.result__status {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result__message {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.result__guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.result__guidance[hidden] {
  display: none;
}

.result__guidance section {
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--white) 72%, transparent);
}

.result__guidance h2,
.result__issues h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.result__guidance p,
.result__issues p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.result__issues {
  margin-top: 24px;
}

.result__issues ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result__issues li {
  padding: 15px 17px;
  border-left: 3px solid var(--warning);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--white) 66%, transparent);
}

.result__issues li p {
  margin-top: 5px;
}

.result__issue-action {
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.result__notice {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.result__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: var(--white);
}

.site-footer__inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 64px 0 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
}

.brand--footer {
  gap: 11.78px;
  color: var(--white);
  font-size: 20.9px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.brand--footer:hover {
  color: var(--white);
}

.brand--footer .brand__mark {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 0;
  box-shadow: 0 0 0 max(1px, 1.71px) color-mix(in srgb, var(--white) 72%, var(--accent));
  font-size: 14.06px;
  letter-spacing: 0;
}

.brand--footer .brand__link-word {
  font-weight: 800;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  color: inherit;
}

.site-footer__brand > p {
  max-width: 36ch;
  margin: 0;
  color: color-mix(in srgb, var(--white) 66%, transparent);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__contacts {
  margin-top: 22px;
}

.site-footer__brand h3,
.site-footer__column h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Заголовок-ссылка колонки «Экосистема» — как заголовок, акцент при наведении. */
.site-footer__column h2 a {
  color: inherit;
  text-decoration: none;
}

.site-footer__column h2 a:hover {
  color: var(--accent);
}

.site-footer__brand h3 {
  margin-bottom: 12px;
}

.site-footer__contacts > a,
.site-footer__column > a,
.site-footer__column > span {
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: color-mix(in srgb, var(--white) 66%, transparent);
  font-size: 14px;
  line-height: normal;
  text-decoration: none;
}

.site-footer__contacts > a {
  padding: 5px 0;
  color: color-mix(in srgb, var(--white) 70%, transparent);
}

.site-footer__contacts > a:hover,
.site-footer__column > a:hover,
.site-footer__partner > a:hover {
  color: var(--accent);
}

.site-footer__partner {
  margin-bottom: 16px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  padding-left: 12px;
}

.site-footer__partner:last-child {
  margin-bottom: 0;
}

.site-footer__partner > a {
  padding: 0;
  color: color-mix(in srgb, var(--white) 92%, transparent);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.site-footer__partner > p {
  max-width: 24ch;
  margin: 4px 0 0;
  color: color-mix(in srgb, var(--white) 55%, transparent);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-dark);
}

.site-footer__bottom > p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 66%, transparent);
  font-size: 13px;
}

.site-footer__disclaimer {
  max-width: 72ch;
  line-height: 1.5;
  text-align: left;
}

.site-footer__disclaimer > span {
  display: block;
}

noscript {
  display: block;
  margin: 20px;
  color: var(--danger);
  text-align: center;
}

@media (max-width: 820px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__disclaimer {
    text-align: left;
  }
}

@media (max-width: 1120px) {
  .topbar__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .topbar__nav {
    display: none;
  }

  .topbar__actions {
    min-width: 0;
  }

  .topbar__actions > a {
    display: none;
  }

  .topbar-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(100% - 24px, 1240px);
  }

  .topbar__inner {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 11px;
  }

  .save-status {
    max-width: 94px;
    text-align: right;
  }

  .topbar__actions {
    gap: 8px;
  }

  .support-link {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .topbar-menu > summary {
    width: 38px;
    height: 38px;
    padding-inline: 10px;
  }

  .progress,
  .workspace {
    width: min(100% - 24px, 960px);
  }

  .progress {
    margin-top: 20px;
  }

  .progress__step {
    flex-direction: column;
    gap: 7px;
  }

  .progress__step:not(:last-child)::after {
    right: calc(-50% + 20px);
    left: calc(50% + 20px);
  }

  .progress__label {
    min-height: 28px;
    overflow: visible;
    background: transparent;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .tool {
    border-radius: var(--radius);
  }

  .tool__header,
  .questions,
  .form-error,
  .actions {
    padding-right: 19px;
    padding-left: 19px;
  }

  .tool__header {
    min-height: 96px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  h1 {
    font-size: 25px;
  }

  .delete-button {
    max-width: 74px;
    text-align: right;
  }

  .question {
    padding: 22px 0;
  }

  .question__title {
    font-size: 16px;
  }

  .choices,
  .choices[data-count="3"],
  .choices[data-count="4"],
  .choices[data-count="5"],
  .result__guidance {
    grid-template-columns: 1fr;
  }

  .actions {
    min-height: 84px;
  }

  .button {
    padding-inline: 18px;
  }

  .result {
    padding: 26px 20px;
  }
}

@media (max-width: 520px) {
  .brand__name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand--footer .brand__name {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    padding-top: 56px;
  }

  .site-footer__bottom {
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
