:root {
  color-scheme: light;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #172433;
  background: #f6faff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 0%, #cbe3fb 0, transparent 48%), #f6faff;
}
main {
  width: min(100% - 40px, 400px);
  min-height: 100svh;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}
header {
  text-align: center;
  margin-bottom: 26px;
}
.mark {
  width: 54px;
  height: 54px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #3899dc, #3064c9);
  color: white;
  box-shadow: 0 8px 20px #2563ad33;
}
.mark svg {
  width: 28px;
  height: 28px;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 2.4rem;
  margin: 18px 0 6px;
}
header p,
footer,
dt {
  color: #536275;
}
header p {
  margin: 0;
}
.card {
  padding: 24px;
  background: white;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  box-shadow: 0 8px 28px #2845670c;
}
label {
  display: block;
  color: #455568;
  font-size: 0.875rem;
  margin-bottom: 14px;
}
input {
  width: 100%;
  display: block;
  margin-top: 5px;
  border: 1px solid #cbd6e4;
  border-radius: 11px;
  padding: 12px;
  color: #172433;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #75b7ef;
  outline-offset: 2px;
}
button {
  font: inherit;
  cursor: pointer;
}
.primary {
  width: 100%;
  background: linear-gradient(110deg, #288ed4, #3464cf);
  color: white;
  border: 0;
  border-radius: 11px;
  padding: 11px;
  margin-top: 10px;
  min-height: 44px;
}
.primary:disabled {
  opacity: 0.6;
}
.link {
  border: 0;
  background: none;
  color: #145998;
  padding: 6px 0;
}
.error {
  color: #a51c24;
  font-size: 0.875rem;
}
footer {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 24px;
}
pre {
  background: #edf5fd;
  padding: 14px;
  border-radius: 10px;
  white-space: pre-wrap;
}
h2 {
  font-size: 1.05rem;
}
dt {
  font-size: 0.8rem;
  margin-top: 0.65rem;
}
dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}
