:root {
  --ink: #14241b;
  --muted: #607067;
  --paper: #fffefa;
  --line: #cbd9ce;
  --green: #0b7650;
  --green-dark: #085d3f;
  --green-soft: #ddf2e5;
  --blue-soft: #e8f2f9;
  --danger: #a9363d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 36, 27, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 36, 27, .035) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(11, 118, 80, .16), transparent 31rem),
    #eef3ed;
  background-size: 32px 32px, 32px 32px, auto, auto;
  font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Aptos, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.auth-shell {
  width: min(100%, 460px);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px 4px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .07em;
}

.auth-brand span {
  color: var(--green);
  font-weight: 750;
  letter-spacing: .015em;
}

.auth-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 254, 250, .97);
  box-shadow: 0 24px 75px rgba(26, 52, 36, .12);
}

.auth-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.auth-intro {
  margin: 14px 0 26px;
  color: var(--muted);
}

.auth-form { display: grid; gap: 17px; }

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b8c8bc;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(11, 118, 80, .18);
  outline-offset: 1px;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

button {
  min-height: 48px;
  margin-top: 3px;
  padding: 10px 16px;
  border: 1px solid var(--green-dark);
  border-radius: 11px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 9px 22px rgba(8, 93, 63, .18);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:hover { background: var(--green-dark); }
button:focus-visible { outline: 3px solid #2c79aa; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .62; }

.auth-message {
  min-height: 24px;
  margin: 3px 0 0;
  padding: 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.auth-message.info {
  padding: 10px 12px;
  border-radius: 9px;
  color: #235b7c;
  background: var(--blue-soft);
}

.auth-foot {
  margin: 15px 4px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 560px) {
  body { padding: 14px; }
  .auth-card { padding: 25px 21px; border-radius: 18px; }
}

