:root {
  --bg: #0a0716;
  --fg: #ebe8f2;
  --fg-muted: #bdb6cc;
  --accent: #c4a7f7;
  --accent-rule: rgba(196, 167, 247, 0.38);
  --notice-yellow: #e8c547;
  --notice-yellow-dark: #b8941f;
  --border: #2e2440;
  --text-inline-pad: clamp(2rem, 9vw, 6rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: VT323, "Courier New", monospace;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}

h1 {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-size: clamp(1.75rem, 6.5vw, 3.75rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--fg);
  padding-inline: var(--text-inline-pad);
  box-sizing: border-box;
  max-width: 100%;
}

.section-rule {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-rule) 15%,
    var(--accent-rule) 85%,
    transparent
  );
  box-shadow: 0 0 10px rgba(196, 167, 247, 0.12);
}

.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
  background: #000;
}

.video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.dev-notice {
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.45;
  color: var(--notice-yellow);
  text-align: center;
  padding-inline: var(--text-inline-pad);
  box-sizing: border-box;
}

.demo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-inline: var(--text-inline-pad);
  box-sizing: border-box;
}

.demo-cta {
  color: var(--notice-yellow);
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.demo-cta:hover,
.demo-cta:focus-visible {
  color: var(--notice-yellow-dark);
  border-bottom-color: var(--notice-yellow-dark);
  outline: none;
}

.demo-note {
  color: var(--fg-muted);
  text-align: center;
  max-width: 42ch;
}

.demo .dev-notice {
  margin-top: 1.5rem;
  padding-inline: 0;
  max-width: 60ch;
}

blockquote {
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  color: var(--fg-muted);
  text-align: center;
  padding-inline: var(--text-inline-pad);
  box-sizing: border-box;
}

blockquote p + p {
  margin-top: 0.9rem;
}

.roadmap-line {
  color: var(--fg-muted);
  text-align: center;
  max-width: 52ch;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  padding-inline: var(--text-inline-pad);
  box-sizing: border-box;
  max-width: 100%;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  fill: currentColor;
  transform: translateY(-0.05em);
}

.links a:hover,
.links a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
  outline: none;
}

@media (max-width: 600px) {
  .links {
    gap: 0.75rem 1.5rem;
  }
}
