:root {
  color-scheme: dark;
  background: #070b10;
  color: #ebedf0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
}

.sky {
  position: fixed;
  z-index: -2;
  inset: 0;
  background: #070b10 url("assets/sky.webp") center / cover no-repeat;
  pointer-events: none;
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 47%, #070b1012 12%, #070b1038 65%, #070b1099 100%),
    linear-gradient(0deg, #070b1073, transparent 24%, transparent 80%, #070b1033);
}

.viewfinder {
  position: fixed;
  inset: clamp(20px, 3.2vw, 48px);
  z-index: -1;
  color: #9aafb33d;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid currentColor;
}

.corner--top-left {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.corner--top-right {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.corner--bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.corner--bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.edge-mark {
  position: absolute;
  top: 50%;
  width: 7px;
  border-top: 1px solid currentColor;
}

.edge-mark--left {
  left: 0;
}

.edge-mark--right {
  right: 0;
}

main {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 64px 24px 96px;
}

.identity {
  position: relative;
  display: grid;
  place-items: center;
  width: min(600px, 100%);
  aspect-ratio: 1;
}

.reticle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.reticle__orbit {
  stroke: #99c0c013;
  stroke-width: 1;
}

.reticle__scale {
  stroke: #a5bdbd3b;
  stroke-width: 4;
  stroke-dasharray: 0.07 0.93;
}

.reticle__axes {
  stroke: #a5bdbd4d;
  stroke-width: 1;
}

.reticle__accent {
  stroke: #94b8b866;
  stroke-width: 1;
}

.reticle__point {
  fill: #a7c5c580;
}

.signature {
  position: relative;
  width: min(317px, 76%);
}

h1 {
  margin: 0;
  line-height: 0;
}

h1 img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.94;
}


footer {
  position: absolute;
  inset-inline: 24px;
  bottom: max(34px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #8999a4;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.footer-mark {
  width: 4px;
  height: 4px;
  border: 1px solid #90b0b0;
  transform: rotate(45deg);
}

@media (max-width: 480px) {
  main {
    padding-inline: 12px;
  }

  .signature {
    width: 70%;
  }

  footer {
    bottom: max(32px, env(safe-area-inset-bottom));
    font-size: 9px;
  }
}
