@font-face {
  font-family: "DM Sans";
  src: url("/identity/dm-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
* { box-sizing: border-box; }
body {
  --surface: #f3f3f1;
  --ink: #243b44;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: var(--surface);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
}
body.library { --surface: #f6f5f2; --ink: #38332c; }
body.intelligence { --surface: #24272a; --ink: #f7f6f2; }
.background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  padding: 24px 6.5vw 0;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.wordmark { font-size: 24px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.2; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-left: auto; font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
main { flex: 1; }
footer { align-self: center; padding: 10px 16px; margin-bottom: 14px; font-size: 13px; }
.background ~ header a, .background ~ footer { background: var(--surface); border-radius: 4px; }
.background ~ header a { padding-inline: 4px; }
@media (max-width: 480px) {
  header { padding: 16px 16px 0; column-gap: 8px; }
  nav { gap: 7px; }
  .wordmark { font-size: 23px; }
}
