.labs-main {
  padding: 72px 0 90px;
}
.labs-intro {
  max-width: 850px;
}
.labs-intro h1 {
  font-size: clamp(3rem, 5.8vw, 5rem);
}
.labs-intro .intro {
  max-width: 620px;
}
.labs-note {
  font-size: 0.88rem;
  color: #a7b5c9;
  margin-top: 24px;
}
.labs-directory {
  margin-top: 76px;
}
.labs-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.labs-section-heading h2 {
  font-size: 1.8rem;
}
.labs-section-heading > span {
  font-size: 0.85rem;
  color: #a7b5c9;
}
.labs-tools {
  align-items: start;
}
.starter-art,
.next-art {
  height: 320px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}
.starter-art {
  background: radial-gradient(ellipse at 65% 90%, #2b6359, #152b36 65%);
}
.art-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  color: #b8d6cf;
}
.document-stack {
  position: relative;
  width: min(340px, 90%);
  height: 220px;
  margin: 32px auto 0;
}
.document-sheet {
  position: absolute;
  width: 92%;
  border: 1px solid #8dc7b34d;
  border-radius: 8px;
  padding: 24px;
}
.sheet-back {
  background: #28493f;
  left: 22px;
  top: -6px;
  transform: rotate(7deg);
  height: 215px;
  color: #afd4c7;
  font:
    0.65rem ui-monospace,
    monospace;
}
.sheet-back i {
  display: block;
  height: 4px;
  width: 70%;
  margin-top: 14px;
  background: #a1c4b24d;
}
.sheet-front {
  background: #d6f0e6;
  color: #16372e;
  left: 0;
  top: 14px;
  transform: rotate(-5deg);
  height: 220px;
}
.sheet-label {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}
.sheet-front strong {
  display: block;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-top: 20px;
}
.sheet-rule {
  display: block;
  width: 45px;
  border-top: 2px solid #317e65;
  margin: 22px 0 16px;
}
.sheet-file {
  font:
    0.53rem ui-monospace,
    monospace;
  color: #426b5b;
}
.tool-labels {
  display: flex;
  gap: 7px;
}
.tag.beta {
  color: #f4d59c;
  background: #e5b15c14;
}
.tool-benefits {
  padding-left: 20px;
  color: #c2cedf;
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0 0 22px;
}
.project p.tool-detail {
  min-height: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #8fa1b9;
}
.next-art {
  background: #152137;
  display: flex;
  flex-direction: column;
}
.next-art > strong {
  font-size: 1.65rem;
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #b7c6da;
}
.tool-shapes {
  display: flex;
  gap: 15px;
  margin: 35px 0 28px;
}
.tool-shapes span {
  border: 1px solid #3c506d;
  width: 62px;
  height: 62px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font:
    1.4rem ui-monospace,
    monospace;
  color: #869db7;
  transform: rotate(-8deg);
}
.tool-shapes span:nth-child(2) {
  transform: rotate(7deg);
  border-color: #605c76;
  color: #b4a9c6;
}
.tool-shapes span:nth-child(3) {
  transform: rotate(-4deg);
  border-color: #42675e;
  color: #8cb8a7;
}
.labs-beta-note {
  margin-top: 80px;
  border-top: 1px solid #263248;
  padding-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.labs-beta-note h2 {
  font-size: 2rem;
}
.labs-beta-note p:not(.eyebrow) {
  line-height: 1.8;
  color: #a7b5c9;
  font-size: 0.95rem;
}
.header nav a[aria-current] {
  color: #53e3bd;
}
@media (max-width: 700px) {
  .labs-main {
    padding-top: 42px;
  }
  .labs-intro h1 {
    font-size: clamp(2.7rem, 10vw, 4rem);
  }
  .labs-directory {
    margin-top: 48px;
  }
  .labs-section-heading {
    display: block;
  }
  .labs-section-heading > span {
    display: block;
    margin-top: 12px;
  }
  .starter-art,
  .next-art {
    height: 300px;
    padding: 24px;
  }
  .sheet-front strong {
    font-size: 1.5rem;
  }
  .labs-beta-note {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .labs-beta-note .eyebrow {
    margin-bottom: 14px;
  }
}
@media (max-width: 390px) {
  .project-meta {
    align-items: flex-start;
  }
  .project-meta > span:first-child {
    line-height: 1.5;
  }
  .tool-labels {
    gap: 4px;
  }
}

.json-art {
  height: 320px;
  padding: 28px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 90%, #393b63, #19253c 70%);
}
.json-art-window {
  margin: 25px auto 0;
  border: 1px solid #65789466;
  background: #0e1829;
  border-radius: 9px;
  max-width: 390px;
  overflow: hidden;
  transform: rotate(-3deg);
}
.json-art-title,
.json-art-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font:
    0.6rem ui-monospace,
    monospace;
  color: #a8b8d1;
  background: #17253d;
}
.json-art-title span:last-child {
  color: #a5e5d1;
}
.json-art pre {
  font:
    0.78rem/1.9 ui-monospace,
    monospace;
  color: #c5d2eb;
  padding: 12px 18px;
  margin: 0;
}
.code-before {
  color: #eda8ad;
  text-decoration: line-through;
  background: #753b4a44;
}
.code-after {
  color: #9bdfc3;
  background: #2c6b5744;
}
.code-muted {
  color: #7b91b0;
}
.json-art-foot {
  font-size: 0.56rem;
  color: #8ba2bf;
  background: #101d31;
}
@media (max-width: 700px) {
  .json-art {
    height: 300px;
    padding: 24px;
  }
  .json-art pre {
    font-size: 0.7rem;
  }
}
