.test-dna-navbar {
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(42, 55, 56, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.test-dna-backlink {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
}

.test-dna-backlink:hover {
  color: var(--color-accent);
}

.test-dna-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  position: relative;
  z-index: 2;
  transition: padding 180ms ease;
}

.test-dna-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.24);
  transition: padding 180ms ease, border-radius 180ms ease;
}

.test-dna-hero {
  margin-bottom: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: margin 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.test-dna-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.test-dna-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 0.95;
  margin-bottom: 18px;
  text-wrap: balance;
}

.test-dna-subtitle {
  max-width: 820px;
  color: rgba(223, 236, 224, 0.92);
  font-size: var(--text-lg);
  margin: 0 auto;
  text-wrap: balance;
  transition: opacity 180ms ease, max-height 180ms ease, margin 180ms ease;
}

.test-dna-loading,
.test-dna-error,
.test-dna-success {
  border-radius: 20px;
  padding: 20px 22px;
}

.test-dna-loading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  background: rgba(82, 184, 92, 0.08);
  color: var(--color-text-primary);
  width: min(100%, 980px);
  margin: 0 auto 24px;
  min-height: 92px;
  position: relative;
  overflow: hidden;
}

.test-dna-loading::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(82, 184, 92, 0.95) 50%, transparent 100%);
  animation: test-dna-loading-sweep 1.8s ease-in-out infinite;
}

.test-dna-loading-visual {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.test-dna-loading-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  min-width: 0;
}

.test-dna-loading-copy p {
  margin: 0;
  text-wrap: balance;
}

.test-dna-loading-subline {
  color: rgba(198, 213, 200, 0.72);
  font-size: 0.86rem;
}

.test-dna-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(82, 184, 92, 0.25);
  border-top-color: var(--color-accent);
  animation: test-dna-spin 0.8s linear infinite;
}

.test-dna-loading-pulse {
  width: 44px;
  height: 10px;
  border-radius: 999px;
  background: rgba(82, 184, 92, 0.14);
  position: relative;
  overflow: hidden;
}

.test-dna-loading-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(82, 184, 92, 0.92) 50%, transparent 100%);
  animation: test-dna-pulse 1.2s ease-in-out infinite;
}

@keyframes test-dna-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes test-dna-pulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes test-dna-loading-sweep {
  0% { transform: translateX(-55%); opacity: 0.55; }
  50% { opacity: 1; }
  100% { transform: translateX(55%); opacity: 0.55; }
}

.test-dna-error {
  background: rgba(182, 68, 68, 0.12);
  border: 1px solid rgba(182, 68, 68, 0.35);
  color: #ffd6d6;
}

.test-dna-success {
  background: rgba(82, 184, 92, 0.12);
  border: 1px solid rgba(82, 184, 92, 0.35);
  color: var(--color-text-primary);
}

.test-dna-screen {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hidden {
  display: none !important;
}

.test-dna-grid,
.test-dna-result-grid {
  display: grid;
  gap: 20px;
}

.test-dna-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
}

.test-dna-result-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  margin-bottom: 20px;
}

.test-dna-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  transition: padding 180ms ease, border-radius 180ms ease;
}

.test-dna-screen > .test-dna-card,
.test-dna-screen > .test-dna-progress,
.test-dna-screen > .test-dna-result-grid,
#result-screen > .test-dna-grid {
  width: min(100%, 980px);
  margin: 0 auto;
}

.test-dna-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  text-wrap: balance;
}

.test-dna-card p {
  color: rgba(213, 227, 215, 0.88);
}

.test-dna-card-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.test-dna-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(82, 184, 92, 0.48);
  background: rgba(82, 184, 92, 0.14);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.test-dna-card-header.is-centered,
.test-dna-result-main,
.test-dna-result-grid > .test-dna-card .test-dna-card-header,
#result-screen > .test-dna-grid .test-dna-card .test-dna-card-header {
  text-align: center;
  align-items: center;
}

.test-dna-result-overview {
  margin: 0 auto 20px;
  text-align: left;
  padding: 28px 28px 24px;
  overflow: hidden;
}

.test-dna-result-overview .test-dna-summary {
  max-width: none;
  margin: 0;
  text-align: center;
  font-size: 1.04rem;
  white-space: pre-line;
}

.test-dna-result-overview-header {
  align-items: center;
  text-align: center;
  margin-bottom: 14px;
}

.test-dna-result-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  margin: 0 auto;
  flex-wrap: wrap;
}

.test-dna-result-title-row h2 {
  margin-bottom: 0;
}

.test-dna-result-overview-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

.test-dna-jump-button {
  min-width: 260px;
  justify-self: center;
  position: relative;
  padding-left: 54px;
  box-shadow: 0 0 0 1px rgba(82, 184, 92, 0.12), 0 14px 32px rgba(82, 184, 92, 0.16);
  animation: test-dna-cta-glow 2s ease-in-out infinite;
}

.test-dna-jump-button::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(16, 41, 17, 0.82);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(16, 41, 17, 0.08);
  animation: test-dna-led-pulse 1.45s ease-in-out infinite;
}

.test-dna-jump-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 72%);
  transform: translateX(-140%);
  animation: test-dna-cta-sheen 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes test-dna-cta-glow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(82, 184, 92, 0.12), 0 14px 32px rgba(82, 184, 92, 0.14);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(82, 184, 92, 0.18), 0 18px 36px rgba(82, 184, 92, 0.22);
  }
}

@keyframes test-dna-cta-sheen {
  0%, 20% {
    transform: translateX(-140%);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  60%, 100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

@keyframes test-dna-led-pulse {
  0%, 100% {
    opacity: 0.55;
    box-shadow: 0 0 0 4px rgba(16, 41, 17, 0.06), 0 0 0 rgba(82, 184, 92, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(16, 41, 17, 0.1), 0 0 12px rgba(82, 184, 92, 0.45);
  }
}

#intro-screen .test-dna-card:first-child {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#intro-screen .test-dna-card:first-child .test-dna-chip,
#intro-screen .test-dna-card:first-child .btn {
  margin-inline: auto;
}

#intro-screen .test-dna-card:first-child .test-dna-chip {
  margin-bottom: 22px;
}

#intro-screen .test-dna-card:first-child p {
  max-width: 620px;
  margin-inline: auto;
}

#intro-screen .test-dna-list {
  max-width: 760px;
  margin-inline: auto;
}

#intro-screen .test-dna-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.8fr);
  align-items: stretch;
}

.test-dna-sidecard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 28px 22px;
  min-height: 100%;
}

.test-dna-metric {
  background: rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.test-dna-metric-value {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.test-dna-metric-label {
  color: rgba(222, 235, 223, 0.86);
  font-size: 0.98rem;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.test-dna-list {
  margin: 22px 0 28px;
  padding: 0;
  color: rgba(222, 235, 223, 0.9);
  display: grid;
  gap: 12px;
  list-style: none;
}

.test-dna-list li {
  position: relative;
  padding: 16px 18px 16px 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.test-dna-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  transform: translateY(-50%);
  border: 1px solid rgba(82, 184, 92, 0.45);
  background: radial-gradient(circle at center, rgba(82, 184, 92, 0.95) 0 35%, transparent 36%);
}

.test-dna-form,
.test-dna-consent-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.test-dna-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.test-dna-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.test-dna-field.is-invalid label {
  color: #ffd0d0;
}

.test-dna-field label {
  color: var(--color-text-primary);
  font-size: 0.98rem;
  font-weight: 600;
}

.test-dna-field input,
.test-dna-other-box textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 15, 0.55);
  color: var(--color-text-primary);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.test-dna-field input:focus,
.test-dna-other-box textarea:focus {
  outline: none;
  border-color: rgba(82, 184, 92, 0.65);
  box-shadow: 0 0 0 3px rgba(82, 184, 92, 0.15);
}

.test-dna-field input.is-invalid,
.test-dna-other-box textarea.is-invalid {
  border-color: rgba(214, 92, 92, 0.65);
  box-shadow: 0 0 0 3px rgba(214, 92, 92, 0.14);
}

.test-dna-field-error {
  min-height: 1.1rem;
  color: #ffd0d0;
  font-size: 0.85rem;
  line-height: 1.35;
}

.test-dna-form-note {
  font-size: 0.94rem;
  color: rgba(197, 212, 199, 0.84);
  text-align: center;
}

.test-dna-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.test-dna-question-actions {
  justify-content: flex-start;
  margin-top: 22px;
  padding-top: 10px;
}

.btn.btn-secondary {
  border: 1px solid rgba(184, 214, 187, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(224, 237, 225, 0.92);
}

.btn.btn-secondary:hover:not(:disabled) {
  border-color: rgba(82, 184, 92, 0.4);
  background: rgba(82, 184, 92, 0.12);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

.btn:focus-visible,
.test-dna-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(82, 184, 92, 0.24);
  border-color: rgba(82, 184, 92, 0.65);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.test-dna-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.test-dna-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(209, 223, 211, 0.86);
}

#progress-system {
  text-align: center;
}

.test-dna-progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.test-dna-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #52B85C, #89d695);
  transition: width 220ms ease;
}

.test-dna-question-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
}

.test-dna-question-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(209, 223, 211, 0.88);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.test-dna-question-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin-bottom: 10px;
  text-align: center;
  max-width: 100%;
  margin-inline: auto;
  text-wrap: balance;
}

.test-dna-question-helper {
  margin-bottom: 20px;
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
  min-height: 3.2em;
}

.test-dna-options {
  display: grid;
  gap: 12px;
}

.test-dna-option {
  text-align: left;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 20px;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.test-dna-option-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-dna-option:hover,
.test-dna-option.is-selected {
  transform: translateY(-1px);
  border-color: rgba(82, 184, 92, 0.5);
  background: rgba(82, 184, 92, 0.12);
}

.test-dna-option:disabled {
  pointer-events: none;
}

.test-dna-option-code {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  min-width: 1.4em;
}

.test-dna-option-separator {
  color: rgba(184, 214, 187, 0.52);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.test-dna-option-text {
  flex: 1;
  line-height: 1.55;
}

.test-dna-other-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.test-dna-other-box label {
  color: var(--color-text-primary);
  font-weight: 600;
  text-align: center;
}

.test-dna-other-box.is-active {
  border-color: rgba(82, 184, 92, 0.35);
  background: rgba(82, 184, 92, 0.08);
}

.test-dna-confidence {
  color: rgba(209, 223, 211, 0.86);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.test-dna-result-main {
  min-height: 100%;
  text-align: center;
}

.test-dna-result-grid > .test-dna-card {
  min-height: 100%;
}

.test-dna-summary {
  color: rgba(217, 230, 218, 0.88);
  font-size: 1.02rem;
  line-height: 1.7;
}

.test-dna-result-main .test-dna-summary,
.test-dna-result-main h2 {
  text-align: center;
}

.test-dna-radar-wrapper {
  margin: 16px 0 12px;
  background: radial-gradient(circle at center, rgba(82, 184, 92, 0.08), transparent 70%);
  border-radius: 22px;
  padding: 8px;
}

.test-dna-inline-divider {
  height: 1px;
  width: 100%;
  margin: 18px 0 22px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 18%, rgba(255, 255, 255, 0.12) 82%, transparent 100%);
}

#radar-chart {
  width: 100%;
  height: auto;
  display: block;
}

.test-dna-radar-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(209, 223, 211, 0.86);
  font-size: 0.92rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
}

.legend-dot-sdo {
  background: #f16767;
}

.legend-dot-plo {
  background: #5ba9ff;
}

.legend-dot-other {
  background: #b4bcc6;
}

.test-dna-system-list,
.test-dna-tension-list {
  display: grid;
  gap: 12px;
}

.test-dna-tension-list {
  margin-top: 2px;
}

.test-dna-system-item,
.test-dna-tension-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.test-dna-system-item h3,
.test-dna-tension-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.test-dna-system-item p,
.test-dna-tension-item p {
  color: rgba(215, 229, 217, 0.86);
}

.test-dna-system-bars {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.test-dna-bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 48px;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(210, 224, 212, 0.88);
}

.test-dna-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.test-dna-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.test-dna-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(214, 228, 216, 0.88);
  line-height: 1.55;
}

.test-dna-checkbox input {
  margin-top: 4px;
}

.test-dna-analysis-cta {
  width: min(100%, 980px);
  margin: 20px auto 0;
  padding: 22px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.test-dna-analysis-cta .test-dna-summary {
  max-width: 64ch;
  text-align: center;
}

.test-dna-analysis-cta .test-dna-consent-form {
  width: min(100%, 560px);
  align-items: center;
}

.test-dna-analysis-cta .test-dna-checkbox {
  justify-content: center;
  text-align: left;
  max-width: 36rem;
}

body.test-dna-mobile .test-dna-shell {
  padding: 18px 10px 42px;
}

body.test-dna-mobile .test-dna-panel {
  padding: 18px;
  border-radius: 22px;
}

body.test-dna-mobile .test-dna-navbar {
  padding: 14px 16px;
  gap: 10px;
}

body.test-dna-mobile .logo-text {
  font-size: 1.5rem;
}

body.test-dna-mobile .logo-icon {
  width: 30px;
  height: 30px;
}

body.test-dna-mobile .test-dna-backlink {
  font-size: 0.85rem;
}

body.test-dna-mobile .test-dna-hero {
  margin-bottom: 22px;
}

body.test-dna-mobile .test-dna-hero h1 {
  font-size: clamp(2.1rem, 11vw, 3.35rem);
  line-height: 0.94;
  margin-bottom: 14px;
}

body.test-dna-mobile .test-dna-subtitle {
  font-size: 1rem;
  max-width: 32rem;
}

body.test-dna-mobile[data-test-dna-screen="question"] .test-dna-hero,
body.test-dna-mobile[data-test-dna-screen="result"] .test-dna-hero {
  margin-bottom: 12px;
}

body.test-dna-mobile[data-test-dna-screen="question"] .test-dna-navbar,
body.test-dna-mobile[data-test-dna-screen="result"] .test-dna-navbar {
  padding: 10px 14px;
  justify-content: flex-start;
}

body.test-dna-mobile[data-test-dna-screen="question"] .test-dna-backlink,
body.test-dna-mobile[data-test-dna-screen="result"] .test-dna-backlink {
  display: none;
}

body.test-dna-mobile[data-test-dna-screen="question"] .test-dna-eyebrow,
body.test-dna-mobile[data-test-dna-screen="result"] .test-dna-eyebrow {
  margin-bottom: 8px;
  font-size: 0.7rem;
}

body.test-dna-mobile[data-test-dna-screen="question"] .test-dna-hero h1,
body.test-dna-mobile[data-test-dna-screen="result"] .test-dna-hero h1 {
  font-size: clamp(1.9rem, 9vw, 2.8rem);
  margin-bottom: 10px;
}

body.test-dna-mobile[data-test-dna-screen="question"] .test-dna-subtitle,
body.test-dna-mobile[data-test-dna-screen="result"] .test-dna-subtitle {
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
}

body.test-dna-mobile .test-dna-progress,
body.test-dna-mobile .test-dna-screen > .test-dna-card,
body.test-dna-mobile .test-dna-screen > .test-dna-result-grid,
body.test-dna-mobile #result-screen > .test-dna-grid {
  width: 100%;
}

body.test-dna-mobile .test-dna-question-meta {
  padding-top: 0;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

body.test-dna-mobile .test-dna-question-number {
  position: static;
  transform: none;
  order: -1;
}

body.test-dna-mobile .test-dna-question-title {
  font-size: clamp(1.55rem, 7.8vw, 2.1rem);
  line-height: 1.1;
}

body.test-dna-mobile .test-dna-chip {
  padding: 7px 11px;
  font-size: 0.67rem;
}

body.test-dna-mobile .test-dna-question-system-chip,
body.test-dna-mobile #question-system-chip {
  max-width: min(100%, 16rem);
  text-align: center;
}

body.test-dna-mobile .test-dna-question-helper {
  max-width: none;
  min-height: auto;
  margin-bottom: 16px;
  font-size: 0.96rem;
}

body.test-dna-mobile .test-dna-option {
  padding: 16px 16px 15px;
  border-radius: 16px;
}

body.test-dna-mobile .test-dna-option-content {
  align-items: flex-start;
  gap: 12px;
}

body.test-dna-mobile .test-dna-option-code,
body.test-dna-mobile .test-dna-option-separator {
  margin-top: 2px;
}

body.test-dna-mobile .test-dna-other-box {
  padding: 16px;
}

body.test-dna-mobile .test-dna-question-actions {
  margin-top: 18px;
  padding-top: 2px;
}

body.test-dna-mobile .test-dna-result-overview {
  padding: 22px 18px 20px;
  border-radius: 20px;
}

body.test-dna-mobile .test-dna-result-title-row {
  gap: 6px;
}

body.test-dna-mobile .test-dna-result-title-row h2 {
  font-size: clamp(1.65rem, 8vw, 2.1rem);
  line-height: 1.08;
}

body.test-dna-mobile .test-dna-confidence {
  font-size: 0.78rem;
}

body.test-dna-mobile .test-dna-result-overview .test-dna-summary {
  font-size: 0.98rem;
  line-height: 1.62;
  text-align: left;
}

body.test-dna-mobile .test-dna-jump-button {
  width: min(100%, 19rem);
  min-width: 0;
}

body.test-dna-mobile .test-dna-result-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

body.test-dna-mobile .test-dna-result-main,
body.test-dna-mobile .test-dna-result-grid > .test-dna-card {
  min-height: auto;
}

body.test-dna-mobile .test-dna-radar-wrapper {
  padding: 4px;
  margin: 10px 0 8px;
}

body.test-dna-mobile .test-dna-radar-legend {
  gap: 8px 14px;
  font-size: 0.84rem;
}

body.test-dna-mobile .test-dna-system-item,
body.test-dna-mobile .test-dna-tension-item {
  padding: 16px;
}

body.test-dna-mobile .test-dna-bar-row {
  grid-template-columns: 48px 1fr 42px;
  gap: 8px;
  font-size: 0.86rem;
}

body.test-dna-mobile .test-dna-analysis-cta {
  gap: 14px;
  padding-top: 18px;
}

body.test-dna-mobile .test-dna-analysis-cta h2 {
  font-size: clamp(2rem, 10vw, 3rem);
  line-height: 0.98;
  text-wrap: balance;
}

body.test-dna-mobile .test-dna-analysis-cta .test-dna-summary {
  text-align: left;
  font-size: 0.97rem;
  line-height: 1.6;
}

body.test-dna-mobile .test-dna-analysis-cta .test-dna-consent-form {
  width: 100%;
  max-width: 34rem;
}

body.test-dna-mobile .test-dna-analysis-cta .test-dna-checkbox {
  max-width: none;
  gap: 12px;
}

.test-dna-tension-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.test-dna-severity {
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.test-dna-severity.is-strong {
  background: rgba(241, 103, 103, 0.12);
  color: #ffbcbc;
}

.test-dna-severity.is-medium {
  background: rgba(255, 193, 88, 0.12);
  color: #ffd79f;
}

.test-dna-empty {
  color: rgba(209, 223, 211, 0.86);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 960px) {
  .test-dna-grid,
  .test-dna-result-grid,
  .test-dna-form-grid,
  .test-dna-sidecard {
    grid-template-columns: 1fr;
  }

  .test-dna-grid {
    align-items: stretch;
  }

  #intro-screen .test-dna-grid {
    grid-template-columns: 1fr;
  }

  .test-dna-sidecard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .test-dna-result-overview {
    margin-bottom: 16px;
  }

  .test-dna-result-title-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .test-dna-result-overview-body {
    gap: 18px;
  }

  .test-dna-jump-button {
    width: 100%;
    min-width: 0;
  }

  .test-dna-metric {
    max-width: none;
    min-height: 160px;
  }
}

@media (max-width: 768px) {
  .test-dna-navbar {
    padding: 18px 20px;
    gap: 16px;
  }

  .test-dna-panel {
    padding: 22px;
  }

  .test-dna-shell {
    padding: 24px 12px 48px;
  }

  .test-dna-backlink {
    align-self: flex-start;
  }

  .test-dna-progress-head,
  .test-dna-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .test-dna-progress-head {
    align-items: stretch;
  }

  .test-dna-loading {
    min-height: 112px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .test-dna-question-meta {
    padding-top: 40px;
  }

  .test-dna-question-number {
    top: 0;
    right: 50%;
    transform: translateX(50%);
  }

  .test-dna-hero h1 {
    line-height: 1;
  }

  .test-dna-list li {
    padding-left: 48px;
  }

  .test-dna-sidecard {
    grid-template-columns: 1fr;
  }

  .test-dna-metric {
    min-height: 120px;
  }

  .test-dna-actions .btn,
  .test-dna-consent-form .btn,
  #confirm-other-button {
    width: 100%;
  }

  .test-dna-option-content {
    gap: 10px;
    align-items: flex-start;
  }

  .test-dna-option-text {
    font-size: 0.95rem;
  }

  .test-dna-radar-legend {
    gap: 10px 18px;
  }

  .test-dna-question-title {
    max-width: 100%;
  }

  .test-dna-analysis-cta {
    align-items: stretch;
    text-align: left;
  }

  .test-dna-analysis-cta .test-dna-chip,
  .test-dna-analysis-cta h2 {
    align-self: center;
    text-align: center;
  }

  .test-dna-analysis-cta .test-dna-summary {
    max-width: none;
    text-align: left;
  }

  .test-dna-analysis-cta .test-dna-consent-form {
    width: 100%;
    align-items: stretch;
  }

  .test-dna-analysis-cta .test-dna-checkbox {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  body.test-dna-mobile .test-dna-question-meta {
    padding-top: 0;
  }

  body.test-dna-mobile .test-dna-question-number {
    top: auto;
    right: auto;
  }

  body.test-dna-mobile .test-dna-analysis-cta {
    align-items: center;
    text-align: center;
  }

  body.test-dna-mobile .test-dna-analysis-cta .test-dna-summary {
    text-align: left;
  }

  body.test-dna-mobile .test-dna-analysis-cta .test-dna-consent-form {
    align-items: stretch;
  }

  body.test-dna-mobile .test-dna-analysis-cta .test-dna-checkbox {
    justify-content: flex-start;
  }
}
