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

body {
  font-family: system-ui, sans-serif;
  background: #111;
  color: #eee;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.25rem;
}

main {
  text-align: center;
  width: min(100%, 56rem);
}

h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32em;
  line-height: 1;
  font-size: clamp(2.8rem, 12vw, 5.6rem);
  font-weight: 300;
  letter-spacing: clamp(0.05em, 1vw, 0.11em);
}

h1 .brand-mark {
  display: block;
  align-self: center;
  width: 0.8em;
  height: 0.8em;
  flex: 0 0 auto;
  transform: translateY(0.05em);
}

p {
  color: #666;
  margin: 1rem 0 2rem;
}

#version {
  color: #777;
  font-family: monospace;
  overflow-wrap: anywhere;
}

#status {
  color: #0f0;
  font-family: monospace;
  overflow-wrap: anywhere;
}

.url {
  color: #7b68ee;
  font-family: monospace;
  font-size: clamp(1.02rem, 1.8vw, 1.32rem);
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: center;
  width: 100%;
}

.url:hover {
  text-decoration: underline;
}

.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin: 1.25rem auto 1.1rem;
  width: min(100%, 34rem);
}

.copy-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex: 0 0 auto;
}

.copy-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.copy-btn:hover {
  color: #7b68ee;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #333;
  color: #eee;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.note {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

.get-started {
  color: #7b68ee;
  text-decoration: none;
  font-weight: 600;
}

.get-started:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  body {
    align-items: center;
    padding: 1.1rem 0.9rem 1.5rem;
  }

  main {
    margin-top: 0;
  }

  .box {
    padding: 0.85rem 0.95rem;
    gap: 0.65rem;
  }

  .url {
    font-size: 1rem;
  }

  .note {
    font-size: 0.88rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    transform: translateY(100px);
  }

  .toast.show {
    transform: translateY(0);
  }
}
