@font-face {
  font-family: "Silkscreen";
  src: url("./docs/fonts/silkscreen-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/fonts/instrument-sans-latin-400-normal.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/fonts/instrument-sans-latin-500-normal.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: light;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --pix: "Silkscreen", "Courier New", monospace;
  --canvas: #f3f3ef;
  --surface: #fff;
  --text: #1f1f1f;
  --muted: #6c6c66;
  --line: #d9d5d2;
  --accent: #4388a8;
  --accent-soft: #edf6fb;
  --lime: #e4fa8e;
  --text-title: clamp(2.125rem, 4vw, 3rem);
  --text-heading: 1rem;
  --text-body: 0.875rem;
  --text-caption: 0.75rem;
  font-family: var(--sans);
  color: var(--text);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.page {
  width: min(100% - 3rem, 1080px);
  margin: 0 auto;
  padding: 2.5rem 0 1.75rem;
}
.brand {
  text-align: center;
  margin: 0 0 2rem;
}
.brand h1 {
  font-family: var(--pix);
  font-size: var(--text-title);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin: 0;
}
.demo {
  margin: 0;
}
.player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #ececec;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgb(31 31 31 / 0.055);
}
video,
iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
video {
  object-fit: contain;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgb(31 31 31 / 0.08);
  border-radius: 50%;
  background: var(--lime);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 4px 20px rgb(31 31 31 / 0.12);
  transition:
    background 0.18s,
    scale 0.18s;
}
.play svg {
  height: 1.65rem;
  width: 1.65rem;
  fill: currentColor;
  margin-left: 0.2rem;
}
.play:hover {
  scale: 1.06;
  background: #ebfbb3;
}
.downloads {
  margin-top: 2rem;
  text-align: center;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.download {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 4.75rem;
  width: 17.75rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.download:hover {
  border-color: var(--lime);
  background: var(--lime);
  transform: translateY(-2px);
}
.download-copy {
  display: grid;
  gap: 0.25rem;
}
.download-title {
  font-size: var(--text-heading);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.download-detail {
  font-size: var(--text-caption);
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
}
.download img {
  flex: none;
}
.download-arrow {
  width: 1.125rem;
  height: 1.125rem;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  color: var(--muted);
}
.download-note,
.download-status,
.video-error {
  font-size: var(--text-caption);
  line-height: 1.5;
  color: var(--muted);
  margin: 1rem 0 0;
}
.video-error {
  text-align: center;
}
.download-status {
  margin-top: 0.4rem;
}
.download-note #release-version:empty {
  display: none;
}
#release-version:not(:empty)::after {
  content: "";
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: var(--text-caption);
  line-height: 1.5;
  color: var(--muted);
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
  color: var(--text);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
@media (min-width: 1280px) and (max-height: 850px) {
  .page {
    width: min(100% - 4rem, 920px);
    padding-top: 1.75rem;
  }
  .brand {
    margin-bottom: 1.5rem;
  }
  .downloads {
    margin-top: 1.5rem;
  }
  footer {
    margin-top: 1.25rem;
  }
}
@media (max-width: 620px) {
  .page {
    width: calc(100% - 2rem);
    padding: 2rem 0 1.5rem;
  }
  .brand {
    margin-bottom: 1.75rem;
  }
  .player {
    border-radius: 0.625rem;
  }
  .play {
    width: 3.5rem;
    height: 3.5rem;
  }
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .download {
    width: min(100%, 20rem);
    min-height: 4.5rem;
  }
  .downloads {
    margin-top: 1.5rem;
  }
  .download-note {
    margin-top: 1.125rem;
  }
  footer {
    margin-top: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.intro {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.video-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
