/* Revision 332 — the phone review of 28 September 2026.
   Loaded after rev331. Four things seen on an iPhone: the Paralegal hero
   jittered as Safari's toolbar moved, the home hero needed a scroll to be
   seen whole, the open menu sat under the nav at the top of the page, and
   the footer ran to one long column. */

/* Paralegal hero. `100dvh` grows and shrinks every time Safari's toolbar
   collapses, so the section, its edge-bleed photograph and the Ken Burns
   transform re-laid out mid-scroll. `100svh` holds still (rev326 doctrine
   for the phone showcase). */
html body #page-paralegal .pl-hero{min-height:100svh}

/* Home hero on a phone. The 1040px floor, 485px demo and 650px progress
   line were sized for a third, phone-call panel that the hero no longer
   carries (two panels: 01 Associate, 02 Paralegal), which left 200px of
   dead film between the card and the headline. On phones the hero is now a
   column that flows (card, progress line, copy) and is one viewport tall
   wherever the content allows, so nothing can overlap and nothing is
   pinned to the foot of a fixed box. */
@media (max-width:720px){
  html body #page-home .nx-hero{min-height:100svh;flex-direction:column;justify-content:flex-end;padding:116px 15px 24px}
  html body #page-home .nx-hero-demo{position:relative;inset:auto;width:auto;min-height:376px;margin:0;order:1}
  html body #page-home .nx-demo-paralegal,html body #page-home .nx-demo-associate{inset:0 0 24px}
  html body #page-home .nx-demo-progress{position:relative;inset:auto;width:auto;height:0;margin:20px 0 0;order:2}
  html body #page-home .nx-hero-copy{position:relative;inset:auto;width:auto;margin:18px 0 0;padding:0;order:3}
  html body #page-home .nx-hero-copy h1{font-size:clamp(48px,14vw,60px)}
  html body #page-home .nx-hero-copy p{margin-top:14px}
  html body #page-home .nx-hero-actions{margin-top:16px;flex-wrap:nowrap}
  html body #page-home .nx-hero-actions .v3-btn{flex:1 1 0;min-width:0;justify-content:center;padding-inline:14px;white-space:nowrap}
}

/* Mobile menu. Its top was a fixed 88px, which cleared the compact nav
   (bottom edge 68px) but not the nav at rest under the announcement bar
   (bottom edge 106px). rev332.js now places it from the nav's live
   bottom edge on open, scroll and resize; the width matches the nav. */
@media (max-width:760px){
  html body .mmenu{left:12px;right:12px}
}

/* Footer on a phone. Under 560px the four link columns stacked into one
   column 1100px tall; the right half of the screen was empty. The brand
   block keeps the full width, the four columns pair up beneath it. */
@media (max-width:560px){
  html body footer .frow{grid-template-columns:1fr 1fr;gap:36px 20px}
  html body footer .frow>div:first-child{grid-column:1/-1}
  html body footer .fcol b{margin-bottom:10px}
  html body footer .fcol a{padding:6px 0}
  html body footer .fleg{margin-top:48px}
}
