/* X-INTAKE-171300 / contain decorative signal art at mobile and tablet widths.
   Keep the graphic behind readable copy without offscreen fragments. */
@media(max-width:640px){
 body.intake-home .story-main{isolation:isolate}
 body.intake-home .story-main .signal-graphic{
   box-sizing:border-box!important;
   width:min(46vw,180px)!important;
   height:auto!important;
   aspect-ratio:1;
   inset:auto 0 0 auto!important;
   right:0!important;
   bottom:0!important;
   opacity:.19!important;
   pointer-events:none!important;
 }
}
@media(min-width:641px) and (max-width:900px){
 body.intake-home .story-main .signal-graphic{
  width:min(35vw,255px)!important;
  height:auto!important;
  aspect-ratio:1;
  right:0!important;
  bottom:0!important;
  opacity:.23!important;
 }
}
/* ATHRTY X-INTAKE-MOBILE-8301
   Layout containment for the real intake flow. Only the home form's mobile
   presentation changes; field names, validation and submission are untouched.
   Do not disable viewport zoom: this page must tolerate enlarged text. */
@media (max-width: 640px) {
  body.intake-home .layout,
  body.intake-home .form-zone,
  body.intake-home .form-shell,
  body.intake-home .form-step,
  body.intake-home .problem-grid {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.intake-home .form-zone {
    width: 100%;
    padding: 0 12px 34px !important;
  }
  body.intake-home .form-shell {
    width: 100% !important;
    padding: 22px 16px 28px !important;
  }

  /* One comprehensible, tappable choice per row on phones. */
  body.intake-home .problem-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    width: 100% !important;
  }
  body.intake-home .problem-grid > .choice,
  body.intake-home .problem-grid > .choice.selected,
  body.intake-home .problem-grid > .choice.selected:hover {
    display: grid !important;
    grid-template-columns: 40px minmax(0,1fr) 20px !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 76px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  body.intake-home .problem-grid > .choice .choice-symbol {
    position: static !important;
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 12px;
  }
  body.intake-home .problem-grid > .choice .choice-symbol .ath-icon {
    display: block;
    width: 21px;
    height: 21px;
  }
  body.intake-home .problem-grid > .choice > span:nth-child(2) {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    text-wrap: pretty;
    align-self: center !important;
  }
  body.intake-home .problem-grid > .choice .choice-indicator {
    position: static !important;
    display: block !important;
    justify-self: end !important;
    align-self: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
  }


}
@media (max-width: 360px) {
  body.intake-home .form-zone {padding-inline: 9px !important}
  body.intake-home .form-shell {padding-inline: 13px !important}
  body.intake-home .problem-grid > .choice,
  body.intake-home .problem-grid > .choice.selected,
  body.intake-home .problem-grid > .choice.selected:hover {
    grid-template-columns: 36px minmax(0,1fr) 18px !important;
    column-gap: 10px !important;
    padding: 11px 12px !important;
    font-size: 14px !important;
  }
  body.intake-home .problem-grid > .choice .choice-symbol {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }
}
/* BLACKLINE / tablet bridge: legacy mobile-first.css hid semantic glyphs at 641–900px. */
@media(min-width:641px) and (max-width:900px){
 body.intake-home .problem-grid > .choice,
 body.intake-home .problem-grid > .choice.selected {
  min-height:118px!important;justify-content:space-between!important;gap:8px!important;
  padding:13px 14px!important;
 }
 body.intake-home .problem-grid > .choice .choice-symbol {
  display:grid!important;place-items:center!important;flex:none!important;
  width:36px!important;min-width:36px!important;height:36px!important;
  margin:0!important;border-radius:11px;
 }
 body.intake-home .problem-grid > .choice .choice-symbol svg.ath-icon {
  display:block!important;width:21px!important;height:21px!important;
 }
}
/* X-INTAKE-8302: progressive disclosure and narrow-screen usability. */
@media(max-width:640px){
  body.intake-home .form-step,
  body.intake-home .question-header,
  body.intake-home .form-actions,
  body.intake-home .step-context,
  body.intake-home .form-foot{
    min-width:0!important;
    max-width:100%!important;
  }
  body.intake-home .form-step :is(h2,h3,p,strong,small,label){
    overflow-wrap:break-word;
  }
  body.intake-home .question-header h3{
    font-size:clamp(26px,7.4vw,34px)!important;
    line-height:1.12!important;
    letter-spacing:-.045em!important;
  }
  body.intake-home .form-actions{
    flex-wrap:wrap!important;
  }
  body.intake-home .form-actions .primary{
    min-width:0!important;
    min-height:48px!important;
    white-space:normal!important;
  }
  body.intake-home :is(.choice,.primary,.back,.chip,.timing,.ath-shell-jarvis-inline){
    touch-action:manipulation;
  }
  body.intake-home .hero-copy .hero-sub{
    max-width:36ch!important;
    line-height:1.48!important;
  }
  body.intake-home .athrty-hero-secondary{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:10px 18px!important;
    max-width:100%!important;
  }
  body.intake-home .athrty-hero-secondary a{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    overflow-wrap:anywhere;
    text-underline-offset:3px;
  }
}