@font-face {
  font-family: Relevant;
  src: url('/assets/fonts/Relevant-Normal-wf.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Maison Mono;
  src: url('/assets/fonts/Maison Neue Mono.woff2') format('woff2');
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #f4f4f1;
  background: #151515;
  font-family: Relevant, Arial, sans-serif;
}

main {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 48px);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

a { color: inherit; text-decoration: none; }
nav > a:last-child { color: #9a9a96; font: 11px Maison Mono, monospace; text-transform: uppercase; }

.logo-ring {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #71716e;
  border-radius: 50%;
}

.logo-ring img {
  display: block;
  width: 100%;
  height: 100%;
}

section {
  width: min(100%, 920px);
  align-self: center;
  margin: 12vh auto;
}

.eyebrow,
label,
footer {
  color: #8c8c87;
  font: 11px/1.4 Maison Mono, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 24px 0;
  font-size: clamp(58px, 10vw, 142px);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.065em;
}

.introduction {
  max-width: 46ch;
  color: #9a9a96;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.4;
}

form { max-width: 620px; margin-top: 58px; }
label { display: block; margin-bottom: 12px; }
.password-row { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid #71716e; }

input,
button {
  min-height: 62px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

input { min-width: 0; outline: 0; font-size: 22px; }
button { padding: 0 4px 0 30px; cursor: pointer; }
button span { margin-left: 14px; }
#unlock-error { min-height: 22px; color: #ff8d7b; font-size: 14px; }

@media (max-width: 560px) {
  .password-row { grid-template-columns: 1fr; }
  button { justify-self: start; padding-left: 0; }
}
