/* fxa core (group B): site header on phone, eyebrow wrapping, lede measure, back-to-top */
.lede{text-wrap:pretty}
@media (max-width:640px){
  header.site .wrap{padding-top:10px;padding-bottom:10px;row-gap:8px}
  header.site .brand{gap:10px;min-width:0}
  header.site .brand img{height:30px;width:auto}
  header.site .brand span{font-size:11px;letter-spacing:.07em;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  header.site nav{display:flex;flex-wrap:nowrap;column-gap:18px;width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  header.site nav::-webkit-scrollbar{display:none}
  header.site nav a{flex:0 0 auto;white-space:nowrap;margin:0;font-size:14px;line-height:1.25;padding:6px 0}
  header.site nav a:last-child{margin-right:28px}
  header.site.fxa-more .wrap{position:relative}
  header.site.fxa-more .wrap::after{content:"\203A";position:absolute;right:0;bottom:10px;width:44px;height:29px;line-height:27px;
    text-align:right;padding-right:14px;box-sizing:border-box;background:#0A244B;color:#fff;font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:24px;font-weight:600;pointer-events:none}
  .eyebrow{font-size:12px;letter-spacing:.06em;text-wrap:balance}
  main .hero{padding-top:0}
  main .hero h1{margin-top:0}
}
.fxa-top{position:fixed;right:16px;bottom:16px;z-index:40;font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:14px;font-weight:600;
  color:#fff;background:#0A244B;border:1px solid #0A244B;border-radius:2px;padding:10px 14px;text-decoration:none;min-height:44px;box-sizing:border-box;
  display:inline-flex;align-items:center}
.fxa-top:hover{text-decoration:underline;color:#fff}
.fxa-top:focus-visible{outline:3px solid #B13630;outline-offset:2px}
.fxa-top[hidden]{display:none}
@media print{.fxa-top{display:none!important}}
.fxa-nw{white-space:nowrap}
.fxa-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* site */
/* rows 1, 2, 5: action row pinned to the card foot, filled Begin, 16px gap */
.cards > .card{display:flex;flex-direction:column}
.cards > .card > p:last-child{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.cards > .card > p:last-child .btn{background:var(--navy);color:#fff;border-color:var(--navy)}
.cards > .card > p:last-child .btn:hover{background:#061630;color:#fff;text-decoration:underline}
/* row 4: tablet two columns with the lone last card centred */
@media (min-width:700px) and (max-width:999px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards > .card:last-child:nth-child(2n+1){grid-column:1/-1;justify-self:center;width:calc(50% - 12px)}
}
/* rows 3, 6, 7: related links */
.fxa-related{font-size:22px;margin:40px 0 8px}
ul.more{list-style:none;padding-left:0;margin:0 0 8px}
ul.more li{padding:10px 0;border-bottom:1px solid var(--rule)}
ul.more li:first-child{border-top:1px solid var(--rule)}
main#main{padding-bottom:24px}
main#main > .wrap{padding-bottom:0}
footer.site{margin-top:24px}
