:root {
  --ink: #10283a;
  --ink-soft: #526878;
  --night: #0b2034;
  --night-2: #123951;
  --paper: #f3f6f4;
  --white: #ffffff;
  --line: #d6e0df;
  --aqua: #71dfcf;
  --aqua-dark: #087c70;
  --aqua-soft: #e5f9f5;
  --coral: #ff9d76;
  --coral-soft: #fff0e9;
  --lime: #d8ed7d;
  --red: #b53b44;
  --red-soft: #fff0f1;
  --radius-sm: 11px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 30px rgba(11, 32, 52, 0.08);
  --shadow: 0 28px 80px rgba(4, 23, 38, 0.22);
  --shell: 1160px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: #050f19;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand b {
  color: var(--aqua);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(113, 223, 207, 0.42);
  border-radius: 12px;
  color: var(--aqua);
  background: rgba(113, 223, 207, 0.1);
  font-weight: 900;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav > a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.header-nav > a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 12px !important;
}

.button-primary {
  color: #082d2c;
  background: var(--aqua);
  box-shadow: 0 9px 24px rgba(24, 151, 133, 0.2);
}

.button-primary:hover {
  background: #8ae7da;
  box-shadow: 0 13px 30px rgba(24, 151, 133, 0.26);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.23);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.07);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 145px 0 98px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 22%, rgba(113, 223, 207, 0.17), transparent 32%),
    radial-gradient(circle at 88% 80%, rgba(255, 157, 118, 0.12), transparent 28%),
    linear-gradient(135deg, var(--night), var(--night-2));
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 410px;
  height: 410px;
  right: -130px;
  top: -110px;
}

.hero::after {
  width: 260px;
  height: 260px;
  right: 20%;
  bottom: -195px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: clamp(55px, 8vw, 105px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 23px;
  height: 2px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--aqua-dark);
}

.hero h1,
.quiz-intro h2,
.result-heading h2,
.section-heading h2,
.limits-grid h2,
.closing-card h2 {
  margin: 0;
  font-size: clamp(39px, 5.15vw, 67px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: var(--aqua);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.71);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  list-style: none;
}

.trust-list li::before {
  margin-right: 7px;
  color: var(--aqua);
  content: "✓";
  font-weight: 900;
}

.privacy-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.privacy-card::after {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  right: -70px;
  top: -75px;
  background: var(--aqua-soft);
}

.card-label {
  margin: 0;
  color: var(--aqua-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 23px 0 20px;
  place-items: center;
  border-radius: 18px;
  background: var(--aqua-soft);
}

.privacy-mark span {
  width: 20px;
  height: 25px;
  border: 3px solid var(--aqua-dark);
  border-radius: 5px;
}

.privacy-mark span::before {
  display: block;
  width: 12px;
  height: 10px;
  margin: -10px auto 0;
  border: 3px solid var(--aqua-dark);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.privacy-card h2 {
  max-width: 310px;
  margin: 0;
  font-size: 29px;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.privacy-card > p:not(.card-label, .version-note) {
  color: var(--ink-soft);
  font-size: 13px;
}

.privacy-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-card dl div {
  display: grid;
  gap: 1px;
  text-align: center;
}

.privacy-card dl div + div {
  border-left: 1px solid var(--line);
}

.privacy-card dt {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-card dd {
  margin: 0;
  font-size: 20px;
  font-weight: 850;
}

.version-note {
  margin: 13px 0 0;
  color: #6a7d89;
  font-size: 9px;
  text-align: center;
}

.principles {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.principles .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.principles span {
  padding: 20px 13px;
  color: #5e707c;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.principles span + span {
  border-left: 1px solid var(--line);
}

.quiz-section,
.method-section,
.limits-section,
.closing-section {
  padding: 105px 0;
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.57fr) minmax(0, 1fr);
  gap: clamp(45px, 7vw, 90px);
  align-items: start;
}

.quiz-intro {
  position: sticky;
  top: 28px;
}

.quiz-intro h2,
.result-heading h2,
.section-heading h2,
.limits-grid h2,
.closing-card h2 {
  font-size: clamp(34px, 4.3vw, 54px);
}

.quiz-intro > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.axis-key {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--line);
}

.axis-key span {
  padding: 13px 16px;
  color: #425968;
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 750;
}

.axis-key i {
  margin-right: 10px;
  color: var(--aqua-dark);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.privacy-inline {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  margin-top: 18px;
  padding: 17px;
  border-radius: 13px;
  color: #3f625e;
  background: var(--aqua-soft);
  font-size: 11px;
}

.privacy-inline > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #064f48;
  background: var(--aqua);
  font-weight: 900;
}

.privacy-inline p {
  margin: 0;
}

.quiz-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quiz-progress {
  position: sticky;
  z-index: 5;
  top: 0;
  padding: 21px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.quiz-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
  color: var(--ink-soft);
  font-size: 10px;
}

.quiz-progress > div:first-child span:first-child {
  color: var(--ink);
  font-weight: 820;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5eceb;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aqua-dark), var(--aqua));
  transition: width 220ms ease;
}

.axis-group {
  padding: 35px 28px 8px;
}

.axis-group + .axis-group {
  border-top: 1px solid var(--line);
}

.axis-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.axis-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--aqua-dark);
  background: var(--aqua-soft);
  font-size: 11px;
  font-weight: 850;
}

.axis-heading h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.axis-heading p {
  margin: 1px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.question {
  min-width: 0;
  margin: 0 0 31px;
  padding: 0;
  border: 0;
}

.question legend {
  display: grid;
  width: 100%;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  margin-bottom: 13px;
  color: #243e50;
  font-size: 13px;
  font-weight: 790;
}

.question legend span {
  color: var(--aqua-dark);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.answer-grid label {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 118px;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  padding: 15px 13px;
  border: 1px solid #d5dfdf;
  border-radius: 12px;
  cursor: pointer;
  background: #fbfcfc;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.answer-grid label:hover {
  border-color: #9ccfc8;
  background: #f7fcfb;
  transform: translateY(-1px);
}

.answer-grid label:has(input:checked) {
  border-color: var(--aqua-dark);
  background: var(--aqua-soft);
  box-shadow: inset 0 0 0 1px var(--aqua-dark);
}

.answer-grid input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--aqua-dark);
}

.answer-grid label > span {
  display: grid;
  gap: 5px;
}

.answer-grid b {
  color: var(--ink);
  font-size: 11px;
}

.answer-grid small {
  color: #667985;
  font-size: 9px;
  line-height: 1.42;
}

.question.is-missing {
  margin-inline: -10px;
  padding: 10px;
  border-radius: 13px;
  background: var(--red-soft);
}

.question.is-missing legend {
  color: var(--red);
}

.quiz-error {
  min-height: 20px;
  margin: 12px 28px 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 760;
}

.quiz-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px 29px;
}

.quiz-actions > span {
  max-width: 250px;
  color: #6d7e88;
  font-size: 9px;
}

.result-section {
  padding: 105px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(113, 223, 207, 0.1), transparent 27%),
    var(--night);
}

.result-section:focus {
  outline: 0;
}

.result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.result-heading > div > p:last-child {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.61);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(380px, 1fr);
  gap: 14px;
  margin-top: 45px;
}

.result-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.total-card,
.breakdown-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.score-ring {
  display: grid;
  width: 130px;
  height: 130px;
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--night) 61%, transparent 63%),
    conic-gradient(var(--aqua) var(--score-angle, 0deg), rgba(255, 255, 255, 0.12) 0);
}

.score-ring strong {
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.07em;
}

.score-ring span {
  align-self: end;
  margin: 0 0 5px 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.total-card h3,
.breakdown-card h3,
.focus-card h3 {
  margin: 7px 0 0;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.total-card > p:not(.card-label, .result-caveat) {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.result-caveat {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
}

.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.card-heading > span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.axis-results {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.axis-result > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  font-size: 11px;
}

.axis-result strong {
  color: var(--aqua);
  font-size: 10px;
}

.axis-result > div:last-child {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.axis-result > div:last-child span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aqua-dark), var(--aqua));
  transition: width 300ms ease;
}

.focus-card {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  padding: 32px;
  color: var(--ink);
  background: var(--white);
}

.focus-card::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  right: -115px;
  top: -125px;
  background: var(--coral-soft);
}

.focus-index {
  position: absolute;
  z-index: 1;
  top: 25px;
  right: 25px;
  color: #9c5539;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.focus-card h3 {
  font-size: 32px;
}

.focus-card > p:not(.card-label, .cta-note) {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 13px;
}

.focus-card ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.focus-card li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #445c69;
  background: #f9fbfa;
  font-size: 10px;
}

.focus-card li::before {
  display: block;
  margin-bottom: 7px;
  color: var(--aqua-dark);
  content: "→";
  font-size: 16px;
  font-weight: 900;
}

.focus-card .button {
  max-width: 390px;
}

.cta-note {
  margin: 9px 0 0;
  color: #74858e;
  font-size: 9px;
}

.result-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  margin-top: 18px;
  padding: 18px 21px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}

.result-method strong {
  color: var(--aqua);
}

.result-method p {
  margin: 0;
}

.method-section {
  background: var(--white);
}

.section-heading {
  max-width: 850px;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.method-grid li {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.method-grid li > span {
  color: var(--aqua-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.method-grid li > div {
  margin-top: auto;
}

.method-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.method-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.limits-section {
  color: var(--white);
  background: var(--night);
}

.limits-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(45px, 8vw, 105px);
  align-items: start;
}

.limits-grid > div:first-child > p:last-child {
  color: rgba(255, 255, 255, 0.61);
}

.limit-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.limit-list article {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 14px;
  padding: 23px;
  background: #102b42;
}

.limit-list article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--coral);
  background: rgba(255, 157, 118, 0.1);
  font-size: 18px;
}

.limit-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.limit-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
}

.closing-section {
  background: var(--paper);
}

.closing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.closing-card h2 {
  max-width: 780px;
  margin-top: 8px;
}

.closing-card p:not(.card-label) {
  max-width: 710px;
  margin: 15px 0 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 35px 0;
  color: var(--white);
  background: #061522;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 35px;
  align-items: center;
}

.footer-inner strong {
  font-size: 14px;
}

.footer-inner p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.footer-inner > p {
  text-align: center;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  text-decoration: none;
}

.noscript {
  position: fixed;
  z-index: 200;
  right: 14px;
  bottom: 14px;
  left: 14px;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
  }

  .privacy-card {
    max-width: 600px;
  }

  .quiz-layout {
    grid-template-columns: 1fr;
    max-width: 850px;
  }

  .quiz-intro {
    position: static;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
  }

  .header-nav {
    display: none;
  }

  .hero {
    padding: 116px 0 78px;
  }

  .hero h1 {
    font-size: clamp(41px, 12vw, 57px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .privacy-card {
    padding: 26px 20px;
  }

  .principles .shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles span:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principles span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .quiz-section,
  .result-section,
  .method-section,
  .limits-section,
  .closing-section {
    padding: 78px 0;
  }

  .quiz-card {
    border-radius: 20px;
  }

  .quiz-progress {
    padding: 18px;
  }

  .quiz-progress > div:first-child span:last-child {
    display: none;
  }

  .axis-group {
    padding: 29px 18px 5px;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .answer-grid label {
    min-height: 0;
  }

  .quiz-error {
    margin-inline: 18px;
  }

  .quiz-actions {
    display: grid;
    padding: 16px 18px 24px;
  }

  .result-heading {
    align-items: start;
    flex-direction: column;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    grid-column: auto;
    padding: 28px 20px;
  }

  .focus-index {
    position: static;
    margin-bottom: 18px;
  }

  .focus-card ul {
    grid-template-columns: 1fr;
  }

  .result-method {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-grid li {
    min-height: 190px;
  }

  .limits-grid {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .closing-card {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .footer-inner > p {
    text-align: left;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-list {
    display: grid;
    gap: 8px;
  }

  .privacy-card dl {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .privacy-card dl div + div {
    padding-top: 13px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principles span {
    font-size: 8px;
  }

  .question legend {
    grid-template-columns: 20px 1fr;
  }

  .score-ring {
    width: 116px;
    height: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .eyebrow > span,
  .progress-track span,
  .axis-result > div:last-child span {
    background: CanvasText;
  }

  .answer-grid label:has(input:checked) {
    outline: 2px solid Highlight;
  }
}
