*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html.booting {
  overflow: hidden;
}

body {
  margin: 0;
  color: #111;
  background: #fff;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.45s ease;
}

.splash img {
  width: 5.5rem;
  height: auto;
  opacity: 0;
  filter: blur(28px);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease;
}

.splash.is-in img {
  opacity: 1;
  filter: blur(0);
}

.splash.is-out {
  opacity: 0;
}

a {
  color: #111;
}

a:hover {
  opacity: 0.55;
}

code {
  font: 0.9em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wrap {
  width: min(100% - 2.5rem, 36rem);
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.logo {
  display: block;
  width: 2rem;
  height: auto;
}

.logo-lg {
  width: 5.5rem;
  margin: 0 auto 1.75rem;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
}

nav a {
  text-decoration: none;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 2.5rem 0 0.65rem;
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.5rem 0 0.4rem;
}

p,
ul,
ol,
table {
  margin: 0 0 0.9rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.3rem;
}

.meta {
  color: #777;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.summary {
  margin: 2rem 0;
  padding: 0;
  border: 0;
}

.summary > p:first-child {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.6rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem 0.55rem 0;
  border-bottom: 1px solid #eee;
}

th {
  font-weight: 600;
  color: #777;
  font-size: 0.75rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}

/* home */
.home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.home p {
  color: #555;
  max-width: 22rem;
  margin: 0 auto 1.5rem;
}

.home .links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.home .links a {
  text-decoration: none;
}

@media (max-width: 640px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }

  th,
  td {
    border: 0;
    padding: 0.15rem 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    color: #777;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
  }
}
