:root {
  color-scheme: light dark;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #292d33;
  background: #f6f4ef;
  line-height: 1.8;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
main {
  max-width: 820px;
  margin: auto;
  padding: 32px 22px 64px;
}
a {
  color: #305f8c;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
h1 {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  line-height: 1.4;
}
h2 {
  font-size: 1.25rem;
  line-height: 1.5;
}
section {
  border-top: 1px solid #d8d5cd;
  padding-top: 18px;
  margin-top: 24px;
}
p {
  margin: 12px 0;
}
.muted,
footer {
  color: #626670;
  font-size: 0.9rem;
}
ol {
  padding-left: 1.4em;
}
li {
  margin: 8px 0;
}
form {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin-top: 18px;
}
label {
  font-weight: 600;
}
input,
button {
  font: inherit;
  border: 1px solid #777;
  border-radius: 7px;
  min-height: 46px;
  padding: 9px 12px;
  width: 100%;
  min-width: 0;
  background: #fff;
  color: #292d33;
}
input {
  line-height: 1.4;
}
button {
  cursor: pointer;
  background: #ece8de;
  font-weight: 600;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.danger {
  background: #a1252e;
  border-color: #a1252e;
  color: #fff;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.check input {
  width: 22px;
  min-height: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 4px;
}
.buttons {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
#error {
  color: #96232c;
  border-left: 4px solid currentColor;
  padding: 10px 14px;
  background: #fbe9e9;
}
#identity {
  padding: 12px;
  background: #e9e4d7;
  font-weight: 650;
  overflow-wrap: anywhere;
}
#google {
  max-width: 100%;
  overflow: hidden;
  min-height: 0;
}
#google[aria-disabled='true'] {
  pointer-events: none;
  opacity: 0.5;
}
#google-retry {
  max-width: 320px;
  margin: 10px 0;
}
footer {
  margin-top: 32px;
}
:focus-visible {
  outline: 3px solid #a46b18;
  outline-offset: 3px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #e4e7ed;
    background: #171c24;
  }
  a {
    color: #b1d1f5;
  }
  .muted,
  footer {
    color: #b3bdcb;
  }
  section {
    border-color: #39424e;
  }
  input,
  button {
    background: #242d39;
    color: #e4e7ed;
    border-color: #7c8999;
  }
  .danger {
    background: #ab2d37;
    color: white;
    border-color: #ce6570;
  }
  #identity {
    background: #303846;
  }
  #error {
    color: #ffb8bc;
    background: #372429;
  }
}
