:root {
  --bg: #050807;
  --text: #8fa69e;
  --text-dim: #5c6e68;
  --text-faint: #44544e;
  --rail: #274d42;
  --mint: #73ffd6;
  --mint-bright: #c2ffec;
  --amber: #ffb85c;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ascii: "JetBrains Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(39, 77, 66, 0.11), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 13px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 2;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(115, 255, 214, 0.013) 0, rgba(115, 255, 214, 0.013) 1px, transparent 1px, transparent 4px);
  content: "";
  pointer-events: none;
}

a {
  color: var(--mint);
  text-underline-offset: 0.2em;
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

a:hover {
  color: var(--mint-bright);
}

a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

.site-shell {
  display: flex;
  width: min(100%, 840px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 40px 56px;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.presenting {
  margin: 0;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.45em;
}

.wordmark {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--mint);
  font: clamp(4px, 1.2vw, 10px)/1 var(--ascii);
  text-align: left;
  text-shadow: 0 0 22px rgba(115, 255, 214, 0.5), 0 0 4px rgba(115, 255, 214, 0.9);
}

.tagline,
.section-heading,
.requirements,
footer p {
  margin: 0;
}

.tagline {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.35em;
  text-shadow: 0 0 10px rgba(255, 184, 92, 0.5);
}

.intro {
  max-width: 56ch;
  margin: 0;
}

.section {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.section-heading {
  color: var(--amber);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.section-heading span {
  color: var(--rail);
}

.feature-list {
  display: grid;
  max-width: 640px;
  margin: 0;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  text-align: left;
}

.feature-list dt {
  padding-top: 2px;
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.feature-list dd {
  margin: 0;
}

.demo-trigger {
  display: block;
  position: relative;
  width: 100%;
  max-width: 660px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1328 / 874;
  background: var(--bg);
  box-shadow: 0 0 30px rgba(115, 255, 214, 0.1);
}

.demo-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  background: rgba(5, 8, 7, 0.72);
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 150ms ease;
}

.demo-trigger:hover .demo-expand,
.demo-trigger:focus-visible .demo-expand {
  opacity: 1;
}

.demo-trigger:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

.demo-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
}

.demo-lightbox:not([open]) {
  display: none;
}

.demo-lightbox::backdrop {
  background: rgba(5, 8, 7, 0.9);
  backdrop-filter: blur(3px);
}

.demo-lightbox-stage {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-out;
}

.demo-lightbox .demo-video {
  width: min(1328px, 94vw);
  max-width: 94vw;
  max-height: 90vh;
  cursor: auto;
}

.demo-close {
  position: absolute;
  top: max(12px, calc(5vh - 34px));
  right: max(12px, 3vw);
  padding: 6px 10px;
  border: 1px solid rgba(115, 255, 214, 0.35);
  background: rgba(5, 8, 7, 0.72);
  color: var(--mint);
  font: 11px/1 var(--mono);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.demo-close:hover {
  border-color: rgba(115, 255, 214, 0.7);
  color: var(--mint-bright);
}

.demo-close:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.divider {
  color: var(--rail);
  font-size: 12px;
}

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.download-button {
  padding: 14px 32px;
  border: 1px solid rgba(115, 255, 214, 0.5);
  color: var(--mint);
  box-shadow: 0 0 24px rgba(115, 255, 214, 0.12), inset 0 0 24px rgba(115, 255, 214, 0.06);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(115, 255, 214, 0.6);
}

.download-button:hover {
  border-color: var(--mint);
  background: rgba(115, 255, 214, 0.03);
  box-shadow: 0 0 32px rgba(115, 255, 214, 0.25), inset 0 0 24px rgba(115, 255, 214, 0.12);
}

.requirements {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.requirements span {
  color: var(--rail);
}

footer {
  color: var(--text-dim);
  font-size: 12px;
}

footer a {
  color: var(--text);
}

@media (max-width: 620px) {
  .site-shell {
    padding: 38px 20px 40px;
    gap: 30px;
  }

  .tagline {
    font-size: 10px;
    letter-spacing: 0.23em;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .feature-list dd {
    margin-bottom: 12px;
  }

  .feature-list dd:last-child {
    margin-bottom: 0;
  }

  .section-heading span {
    letter-spacing: 0;
  }

  .download-button {
    width: 100%;
    padding-inline: 12px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 360px) {
  .section-heading span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}
