:root {
  color-scheme: light dark;
  --bg: #f7f9ff;
  --fg: #13203f;
  --muted: #58688f;
  --line: rgba(28, 44, 97, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05070d;
    --fg: #f5f7ff;
    --muted: #a9b3d4;
    --line: rgba(255, 255, 255, 0.14);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 54px 20px 28px;
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, sans-serif;
  text-align: center;
}

.logo {
  width: min(260px, 66vw);
}

h1 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.demo {
  width: min(960px, 94vw);
  margin: 0;
}

.demo video {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #000;
  image-rendering: pixelated;
}

figcaption {
  max-width: 62ch;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.5;
}

.role-line {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.65;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 1.05rem;
}

nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

nav a:hover,
nav a:focus-visible {
  border-bottom-color: currentColor;
}
