:root {
  color: #26322a;
  background: #f4f5ef;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 24px;
  place-items: center;
}

.signin {
  width: min(100%, 420px);
  padding: clamp(24px, 7vw, 38px);
  border: 1px solid #dfe3d8;
  border-radius: 10px;
  background: #fbfcf8;
}

.signin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font: 600 23px/1.1 Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -1.1px;
}

.brand span {
  color: #6e7f58;
  font-weight: 400;
}

h1 {
  margin: 34px 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.7px;
}

.hint {
  margin: 0 0 25px;
  color: #52604e;
  font-size: 14px;
  line-height: 1.45;
}

form {
  display: grid;
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
  font-size: 14px;
}

input, select, button {
  font: inherit;
  border-radius: 5px;
}

input, select {
  border: 1px solid #aeb9a3;
  color: inherit;
  background: #fff;
}

input {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
}

select {
  min-height: 36px;
  padding: 6px 9px;
  font-size: 13px;
}

button {
  min-height: 44px;
  margin-top: 4px;
  border: 1px solid transparent;
  color: #fff;
  background: #4e6934;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #395526;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

:focus-visible {
  outline: 2px solid #4e6934;
  outline-offset: 3px;
}

.error {
  margin: 0;
  color: #9a322c;
  font-size: 14px;
  line-height: 1.4;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
