/* BN2 (layout B): the launch bar's words start on the header logo's left edge and its link ends on the header button's
   right edge. The bar's inner row takes the nav wrap's own side padding at every width (base.css, r12.css, site.css,
   home-wide.css), so the two edges move together. */
.topline { text-align:left; padding-inline:0 !important; }
.topline .tl-in { display:flex; align-items:baseline; justify-content:space-between; gap:16px; width:100%; max-width:1340px; margin:0 auto; padding-inline:20px; }
.topline .tl-in > a { margin-left:0; flex:none; }
.topline .tl-words { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (min-width:761px){
  .topline .tl-in { max-width:none; padding-inline:49px; }
}
@media (min-width:1920px){
  .topline .tl-in { padding-inline:calc(40px * var(--s, 1) / var(--hz, 1)); }
}
@media (min-width:1921px){
  .home .topline .tl-in, html.r11 .topline .tl-in { padding-inline:calc(var(--copy-l, 40px) * var(--s, 1) / var(--hz, 1)); }
}
/* Launch day, the bar is white (Jacob 16:59Z "for launch we want to draw eyes"; colours from the research copy r2-B):
   white ground, dark text, the brand-blue underlined link, a hairline bottom border. */
html:not(#_):not(#__) .topline { background:var(--n0) !important; color:var(--n900) !important; border-bottom-color:var(--n200) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
html:not(#_):not(#__) .topline a { color:var(--b600) !important; font-weight:600; text-decoration:underline; }
/* BU (Jacob 18:19Z: "the underlying just makes it feel like it's shifted down"): the bar link's underline was the
   lowest ink in the bar, so the right side read low. At rest the link carries its colour and arrow only; the underline
   returns on hover and keyboard focus, with a focus ring. */
html:not(#_):not(#__) .topline a { text-decoration:none; }
html:not(#_):not(#__) .topline a:hover, html:not(#_):not(#__) .topline a:focus-visible { text-decoration:underline; text-underline-offset:3px; }
html:not(#_):not(#__) .topline a:focus-visible { outline:2px solid var(--b600); outline-offset:2px; border-radius:2px; }
/* BU optical centre: the centre of the cap height (cap top to baseline) of the sentence and the link sits on the bar's
   centre within 0.5 px. Measured on the launch view (wip/bu-measure.mjs): the baseline-aligned row sits 0.71 px high
   from 761 to 1919 and 1.04 px low from 2560, where the page scale is 1.32; a translate moves the ink only, so the
   bar's height is unchanged. */
@media (min-width:761px) and (max-width:1919px){ html:not(#_):not(#__) .topline .tl-in { translate:0 0.71px; } }
@media (min-width:2560px){ html:not(#_):not(#__) .topline .tl-in { translate:0 calc(-1.04px / 1.324); } }

/* lb4: launch bar round 4 + Company #launch header (side copy) */
html:not(#_):not(#__) .topline.lb4 .tl-in { justify-content:center; gap:12px; }
.topline.lb4 .lb-p { display:none; }
@media (max-width:760px) {
  .topline.lb4 .lb-d { display:none; }
  html:not(#_):not(#__) .topline.lb4 .tl-in { padding:0; }
  html:not(#_):not(#__) .topline.lb4 a.lb-p { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; padding:0 16px; font-size:13px; line-height:1.2; text-align:center; }
}
.launch-head { scroll-margin-top:calc(var(--hdr, 72px) + 120px); margin-bottom:32px; }
.launch-head h2 { margin:0; }
.launch-head p { margin-top:12px; }
/* lb4 fix: phone bar is exactly the 44 px link; Company header scrolls away, so a small margin is enough */
@media (max-width:760px) { html:not(#_):not(#__) .topline.lb4 { padding:0 !important; min-height:0; height:auto; } }
.launch-head { scroll-margin-top:32px; }
