@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/nunito-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
:root {
  --canvas: #fcf9f5;
  --ink: #244d5b;
  --accent: #8ed1c6;
  --edge: #c7d4d5;
  --paper: #fff;
  --space: 24px;
  color: var(--ink);
  background: var(--canvas);
  font: 17px/1.75 "Open Sans", sans-serif;
  scrollbar-color: var(--ink) var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 4vw;
  border-bottom: 1px solid var(--edge);
}
header img {
  display: block;
  width: 160px;
  height: 32px;
  object-fit: contain;
}
header > a:last-child {
  font-size: 15px;
}
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  max-width: 1440px;
  margin: auto;
  gap: clamp(32px, 5vw, 80px);
  padding: 40px 4vw 80px;
}
nav {
  font-size: 13px;
  min-width: 0;
}
nav h2 {
  font-size: 15px;
  margin: 24px 0 8px;
}
nav ul,
.contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  display: block;
  padding: 5px 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
nav a[aria-current] {
  background: var(--accent);
  font-weight: 600;
  border-radius: 4px;
}
nav summary {
  font-weight: 600;
}
main {
  min-width: 0;
}
article {
  max-width: 72ch;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.25;
  text-wrap: balance;
  font-weight: 600;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(30px, 3.5vw, 42px);
  margin: 0 0 24px;
}
h2 {
  font-size: 26px;
  margin: 48px 0 16px;
}
h3 {
  font-size: 21px;
  margin: 32px 0 12px;
}
p {
  margin: 0 0 20px;
}
li {
  margin-bottom: 6px;
}
article img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--edge);
  border-radius: 8px;
  margin: 24px 0;
}
pre {
  background: var(--paper);
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: 8px;
}
code {
  font-size: 0.87em;
  overflow-wrap: anywhere;
}
pre code {
  overflow-wrap: normal;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
  margin: 24px 0;
}
table {
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--edge);
  padding: 12px;
  vertical-align: top;
  min-width: 100px;
}
th {
  background: var(--paper);
  font-weight: 600;
}
.contents {
  margin: 0 0 32px;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 16px;
  font-size: 14px;
}
.contents ul {
  padding: 12px 0;
}
.contents li {
  margin: 6px 0;
}
summary {
  cursor: pointer;
  min-height: 32px;
}
.faq {
  border-top: 1px solid var(--edge);
  margin-top: 48px;
}
.directory {
  margin: 0;
}
.directory dt {
  font-weight: 600;
  margin-top: 24px;
}
.directory dd {
  margin: 4px 0 0;
}
.intro {
  font-size: 20px;
}
.alternate {
  margin-top: 48px;
  font-size: 14px;
}
footer {
  border-top: 1px solid var(--edge);
  padding: 24px 4vw;
  font-size: 13px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--paper);
  padding: 12px;
  z-index: 1;
}
.skip:focus {
  top: 16px;
}
blockquote {
  margin: 24px 0;
  padding: 0 20px;
  border-left: 1px solid var(--ink);
}
@media (max-width: 760px) {
  .layout {
    display: block;
    padding: 24px 20px 48px;
  }
  nav {
    margin-bottom: 32px;
  }
  nav details {
    max-height: 280px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--edge);
    border-radius: 8px;
  }
  header {
    padding: 20px;
    gap: 16px;
  }
  header img {
    width: 140px;
    height: 28px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  article {
    width: 100%;
  }
  .intro {
    font-size: 17px;
  }
}

.mobile-nav {
  display: none;
}
article {
  overflow-wrap: anywhere;
}
article ul,
article ol {
  padding-inline-start: 24px;
}
@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  article ul,
  article ol {
    padding-inline-start: 12px;
  }
}
