:root {
  --ink: #11110d;
  --muted: #4b4b39;
  --line: #d5d5d2;
  --lime: #d1f470;
  --track: #70a32a;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  background: #11110d center / cover no-repeat;
}

.veil {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
}

.column {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.logo-hof {
  font-weight: 800;
  color: #030302;
}

.card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
}

.track {
  flex: 1;
  height: 8px;
  border-radius: 8px;
  background: rgba(17, 17, 13, 0.11);
  overflow: hidden;
}

.track span {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: var(--track);
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.help {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.summary {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8ece9;
  color: #8f2d22;
}

.summary h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.summary ul { margin: 0; padding-left: 18px; }

.summary a { color: inherit; }

label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}

input[name="code"] {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

input:focus-visible,
.btn:focus-visible,
.switch:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.field-error {
  margin: 8px 0 0;
  color: #8f2d22;
  font-size: 0.92rem;
}

.btn {
  width: 100%;
  margin-top: 16px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--lime);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover { background: #c6eb62; }

.switch {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 481px) {
  .card { padding: 56px 40px; }
}

@media (min-width: 768px) {
  h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
