@font-face {
  font-family: Manual;
  src: url(body.woff2) format('woff2');
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #152634;
  --blue: #244dbc;
  --line: #cfd9de;
  --soft: #f3f6f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    1rem/1.55 Manual,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: white;
}
a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}
header {
  background: #122434;
  color: white;
  display: flex;
  gap: 1.8rem;
  align-items: center;
  padding: 0.9rem clamp(1rem, 5vw, 5rem);
}
header a {
  color: white;
  text-decoration: none;
}
header nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: bold;
  font-size: 1.2rem;
}
.brand img {
  border-radius: 0.4rem;
}
.shell {
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 58rem);
  max-width: 84rem;
  margin: auto;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 2rem clamp(1rem, 4vw, 4rem) 5rem;
}
aside {
  align-self: start;
  position: sticky;
  top: 1rem;
  max-height: 94vh;
  overflow: auto;
  padding-right: 0.7rem;
}
aside label,
summary {
  font-weight: 650;
}
input {
  font: inherit;
  width: 100%;
  border: 1px solid #879aa5;
  border-radius: 0.4rem;
  padding: 0.6rem;
  margin: 0.4rem 0 0.8rem;
}
summary {
  cursor: pointer;
  padding: 0.4rem 0;
}
aside details nav details {
  margin: 0.7rem 0;
}
aside nav a,
#matches a {
  display: block;
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  font-size: 0.94rem;
  border-left: 2px solid transparent;
}
a[aria-current] {
  border-color: var(--blue);
  background: var(--soft);
  font-weight: bold;
}
.crumb {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.intro {
  font-size: 1.25rem;
}
h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 1.1rem 0;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 2.2rem 0 1rem;
}
main > p,
li {
  max-width: 78ch;
}
figure {
  margin: 1.3rem 0;
}
figure img,
video {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}
figcaption {
  margin-top: 0.6rem;
}
pre {
  overflow: auto;
  padding: 1rem;
  background: #142635;
  color: #eef5f7;
  border-radius: 0.4rem;
  max-height: 32rem;
}
code {
  overflow-wrap: anywhere;
  font-size: 0.92em;
}
.steps,
.links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.links a {
  border: 1px solid var(--line);
  padding: 0.4rem 0.65rem;
  border-radius: 0.35rem;
  text-decoration: none;
}
.steps button {
  font: inherit;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  background: white;
  border-radius: 0.35rem;
  cursor: pointer;
}
.steps button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.cards a {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.cards img {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: top;
}
.cards strong,
.cards span {
  display: block;
  padding: 0.4rem 0.8rem;
}
.cards span {
  font-size: 0.95rem;
  padding-bottom: 1rem;
}
.skip {
  position: absolute;
  left: -99rem;
}
.skip:focus {
  left: 1rem;
  background: white;
}
.links a:hover,
aside a:hover,
.cards a:hover {
  background: var(--soft);
}
:focus-visible {
  outline: 3px solid #447bea;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .shell {
    display: block;
    padding: 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  aside {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding: 0 0 0.5rem;
  }
  .cards img {
    display: none;
  }
  header {
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
  }
  h1 {
    overflow-wrap: anywhere;
  }
}
