:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --primary: #4a6fa5;
  --accent: #8fae8b;
  --soft: #f5f5f2;
  --line: #dbe3ee;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(43, 43, 43, 0.06);
  --space: 8px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  background-image: 
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(143, 174, 139, 0.04) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(43, 43, 43, 0.015) 23px, rgba(43, 43, 43, 0.015) 24px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.screen {
  display: none;
  min-height: calc(100vh - 64px);
}

.screen.active {
  display: block;
}

.screen-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--space) * 12) calc(var(--space) * 4);
}

@media (max-width: 768px) {
  .screen-container {
    padding: calc(var(--space) * 7) calc(var(--space) * 3);
  }
}

.main-nav {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--space) * 2.5) calc(var(--space) * 4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: calc(var(--space) * 4);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.kicker {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 2);
}

.masthead-zone {
  max-width: 720px;
  margin: 0 auto calc(var(--space) * 12) auto;
  text-align: center;
}

.headline-primary {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: calc(var(--space) * 3);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.subheadline {
  font-size: 18px;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 5);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--space) * 1);
  min-height: 44px;
  padding: 0 calc(var(--space) * 4);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: #7a9e7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(143, 174, 139, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

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

.trust-band {
  margin: 0 auto calc(var(--space) * 12) auto;
  max-width: 880px;
  text-align: center;
}

.trust-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 3);
}

.source-badges {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--space) * 4);
  justify-content: center;
  align-items: center;
}

.source-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--space) * 1);
  filter: grayscale(1);
  opacity: 0.5;
  transition: all 220ms ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.source-badge:hover {
  filter: grayscale(0);
  opacity: 1;
}

.badge-abbr {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.badge-name {
  font-size: 11px;
  color: var(--muted);
  max-width: 12ch;
  text-align: center;
  line-height: 1.3;
}

.methodology-preview {
  max-width: 960px;
  margin: 0 auto;
}

.section-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 4);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--space) * 3);
}

.methodology-card-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(74, 111, 165, 0.3);
  border-radius: var(--radius);
  padding: calc(var(--space) * 4);
  transition: all 180ms ease;
}

.methodology-card-preview:hover {
  border-top-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.method-icon {
  margin-bottom: calc(var(--space) * 2);
  opacity: 0.7;
}

.method-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: calc(var(--space) * 1);
}

.method-desc {
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 2);
}

.method-link {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--space) * 1);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: gap 180ms ease;
}

.method-link:hover {
  gap: calc(var(--space) * 1.5);
}

.method-link::after {
  content: '→';
}

.screen-footer {
  margin-top: calc(var(--space) * 16);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.footer-separator {
  width: 64px;
  height: 1px;
  background: var(--line);
  margin: 0 auto calc(var(--space) * 4) auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--space) * 3);
  justify-content: center;
  margin-bottom: calc(var(--space) * 4);
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

.decorative-numeral {
  position: absolute;
  top: calc(var(--space) * 12);
  left: calc(50% - 360px - 100px);
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 700;
  color: rgba(43, 43, 43, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

@media (max-width: 1024px) {
  .decorative-numeral {
    display: none;
  }
}

.reveal {
  animation: rise 500ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal:nth-child(2) {
  animation-delay: 100ms;
}

.reveal:nth-child(3) {
  animation-delay: 200ms;
}

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

.progress-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--space) * 4);
  z-index: 100;
}

.logo-small {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.progress-bar {
  display: flex;
  gap: calc(var(--space) * 2);
  align-items: center;
}

.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  background: var(--surface);
  transition: all 220ms ease;
}

.progress-step.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.progress-step.completed {
  background: var(--soft);
  border-color: var(--soft);
}

.question-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px - 80px);
  padding: calc(var(--space) * 8) calc(var(--space) * 4);
}

.question-card {
  max-width: 640px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: calc(var(--space) * 6);
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.08);
  position: relative;
  transition: transform 200ms ease-out;
}

.question-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(var(--space) * 3);
  right: calc(var(--space) * 3);
  height: 8px;
  background: repeating-linear-gradient(90deg, transparent, transparent 10px, var(--soft) 10px, var(--soft) 12px);
}

.question-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: calc(var(--space) * 4);
  color: var(--ink);
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 2);
  margin-bottom: calc(var(--space) * 3);
}

.option-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: calc(var(--space) * 3);
  cursor: pointer;
  transition: all 180ms ease;
  position: relative;
}

.option-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(74, 111, 165, 0.12);
}

.option-card.selected {
  border-color: var(--primary);
  background: rgba(74, 111, 165, 0.04);
}

.option-card.selected::after {
  content: '✓';
  position: absolute;
  top: calc(var(--space) * 2);
  right: calc(var(--space) * 2);
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}

.option-skip {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  padding: calc(var(--space) * 1) 0;
  transition: color 180ms ease;
}

.option-skip:hover {
  color: var(--ink);
}

.navigation-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--space) * 4);
  gap: calc(var(--space) * 2);
  z-index: 100;
}

.slide-in-right {
  animation: slideInRight 200ms ease-out;
}

.slide-in-left {
  animation: slideInLeft 200ms ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.disclaimer-banner {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: calc(var(--space) * 2) calc(var(--space) * 3);
  margin-bottom: calc(var(--space) * 6);
  display: flex;
  gap: calc(var(--space) * 2);
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  color: var(--muted);
  margin-top: 2px;
}

.disclaimer-banner p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
}

.results-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: calc(var(--space) * 6);
  margin-bottom: calc(var(--space) * 8);
}

@media (max-width: 968px) {
  .results-layout {
    grid-template-columns: 1fr;
    gap: calc(var(--space) * 4);
  }
}

.preferences-summary {
  position: sticky;
  top: calc(64px + var(--space) * 2);
  align-self: start;
}

@media (max-width: 968px) {
  .preferences-summary {
    position: static;
  }
}

.summary-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 2);
}

.preferences-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 1.5);
}

.preference-pill {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.75);
  padding: calc(var(--space) * 1.5) calc(var(--space) * 2);
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  transition: all 180ms ease;
}

.preference-pill:hover {
  background: rgba(143, 174, 139, 0.08);
  border-color: var(--accent);
}

.preference-pill.highlighted {
  background: rgba(143, 174, 139, 0.12);
  border-color: var(--accent);
}

.results-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: calc(var(--space) * 4);
}

.methodology-grid-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--space) * 4);
}

.methodology-card-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: calc(var(--space) * 4);
  position: relative;
}

.methodology-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: calc(var(--space) * 3);
  padding-bottom: calc(var(--space) * 2);
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
}

.methodology-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.source-badge-result {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.75);
  padding: calc(var(--space) * 0.75) calc(var(--space) * 1.5);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 180ms ease;
  text-decoration: none;
  display: inline-block;
}

.source-badge-result:hover {
  background: var(--primary);
  color: white;
}

.matches-section {
  margin-bottom: calc(var(--space) * 3);
}

.matches-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 2);
}

.matches-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 1.5);
}

.match-item {
  display: flex;
  gap: calc(var(--space) * 1.5);
  font-size: 14px;
  line-height: 1.5;
  align-items: flex-start;
  padding: calc(var(--space) * 1);
  border-radius: calc(var(--radius) * 0.5);
  transition: background 180ms ease;
}

.match-item.highlight-pulse {
  background: rgba(143, 174, 139, 0.06);
  animation: pulse 180ms ease;
}

@keyframes pulse {
  0%, 100% {
    background: transparent;
  }
  50% {
    background: rgba(143, 174, 139, 0.12);
  }
}

.match-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  margin-top: 1px;
}

.no-matches {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.visit-questions-section {
  margin-top: calc(var(--space) * 8);
  border-top: 1px solid var(--line);
  padding-top: calc(var(--space) * 6);
}

.questions-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: calc(var(--space) * 2) 0;
  cursor: pointer;
  transition: all 180ms ease;
}

.questions-toggle:hover .toggle-label {
  color: var(--ink);
}

.toggle-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  transition: color 180ms ease;
}

.toggle-icon {
  color: var(--muted);
  transition: transform 220ms ease;
}

.questions-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.questions-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.questions-panel.open {
  max-height: 2000px;
}

.questions-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(var(--space) * 4);
  margin: calc(var(--space) * 3) 0 calc(var(--space) * 4) 0;
}

@media (max-width: 768px) {
  .questions-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.questions-intro {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}

.questions-actions {
  display: flex;
  gap: calc(var(--space) * 2);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--space) * 1);
  padding: calc(var(--space) * 1.5) calc(var(--space) * 2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}

.btn-icon:hover {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 2px 6px rgba(43, 43, 43, 0.08);
}

.btn-icon svg {
  flex-shrink: 0;
}

.questions-list {
  list-style: none;
  counter-reset: question-counter;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 2);
}

.questions-list li {
  counter-increment: question-counter;
  display: flex;
  gap: calc(var(--space) * 2);
  font-size: 15px;
  line-height: 1.6;
}

.questions-list li::before {
  content: counter(question-counter) '.';
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}

.results-footer {
  margin-top: calc(var(--space) * 8);
  padding-top: calc(var(--space) * 4);
  border-top: 1px solid var(--line);
  text-align: center;
}

.guide-header {
  margin-bottom: calc(var(--space) * 8);
}

.breadcrumb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 3);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb-sep {
  margin: 0 calc(var(--space) * 1);
  opacity: 0.5;
}

.guide-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: calc(var(--space) * 2);
  max-width: 24ch;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--space) * 2);
  font-size: 14px;
  color: var(--muted);
}

.meta-item strong {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.meta-sep {
  opacity: 0.4;
}

.comparison-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: calc(var(--space) * 8);
}

.table-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  border-bottom: 1px solid var(--line);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row.reveal-row {
  opacity: 0;
  transform: translateY(8px);
}

.table-row.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .table-row {
    grid-template-columns: 1fr;
  }
}

.table-header {
  background: var(--soft);
}

.table-cell {
  padding: calc(var(--space) * 3);
  font-size: 15px;
  line-height: 1.6;
}

.table-cell.category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
  border-right: 1px solid var(--line);
}

@media (max-width: 768px) {
  .table-cell.category {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

.table-cell.method-header {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.cell-source {
  display: inline-block;
  margin-top: calc(var(--space) * 1);
  padding: calc(var(--space) * 0.5) calc(var(--space) * 1);
  background: var(--soft);
  border-radius: calc(var(--radius) * 0.5);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.sources-section {
  margin: calc(var(--space) * 12) 0;
}

.sources-separator {
  width: 64px;
  height: 1px;
  background: var(--line);
  margin-bottom: calc(var(--space) * 4);
}

.sources-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 3);
}

.sources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 2);
}

.sources-list li {
  font-size: 14px;
  line-height: 1.5;
}

.sources-list a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.sources-list a:hover {
  border-bottom-color: var(--primary);
}

.source-date {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  margin-left: calc(var(--space) * 1);
}

.related-guides {
  margin-top: calc(var(--space) * 8);
}

.related-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--space) * 3);
}

.related-scroll {
  display: flex;
  gap: calc(var(--space) * 3);
  overflow-x: auto;
  padding-bottom: calc(var(--space) * 2);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.related-card {
  flex: 0 0 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: calc(var(--space) * 3);
  text-decoration: none;
  color: var(--ink);
  transition: all 180ms ease;
}

.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.related-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: calc(var(--space) * 1);
}

.related-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.guide-cta-sticky {
  position: fixed;
  bottom: calc(var(--space) * 3);
  right: calc(var(--space) * 3);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.guide-cta-sticky.visible {
  opacity: 1;
  pointer-events: all;
}

@media (min-width: 769px) {
  .guide-cta-sticky {
    display: none;
  }
}

.global-footer {
  margin-top: calc(var(--space) * 16);
  padding: calc(var(--space) * 4);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

button:focus-visible,
a:focus-visible,
.option-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal,
  .slide-in-right,
  .slide-in-left,
  .table-row.reveal-row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 390px) {
  .screen-container {
    padding: calc(var(--space) * 5) calc(var(--space) * 2);
  }
  
  .headline-primary {
    font-size: 32px;
  }
  
  .nav-links {
    gap: calc(var(--space) * 2);
  }
  
  .nav-links a {
    font-size: 13px;
  }
  
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  
  .progress-bar {
    gap: calc(var(--space) * 1);
  }
  
  .progress-step {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  
  .question-card {
    padding: calc(var(--space) * 4);
  }
  
  .navigation-footer {
    padding: 0 calc(var(--space) * 2);
  }
}
