:root {
  color-scheme: dark light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f5f7;
  background: #080a0d;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
h1 {
  margin: 0;
  font-size: clamp(56px, 12vw, 128px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.1;
}
p { margin: 24px 0 0; color: #b8c0cb; font-size: clamp(20px, 3vw, 26px); line-height: 1.5; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: #ffffff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #75c7ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.download {
  margin-top: 40px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #f4f5f7;
  color: #080a0d;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}
.download:hover { background: #ffffff; }
.download:active { transform: scale(0.97); }
.invite { display: flex; gap: 10px; align-items: center; margin-top: 40px; }
.invite .download { margin-top: 0; }
.invite input {
  width: 230px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid #2a2f37;
  border-radius: 999px;
  background: #11151b;
  color: inherit;
  font: inherit;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-align: center;
}
.invite input::placeholder { color: #6d7684; letter-spacing: 0; }
.notice { margin-top: 18px; font-size: 15px; color: #ff9f8f; }
@media (max-width: 520px) {
  .invite { flex-direction: column; }
}
@media (prefers-color-scheme: light) {
  :root { color: #171b21; background: #f5f7fa; }
  p { color: #505b6a; }
  a:hover { color: #36729b; }
  .download { background: #171b21; color: #f5f7fa; }
  .download:hover { background: #000000; }
  .invite input { background: #ffffff; border-color: #d3d8df; }
  .invite input::placeholder { color: #8a93a0; }
  .notice { color: #b3261e; }
}
