:root {
  --bg: #f3f0e9;
  --surface: #fffdf8;
  --ink: #243229;
  --muted: #6d7b72;
  --line: #ddd8cf;
  --accent: #2d6752;
  --accent-soft: #dfece5;
  --danger: #9a3c3c;
  --shadow: 0 18px 50px rgba(50, 60, 54, 0.12);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, #fffaf0 0, var(--bg) 52%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; }
.identity-shell { width: min(520px, 100%); }
.identity-card {
  background: var(--surface);
  border: 1px solid rgba(36, 50, 41, .09);
  border-radius: 26px;
  padding: clamp(22px, 5vw, 36px);
  box-shadow: var(--shadow);
}
.eyebrow {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 850;
}
h1 { margin: 5px 0 8px; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.055em; }
p { color: var(--muted); line-height: 1.5; }
.identity-form { display: grid; gap: 14px; margin-top: 24px; }
label { display: grid; gap: 6px; font-size: .82rem; font-weight: 800; color: var(--muted); }
input, select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.button {
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  padding: 11px 16px;
  font-weight: 850;
  cursor: pointer;
}
.button.primary { background: var(--accent); color: white; }
.button.secondary { background: var(--accent-soft); color: var(--accent); }
.button:disabled { opacity: .55; cursor: wait; }
.status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f4ef;
  color: var(--muted);
  line-height: 1.4;
}
.status.error { background: #fff0f0; color: var(--danger); }
.status.ok { background: var(--accent-soft); color: var(--accent); }
.small { font-size: .82rem; }
.hidden { display: none !important; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { padding: 6px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .72rem; font-weight: 850; }
