:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
}

.shell {
  width: min(100% - 40px, 520px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 32px 0 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #172033;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: #2563eb;
  font-size: 18px;
  letter-spacing: -0.06em;
}

.card {
  margin: auto 0;
  padding: 34px;
  border: 1px solid #e8edf5;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgb(25 45 80 / 7%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #172033;
  font-size: clamp(29px, 8vw, 38px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.muted {
  margin: 14px 0 25px;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}

form { display: grid; gap: 11px; }

label {
  margin-top: 4px;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  color: #172033;
  background: #ffffff;
  font: inherit;
  outline: none;
}

input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgb(37 99 235 / 14%); }
input:disabled { background: #f8fafc; }

.primary {
  min-height: 48px;
  margin-top: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: #2563eb;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.primary:hover:not(:disabled) { background: #1d4ed8; }
.primary:disabled { cursor: not-allowed; opacity: 0.55; }

.status {
  min-height: 24px;
  margin: 18px 0 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.55;
}

.return-link {
  display: inline-block;
  margin-top: 13px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-copy { margin: auto 0; }
.home-copy h1 { max-width: 440px; font-size: clamp(42px, 11vw, 66px); }
.home-copy .muted { max-width: 360px; font-size: 17px; }

footer {
  padding-top: 24px;
  color: #98a2b3;
  font-size: 12px;
}

footer strong { color: #667085; font-weight: 650; }

@media (max-width: 480px) {
  .shell { width: min(100% - 32px, 520px); padding-top: 22px; }
  .card { padding: 25px 21px; border-radius: 16px; }
}
