:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #263344;
  background: #f7f5f0;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 30px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dddcd7;
}
a {
  color: #6246a5;
  text-underline-offset: 4px;
}
.brand {
  font-size: 21px;
  font-weight: 750;
  text-decoration: none;
  color: #263344;
  letter-spacing: -0.7px;
}
.mark {
  display: inline-grid;
  place-items: center;
  background: #6d4bb0;
  color: white;
  width: 30px;
  height: 34px;
  border-radius: 10px;
  margin-right: 9px;
}
.badge,
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 650;
}
.badge {
  border: 1px solid #d8d2e5;
  padding: 9px 13px;
  border-radius: 30px;
  color: #6246a5;
}
main {
  padding-top: 75px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 620px;
}
.eyebrow {
  color: #786394;
}
h1 {
  font-size: clamp(38px, 5vw, 61px);
  line-height: 1.06;
  letter-spacing: -2.5px;
  font-weight: 650;
  margin: 20px 0;
}
h1 em {
  font-style: normal;
  color: #7657ae;
}
.intro {
  font-size: 18px;
  line-height: 1.7;
  color: #657080;
  max-width: 460px;
}
.card {
  background: #fff;
  border: 1px solid #e3dfe8;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 16px 50px #2c234408;
}
.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f0eaf9;
  color: #7350ad;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 24px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 0 0 12px;
}
.card p {
  color: #6e7583;
  line-height: 1.6;
}
.primary {
  display: block;
  border: 0;
  border-radius: 10px;
  background: #7050a9;
  color: white;
  padding: 15px 20px;
  width: 100%;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  margin-top: 26px;
}
.primary:hover {
  background: #593d8b;
}
.primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  display: block;
  text-align: center;
  margin: 18px 0;
  font-size: 14px;
}
.note {
  font-size: 12px !important;
  border-top: 1px solid #eee;
  padding-top: 18px;
  margin-top: 24px;
}
.steps {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  font-size: 12px;
  color: #6b7380;
}
.steps span {
  border-top: 2px solid #cfc2e4;
  padding-top: 12px;
  flex: 1;
}
.status {
  font-size: 14px;
  color: #71419e;
  line-height: 1.5;
  min-height: 22px;
}
dl {
  font-size: 14px;
}
dt {
  color: #7e8490;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
}
dd {
  margin: 7px 0;
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid #dedbd5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #737b87;
}
nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ac8ddc;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  header,
  main,
  footer {
    padding: 24px;
  }
  main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 42px;
    min-height: 0;
  }
  .card {
    padding: 26px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .intro {
    font-size: 16px;
  }
  .steps {
    margin-bottom: 10px;
  }
  footer {
    margin-top: 36px;
    flex-direction: column;
  }
  .badge {
    font-size: 10px;
  }
}
label {
  display: block;
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 600;
}
label span {
  font-weight: 400;
  color: #6b7380;
}
input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8d2e5;
  border-radius: 8px;
  font: inherit;
  background: white;
  color: #263344;
}
input:focus-visible {
  outline: 3px solid #ac8ddc;
  outline-offset: 2px;
}
button.secondary {
  background: none;
  border: 0;
  color: #6246a5;
  cursor: pointer;
  font: inherit;
  margin: 18px auto;
}
#passkey-state {
  font-size: 14px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 6px;
  color: #6b7280;
  font-size: 13px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #e5e7eb;
}
#passkey-signup {
  margin-top: 14px;
}
h3 {
  font-size: 15px;
  margin: 26px 0 8px;
}
.passkeys {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e8e3ef;
  border-radius: 12px;
}
.passkeys li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 14px;
  font-size: 14px;
}
.passkeys li + li {
  border-top: 1px solid #f0edf4;
}
.passkeys .meta {
  display: block;
  color: #7e8490;
  font-size: 12px;
  margin-top: 3px;
}
.passkeys .actions {
  display: flex;
  gap: 14px;
}
.passkeys .actions button,
.passkeys form button {
  background: none;
  border: 0;
  padding: 4px 0;
  color: #6246a5;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.passkeys form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
}
.passkeys form input {
  padding: 8px 10px;
}
.passkeys .empty {
  color: #7e8490;
}
.account-settings {
  margin-top: 8px;
  font-size: 14px;
}
.account-settings summary {
  cursor: pointer;
  color: #6246a5;
}
.account-settings p {
  font-size: 13px;
}
button.danger {
  display: block;
  width: 100%;
  border: 1px solid #e3c4c4;
  border-radius: 10px;
  background: #fff;
  color: #a33a3a;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button.danger:hover {
  background: #fbf2f2;
}
button:disabled {
  cursor: wait;
}
