:root {
  --bg: #f4f6f8;
  --bg2: #e9eef4;
  --surface: #ffffff;
  --surface2: #eef2f7;
  --border: #d5dde6;
  --border2: #b9c5d1;
  --text: #242a32;
  --muted: #4c545e;
  --muted2: #79808f;
  --accent: #a95d48;
  --accent-bg: rgba(169, 93, 72, 0.1);
  --accent-border: rgba(169, 93, 72, 0.28);
  --shadow: rgba(29, 34, 48, 0.06);
  --shadow2: rgba(29, 34, 48, 0.12);
  --econ: #2f74d8;
  --social: #a95d48;
  --civil: #2b9b7f;
  --gov: #a95d48;
  --system: #c55a65;
  --econ-bg: rgba(47, 116, 216, 0.08);
  --social-bg: rgba(169, 93, 72, 0.08);
  --civil-bg: rgba(43, 155, 127, 0.08);
  --gov-bg: rgba(169, 93, 72, 0.08);
  --system-bg: rgba(197, 90, 101, 0.08);
  --line: rgba(29, 34, 48, 0.14);
  --grat: rgba(29, 34, 48, 0.03);
  --hdr-bg: rgba(244, 246, 248, 0.93);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Public Sans", sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

button {
  font: inherit;
}

.sec {
  display: block;
  min-height: calc(100vh - 58px);
  padding-top: 32px;
}

.sec[hidden] {
  display: none !important;
}

.land {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px 24px 80px;
  text-align: center;
}


.land-inner {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 0px;
  padding: 0;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--line);
}

.land h1 {
  margin: 0;
  padding-bottom: 10px;
  font-family: "Noto Serif", serif;
  font-size: clamp(2.3rem, 5vw, 4.05rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.land h2 {
  margin: 18px 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.contrast-word {
  font-weight: 800;
}

.contrast-swap {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
}

.contrast-word--red {
  color: var(--accent);
}

.contrast-word--green {
  color: #2b9b7f;
}

.contrast-swap--sentence {
  width: 100%;
  justify-items: center;
}

.contrast-sentence {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity;
}

.contrast-sentence.is-active {
  opacity: 1;
}

.land-sub {
  max-width: 620px;
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.axes {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.axis-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.axis-scale {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 1fr) minmax(110px, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.axis-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: normal;
  width: 240px;
  padding-left: 20px;
  white-space: nowrap;
  overflow: visible;
}

.axis-name-subtext {
  display: block;
  margin-top: 4px;
  font-size: clamp(0.60rem, 1vw, 0.68rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted2);
  line-height: 1.3;
  white-space: nowrap;
  overflow: visible;
}

.axis-scale i {
  flex-shrink: 0;
  min-width: 0;
  font-style: normal;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted2);
  opacity: 0.82;
  white-space: nowrap;
}

.axis-scale i:first-child {
  text-align: right;
}

.axis-scale i:last-child {
  text-align: left;
}

.axis-track {
  position: relative;
  width: 100%;
  height: 24px;
  min-width: 60px;
  background: transparent;
  border-radius: 999px;
  overflow: visible;
}

.axis-track-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


.axis-row[data-ax="e"] { --axc: var(--econ); }
.axis-row[data-ax="s"] { --axc: var(--social); }
.axis-row[data-ax="c"] { --axc: var(--civil); }
.axis-row[data-ax="g"] { --axc: var(--gov); }
.axis-row[data-ax="t"] { --axc: var(--system); }

.quiz-intro {
  margin-top: 34px;
  text-align: left;
}

.quiz-divider {
  width: 100%;
  height: 1px;
  margin: 0 0 18px;
  background: var(--line);
}

.quiz-meta {
  margin: 0 0 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
}

.quiz-meta--emphasis {
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted2);
  opacity: 0.78;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.02em;
}

.question-card {
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 28px rgba(29, 34, 48, 0.05);
}

.question-progress {
  margin-bottom: 16px;
}

.question-progress-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(29, 34, 48, 0.08);
}

.question-progress-fill {
  display: block;
  width: calc(100% / 27);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, #c07a66 100%);
}

.question-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
}

.question-text {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.question-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.question-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  text-align: center;
  line-height: 1.25;
  color: var(--text);
}

.question-options span:nth-child(1),
.question-options span:nth-child(2) {
  border-color: rgba(169, 93, 72, 0.22);
}

.question-options span:nth-child(3) {
  border-color: var(--border2);
}

.question-options span:nth-child(4),
.question-options span:nth-child(5) {
  border-color: rgba(43, 155, 127, 0.22);
}

.page-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted2);
}

.page-footer a,
.page-footer a:visited,
.page-footer a:hover,
.page-footer a:focus,
.page-footer a:active {
  color: var(--accent);
  text-decoration: none;
}

.results-info-block a,
.results-info-block a:visited,
.results-info-block a:hover,
.results-info-block a:focus,
.results-info-block a:active {
  color: var(--accent);
  text-decoration: none;
}

.section-separator {
  width: 100%;
  height: 1px;
  margin-top: 28px;
  background: var(--line);
}

.learn-more {
  padding: 12px 0 20px;
}

.learn-more h3 {
  margin: 0 0 22px;
  text-align: center;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted2);
  opacity: 0.78;
  letter-spacing: 0.02em;
  text-transform: none;
}

.learn-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.learn-more-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.learn-more-card {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  /*border: 1px solid var(--border);*/
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.learn-more-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px var(--shadow2);
}

.learn-more-card img {
  display: block;
  width: 100%;
  height: auto;
}

.learn-more-caption {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.learn-more-caption:hover {
  color: var(--accent);
  text-decoration: underline;
}

.spectrum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.spectrum-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 6px 18px var(--shadow);
  padding: 20px 18px 18px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.chart-wrap {
  padding: 10px 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
}

.axis-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 224;
  overflow: visible;
}

.chart-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}

@media (max-width: 640px) {
  .hdr {
    padding-left: 18px;
    padding-right: 18px;
  }

  .land {
    padding-left: 16px;
    padding-right: 16px;
  }

  .eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.58rem;
  }

  .axis-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
  }

  .axis-name,
  .axis-scale {
    width: 100%;
  }

  .axis-scale {
    grid-template-columns: minmax(56px, 1fr) minmax(0, 2fr) minmax(56px, 1fr);
  }

  .axis-name {
    white-space: nowrap;
    text-align: left;
    padding-left: 3px;
    width: auto;
  }

  .axis-scale i {
    font-size: clamp(0.32rem, 1.8vw, 0.56rem);
    letter-spacing: 0.03em;
    line-height: 1.25;
    white-space: nowrap;
  }

  .spectrum-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .learn-more-grid {
    grid-template-columns: 1fr;
  }

  .question-options {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* ── Start button ───────────────────────────────────────────────────────────── */
/* ── Quiz section ───────────────────────────────────────────────────────────── */
.quiz-nav--landing {
  margin-top: 0;
}
.quiz-sec {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px 80px;
}

.quiz-inner {
  width: min(660px, 100%);
}

.question-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  text-align: center;
  line-height: 1.25;
  color: var(--text);
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
  user-select: none;
}

.question-option:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border);
}

.question-option.selected {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.question-option:nth-child(1),
.question-option:nth-child(2) {
  border-color: rgba(43, 155, 127, 0.22);
}

.question-option.selected:nth-child(1),
.question-option.selected:nth-child(2) {
  border-color: var(--accent);
}

.question-option:nth-child(3) {
  border-color: var(--border2);
}

.question-option:nth-child(4),
.question-option:nth-child(5) {
  border-color: rgba(169, 93, 72, 0.22);
}

.question-option.selected:nth-child(4),
.question-option.selected:nth-child(5) {
  border-color: var(--accent);
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  gap: 12px;
}

.btn-back,
.btn-next {
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.16s ease, opacity 0.16s ease, transform 0.12s ease;
  border: none;
}

.btn-back {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-back:hover {
  background: var(--bg2);
}

.btn-next {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 12px rgba(169, 93, 72, 0.22);
}

.btn-next:hover:not(:disabled) {
  background: #8e4b39;
  transform: translateY(-1px);
}

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

/* ── Results section ────────────────────────────────────────────────────────── */
.results-sec {
  min-height: 100vh;
  padding: 48px 24px 80px;
}

.results-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.results-header {
  text-align: center;
  margin-bottom: 36px;
}

.results-title {
  margin: 0 0 10px;
  font-family: "Noto Serif", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.results-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.results-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted2);
  font-family: "Spline Sans Mono", monospace;
  letter-spacing: 0.04em;
}

.legend-item--avg {
  color: #8f700a;
}

.legend-item--user {
  color: var(--accent);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}

.results-summary-block {
  margin-bottom: 18px;
  padding: 10px 20px;
}

.results-top-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .results-top-panels {
    gap: 12px;
  }

  .results-top-panels .results-summary-block {
    padding-left: 10px;
    padding-right: 10px;
  }

  .results-top-panels .result-axis-track {
    height: 38px;
  }

  .results-top-panels .result-axis-row {
    gap: 8px;
  }
}

@media (min-width: 900px) {
  .results-top-panels {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .results-top-panels .results-text-summary,
  .results-top-panels .results-summary-block {
    margin-bottom: 0;
    height: 100%;
  }

  .results-top-panels .results-summary-block {
    grid-column: 1 / -1;
    padding-left: 14px;
    padding-right: 14px;
  }

  .results-top-panels .results-text-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.results-text-summary {
  margin: 0 0 20px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  font-family: "Public Sans", sans-serif;
  display: block;
}

.results-text-summary-lead,
.results-text-summary-tail {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.results-text-summary-lead {
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.results-text-summary-tail {
  text-align: right;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.results-text-summary-list {
  margin: 5px auto;
  padding-left: 24px;
  list-style: disc;
  width: fit-content;
  text-align: left;
}

.results-text-summary-row {
  font-family: "Spline Sans Mono", monospace;
  font-size: clamp(0.7rem, 0.9vw, 1rem);
  line-height: 1.45;
  margin: 10px 0;
}

.results-text-summary-label {
  font-family: "Spline Sans Mono", monospace;
  color: inherit;
}

.results-text-summary-label.pct--light {
  font-weight: 400;
}

.results-text-summary-label.pct--medium {
  font-weight: 700;
}

.results-text-summary-label.pct--heavy {
  font-weight: 900;
  color: var(--accent);
}

.results-text-summary-pct {
  font-family: "Public Sans", sans-serif;
  color: inherit;
}

.pct--light {
  font-weight: 400;
}

.pct--medium {
  font-weight: 700;
}

.pct--heavy {
  font-weight: 900;
  color: var(--accent);
}

.results-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 50px;
  padding-left: 20px;
  flex-wrap: wrap;
}

.results-summary-compare {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  flex-wrap: wrap;
}

.results-party-compare-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.results-party-compare-select {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.party-compare-output {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(169, 93, 72, 0.04);
  color: var(--text);
}

.party-compare-summary {
  margin: 0 0 10px;
  font-weight: 700;
}

.party-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.party-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface2);
  font-size: 0.8rem;
}

.party-compare-row strong {
  color: var(--accent);
}

.results-summary-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.results-actions-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.results-summary-actions .btn-save-summary,
.results-summary-actions .btn-share {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  min-width: 150px;
}

.results-summary-actions .btn-share {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 3px 12px rgba(169, 93, 72, 0.22);
}

.results-summary-actions .btn-share.btn-success {
  background: #6b9f5d;
  box-shadow: 0 3px 12px rgba(107, 159, 93, 0.22);
}

.results-summary-actions .btn-save-summary.btn-success {
  background: #6b9f5d;
  box-shadow: 0 3px 12px rgba(107, 159, 93, 0.22);
}

.results-summary-actions .btn-share:hover {
  background: #8e4b39;
}

.results-summary-actions .btn-save-summary:hover {
  background: var(--bg2);
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 6px 18px var(--shadow);
  padding: 20px 18px 18px;
}

.result-card--detail {
  padding: 22px 20px 20px;
}

.result-axis-row {
  border-bottom: 1px solid var(--line);
  gap: 10px;
  padding: 2px 0;
  margin-bottom: 0;
}

.results-summary-block .result-axis-row:first-child,
.result-card--detail .result-axis-row {
  border-top: 1px solid var(--line);
}

.result-axis-row .axis-name,
.result-axis-row .axis-scale i {
  line-height: 1.1;
}

.result-axis-scale {
  align-items: center;
}

.result-axis-track {
  height: 42px;
}

.result-axis-track-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.result-score {
  font-size: 0.78rem;
}

.result-section-title {
  margin: 0 0 10px;
  font-family: "Public Sans", serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.result-section-title-adjective {
  font-weight: 800;
}

.result-section-title-adjective.pct--light {
  font-weight: 600;
}

.result-section-title-adjective.pct--medium {
  font-weight: 800;
}

.result-section-title-adjective.pct--heavy {
  font-weight: 900;
}

.result-strength-text {
  margin: 14px 0 0;
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.result-party-text {
  margin: 18px 0 0px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 600;
}

.result-party-text a,
.result-party-text a:visited,
.result-party-text a:hover,
.result-party-text a:focus {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.party-svg-marker text {
  font-family: "Spline Sans Mono", monospace;
  letter-spacing: 0.04em;
}

.result-interpretation {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

.result-interpretation-gap {
  display: block;
  height: 0.25em;
}

.results-info-block {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 6px 18px rgba(29, 34, 48, 0.04);
}

.results-info-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.results-footer {
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.results-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.btn-social:hover {
  background: var(--bg2);
  border-color: var(--border2);
}

.btn-share,
.btn-restart {
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.16s ease;
}

.btn-share {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 3px 12px rgba(169, 93, 72, 0.22);
}

.btn-share:hover {
  background: #8e4b39;
}

.btn-restart {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-restart:hover {
  background: var(--bg2);
}

.results-share-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted2);
}

@media (max-width: 640px) {
  .quiz-sec,
  .results-sec {
    padding-left: 16px;
    padding-right: 16px;
  }

  .question-options {
    display: flex;
    flex-direction: column-reverse;
  }

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

  .results-summary-row {
    /*padding-left: 0;*/
    /*flex-direction: column;*/
  }


  .results-summary-compare {
    /*justify-content: flex-start;*/
    /*order: -1;*/
    flex-wrap: nowrap;
    gap: 8px;
  }

  .results-party-compare-label {
    flex: 1;
    min-width: 0;
  }

  .results-party-compare-select {
    max-width: 120px;
    flex-shrink: 0;
  }

  text[fill="#b85e49"] {
    font-size: 10px !important;
  }

}
