* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #fff;
  color: #111417;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.card {
  width: 100%;
  max-width: 376px;
}

.wordmark {
  display: block;
  width: auto;
  height: 27px;
  margin-bottom: 34px;
}

h1 {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  color: #9aa0a6;
  font-size: 27px;
  font-weight: 660;
  letter-spacing: -.7px;
  line-height: 1.12;
}

.client-logo {
  width: auto;
  height: 45px;
  margin-right: 12px;
}

.subtitle {
  margin: 0 0 30px;
  color: #5b636b;
  font-size: 13.5px;
  line-height: 1.5;
}

label {
  display: block;
  margin-bottom: 9px;
  color: #8b9198;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.field {
  position: relative;
  margin-bottom: 14px;
}

.field input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 14px;
  border: 1px solid #dfe3e6;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #111417;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.field input:hover {
  border-color: #c6ccd1;
}

.field input:focus {
  border-color: #111417;
  box-shadow: 0 0 0 3px rgb(17 20 23 / 7%);
}

.peek {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #b3b9be;
  cursor: pointer;
  transition: color .12s ease, background .12s ease;
}

.peek:hover {
  background: #f4f6f7;
  color: #111417;
}

.peek.is-visible {
  color: #111417;
}

.peek:focus-visible,
.primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(17 20 23 / 20%);
}

.primary {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #111417;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.1px;
  transition: background .12s ease;
}

.primary:hover {
  background: #2c3136;
}

.error {
  margin: 0 0 20px;
  padding: 11px 14px;
  border: 1px solid #e6bdb7;
  border-radius: 8px;
  background: #fdf6f5;
  color: #a2382d;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 440px) {
  body {
    align-items: flex-start;
    padding: 64px 24px 32px;
  }

  h1 {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
