:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #f5f7fb;
  --muted: #aebbd0;
  --line: #31425e;
  --gold: #f0bd45;
  --night: #09111f;
  --panel: #111d31;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 300px;
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgb(34 92 141 / 25%), transparent 36rem),
    radial-gradient(circle at 85% 90%, rgb(205 145 35 / 14%), transparent 32rem),
    var(--night);
}

.gate-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.gate-card {
  width: min(460px, 100%);
  padding: clamp(1.5rem, 6vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(20 34 56 / 98%), rgb(12 22 39 / 98%));
  box-shadow: 0 30px 90px rgb(0 0 0 / 48%);
}

.gate-emblem {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 1.4rem;
  place-items: center;
  border: 1px solid #6c5728;
  border-radius: 22px;
  background: linear-gradient(145deg, #f6cf6a, #ba791c);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 12px 30px rgb(0 0 0 / 25%);
}

.gate-keyhole {
  position: relative;
  width: 18px;
  height: 29px;
  border-radius: 12px 12px 7px 7px;
  background: #111827;
}

.gate-keyhole::before {
  position: absolute;
  top: -4px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111827;
  content: "";
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.intro,
.privacy-note {
  color: var(--muted);
  line-height: 1.55;
}

.gate-error {
  margin: 1rem 0;
  border: 1px solid #814149;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  color: #ffd3d7;
  background: #431f28;
}

label {
  display: block;
  margin: 1.5rem 0 0.45rem;
  font-weight: 750;
}

input,
button {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  font: inherit;
}

input {
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: #091321;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(240 189 69 / 28%);
  outline-offset: 2px;
}

button {
  margin-top: 0.85rem;
  border: 1px solid #ffe095;
  color: #171d27;
  background: var(--gold);
  cursor: pointer;
  font-weight: 850;
}

button:hover {
  background: #ffd56f;
}

.privacy-note {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
}

