@font-face {
  font-family: 'Geist';
  src: url('/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

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

html, body { height: 100%; background: #000; color: #fff; }

body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 40px;
}

h1 {
  font-size: clamp(56px, 14vw, 160px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 440px;
}

input, button {
  font: inherit;
  font-size: 15px;
  height: 48px;
  border-radius: 999px;
}

input {
  flex: 1;
  min-width: 0;
  padding: 0 20px;
  background: #111;
  color: #fff;
  border: 1px solid #262626;
  outline: none;
  transition: border-color 0.15s;
}

input::placeholder { color: #666; }
input:focus { border-color: #555; }

button {
  padding: 0 22px;
  background: #fff;
  color: #000;
  border: 0;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

button:hover { opacity: 0.85; }
button:disabled { opacity: 0.5; cursor: default; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#status {
  min-height: 1lh;
  font-size: 14px;
  color: #888;
  margin-top: -24px;
}

@media (max-width: 480px) {
  form { flex-direction: column; }
}
