:root {
  color-scheme: light;
  --paper: #ffffff;
  --brand: #9059a4;
  --link: #78418c;
  --ink: #15111b;
  --muted: #62576b;
  --wash: #f5f0f8;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 6px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  padding: 12px;
  background: var(--paper);
  z-index: 3;
}
.skip-link:focus {
  top: 12px;
}
.site-header,
main,
footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ece5f0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 720;
  letter-spacing: -1px;
}
.brand img {
  display: block;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 550;
}
nav a:hover,
footer a:hover {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.intro {
  padding: 42px 0 32px;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -2px;
}
.intro p {
  max-width: 790px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.labs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
  scroll-margin-top: 20px;
}
.lab {
  min-width: 0;
}
.lab-link {
  display: block;
  height: 100%;
  border-radius: 8px;
}
.preview {
  position: relative;
  aspect-ratio: 2.4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}
.preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-arcade {
  background: #15111b;
}
.preview-arcade img {
  position: absolute;
  width: 300%;
  max-width: none;
  height: auto;
  left: -60.75%;
  top: -153%;
}
.preview-control img {
  position: absolute;
  width: 160%;
  max-width: none;
  height: auto;
  left: -44%;
  top: -80%;
}
.lab-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.65px;
  font-weight: 650;
}
.open {
  color: var(--link);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.open span {
  margin-left: 3px;
}
.lab p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 55ch;
}
.lab-link:hover .open {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lab-link:hover .preview {
  box-shadow: 0 0 0 3px #9059a43d;
}
.image-note {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 10px;
  background: #ffffffed;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ece5f0;
  padding-block: 20px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1000px) {
  .lab-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 76px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-block: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 6px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  nav {
    gap: 14px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .intro {
    padding: 30px 0 26px;
  }
  h1 {
    letter-spacing: -1.25px;
    max-width: 14ch;
  }
  .intro p {
    font-size: 15px;
  }
  .labs {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lab-heading {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
  }
  h2 {
    font-size: 22px;
  }
  .lab p {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .site-header {
    gap: 8px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  nav {
    gap: 10px;
    font-size: 11px;
  }
}
