:root {
  color-scheme: dark;
  --ink: #f7f3ff;
  --muted: #aaa3b8;
  --quiet: #797286;
  --bg: #100d19;
  --panel: #191522;
  --line: rgba(255, 255, 255, .12);
  --purple: #a77bff;
  --purple-bright: #b797ff;
  --yellow: #f2f36b;
  --mono: "Courier New", monospace;
  --display: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 74% 39%, rgba(112, 63, 174, .15), transparent 38%),
    radial-gradient(ellipse at 12% 90%, rgba(91, 63, 157, .1), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.topbar, .site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar { min-height: 76px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.wordmark-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: var(--yellow);
  color: #17131c;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.wordmark-dot { color: var(--purple-bright); }

.topbar-note, .site-footer {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
}

.topbar-note span { color: var(--yellow); }

.app-shell {
  width: min(1120px, calc(100% - 40px));
  flex: 1;
  display: grid;
  align-items: center;
  margin-inline: auto;
  padding-block: 42px 60px;
}

.screen { width: 100%; animation: appear .45s ease both; }

.landing-screen {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
}

.landing-copy { position: relative; z-index: 1; max-width: 590px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--purple-bright);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(242, 243, 107, .65);
}

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .99;
  letter-spacing: -.075em;
}

h1 span, .result-heading h2 span { color: var(--purple-bright); }

.intro {
  max-width: 405px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.name-field {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin: 0 0 18px;
}

.name-field label {
  color: #d6d0df;
  font-size: 12px;
  font-weight: 600;
}

.name-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font: inherit;
}

.name-field input::placeholder { color: var(--quiet); }
.name-field input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

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

.button-primary {
  background: var(--yellow);
  color: #18131e;
  box-shadow: 0 8px 28px rgba(242, 243, 107, .12);
}

.button-primary:not(:disabled):hover { background: #ffff8a; }

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
}

.button-secondary:hover { border-color: rgba(183, 151, 255, .6); }

.button:disabled { cursor: not-allowed; opacity: .4; }

.fine-print {
  margin: 12px 0 0;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
}

.landing-art {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.landing-art::before {
  position: absolute;
  z-index: -1;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133, 86, 217, .3), rgba(99, 62, 159, .08) 58%, transparent 72%);
  content: "";
}

.art-orbit {
  position: absolute;
  width: 340px;
  height: 145px;
  border: 1px solid rgba(183, 151, 255, .25);
  border-radius: 50%;
  transform: rotate(-32deg);
}

.orbit-two {
  width: 390px;
  height: 184px;
  border-color: rgba(183, 151, 255, .13);
  transform: rotate(47deg);
}

.price-sticker {
  width: 260px;
  padding: 26px 22px 21px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(37, 29, 54, .97), rgba(25, 19, 37, .94));
  box-shadow: 0 25px 75px rgba(0, 0, 0, .35), 0 0 55px rgba(167, 123, 255, .12);
  transform: rotate(-7deg);
}

.sticker-label, .sticker-caption, .art-caption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.sticker-label { display: block; margin-bottom: 13px; }

.sticker-price {
  display: block;
  color: var(--yellow);
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.08em;
}

.sticker-caption { display: block; margin-top: 9px; color: var(--quiet); }

.art-spark {
  position: absolute;
  color: var(--yellow);
  font-size: 27px;
}

.spark-one { top: 54px; right: 80px; }
.spark-two { bottom: 70px; left: 62px; color: var(--purple-bright); font-size: 19px; }
.art-caption { position: absolute; right: 3px; bottom: 35px; transform: rotate(-5deg); }

.quiz-screen { max-width: 760px; margin-inline: auto; }

.quiz-top, .quiz-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-top { margin-bottom: 16px; }

.back-button {
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.back-button:disabled { cursor: default; opacity: .35; }
.back-button:not(:disabled):hover { color: var(--ink); }

.question-count, .quiz-aside {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 11px;
}

.question-count { color: var(--yellow); }

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, .09);
}

.progress-fill {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
  transition: width .35s ease;
}

.question-panel { padding-top: 48px; }
.question-panel.question-enter { animation: question-enter .32s ease both; }

.question-panel .eyebrow { margin-bottom: 13px; }

.question-panel h2 {
  max-width: 680px;
  margin-bottom: 9px;
  font-size: clamp(29px, 5vw, 45px);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.question-hint { margin-bottom: 24px; color: var(--muted); font-size: 13px; }

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

.answer-option {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.answer-option:hover {
  border-color: rgba(183, 151, 255, .6);
  background: rgba(167, 123, 255, .07);
  transform: translateX(3px);
}

.answer-option[aria-pressed="true"] {
  border-color: var(--purple-bright);
  background: rgba(167, 123, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(183, 151, 255, .18);
}

.answer-key {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--purple-bright);
  font-family: var(--mono);
  font-size: 11px;
}

.answer-option[aria-pressed="true"] .answer-key {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--bg);
}

.answer-text { font-size: 14px; line-height: 1.4; }

.quiz-bottom { margin-top: 25px; }

.next-button { min-width: 138px; }

.result-screen { max-width: 760px; margin-inline: auto; }

.result-heading { margin-bottom: 24px; text-align: center; }

.result-heading .eyebrow { justify-content: center; margin-bottom: 10px; font-size: 9px; }

.result-heading h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 4vw, 36px);
  letter-spacing: -.055em;
}

.result-card {
  position: relative;
  overflow: hidden;
  padding: 23px 25px 16px;
  border: 1px solid rgba(183, 151, 255, .37);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 85% 13%, rgba(137, 85, 228, .28), transparent 35%),
    linear-gradient(145deg, #211a31, #171320 72%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.card-topline, .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.card-brand .wordmark-icon { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; }
.card-edition, .card-footer { color: var(--quiet); font-family: var(--mono); font-size: 8px; letter-spacing: .05em; }

.card-identity { padding: 30px 0 22px; text-align: center; }

.profile-illustration {
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 18px;
}

.profile-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .24));
}

.card-kicker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  color: var(--purple-bright);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .15em;
}

.card-kicker strong {
  color: var(--yellow);
  font-family: var(--sans, "Trebuchet MS"), Arial, sans-serif;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  text-shadow: 0 0 22px rgba(242, 243, 107, .2);
  overflow-wrap: anywhere;
}

.card-kicker span { color: var(--purple-bright); }

.card-identity h3 {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(32px, 6vw, 50px);
  line-height: 1.08;
  letter-spacing: -.06em;
}

.result-description {
  max-width: 430px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.result-value {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 14px 10px;
  border: 1px solid rgba(242, 243, 107, .2);
  border-radius: 12px;
  background: rgba(242, 243, 107, .055);
}

.result-value > span, .result-value small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
}

.result-value strong {
  color: var(--yellow);
  font-size: clamp(32px, 7vw, 49px);
  line-height: 1.05;
  letter-spacing: -.07em;
}

.result-value small { color: var(--quiet); font-size: 8px; letter-spacing: 0; }

.result-value.is-negative {
  border-color: rgba(255, 105, 130, .55);
  background: linear-gradient(135deg, rgba(255, 105, 130, .15), rgba(118, 34, 66, .13));
  box-shadow: inset 0 0 24px rgba(255, 105, 130, .06);
}

.result-value.is-negative strong {
  color: #ff8295;
  text-shadow: 0 0 25px rgba(255, 105, 130, .26);
}

.attributes { padding: 16px 0 13px; }
.attributes-title { margin-bottom: 11px; color: var(--muted); font-size: 10px; font-weight: 600; }
.attribute-row { display: grid; grid-template-columns: 108px 1fr 32px; align-items: center; gap: 10px; margin: 9px 0; }
.attribute-label { color: #d6d0df; font-size: 10px; }
.attribute-track { height: 5px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.attribute-fill { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--yellow)); }
.attribute-score { color: var(--yellow); font-family: var(--mono); font-size: 9px; text-align: right; }

.card-footer {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.result-actions .button { min-height: 48px; font-size: 12px; }
.share-status { min-height: 16px; margin: 10px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.premium-offer {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(20px, 5vw, 38px);
  border: 1px solid rgba(242, 243, 107, .48);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(167, 123, 255, .28), transparent 55%),
    linear-gradient(160deg, rgba(39, 29, 57, .98), rgba(20, 17, 28, .98));
  box-shadow: 0 22px 65px rgba(0, 0, 0, .32), 0 0 45px rgba(167, 123, 255, .08);
}

.premium-offer-copy { width: 100%; text-align: center; }
.premium-offer .eyebrow { justify-content: center; margin-bottom: 9px; font-size: 9px; }
.premium-offer h3 { margin-bottom: 8px; font-size: clamp(23px, 5vw, 34px); letter-spacing: -.05em; }
.premium-offer-copy > p:not(.eyebrow):not(.premium-price) { max-width: 490px; margin: 0 auto 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.premium-price { margin: 0; color: var(--quiet); font-family: var(--mono); font-size: 11px; }
.premium-price strong { margin-left: 5px; color: var(--yellow); font-size: 18px; }

.premium-preview {
  position: relative;
  width: min(100%, 430px);
  min-height: 365px;
  overflow: hidden;
  border: 1px solid rgba(183, 151, 255, .38);
  border-radius: 17px;
  background: #15111e;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
  isolation: isolate;
}

.premium-preview-card {
  min-height: 365px;
  padding: 19px 23px;
  filter: blur(5px);
  opacity: .78;
  transform: scale(1.035);
  user-select: none;
}

.premium-preview-topline { display: flex; justify-content: space-between; color: #e7dfff; font-size: 10px; font-weight: 700; }
.premium-preview-topline span:last-child { color: var(--yellow); font-family: var(--mono); font-size: 8px; }
.premium-preview-art {
  position: relative;
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 12px auto;
  overflow: hidden;
  border: 1px solid rgba(183, 151, 255, .36);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(183, 151, 255, .48), transparent 40%),
    linear-gradient(145deg, rgba(167, 123, 255, .2), rgba(16, 13, 25, .88));
  color: var(--yellow);
}
.premium-preview-art span:first-child { font-size: 72px; text-shadow: 0 0 34px rgba(242, 243, 107, .4); }
.premium-preview-art span:nth-child(2) { position: absolute; top: 15px; right: 17px; font: 11px var(--mono); }
.premium-preview-art span:last-child { position: absolute; bottom: 12px; left: 17px; color: var(--purple-bright); font-size: 20px; }
.premium-preview-skeleton { display: grid; justify-items: center; gap: 7px; margin: 12px 0; }
.preview-skeleton-line { height: 9px; display: block; border-radius: 9px; background: rgba(234, 227, 245, .5); }
.preview-skeleton-title { width: 68%; height: 15px; background: rgba(242, 243, 107, .65); }
.preview-skeleton-copy { width: 88%; height: 6px; background: rgba(214, 208, 223, .27); }
.preview-skeleton-copy.short { width: 58%; }
.premium-preview-value { display: grid; justify-items: center; gap: 5px; padding: 10px; border: 1px solid rgba(242, 243, 107, .3); border-radius: 10px; }
.premium-preview-value span { color: var(--muted); font: 8px var(--mono); }
.premium-preview-value strong { color: var(--yellow); font-size: 27px; letter-spacing: .08em; }
.preview-skeleton-bars { display: grid; gap: 7px; margin-top: 13px; }
.preview-skeleton-bars span { height: 6px; display: block; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.preview-skeleton-bars i { width: 55%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--yellow)); }
.preview-skeleton-bars span:nth-child(2) i { width: 78%; }
.preview-skeleton-bars span:nth-child(3) i { width: 38%; }

.premium-preview-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(16, 13, 25, .16), rgba(16, 13, 25, .76));
  color: white;
  text-align: center;
  pointer-events: none;
}

.preview-lock {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 243, 107, .75);
  border-radius: 50%;
  background: rgba(16, 13, 25, .82);
  color: var(--yellow);
  font-size: 20px;
  box-shadow: 0 0 26px rgba(242, 243, 107, .28);
}

.premium-preview-overlay strong { font-size: 17px; letter-spacing: -.02em; text-shadow: 0 2px 15px #100d19; }
.premium-preview-overlay > span:last-child { color: #e1dbe9; font-size: 11px; }

.button-premium {
  width: min(100%, 430px);
  min-height: 60px;
  background: linear-gradient(110deg, #f2f36b, #ffd98a);
  color: #18131e;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 10px 32px rgba(242, 243, 107, .2);
}
.button-premium:hover { filter: brightness(1.08); box-shadow: 0 12px 38px rgba(242, 243, 107, .28); }

.payment-panel {
  margin-top: 14px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(25, 21, 34, .92);
  animation: appear .25s ease both;
}

.payment-panel h3 { margin-bottom: 8px; font-size: 19px; }
.payment-explanation { max-width: 570px; margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.payment-mode-note { margin-bottom: 14px; padding: 10px 12px; border: 1px solid rgba(242, 243, 107, .3); border-radius: 9px; color: var(--yellow); font-size: 12px; line-height: 1.5; }
.payment-form label, .pix-details label { display: block; margin-bottom: 7px; color: #d6d0df; font-size: 12px; font-weight: 600; }
.payment-email-row { display: grid; gap: 7px; margin-bottom: 10px; }
.payment-email-row input, .pix-details textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #100d19;
  color: var(--ink);
  font: inherit;
}
.payment-email-row input { min-height: 48px; padding: 0 13px; }
.payment-email-row input:focus-visible, .pix-details textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pix-details { display: grid; justify-items: start; gap: 9px; margin-top: 17px; }
.pix-qr { width: min(220px, 100%); height: auto; aspect-ratio: 1; border-radius: 10px; background: #fff; }
.pix-ticket-link { text-decoration: none; }
.pix-ticket-link[hidden] { display: none; }
.pix-details textarea { resize: vertical; padding: 10px; font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; }
.payment-status { min-height: 18px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.payment-status[data-state="approved"] { color: #a5f1ae; }
.payment-status[data-state="error"], .payment-status[data-state="expired"] { color: #ffaaa9; }
#download-premium-button { margin-top: 8px; }

.site-footer {
  min-height: 58px;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 9px;
}

.footer-heart { color: #ff7caa; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes question-enter {
  from { opacity: .35; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .topbar, .site-footer, .app-shell { width: min(100% - 36px, 520px); }
  .topbar { min-height: 64px; }
  .topbar-note { font-size: 9px; }
  .app-shell { padding-block: 30px 35px; }
  .landing-screen { min-height: 0; grid-template-columns: 1fr; gap: 4px; }
  .landing-copy { padding-top: 15px; }
  .landing-copy .eyebrow { margin-bottom: 16px; }
  h1 { max-width: 520px; font-size: clamp(53px, 13vw, 76px); }
  .intro { max-width: 360px; font-size: 14px; }
  .landing-art { min-height: 290px; margin-top: 4px; }
  .landing-art::before { width: 250px; height: 250px; }
  .art-orbit { width: 290px; height: 125px; }
  .orbit-two { width: 330px; height: 150px; }
  .price-sticker { width: 230px; padding: 22px 19px 18px; }
  .sticker-price { font-size: 41px; }
  .spark-one { top: 28px; right: 29px; }
  .spark-two { bottom: 37px; left: 20px; }
  .art-caption { right: 0; bottom: 16px; }
  .question-panel { padding-top: 35px; }
  .question-panel h2 { font-size: clamp(30px, 8vw, 40px); }
  .quiz-aside { max-width: 130px; font-size: 9px; }
  .quiz-bottom { margin-top: 20px; }
  .next-button { min-width: 122px; }
  .result-screen { max-width: 520px; }
  .result-card { padding: 19px 17px 14px; }
  .profile-illustration { width: min(100%, 320px); }
  .premium-offer { gap: 15px; padding: 18px; }
  .payment-panel { padding: 17px; }
  .site-footer { min-height: 56px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 3px; padding-block: 10px; }
}

@media (max-width: 390px) {
  .topbar, .site-footer, .app-shell { width: calc(100% - 28px); }
  .answer-option { min-height: 56px; padding-inline: 12px; }
  .answer-text { font-size: 12px; }
  .attribute-row { grid-template-columns: 92px 1fr 28px; gap: 7px; }
  .result-actions { flex-direction: column; }
  .result-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
