/* Equal menu columns and natural text rows at phone widths. */
@media screen and (orientation:portrait) and (max-width:800px), screen and (orientation:landscape) and (max-width:1200px) and (max-height:600px) {
  html .nav#nav .nav__extraLinks { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:0; align-items:stretch; position:relative; }
  html .nav#nav .nav__extraLink { display:flex; align-items:center; min-width:0; width:auto; height:auto!important; min-height:48px; padding:10px 12px; margin:0; font-size:clamp(20px,5.7vw,25px); line-height:1.2!important; box-sizing:border-box; border-right:0; }
  html .nav#nav .nav__extraLinks::after { content:""; position:absolute; top:0; bottom:0; left:50%; width:1px; transform:translateX(-50%); background:#6a56cf; pointer-events:none; }
  html .nav#nav .nav__extraLink:nth-child(odd), html .nav#nav .nav__extraLink:nth-child(even) { padding-left:12px; padding-right:12px; border-right:0; }
  html .nav#nav .nav__menuInfo > .nav__emailRow { display:none; }
  html .nav#nav .nav__extraLink::after { display:none!important; }
  html .nav#nav .nav__extraLink span { white-space:normal; line-height:1.2; overflow-wrap:normal; word-break:normal; max-width:100%; }
  html .nav#nav .nav__menu { overflow-y:auto; overscroll-behavior:contain; }
}

/* Keep the shared wordmark legible on the menu white surface. */
html.homepage-nav .nav#nav.is-open .nav__logo svg .fill { fill:#6a56cf; }

/* Preserve the homepage button label animation against legacy page rules. */
html .nav#nav .nav__ctaButton .button__inner:nth-child(2) { display:block!important; }
