.mode-explanation { margin-top: 12px; background: #eae5f5; }
.mode-explanation h2, .mode-checklist h2 { font-size: clamp(24px, 3vw, 31px); letter-spacing: -.035em; }
.mode-difference-grid { display: grid; gap: 20px; margin-top: 20px; }
.mode-difference-grid p { line-height: 1.75; }
.mode-difference-grid strong { display: block; margin-bottom: 7px; }
.mode-section { margin-block: 54px; }
.mode-section-heading { max-width: 780px; margin-bottom: 24px; }
.mode-section-heading .eyebrow { margin-bottom: 12px; }
.mode-section-heading h2 { font-size: clamp(30px, 4vw, 42px); }
.mode-section-heading > p:last-child { margin-top: 16px; color: var(--muted); line-height: 1.75; }
.mode-controls { min-width: 0; margin-bottom: 24px; }
.mode-controls[hidden], .mode-card[hidden] { display: none !important; }
.mode-controls legend { padding-inline: 8px; font-weight: 700; font-size: 17px; }
.mode-controls > p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.mode-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.mode-options label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 13px 17px; background: var(--white); border: 1px solid #aeb5c3; border-radius: 14px; font-size: 15px; font-weight: 600; cursor: pointer; }
.mode-options label:has(input:checked) { background: #e9e4f8; border-color: #8d75b0; }
.mode-options label:has(input:focus-visible) { outline: 3px solid #365fc2; outline-offset: 4px; }
.mode-options input { width: 19px; height: 19px; margin: 0; flex-shrink: 0; accent-color: #192849; }
.mode-controls .mode-status { margin-top: 15px; color: var(--ink); font-weight: 600; }
.mode-comparison-grid { display: grid; gap: 20px; align-items: start; }
.mode-comparison-grid .mode-card { min-width: 0; padding: 24px; }
.mode-card header { padding-bottom: 20px; }
.mode-card header h3 { margin-top: 14px; font-size: 24px; line-height: 1.2; }
.mode-card header p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.mode-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #eae5f5; font-size: 27px; color: var(--ink); }
.mode-card dl { margin: 0; }
.mode-card dl > div { padding-block: 18px; border-top: 1px solid var(--line); }
.mode-card dl > div:last-child { padding-bottom: 0; }
.mode-card dt { font-size: 14px; font-weight: 750; }
.mode-card dd { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: #536177; }
.mode-checklist ul { padding-left: 22px; margin: 22px 0; }
.mode-checklist li { padding-left: 4px; margin-top: 12px; line-height: 1.7; }
.mode-checklist > p { color: var(--muted); line-height: 1.75; font-size: 14px; }
.tools-sources { margin-block: 28px; }
.tools-sources h2 { font-size: clamp(24px, 3vw, 31px); }
.tools-sources p { margin-top: 16px; line-height: 1.75; color: var(--muted); font-size: 14px; }
.tools-sources ul { margin-block: 16px 0; padding-left: 22px; }
.tools-sources li { padding: 8px 0 8px 4px; font-size: 14px; line-height: 1.6; }
.tools-sources a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.tools-sources .tools-source-date { font-size: 12px; }

@media (min-width: 700px) {
  .mode-difference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (min-width: 900px) {
  .mode-comparison-grid { grid-template-columns: repeat(var(--comparison-count), minmax(0, 1fr)); align-items: stretch; }
  .mode-comparison-grid .mode-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; gap: 0; }
  .mode-card dl { display: contents; }
}

@media (max-width: 440px) {
  .mode-options { flex-direction: column; }
  .mode-options label { width: 100%; }
  .mode-comparison-grid .mode-card { padding: 22px; }
}
