/* Site nav for the static pages, built by /site-nav.js (2026-10-07).
   Tokens from DESIGN.md: text #221E30, muted #6A6580, accent-deep #6468D8. */
/* Space is reserved by this stylesheet (in <head>), so inserting the bar
   from the deferred script shifts nothing (CLS). */
body { padding-top: 64px; }
.fc-snav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  font-family: "Inter Tight", system-ui, sans-serif;
}
.fc-snav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
}
.fc-snav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
  /* Round 10 (a11y): the bar is transparent over the page's periwinkle glow (down to #c7c9f2 on /waitlist), where
     #6468d8 was 2.9:1. #3f43b8 is 4.8:1 on the darkest glow and 7.2:1 on the page background. */
  color: #3f43b8;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.fc-snav-brand img { display: block; width: 32px; height: 32px; }
.fc-snav-links {
  display: none;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1eff8 100%);
  border: 1px solid rgba(32, 28, 46, 0.08);
}
.fc-snav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  color: #5a5570;
  font-size: 14px;
  text-decoration: none;
}
.fc-snav-links a:hover,
.fc-snav-links a[aria-current="page"] { color: #221e30; background: rgba(139, 143, 232, 0.16); }
.fc-snav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #6468d8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .fc-snav-brand span { display: none; }
}
.fc-snav-cta:hover { background: #5559cf; }
.fc-snav-toggle,
.fc-snav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(32, 28, 46, 0.12);
  border-radius: 9999px;
  background: #fff;
  color: #221e30;
  cursor: pointer;
}
.fc-snav a:focus-visible,
.fc-snav button:focus-visible,
.fc-snav-sheet a:focus-visible,
.fc-snav-sheet button:focus-visible { outline: 2px solid #6468d8; outline-offset: 2px; }

@media (min-width: 768px) {
  .fc-snav-links { display: flex; }
  .fc-snav-toggle { display: none; }
}

/* The sheet: full screen on phones, above the consent panel. */
.fc-snav-sheet {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 24px;
  background: #f7f6f9;
  overflow-y: auto;
  font-family: "Inter Tight", system-ui, sans-serif;
}
.fc-snav-sheet[hidden] { display: none; }
.fc-snav-close { align-self: flex-end; }
.fc-snav-sheetlinks { margin: 12px 0 0; padding: 0; list-style: none; }
.fc-snav-sheetlinks a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(32, 28, 46, 0.1);
  color: #221e30;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
.fc-snav-sheetlinks a[aria-current="page"] { color: #5559cf; }
.fc-snav-sheetcta { display: inline-flex; justify-content: center; min-height: 48px; margin-top: 24px; font-size: 16px; }
html.fc-snav-open, html.fc-snav-open body { overflow: hidden; }

/* The bar carries the brand now; hide the page's own duplicate home link. */
.fc-has-snav .topbar > .home,
.fc-has-snav .wrap > a.brand { display: none; }
/* Round 11 (CLS): hide it from the first paint when scripts run, instead of when the deferred script adds the class
   (that moved the whole /waitlist page up ~100 px, CLS 0.12). Browsers without the media feature keep the old path. */
@media (scripting: enabled) {
  .topbar > .home,
  .wrap > a.brand { display: none; }
}

/* 2026-11-21 mobile audit: link rows reach a 40px touch target on phones/tablets (breadcrumbs, footer links, legal doc links)
   without changing the layout of the rest of the page. */
.fc-snav-brand { min-width: 44px; }
@media (max-width: 820px) {
  .crumbs a, nav[aria-label="Breadcrumb"] a, .also a, footer nav a, nav.doclinks a {
    display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; padding-top: 0; padding-bottom: 0;
  }
  .crumbs a, nav[aria-label="Breadcrumb"] a { padding-left: 0; padding-right: 0; }
  .crumbs, .crumbs li { align-items: center; }
  footer p a, td a { display: inline-block; padding: 0.6rem 4px; }
  .notice-src li > a, main li > a:only-child { display: inline-block; padding: 0.55rem 0; }
  .also a { padding-left: 4px; padding-right: 4px; }
  nav.doclinks a { padding-top: 0.35rem; padding-bottom: 0.35rem; }
  details > summary { display: list-item; padding: 0.55rem 0; }
}
