/* The menu bar and footer on every website page (not ride.html or help.html, which the apps carry).
   Made by tools/site-chrome.js: change the menu there, not in the pages. */
.top, .sfoot {
  --c-deep: #043E94; --c-deeper: #032E70; --c-coral: #FD754A; --c-coral-2: #E9603A; --c-mint: #5BE3AE; --c-navy: #0A2233;
  font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.top { position: sticky; top: 0; z-index: 50; background: var(--c-deep); color: #fff; box-shadow: 0 2px 14px rgba(2, 31, 77, .25); }
.top .bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 16px; min-height: 70px;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.top .brand, .sfoot .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.top .brand img, .sfoot .brand img { width: 36px; height: 36px; border-radius: 9px; }
.top .brand i, .sfoot .brand i { font-style: normal; font-weight: 500; opacity: .8; }

.top .menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.top .menu a { position: relative; color: #DCE7FF; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; white-space: nowrap; }
.top .menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
/* Where you are: the page's own item is lit up in mint, bold, with a bar under it. */
.top .menu a[aria-current="page"] { color: var(--c-mint); font-weight: 800; background: rgba(91,227,174,.12); }
.top .menu a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -10px; height: 4px; border-radius: 2px; background: var(--c-mint); }
.top .menu a.cta { margin-left: 10px; padding: 11px 18px; border-radius: 999px; background: var(--c-coral); color: var(--c-navy); font-weight: 800; box-shadow: 0 6px 18px rgba(253,117,74,.35); }
.top .menu a.cta:hover { background: var(--c-coral-2); color: var(--c-navy); }
.top .menu a.cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--c-mint); }
.top .menu a.cta[aria-current="page"]::after { display: none; }

/* Phones and small screens: the current page's name beside a Menu button that opens the full list. */
.top .small { display: none; margin-left: auto; align-items: center; gap: 10px; }
.top .here { color: var(--c-mint); font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.top details { position: static; }
.top summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 800; font-size: 15px; }
.top summary::-webkit-details-marker { display: none; }
.top summary i { display: block; width: 18px; height: 2px; background: #fff; box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff; }
.top details .menu { display: none; }
.top a:focus-visible, .top summary:focus-visible, .sfoot a:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 2px; }

@media (max-width: 1100px) {
  .top .bar > .menu { display: none; }
  .top .small { display: flex; }
  .top details[open] .menu { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; left: 0; right: 0; top: 70px; margin: 0;
    background: var(--c-deeper); padding: 14px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 24px 40px rgba(0,0,0,.3); }
  .top details[open] .menu a { padding: 14px 16px; font-size: 17px; }
  .top details[open] .menu a[aria-current="page"]::after { left: 0; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .top details[open] .menu a.cta { margin: 10px 0 0; text-align: center; }
}

/* Footer */
.sfoot { background: #021F4D; color: #BFD0EC; padding-block: 64px 40px; font-size: 15px; line-height: 1.6; }
.sfoot .in { max-width: 1240px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.sfoot a { color: #E3ECFF; text-decoration: none; }
.sfoot a:hover { text-decoration: underline; }
.sfoot a[aria-current="page"] { color: var(--c-mint); font-weight: 700; }
.sfoot .grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.sfoot h4 { margin: 0 0 14px; color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.sfoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sfoot p { margin: 0; }
.sfoot .brand { margin-bottom: 14px; }
.sfoot .follow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sfoot .follow a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); }
.sfoot .follow svg { width: 22px; height: 22px; }
.sfoot .co { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #8FA6CC; }
@media (max-width: 900px) { .sfoot .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sfoot .grid { grid-template-columns: 1fr; } }

/* Pages still in the plain text style (legal.css): let the bar span the page. */
body.chrome { display: block; padding: 0; }
body.chrome > .wrap { margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
/* Narrow phones: the logo alone, so the page name and Menu always fit beside it. */
@media (max-width: 480px) {
  .top .bar > .brand span { display: none; }
  .top .bar { gap: 10px; }
  .top .here { max-width: none; font-size: 16px; }
}
