/* InfinityVault brand tokens (app/client/tailwind.config.ts). */
:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.1);
  --text: #fafafa;
  --text-soft: #a3a3a3;
  --text-mute: #737373;
  --brand: #02ac62;
  --brand-light: #0bd37c;
  --brand-glow: rgba(2, 172, 98, 0.45);
  --danger: #f87171;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, rgba(2, 172, 98, 0.12), transparent 70%),
    var(--bg);
}

.top {
  padding: 24px 16px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.brand img {
  display: block;
  height: 32px;
  width: auto;
}

.wrap {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lede {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

form {
  margin-top: 32px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.field {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.opt {
  font-weight: 400;
  color: var(--text-mute);
  margin-left: 6px;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 172, 98, 0.2);
}

::placeholder {
  color: var(--text-mute);
}

.hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-mute);
  text-align: right;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  min-height: 65px;
  margin-bottom: 16px;
}

.notice {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0 0 20px;
}

button {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #04120b;
  background: var(--brand-light);
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 0 24px 0 var(--brand-glow);
  transition: transform 0.1s, opacity 0.15s;
}

button:hover {
  opacity: 0.92;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.status {
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-soft);
}

.status[data-kind="ok"] {
  color: var(--brand-light);
}

.status[data-kind="error"] {
  color: var(--danger);
}

.foot {
  border-top: 1px solid var(--line);
  padding: 24px 16px 32px;
}

.foot p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mute);
}

@media (max-width: 480px) {
  form {
    padding: 18px;
  }
  button {
    width: 100%;
  }
}
