:root {
  --color-bg: #0a0a0a;
  --color-phosphor: #ffffff;
  --color-dim: #3a3a3a;
  --font-mono: Menlo, ui-monospace, SFMono-Regular, "IBM Plex Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-phosphor);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

/* Subtle scanline texture — decorative only, no interactive content behind it. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 1px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 2px
  );
  pointer-events: none;
  z-index: 1;
}

.terminal {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  border: 2px solid var(--color-phosphor);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
  background: var(--color-bg);
}

.terminal-bar {
  border-bottom: 1px solid var(--color-phosphor);
  padding: 8px 16px;
}

.terminal-label {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.terminal-body {
  padding: 32px 24px;
}

.headline {
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.4;
  margin: 0 0 32px;
  font-weight: 400;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-size: 14px;
}

input,
select {
  background: transparent;
  border: 1px solid var(--color-dim);
  color: var(--color-phosphor);
  font-family: inherit;
  font-size: 15px;
  padding: 8px;
  border-radius: 0;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--color-phosphor);
}

/* Honeypot: off-screen, not display:none — some bots skip fields hidden
   via display/visibility, but rarely check actual position. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.terminal-button {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--color-phosphor);
  color: var(--color-phosphor);
  font-family: inherit;
  font-size: 15px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 0;
}

.terminal-button:hover {
  background: var(--color-phosphor);
  color: var(--color-bg);
}

#form-status {
  font-size: 14px;
  min-height: 1.2em;
}
