:root {
  color-scheme: dark;
  --bg: #050806;
  --panel: #0a0f0b;
  --line: #38482b;
  --green: #a8d64b;
  --green-dim: #6f9136;
  --text: #eef2e8;
  --muted: #929c8c;
  --danger: #ef6b5c;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(5, 8, 6, .92), rgba(5, 8, 6, .96)),
    repeating-linear-gradient(135deg, #10190f 0 18px, #0b120b 18px 36px);
}

.shell {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(5, 8, 6, .88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
}

.brand, .panel { padding: clamp(30px, 5vw, 58px); }
.brand { border-right: 1px solid var(--line); }

.eyebrow, label, button, .status-line {
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow { color: var(--green); }
h1 { margin: 32px 0 14px; font-size: clamp(38px, 6vw, 66px); line-height: .95; font-weight: 600; }
.brand p { color: var(--muted); line-height: 1.6; }
.status-line { margin-top: 70px; color: var(--green); }
.status-line span { display: inline-block; width: 8px; height: 8px; margin-right: 9px; background: var(--green); box-shadow: 0 0 15px var(--green); }

form { display: grid; gap: 11px; }
label { margin-top: 12px; color: #cbd2c5; }
input {
  width: 100%;
  border: 1px solid #46503f;
  border-radius: 0;
  padding: 14px 15px;
  outline: none;
  color: var(--text);
  background: #070a08;
  font: inherit;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(168, 214, 75, .13); }
small, .footnote { color: var(--muted); font-size: 12px; line-height: 1.5; }

button {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--green);
  color: #0b1008;
  background: var(--green);
  cursor: pointer;
}
button:hover { background: #bce85e; }
button:disabled { opacity: .55; cursor: wait; }

#result { min-height: 45px; padding-top: 8px; color: var(--green); line-height: 1.4; }
#result.error { color: var(--danger); }
.footnote { margin: 22px 0 0; }

@media (max-width: 720px) {
  body { padding: 14px; }
  .shell { grid-template-columns: 1fr; }
  .brand { border-right: 0; border-bottom: 1px solid var(--line); }
  .status-line { margin-top: 30px; }
}
