:root {
  font-family: system-ui, sans-serif;
  color: #18181b;
  background: #fafafa;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
body > div > div {
  max-width: 768px;
  margin: auto;
  padding: 0 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e4e4e7;
  padding: 24px 0;
}
header a:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
}
main {
  padding: 48px 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
h2 {
  font-size: 19px;
  margin: 32px 0 12px;
}
p {
  margin: 16px 0;
}
footer {
  border-top: 1px solid #e4e4e7;
  padding: 24px 0;
}
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sr-only:focus {
  width: auto;
  height: auto;
  padding: 16px;
  background: white;
}
.login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 448px;
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 3px #0001;
}
.login-card h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.login-card p {
  color: #71717a;
}
button {
  font: inherit;
  background: white;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  padding: 10px 16px;
  width: 100%;
  cursor: pointer;
  margin: 16px 0 24px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#login-error {
  color: #b91c1c;
}
.sign-in-link {
  margin: 32px 0;
}
.sign-in-link a {
  background: #18181b;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
}

#google-sign-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
