:root {
  --bg: #11151c;
  --copper: #c69775;
  --blue: #708bb2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
}

#net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px 96px;
}

.logo {
  width: min(480px, 85vw);
  height: auto;
  margin-bottom: 40px;
}

.headline {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper);
}

.sub {
  margin: 0 0 36px;
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
  line-height: 1.5;
}

.signup {
  width: 100%;
  max-width: 440px;
}

.signup-label {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.signup-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signup-row input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
}

.signup-row input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.signup-row input[type="email"]:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255, 255, 255, 0.09);
}

.signup-row button {
  padding: 13px 24px;
  border-radius: 8px;
  border: none;
  background: var(--copper);
  color: var(--bg);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.signup-row button:hover {
  background: #d4a989;
}

.signup-row button:disabled {
  opacity: 0.6;
  cursor: default;
}

.signup-msg {
  margin: 12px 0 0;
  min-height: 20px;
  font-size: 14px;
}

.signup-msg[data-state="ok"] {
  color: var(--blue);
}

.signup-msg[data-state="error"] {
  color: var(--copper);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  #net {
    display: none;
  }
}
