@font-face {
  font-family: Geist;
  src: url('assets/geist-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Geist, system-ui, sans-serif;
  color: #0a0a0a;
  background: #0e92ff;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; isolation: isolate; }
.visualization { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #0e92ff; }
.visualization video {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity;
  opacity: 0; transition: opacity 1.2s ease;
}
.visualization video[data-ready] { opacity: 1; }
.blue-wash {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #0090ff00 55%, #004eaa80 100%);
}
main {
  min-height: 100svh; display: grid; place-items: center;
  padding: 84px 24px 124px;
}
.mark-wrap { position: relative; padding: 40px; cursor: default; }
.mark { position: relative; width: 92px; height: 70px; }
.mark-layer { position: absolute; left: 0; top: 0; display: block; }
.mark-cyan, .mark-magenta { opacity: 0; mix-blend-mode: screen; }
.mark-ascii {
  position: absolute; left: 0; top: 0; width: 92px; height: 70px; opacity: 0;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 6.67px; line-height: 7px; font-weight: 500; white-space: pre; color: #fff;
  text-shadow: 1px 0 rgba(255, 102, 255, 0.8), -1px 0 rgba(102, 255, 255, 0.8);
  pointer-events: none;
}
.mark-ascii > div { height: 7px; }
footer {
  position: absolute; left: 64px; right: 64px; bottom: 34px;
  display: flex; justify-content: center;
}
footer a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 0;
  font-size: 13px; color: #fff; text-decoration: none;
  text-shadow: 0 1px 5px #00386666;
}
footer a::after {
  content: ''; position: absolute; width: 0; height: 1px; bottom: 6px;
  background: #fff9; transition: width .2s ease;
}
footer a:hover::after { width: 164px; }
footer svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.3; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 3px; }
.motion-toggle {
  position: fixed; bottom: 35px; right: 32px; width: 34px; height: 34px;
  display: grid; place-items: center; background: #0061b33b; color: white;
  border: 1px solid #ffffff4d; border-radius: 50%; cursor: pointer;
  backdrop-filter: blur(8px); transition: background .2s;
}
.motion-toggle:hover { background: #0058b173; }
.motion-toggle[hidden] { display: none; }
.motion-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.play-icon, .motion-toggle[data-paused] .pause-icon { display: none; }
.motion-toggle[data-paused] .play-icon { display: block; }
@media (max-width: 600px) {
  main { padding: 70px 28px 110px; }
  footer { bottom: max(26px, env(safe-area-inset-bottom)); left: 48px; right: 48px; }
  footer a { font-size: 12px; gap: 8px; }
  .motion-toggle { right: 14px; bottom: 31px; width: 28px; height: 28px; }
}
@media (max-height: 460px) {
  main { min-height: 420px; padding: 36px 24px 92px; }
  footer { position: relative; bottom: auto; left: auto; right: auto; margin-top: -65px; padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .visualization video { display: none; }
  *, *::before, *::after { transition: none !important; }
}
