:root {
  --bg: #f7f6f3;
  --card: #ffffff;
  --line: #e4e2dd;
  --field: #dcd9d3;
  --ink: #141414;
  --muted: #6e6b66;
  --error: #b42318;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bar {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.brand { display: block; line-height: 0; }
.brand img { display: block; height: 20px; width: auto; }

.signout {
  color: #9a968f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.signout:hover { color: var(--ink); }

main {
  display: flex;
  justify-content: center;
  padding: 14vh 16px 48px;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 40px 44px 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #9a968f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}

label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

input[type="text"],
input[type="password"] {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0 0 20px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  -webkit-appearance: none;
  appearance: none;
}

input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 20, 20, .08);
}

button,
.button {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 56px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover { background: #2b2b2b; }

button:focus-visible,
.button:focus-visible { outline: 3px solid rgba(20, 20, 20, .25); outline-offset: 3px; }

.notice {
  margin: -6px 0 18px;
  color: var(--error);
  font-size: 14px;
}

.quiet { margin: -8px 0 24px; color: var(--muted); }

.spaces { list-style: none; margin: 0; padding: 0; }
.spaces li + li { border-top: 1px solid var(--line); }
.spaces a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 17px; }
.spaces a:hover { color: var(--muted); }

@media (max-width: 480px) {
  .bar { height: 64px; padding: 0 20px; }
  .brand img { height: 17px; }
  main { padding-top: 8vh; }
  .card { padding: 30px 22px 28px; }
  h1 { font-size: 28px; }
}
