/* Shared small-screen adjustments; desktop styles remain in their original files. */
.mobile-menu-toggle { display: none; }
@media (max-width: 850px) {
  body { font-size: 16px; overflow-wrap: anywhere; }
  *, *::before, *::after { box-sizing: border-box; }
  img, video, canvas, svg, iframe, embed, object { max-width: 100%; }
  img, video, canvas, svg { height: auto; }
  iframe { width: 100%; }
  .wrap { width: calc(100% - 32px); }
  .wrap *, dialog * { min-width: 0; }
  p, li, label, input, select, textarea, button, summary, small,
  .micro, .online, .trust, .family-inner, .eyebrow, .kicker, .step-num,
  .hero-disclosure, .financial-qualification, .note, .form-note,
  .consent-line, .consent, .qtag, .error, .disclaimer, .assumptions,
  .worksheet-help, .field label, .voice-button, .card-stage-control {
    font-size: max(1em, 16px);
  }
  a { overflow-wrap: anywhere; }
  a, button, summary, input:not([type="hidden"]), select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  a { display: inline-block; max-width: 100%; }
  button, input, select, textarea { font: inherit; font-size: 16px; max-width: 100%; }
  button, .button, .worksheet-link { white-space: normal; }
  input[type="checkbox"], input[type="radio"] {
    width: 44px; height: 44px; flex: 0 0 44px; margin: 0;
  }
  .option input { min-height: 0; min-width: 0; }
  .option label { min-height: 44px; }
  .option label::after { flex-shrink: 0; }
  .nav { flex-wrap: wrap; align-items: center; gap: 12px; }
  .mobile-menu-toggle {
    align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px; border: 2px solid var(--teal); border-radius: 12px;
    color: var(--navy); background: white; font-weight: 800; cursor: pointer;
  }
  .nav.menu-ready .mobile-menu-toggle { display: inline-flex; }
  .nav .navlinks { display: flex; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 16px; }
  .nav.menu-ready .navlinks[hidden] { display: none; }
  .nav .navlinks a, .nav .navlinks a:not(.pill) {
    display: flex; align-items: center; justify-content: center;
    padding: 12px 16px; font-size: 16px; margin: 0;
  }
  .mobile-menu-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
  .site-head { position: relative; }
  .hero-grid, .intro-grid, .considerations, .cards, .solutions .cards,
  .steps, .patron-grid, .form-grid, .interest-options, .fields,
  .question-list, .scenario-grid, .calculator, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: auto; gap: 32px; }
  .bot-card { justify-self: stretch; max-width: 100%; }
  .field.full, .form-field.full { grid-column: auto; }
  .foot { display: flex; flex-direction: column; }
  .topic-nav a { white-space: normal; font-size: 16px; }
  .close { width: 44px; height: 44px; flex-shrink: 0; }
  .voice-icon, .avatar { flex-shrink: 0; }
  dialog { max-height: 92dvh; overflow-y: auto; }
  .quiz { min-height: 0; }
  .quiz-nav { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .card, .contact-box, .interest-form, .bot-card, .cta-panel,
  .callout, .formula, .market-box, .scenario-panel, .quiz { padding: 20px; }
  .pathway-copy { padding: 20px; }
  .trust-row { grid-template-columns: minmax(0, 1fr); }
  .bubble { margin-right: 0; }
  .cta { padding: 24px; }
  h1 { font-size: clamp(32px, 9vw, 43px); }
}
