:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080a09;
  color: #d7ddd9;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

/* Static grain adds texture without flicker or interfering with links. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

body::before {
  background: url("images/noise.svg") repeat;
  opacity: 0.045;
}

body::after {
  background: radial-gradient(ellipse at center, transparent 45%, rgb(0 0 0 / 24%) 100%);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
}

main {
  width: 100%;
  max-width: 560px;
  text-align: center;
  margin-block: auto;
}

h1 {
  margin: 0 0 40px;
}

.wordmark {
  display: block;
  width: min(100%, 368px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 5px rgb(98 255 130 / 16%));
}

.description {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.7;
  text-wrap: pretty;
}

.note {
  margin: 16px 0 0;
  color: #929e96;
  font-size: 14px;
  line-height: 1.6;
}

.availability {
  margin: 36px 0 0;
  color: #929e96;
  font-size: 12px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: #62ff82;
}

a:focus-visible {
  outline: 2px solid #62ff82;
  outline-offset: 6px;
}

.site-footer {
  padding-top: 40px;
  color: #929e96;
  font-size: 13px;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.document main {
  max-width: 640px;
  margin-block: 0;
  text-align: left;
  line-height: 1.75;
}

.document .site-footer {
  margin-top: auto;
}

.document header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
  font-size: 14px;
  color: #929e96;
}

.document .wordmark {
  width: 92px;
  margin: 0;
}

.document nav {
  justify-content: flex-start;
}

.document h1 {
  margin-bottom: 24px;
  color: #62ff82;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.document h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  color: #eff3f0;
}

.document p {
  margin: 0 0 16px;
}

.email {
  overflow-wrap: anywhere;
}

[aria-current="page"] {
  color: #62ff82;
}
