.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(23, 32, 26, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-body { padding: clamp(1.4rem, 4vw, 2.75rem); }
.card-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 .75rem;
  padding: 7px 12px;
  color: var(--field-dark);
  background: rgba(95, 122, 85, 0.12);
  border: 1px solid rgba(95, 122, 85, 0.20);
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.card-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: .98;
  letter-spacing: -0.06em;
}
.card-subtitle { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 48px;
  padding: .75rem 1.25rem;
  font-weight: 800;
  transition:
    transform var(--motion-fast) ease,
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 26px rgba(23, 32, 26, .18); }
.button-primary:hover { background: var(--field-dark); box-shadow: 0 14px 30px rgba(56, 81, 52, .24); }
.button-secondary { background: rgba(255, 255, 255, .72); color: var(--ink); border-color: var(--line); }
.button-secondary:hover { border-color: rgba(95, 122, 85, .36); background: var(--white); }
.button-ghost { background: transparent; color: var(--field-dark); border-color: rgba(95, 122, 85, .30); }
.button-ghost:hover { background: rgba(95, 122, 85, .08); }
.button-small { min-height: 42px; padding: .55rem .95rem; font-size: .9rem; }
.button[disabled] { cursor: not-allowed; opacity: .48; transform: none; }
.text-button { appearance: none; border: 0; padding: .25rem; background: transparent; color: var(--field-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

.callout {
  border-left: 5px solid var(--field);
  border-radius: 18px;
  background: rgba(95, 122, 85, 0.08);
  padding: 1rem 1.1rem;
}
.callout h3 { margin: 0 0 .35rem; font-size: 1rem; color: var(--ink); }
.callout p { margin: 0; color: var(--muted); }
.callout.advisor { border-left-color: var(--sand); background: rgba(216, 200, 170, 0.22); }
.callout.reality { border-left-color: var(--color-caution); background: rgba(216, 200, 170, 0.16); }

.answer-grid { display: grid; gap: .75rem; margin-top: 1.25rem; }
.answer-option { position: relative; display: block; }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.answer-option span {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-height: 58px;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  transition:
    border-color var(--motion-fast) ease,
    background var(--motion-fast) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}
.answer-option span::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  border: 2px solid rgba(95, 107, 98, .55);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--white);
}
.answer-option:hover span { transform: translateY(-1px); border-color: rgba(95, 122, 85, .42); box-shadow: 0 8px 20px rgba(23, 32, 26, .07); }
.answer-option input:checked + span { border-color: var(--field); background: rgba(95, 122, 85, .10); box-shadow: 0 8px 22px rgba(56, 81, 52, .08); }
.answer-option input:checked + span::before { background: var(--field); border-color: var(--field); }

.info-button {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-left: .25rem;
  border: 1px solid rgba(95, 122, 85, .28);
  border-radius: 50%;
  background: var(--white);
  color: var(--field-dark);
  font-size: .78rem;
  font-weight: 900;
  vertical-align: middle;
  transition: background var(--motion-fast), color var(--motion-fast), transform var(--motion-fast);
}
.info-button:hover { background: var(--field-dark); color: white; transform: translateY(-1px); }
.tooltip-popover {
  position: fixed;
  z-index: 100;
  width: min(350px, calc(100vw - 2rem));
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-popover);
  animation: popoverIn var(--motion-standard) var(--motion-ease) both;
}
.tooltip-popover-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}
.tooltip-popover h3 { margin: 0; color: var(--ink); font-size: 1rem; }
.tooltip-popover p { margin: 0; color: var(--muted); font-size: .92rem; }
.tooltip-close {
  appearance: none;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -.25rem -.25rem 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.tooltip-close:hover {
  background: rgba(23, 32, 26, 0.06);
  color: var(--ink);
}
@keyframes popoverIn { from { opacity: 0; transform: translateY(7px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

.accordion { margin-top: 1rem; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.accordion button { width: 100%; border: 0; background: rgba(232, 225, 212, .36); padding: .95rem 1rem; display: flex; justify-content: space-between; text-align: left; font-weight: 800; color: var(--ink); }
.accordion-panel { padding: 0 1rem 1rem; background: rgba(232, 225, 212, .36); color: var(--muted); }

.status-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: .4rem .72rem; font-size: .82rem; font-weight: 800; }
.status-ready { background: rgba(65, 108, 74, .12); color: var(--color-positive); }
.status-caution { background: rgba(138, 105, 47, .13); color: var(--color-caution); }
.status-learning { background: rgba(95, 122, 85, .12); color: var(--field-dark); }
.status-risk { background: rgba(143, 79, 54, .12); color: var(--color-risk); }
