/* ============================================================
   АГМК — профориентация: промо-блок, квиз и страница результата
   ============================================================ */

/* ---------------------------------------------------- промо на /professions */

.quiz-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: center;
  margin: 0 0 1.1rem;
  padding: clamp(1.1rem, 2.6vw, 1.9rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--brand-700);
  background-image:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    url('/assets/img/hex-cover.svg'),
    linear-gradient(135deg, var(--brand-700) 0%, var(--brand-400) 100%);
  background-size: auto, 128px 74px, auto;
  background-repeat: no-repeat, repeat, no-repeat;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.quiz-promo__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.9;
}

.quiz-promo__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
}

.quiz-promo__text {
  margin: 0 0 0.9rem;
  max-width: 44rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.93);
}

.quiz-promo__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.quiz-promo__facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
}

.quiz-promo__facts strong {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.quiz-promo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.quiz-promo .btn--primary {
  background: #fff;
  border-color: #fff;
  color: #16796d;
}

.quiz-promo .btn--primary:hover {
  background: #f1fbf9;
  color: #12685e;
}

.quiz-promo__note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.86);
}

.quiz-promo__preview {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz-promo__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.62rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.8rem;
  backdrop-filter: blur(2px);
}

.quiz-promo__card strong {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.quiz-promo__card--2 {
  transform: translateX(-6%);
}

.quiz-promo__card--3 {
  transform: translateX(6%);
}

[data-theme='dark'] .quiz-promo {
  background-color: #14302c;
  background-image:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    url('/assets/img/hex-cover.svg'),
    linear-gradient(135deg, #16302c 0%, #23514a 100%);
}

@media (max-width: 900px) {
  .quiz-promo {
    grid-template-columns: minmax(0, 1fr);
  }

  .quiz-promo__preview {
    display: none;
  }
}

/* ------------------------------------------------------------------ квиз */

.quiz-page {
  padding-bottom: clamp(2rem, 5vw, 3.4rem);
}

.quiz {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.quiz-head {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.quiz-head__back {
  justify-self: start;
  margin-bottom: 0.3rem;
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.quiz-head__back:hover {
  text-decoration: underline;
}

.quiz-head__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.quiz-head__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text);
}

.quiz-head__lead {
  margin: 0.2rem 0 0;
  max-width: 62rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

/* прогресс */

.quiz-progress {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 0 0.2rem;
}

.quiz-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.quiz-progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-3);
}

.quiz-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-brand);
  transition: width 0.35s var(--ease);
}

/* экраны */

.quiz-screen {
  padding: 1.4rem 0 0.4rem;
}

.quiz-screen[hidden] {
  display: none;
}

.quiz-start {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.quiz-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz-facts li {
  display: grid;
  gap: 0.1rem;
  min-width: 6.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.quiz-facts strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-700);
}

.quiz-facts span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.quiz-start__note {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.quiz-step__count {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.quiz-step__count span {
  color: var(--text-dim);
  font-weight: 700;
}

.quiz-step__title {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.4vw, 1.42rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  outline: none;
}

.quiz-options {
  display: grid;
  gap: 0.5rem;
}

.quiz-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.quiz-option:hover {
  border-color: var(--brand-300);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option__key {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.16s var(--ease);
}

.quiz-option__text {
  padding-top: 0.2rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.quiz-option:has(input:checked) {
  border-color: var(--brand-700);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(28, 142, 128, 0.16);
}

.quiz-option:has(input:checked) .quiz-option__key {
  border-color: var(--brand-700);
  background: var(--brand-700);
  color: #fff;
}

.quiz-option:has(input:focus-visible) {
  outline: 2px solid var(--brand-700);
  outline-offset: 2px;
}

/* навигация */

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.quiz-nav[hidden] {
  display: none;
}

/* контакты */

.quiz-contact {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.quiz-contact[hidden] {
  display: none;
}

.quiz-contact__lead {
  margin: 0 0 0.6rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.quiz-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
  width: 100%;
  margin-bottom: 0.4rem;
}

.quiz-contact__grid .input {
  width: 100%;
}

.quiz-contact__hint {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.quiz-error {
  margin: 0.2rem 0 0.4rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e5b4b4;
  border-radius: var(--radius-xs);
  background: #fdf1f1;
  color: #a33a3a;
  font-size: 0.83rem;
  font-weight: 600;
}

[data-theme='dark'] .quiz-error {
  border-color: #6a3b3b;
  background: #33201f;
  color: #f0b8b8;
}

@media (max-width: 640px) {
  .quiz {
    padding: 1rem 0.95rem 1.2rem;
    border-radius: var(--radius);
  }

  .quiz-facts li {
    min-width: 0;
    flex: 1 1 auto;
  }
}

/* ============================================================
   Страница результата
   ============================================================ */

.res-page {
  padding-bottom: clamp(2rem, 5vw, 3.6rem);
}

.res-wrap {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
}

.res-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background-color: var(--brand-700);
  background-image:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.22), transparent 56%),
    url('/assets/img/hex-cover.svg'),
    linear-gradient(135deg, var(--brand-700) 0%, var(--brand-400) 100%);
  background-size: auto, 128px 74px, auto;
  background-repeat: no-repeat, repeat, no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

[data-theme='dark'] .res-hero {
  background-color: #14302c;
  background-image:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.12), transparent 56%),
    url('/assets/img/hex-cover.svg'),
    linear-gradient(135deg, #16302c 0%, #23514a 100%);
}

.res-hero__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.9;
}

.res-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.res-hero__lead {
  margin: 0 0 0.9rem;
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

.res-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.res-hero__badges li {
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
}

.res-hero__score {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
}

.res-hero__score-label {
  max-width: 9rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

/* кольцо процента */

.res-ring {
  color: #fff;
  overflow: visible;
}

.res-ring__track {
  stroke: rgba(255, 255, 255, 0.25);
}

.res-ring__value {
  stroke: #fff;
}

.res-ring__text {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
}

.res-match .res-ring {
  color: var(--brand-700);
}

.res-match .res-ring__track {
  stroke: var(--surface-3);
}

.res-match .res-ring__value {
  stroke: var(--brand-700);
}

.res-match .res-ring__text {
  fill: var(--brand-700);
  font-size: 20px;
}

/* панели */

.res-panel {
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.res-panel__head {
  margin-bottom: 1rem;
}

.res-panel__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.res-panel__title svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  color: var(--brand-700);
}

.res-panel__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* профиль: паутина + полосы */

.res-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(0.8rem, 2.5vw, 2rem);
  align-items: center;
}

.res-radar {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.res-radar__ring {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
}

.res-radar__axis {
  stroke: var(--border);
  stroke-width: 1;
}

.res-radar__shape {
  fill: rgba(55, 177, 161, 0.24);
  stroke: var(--brand-700);
  stroke-width: 2;
  stroke-linejoin: round;
}

.res-radar__label {
  fill: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
}

.res-bars {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.res-bar {
  display: grid;
  gap: 0.22rem;
}

.res-bar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.res-bar__label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.res-bar__value {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--brand-700);
}

.res-bar__track {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-3);
}

.res-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-brand);
}

.res-bar__fill--law {
  background: linear-gradient(90deg, #4f7fd4, #7fa6e8);
}

.res-bar__fill--nature {
  background: linear-gradient(90deg, #3f9b5c, #6cc182);
}

.res-bar__fill--care {
  background: linear-gradient(90deg, #cf5f7e, #e78ba4);
}

.res-bar__fill--people {
  background: linear-gradient(90deg, #d18f2c, #e8b45f);
}

.res-bar__fill--teach {
  background: linear-gradient(90deg, #6d5fbf, #9a8ce0);
}

.res-bar__fill--organize {
  background: linear-gradient(90deg, #1f7d8f, #49a8b8);
}

.res-bar__fill--service {
  background: linear-gradient(90deg, #b8632e, #de8a52);
}

.res-bar__level {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* характеристика */

.res-archetype {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--brand-700);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.65;
}

.res-traits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
}

.res-trait {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.res-trait__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.res-trait__name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text);
}

.res-trait__level {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.res-trait__note,
.res-trait__advice {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.res-trait__advice {
  margin-bottom: 0;
}

.res-trait__advice strong {
  color: var(--text);
}

/* сравнение со специальностью */

.res-compare {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.res-compare__row {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.res-compare__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.res-compare__bars {
  position: relative;
  display: grid;
  gap: 3px;
  height: 15px;
  align-content: center;
}

.res-compare__bar {
  display: block;
  height: 5px;
  border-radius: 999px;
}

.res-compare__bar--need {
  background: var(--surface-3);
}

.res-compare__bar--mine {
  background: var(--gradient-brand);
}

.res-compare__values {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-700);
  white-space: nowrap;
}

.res-compare__values span {
  font-weight: 600;
  color: var(--text-dim);
}

/* совпадения */

.res-matches {
  display: grid;
  gap: 0.7rem;
}

.res-match {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.res-match:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

.res-match__code {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.res-match__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.res-match__title a {
  color: var(--text);
  text-decoration: none;
}

.res-match__title a:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

.res-match__text,
.res-match__positions {
  margin: 0 0 0.4rem;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.res-match__positions span {
  font-weight: 700;
  color: var(--text);
}

.res-match__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* шаги */

.res-steps {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  counter-reset: none;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.res-steps li strong {
  color: var(--text);
}

.res-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.res-empty {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
}

/* поделиться */

.res-share {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.res-share__title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.res-share__sub {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.res-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.res-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s var(--ease);
}

.res-share__btn:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
  transform: translateY(-1px);
}

.res-share__btn--vk {
  border-color: #2a5c99;
  background: #3d6eb5;
  color: #fff;
}

.res-share__btn--vk:hover {
  background: #345f9e;
  color: #fff;
}

.res-share__btn--tg {
  border-color: #2a8ab5;
  background: #3aa6d6;
  color: #fff;
}

.res-share__btn--tg:hover {
  background: #3396c2;
  color: #fff;
}

.res-share__btn--ok {
  border-color: #d2691e;
  background: #ee8208;
  color: #fff;
}

.res-share__btn--ok:hover {
  background: #d97607;
  color: #fff;
}

.res-share__note {
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-3);
  color: var(--text);
}

.res-share__note[data-kind='ok'] {
  background: var(--brand-50);
  color: var(--brand-700);
}

.res-share__note[data-kind='warn'] {
  background: #fdf4e3;
  color: #8a6512;
}

.res-share__note[data-kind='error'] {
  background: #fdf1f1;
  color: #a33a3a;
}

[data-theme='dark'] .res-share__note[data-kind='warn'] {
  background: #332b18;
  color: #e8c877;
}

[data-theme='dark'] .res-share__note[data-kind='error'] {
  background: #33201f;
  color: #f0b8b8;
}

.res-disclaimer {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-dim);
  text-align: center;
}

/* адаптив */

@media (max-width: 900px) {
  .res-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .res-hero__score {
    justify-items: start;
    text-align: left;
  }

  .res-profile {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .res-match {
    grid-template-columns: minmax(0, 1fr);
  }

  .res-compare__row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.2rem;
  }

  .res-compare__bars {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* версия для слабовидящих */
[data-contrast='on'] .quiz-promo,
[data-contrast='on'] .res-hero {
  background: #003b36;
  background-image: none;
}

[data-contrast='on'] .res-radar__shape {
  fill: rgba(0, 0, 0, 0.12);
}

[data-contrast='on'] .quiz-option:has(input:checked) {
  box-shadow: 0 0 0 3px #000;
}

@media print {
  .quiz-promo,
  .res-share,
  .res-actions {
    display: none;
  }
}
