:root {
  --cream: #fff9ed;
  --sage: #b4d0cd;
  --lilac: #beacc2;
  --pink: #e088b7;
  --ink: #29242a;
  --muted: #686068;
  --paper: #fffdf8;
  --line: rgba(41, 36, 42, 0.16);
  --soft-line: rgba(41, 36, 42, 0.09);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --hand: "Ink Free", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--cream);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 249, 237, 0.93), rgba(255, 249, 237, 0.93)),
    radial-gradient(circle at 20% 20%, var(--sage), transparent 38%);
  color: var(--ink);
  font-family: var(--sans);
}

button,
a,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible + label {
  outline: 3px solid rgba(41, 36, 42, 0.72);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.ambient--one {
  top: -280px;
  right: -220px;
  width: 640px;
  height: 640px;
  background: rgba(190, 172, 194, 0.24);
}

.ambient--two {
  bottom: -260px;
  left: -260px;
  width: 580px;
  height: 580px;
  background: rgba(180, 208, 205, 0.24);
}

.site-header,
.hero,
.recognition,
.site-footer,
.quiz,
.result {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: clamp(178px, 19vw, 240px);
  height: auto;
}

.header-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.72fr);
  gap: clamp(56px, 8vw, 116px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 695px;
  margin: 0 auto;
  padding: 84px 0 90px;
}

.eyebrow {
  display: block;
  margin-bottom: 23px;
  color: #77566d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1,
.quiz__intro h1,
.result__identity h1,
.appointment h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(49px, 5.8vw, 82px);
  line-height: 0.99;
}

.hero h1 em,
.appointment h2 em {
  color: #8e526f;
  font-weight: 400;
}

.hero__lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: #514951;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 56px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--pink);
  box-shadow: 7px 7px 0 rgba(190, 172, 194, 0.6);
  color: var(--ink);
}

.button--primary:hover {
  background: #d97aad;
  box-shadow: 4px 4px 0 rgba(190, 172, 194, 0.75);
}

.button--primary:disabled {
  background: #ded6dc;
  box-shadow: none;
  color: #8c848b;
  cursor: not-allowed;
  transform: none;
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--quiet:hover {
  background: rgba(180, 208, 205, 0.24);
}

.button--dark {
  background: var(--ink);
  color: var(--cream);
}

.button--dark:hover {
  background: #463941;
}

.button--lime {
  background: #c7ff3d;
  box-shadow: 7px 7px 0 rgba(41, 36, 42, 0.24);
  color: #29242a;
}

.button--lime:hover {
  background: #b9f12f;
  box-shadow: 4px 4px 0 rgba(41, 36, 42, 0.3);
}

.hero__microcopy {
  max-width: 210px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.diagnostic-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 22px 22px 0 rgba(180, 208, 205, 0.42);
  backdrop-filter: blur(8px);
}

.diagnostic-card::before {
  position: absolute;
  top: -15px;
  right: 32px;
  width: 72px;
  height: 30px;
  background: rgba(224, 136, 183, 0.62);
  content: "";
  transform: rotate(2deg);
}

.diagnostic-card__annotation {
  position: absolute;
  top: -88px;
  left: -58px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #181518;
  font-family: var(--hand);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-4deg);
}

.diagnostic-card__annotation i {
  position: relative;
  display: block;
  width: clamp(70px, 7vw, 102px);
  height: 34px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  transform: translateY(15px) rotate(10deg);
}

.diagnostic-card__annotation i::after {
  position: absolute;
  top: 1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(24deg);
}

.diagnostic-card__number {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.diagnostic-card > p {
  max-width: 300px;
  margin: 20px 0 31px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.15;
}

.energy-map {
  border-top: 1px solid var(--line);
}

.energy-map__row {
  display: grid;
  grid-template-columns: 27px 1fr minmax(110px, auto);
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--soft-line);
}

.energy-map__row span {
  color: var(--muted);
  font-size: 9px;
}

.energy-map__row div {
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--lilac));
  transform-origin: left;
}

.energy-map__row:nth-child(2) div,
.energy-map__row:nth-child(5) div {
  transform: scaleX(0.67);
}

.energy-map__row:nth-child(3) div {
  transform: scaleX(0.84);
}

.energy-map__row:nth-child(4) div {
  transform: scaleX(0.5);
}

.energy-map__row:nth-child(6) div {
  transform: scaleX(0.76);
}

.energy-map__row strong {
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.diagnostic-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 27px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.diagnostic-card__foot strong {
  color: var(--ink);
}

.recognition {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 96px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.recognition__label {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recognition__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.recognition article {
  min-height: 170px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.75);
}

.recognition article span {
  color: #8e526f;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.recognition article p {
  max-width: 290px;
  margin: 42px 0 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.3;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer span {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
}

.quiz {
  width: min(1000px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 60px;
}

.quiz__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 21px;
}

.quiz__progress-copy {
  display: grid;
  gap: 5px;
  text-align: right;
}

.quiz__progress-copy span {
  color: #77566d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiz__progress-copy strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.progress {
  height: 5px;
  overflow: hidden;
  background: rgba(41, 36, 42, 0.1);
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--pink));
  transition: width 260ms ease;
}

.quiz__body {
  padding: 64px 0 25px;
}

.quiz__intro {
  max-width: 760px;
  margin-bottom: 46px;
}

.quiz__intro h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}

.quiz__intro > p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.35;
}

.scale-note {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 13px;
  background: rgba(180, 208, 205, 0.34);
  color: #4f5f5d;
  font-size: 11px;
  font-weight: 600;
}

.questions {
  display: grid;
  gap: 18px;
}

.question {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
}

.question legend {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.36;
}

.question legend > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--lilac);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 750;
}

.answers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-left: 41px;
}

.answer {
  position: relative;
}

.answer input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.answer label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.answer label:hover {
  border-color: rgba(41, 36, 42, 0.42);
  color: var(--ink);
}

.answer label > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}

.answer input:checked + label {
  border-color: var(--ink);
  background: var(--pink);
  color: var(--ink);
}

.answer input:checked + label > span {
  background: var(--ink);
  color: var(--cream);
}

.quiz__navigation {
  position: sticky;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 249, 237, 0.92);
  box-shadow: 0 12px 38px rgba(41, 36, 42, 0.12);
  backdrop-filter: blur(12px);
}

.result-header {
  margin-bottom: 0;
}

.result {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 90px;
}

.result__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.result__identity {
  padding: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.8);
}

.result__identity h1 {
  max-width: 760px;
  color: #6f445c;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
}

.profile-leak {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 26px;
  align-items: baseline;
  margin-top: 34px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-leak > span {
  color: #77566d;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-leak > strong {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.2;
}

.result__identity > p {
  max-width: 700px;
  margin: 28px 0 0;
  color: #514951;
  font-size: 18px;
  line-height: 1.6;
}

.tie-note {
  margin-top: 28px;
  padding: 15px 17px;
  border-left: 3px solid var(--pink);
  background: rgba(224, 136, 183, 0.12);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.tie-note strong {
  color: var(--ink);
}

.result__level {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 445px;
  padding: 34px 48px 44px;
  border: 1px solid var(--line);
  background: var(--sage);
}

.result__level > span {
  display: block;
  margin-bottom: 25px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.result__level-content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(205px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
}

.result__level-score {
  text-align: center;
}

.result__level-score > strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(78px, 8vw, 108px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.result__level-score > strong small {
  color: #596967;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

.result__level-score h2 {
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: clamp(31px, 3.2vw, 43px);
  font-weight: 400;
  line-height: 1.05;
}

.result__level-content > p {
  margin: 0;
  padding: 8px 0 8px 38px;
  border-left: 1px solid rgba(41, 36, 42, 0.24);
  color: #40504e;
  font-size: 16px;
  line-height: 1.68;
}

.result__profile-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  gap: 38px;
  align-items: center;
  margin-top: 28px;
  padding: 31px 36px;
  background: linear-gradient(
    90deg,
    rgba(224, 136, 183, 0.3),
    rgba(190, 172, 194, 0.38)
  );
}

.result__profile-intro > span {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.result__profile-intro p {
  max-width: 830px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
}

.result__profile {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 25px;
  margin-top: 25px;
}

.profile-reading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.reading-card {
  min-height: 178px;
  padding: 31px;
}

.reading-card--signal {
  background: rgba(190, 172, 194, 0.4);
}

.reading-card--open {
  background: rgba(255, 253, 248, 0.86);
}

.reading-card span,
.profile-reading blockquote span,
.score-map__header span {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reading-card p {
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.32;
}

.profile-reading blockquote {
  margin: 0;
  padding: 34px 32px;
  background: var(--ink);
  color: var(--cream);
}

.profile-reading blockquote span {
  color: var(--pink);
}

.profile-reading blockquote p {
  max-width: 690px;
  margin: 17px 0 0;
  font-family: var(--display);
  font-size: 25px;
  font-style: italic;
  line-height: 1.35;
}

.score-map {
  padding: 34px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
}

.score-map__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.score-map__header small {
  color: var(--muted);
  font-size: 10px;
}

.score-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.score-row + .score-row {
  margin-top: 17px;
}

.score-row__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(180, 208, 205, 0.48);
  color: #55716e;
}

.score-row__icon::before {
  width: 20px;
  height: 20px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--score-icon) center / contain no-repeat;
  mask: var(--score-icon) center / contain no-repeat;
}

.score-row__icon--brain {
  --score-icon: url("./icons/brain.svg");
}

.score-row__icon--scale {
  --score-icon: url("./icons/scale.svg");
}

.score-row__icon--eye {
  --score-icon: url("./icons/eye.svg");
}

.score-row__icon--star {
  --score-icon: url("./icons/star.svg");
}

.score-row__icon--battery-low {
  --score-icon: url("./icons/battery-low.svg");
}

.score-row__icon--focus {
  --score-icon: url("./icons/focus.svg");
}

.score-row__copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.score-row__copy strong {
  color: var(--ink);
}

.score-row__track {
  height: 7px;
  overflow: hidden;
  background: rgba(41, 36, 42, 0.1);
}

.score-row__track span {
  display: block;
  width: var(--bar-width);
  height: 100%;
  background: var(--sage);
}

.score-row--dominant .score-row__copy span {
  color: #7a4161;
  font-weight: 750;
}

.score-row--dominant .score-row__icon {
  background: rgba(224, 136, 183, 0.26);
  color: #9b4f78;
}

.score-row--dominant .score-row__track span {
  background: var(--pink);
}

.appointment {
  position: relative;
  margin-top: 92px;
  padding: 68px;
  overflow: hidden;
  background: var(--lilac);
}

.appointment::after {
  position: absolute;
  right: -150px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(41, 36, 42, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 249, 237, 0.08),
    0 0 0 70px rgba(255, 249, 237, 0.07);
  content: "";
}

.appointment__copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.appointment__message {
  max-width: 820px;
  color: #3f3940;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.appointment__message p {
  margin: 0;
}

.appointment__message p + p {
  margin-top: 20px;
}

.appointment__message .appointment__statement {
  color: #70405a;
  font-family: var(--display);
  font-size: clamp(27px, 2.8vw, 39px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.appointment .button {
  margin-top: 34px;
  min-height: 72px;
  padding: 18px 30px;
  font-size: 16px;
}

.result__footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.result__footer p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 70px 0 88px;
  }

  .diagnostic-card {
    max-width: 620px;
  }

  .recognition__grid,
  .result__profile {
    grid-template-columns: 1fr;
  }

  .recognition article {
    min-height: 140px;
  }

  .recognition article p {
    margin-top: 25px;
  }

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

  .result__overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .appointment {
    padding: 54px 44px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .recognition,
  .site-footer,
  .quiz,
  .result {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    padding: 18px 0;
  }

  .header-note {
    display: none;
  }

  .brand__logo {
    width: clamp(158px, 48vw, 190px);
  }

  .hero {
    min-height: auto;
    padding: 61px 0 70px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 59px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__microcopy {
    max-width: none;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .diagnostic-card {
    padding: 26px 21px;
    box-shadow: 10px 10px 0 rgba(180, 208, 205, 0.42);
  }

  .diagnostic-card__annotation {
    top: -58px;
    left: 8px;
    font-size: clamp(16px, 4.8vw, 18px);
  }

  .diagnostic-card__annotation i {
    width: clamp(64px, 24vw, 92px);
  }

  .diagnostic-card > p {
    font-size: 26px;
  }

  .energy-map__row {
    grid-template-columns: 24px 1fr minmax(100px, auto);
  }

  .recognition {
    margin-bottom: 64px;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .quiz {
    width: min(100% - 24px, 1000px);
  }

  .quiz__header {
    padding: 16px 0;
  }

  .quiz__body {
    padding-top: 44px;
  }

  .quiz__intro {
    margin-bottom: 32px;
  }

  .quiz__intro h1 {
    font-size: 43px;
  }

  .quiz__intro > p {
    font-size: 18px;
  }

  .question {
    padding: 20px 15px;
  }

  .question legend {
    gap: 11px;
    font-size: 17px;
  }

  .answers {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-left: 0;
  }

  .answer label {
    gap: 7px;
    padding: 8px;
    font-size: 10px;
  }

  .quiz__navigation {
    bottom: 8px;
    padding: 9px;
  }

  .quiz__navigation .button {
    width: auto;
    min-height: 50px;
    padding: 12px 14px;
    font-size: 10px;
  }

  .result {
    padding: 45px 0 68px;
  }

  .result__identity {
    padding: 35px 24px;
  }

  .result__identity h1 {
    font-size: 50px;
  }

  .profile-leak {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 27px;
    padding: 16px 0;
  }

  .result__identity > p {
    font-size: 15px;
  }

  .result__level {
    min-height: 0;
    padding: 36px 25px;
  }

  .result__level > span {
    margin-bottom: 28px;
  }

  .result__level-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .result__level-content > p {
    padding: 24px 0 0;
    border-top: 1px solid rgba(41, 36, 42, 0.24);
    border-left: 0;
    font-size: 15px;
  }

  .result__level-score > strong {
    font-size: 82px;
  }

  .result__level-score h2 {
    margin-top: 22px;
    font-size: 34px;
  }

  .result__profile-intro {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 27px 23px;
  }

  .profile-reading {
    grid-template-columns: 1fr;
  }

  .reading-card {
    min-height: 200px;
    padding: 26px 23px;
  }

  .reading-card p {
    margin-top: 30px;
  }

  .profile-reading blockquote {
    grid-column: auto;
    padding: 29px 23px;
  }

  .score-map {
    padding: 28px 23px;
  }

  .appointment {
    margin-top: 62px;
    padding: 42px 25px;
  }

  .appointment__message {
    font-size: 18px;
  }

  .appointment .button {
    width: 100%;
  }

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

  .result__footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
