* {
  box-sizing: border-box;
  margin: 0;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 40%, #232325 0%, #1c1c1e 55%, #121213 100%) fixed;
  color: #f1eee6;
  font-family: ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

main {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.mark {
  position: relative;
  width: 44px;
  height: 28px;
  margin: 0 auto 18px;
}
.mark span {
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #f1eee6;
  border-radius: 50%;
}
.mark span:last-child {
  left: 16px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.card {
  text-align: left;
  background: rgba(28, 28, 30, 0.7);
  border: 1px solid rgba(241, 238, 230, 0.09);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 16px;
}
.card[hidden] {
  display: none;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  color: #9a978f;
}

input:not([type="checkbox"]) {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: #f1eee6;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(241, 238, 230, 0.12);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
input:not([type="checkbox"]):focus {
  border-color: rgba(241, 238, 230, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: pointer;
}
.check input {
  width: 16px;
  height: 16px;
  accent-color: #f1eee6;
}

button,
.button {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  color: #1c1c1e;
  background: #f1eee6;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
}
button:hover,
.button:hover {
  opacity: 0.9;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.quiet {
  color: #9a978f;
  background: transparent;
  border: 1px solid rgba(241, 238, 230, 0.12);
}

.message {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #e7a39a;
  text-align: center;
}

#signed-in p {
  color: #9a978f;
  text-align: center;
}
#signed-in strong {
  color: #f1eee6;
}
