:root {
  color-scheme: light;
  --paper: #f5f7ff;
  --ink: #101426;
  --blue: #2452ff;
  --line: rgba(16, 20, 38, 0.18);
  --quiet: rgba(16, 20, 38, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: clamp(42px, 5vw, 72px) clamp(42px, 5vw, 72px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, rgba(245, 247, 255, 0.05), var(--paper) 74%);
  content: "";
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 2.8vw, 42px);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header p,
.site-footer p,
.coming-soon {
  margin: 0;
}

main {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 0;
  padding: clamp(24px, 5vw, 76px);
}

.hero {
  position: relative;
  z-index: 1;
  width: min-content;
}

h1 {
  margin: 0;
  font-size: clamp(5rem, 15vw, 13.5rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.72;
}

h1 span {
  display: block;
}

h1 span:last-child {
  margin-left: 0.4em;
  color: var(--blue);
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(28px, 4vw, 54px);
  margin-left: 0.45rem;
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.78rem, 1.2vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coming-soon span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(36, 82, 255, 0.3);
  animation: signal 2.6s ease-out infinite;
}

.world-mark {
  position: absolute;
  top: 50%;
  right: clamp(-25rem, -15vw, -8rem);
  width: clamp(25rem, 54vw, 52rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: clamp(3px, 0.45vw, 7px) solid var(--blue);
  border-radius: 50%;
  opacity: 0.96;
  transform: translateY(-50%) rotate(-9deg);
}

.world-mark::before,
.world-mark::after,
.longitude,
.equator {
  position: absolute;
  border: clamp(2px, 0.25vw, 4px) solid var(--blue);
  border-radius: 50%;
  content: "";
}

.world-mark::before {
  inset: 16% -8%;
}

.world-mark::after {
  inset: 33% -8%;
}

.longitude {
  top: -7%;
  bottom: -7%;
  width: 44%;
}

.longitude-left {
  left: 9%;
}

.longitude-right {
  right: 9%;
}

.equator {
  top: 49.5%;
  left: -8%;
  width: 116%;
  height: 1px;
  border-width: clamp(1px, 0.2vw, 3px) 0 0;
  border-radius: 0;
}

.site-footer {
  color: var(--quiet);
}

@keyframes signal {
  0% {
    box-shadow: 0 0 0 0 rgba(36, 82, 255, 0.3);
  }

  65%,
  100% {
    box-shadow: 0 0 0 0.7rem rgba(36, 82, 255, 0);
  }
}

@media (max-width: 680px) {
  body {
    background-size: 42px 42px;
  }

  main {
    align-items: end;
    padding-bottom: 15vh;
  }

  h1 {
    font-size: clamp(4.8rem, 25vw, 8rem);
  }

  h1 span:last-child {
    margin-left: 0.18em;
  }

  .world-mark {
    top: 28%;
    right: -14rem;
    width: 27rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon span {
    animation: none;
  }
}
