@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #171e42;
  --soft: #56607b;
  --paper: #f4f9fd;
  --mono: "SFMono-Regular", "IBM Plex Mono", ui-monospace, monospace;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: border-box;
}
body, h1, h2, p, ul {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 78% 12%,
      rgba(204, 230, 251, 0.65),
      transparent 48%
    ),
    radial-gradient(
    ellipse at 18% 75%,
    rgba(167, 244, 208, 0.09),
    transparent 38%
  ),
    var(--paper);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-color: #e05a50;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  border-radius: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.sky-trace {
  position: absolute;
  z-index: -1;
  top: 3.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1000px);
  overflow: hidden;
  color: rgba(23, 30, 66, 0.13);
  font: 500 clamp(9px, 1.1vw, 14px)/1.55 var(--mono);
  letter-spacing: 0.23em;
  text-align: center;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 28%, #000 60%, transparent);
}
.labs-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}
.labs-header {
  display: flex;
  justify-content: center;
  padding: 2.25rem 0 1rem;
}
.labs-brand {
  display: block;
  text-decoration: none;
  padding: 0.3rem;
}
.labs-brand img {
  width: 108px;
  height: auto;
}
main {
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
  padding-bottom: 1.25rem;
}
.labs-intro {
  padding-top: clamp(1.9rem, 4vw, 3rem);
  text-align: center;
}
.labs-foundation {
  display: grid;
  gap: 2.65rem;
  max-width: 660px;
  margin-inline: auto;
}
.dictionary-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0.8rem;
  row-gap: 0.3rem;
}
.dictionary-heading h1 {
  font-size: 1.65rem;
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.pronunciation {
  font-size: 0.95rem;
  color: var(--soft);
}
.word-class {
  font: 0.65rem/1.5 var(--mono);
  color: var(--soft);
}
.definition-text {
  font-size: clamp(1.65rem, 3.15vw, 2.35rem);
  line-height: 1.35;
  font-weight: 430;
  letter-spacing: -0.025em;
  margin-top: 1rem;
  text-wrap: balance;
}
.sky-word {
  background: linear-gradient(
    transparent 79%,
    rgba(231, 255, 83, 0.55) 79% 93%,
    transparent 93%
  );
}
.etymology {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: var(--soft);
  line-height: 1.8;
}
.mission-statement {
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.atmosphere-copy {
  max-width: 620px;
  margin: 1.15rem auto 0;
  font-size: 0.92rem;
  color: var(--soft);
  line-height: 1.75;
  text-wrap: pretty;
}
.products {
  margin-top: 2.8rem;
  text-align: center;
}
.eyebrow {
  font: 500 0.68rem/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--soft);
}
.orbit-stage {
  width: min(100%, 640px);
  min-height: 360px;
  margin: 0.65rem auto 0;
  position: relative;
}
.orbit-aura {
  display: none;
  position: absolute;
  inset: 12% 14%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(204, 230, 251, 0.35),
    rgba(167, 244, 208, 0.12) 42%,
    transparent 72%
  );
  pointer-events: none;
}
.product-list {
  list-style: none;
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 0.7rem;
}
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 0.35rem;
  min-height: 88px;
}
.product-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 30, 66, 0.07);
  box-shadow:
    0 4px 9px rgba(23, 30, 66, 0.04),
    0 13px 32px rgba(23, 30, 66, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-icon img {
  max-height: 100%;
  object-fit: contain;
}
.icon-atm {
  background: #111113;
}
.icon-atm img {
  width: 35px;
  height: 35px;
}
.icon-supper {
  background: #fff;
}
.icon-supper img {
  width: 37px;
  height: auto;
}
.icon-2s {
  background: #000;
}
.icon-tickets {
  background: #000;
}
.product-list li:has(.icon-tickets) {
  opacity: 1 !important;
}
.icon-tickets img {
  width: 39px;
  height: 39px;
}
.icon-market img {
  width: 28px;
  height: auto;
}
.product:hover .product-icon, .product:focus-visible .product-icon {
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 8px 18px rgba(23, 30, 66, 0.08),
    0 20px 42px rgba(23, 30, 66, 0.12);
}
.product-name {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.7rem;
  line-height: 1.4;
  text-wrap: balance;
}
.product-name > span {
  display: inline-block;
  margin-left: 0.1rem;
  color: var(--soft);
  font-weight: 400;
}
.orbit-stage[data-orbit-ready] {
  height: 360px;
}
[data-orbit-ready] .orbit-aura {
  display: block;
}
[data-orbit-ready] .product-list {
  padding: 0;
  display: block;
  position: absolute;
  inset: 0;
}
[data-orbit-ready] .product-list li {
  position: absolute;
  left: calc(50% - 36px);
  top: calc(50% - 36px);
  width: 72px;
  height: 72px;
  will-change: transform;
}
[data-orbit-ready] .product-list li:hover,
[data-orbit-ready] .product-list li:focus-within {
  z-index: 500 !important;
  opacity: 1 !important;
}
[data-orbit-ready] .product {
  justify-content: center;
  padding: 8px;
  width: 72px;
  height: 72px;
  min-height: 0;
  position: relative;
}
[data-orbit-ready] .product:focus-visible {
  outline: none;
}
[data-orbit-ready] .product:focus-visible .product-icon {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
[data-orbit-ready] .product-name {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  width: max-content;
  max-width: 180px;
  margin: 0;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(23, 30, 66, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(23, 30, 66, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
[data-orbit-ready] .product:hover .product-name,
[data-orbit-ready] .product:focus-visible .product-name {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.orbit-toggle {
  position: absolute;
  z-index: 510;
  top: 0.5rem;
  right: 0.3rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 9px;
  border: 1px solid rgba(23, 30, 66, 0.08);
  border-radius: 50%;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.orbit-toggle[hidden] {
  display: none;
}
.orbit-toggle:hover {
  background: white;
  color: var(--ink);
}
.orbit-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.orbit-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit-toggle .play-symbol {
  display: none;
}
.orbit-toggle[aria-pressed="true"] .pause-symbol {
  display: none;
}
.orbit-toggle[aria-pressed="true"] .play-symbol {
  display: block;
}
.labs-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.5rem;
  margin-top: auto;
  font-size: 0.73rem;
  color: var(--soft);
}
.labs-footer a {
  text-decoration: none;
}
.footer-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem clamp(0.85rem, 2vw, 1.3rem);
  margin-left: auto;
}
.footer-links a {
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem;
  background: white;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
@media (max-width: 600px) {
  .labs-header {
    padding-top: 1.75rem;
  }
  .labs-brand img {
    width: 96px;
  }
  .labs-intro {
    padding-top: 1.9rem;
  }
  .labs-foundation {
    gap: 2.3rem;
  }
  .dictionary-heading {
    column-gap: 0.65rem;
  }
  .dictionary-heading h1 {
    font-size: 1.5rem;
  }
  .pronunciation {
    font-size: 0.85rem;
  }
  .word-class {
    font-size: 0.6rem;
  }
  .mission-statement {
    font-size: 1.08rem;
  }
  .atmosphere-copy {
    font-size: 0.88rem;
  }
  .products {
    margin-top: 2.3rem;
  }
  .orbit-stage {
    min-height: 360px;
  }
  .orbit-stage[data-orbit-ready] {
    height: 360px;
  }
  .product-list {
    gap: 1.2rem 0.5rem;
  }
  .product-name {
    font-size: 0.75rem;
  }
  .sky-trace {
    top: 3rem;
    font-size: 9px;
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .product-icon, [data-orbit-ready] .product-name {
    transition: none;
  }
}

[data-has-script] .product-name {
  opacity: 0;
}
[data-has-script] .product:hover .product-name,
[data-has-script] .product:focus-visible .product-name {
  opacity: 1;
}
[data-tap-mode="true"] .product:hover .product-name {
  opacity: 0;
}
[data-tap-mode="true"] .product:focus-visible .product-name {
  opacity: 1;
}
.app-popover {
  position: absolute;
  z-index: 520;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 16px);
  border: 1px solid rgba(23, 30, 66, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(23, 30, 66, 0.1);
}
.app-popover[hidden] {
  display: none;
}
.app-popover a {
  display: block;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
}
.app-popover a:focus-visible {
  outline-offset: 3px;
  border-radius: 10px;
}
