:root {
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  color: #18191b;
  background: #f5f5f3;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at 50% 30%, #ffffff 0, #f5f5f3 52%, #ededeb 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.login {
  width: min(100%, 380px);
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mark {
  width: 82px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1.5px solid #222326;
  border-radius: 4px;
  position: relative;
  background: rgba(255, 255, 255, 0.55);
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #d4d4d1;
}

.mark::before {
  left: 20px;
}

.mark::after {
  right: 20px;
}

.mark span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.8px;
  position: relative;
  z-index: 1;
}

.wordmark {
  margin-top: 13px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
}

.motto {
  margin: 42px 0 0;
  color: #777874;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.03em;
}

h1 {
  margin: 20px 0 0;
  font-size: 30px;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.description {
  margin: 12px auto 0;
  color: #6d6e6a;
  font-size: 14px;
  line-height: 1.6;
}

.button {
  width: 100%;
  display: block;
  margin-top: 34px;
  padding: 14px 20px;
  border-radius: 7px;
  background: #25272a;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition:
    transform 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.button:hover {
  background: #111214;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.13);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(37, 39, 42, 0.22);
  outline-offset: 3px;
}

.footer {
  margin-top: 40px;
  color: #999a96;
  font-size: 11px;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .page {
    align-items: start;
    padding-top: 15vh;
  }

  h1 {
    font-size: 27px;
  }
}
