/* Page layout for Passport (on top of ui.css). */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font: 600 17px/1 var(--display);
  letter-spacing: -0.01em;
}

.top .mark {
  width: 30px;
  height: 30px;
}

main {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 20px 48px;
}

main.wide {
  max-width: 760px;
}

.center {
  text-align: center;
  justify-items: center;
}

.stack.center > * {
  max-width: 100%;
}

.lede {
  font-size: 16px;
  max-width: 34em;
}

.orb {
  --size: 168px;
  margin-bottom: 10px;
}

.consent {
  margin: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}

label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--foreground);
}

label.check input {
  width: 18px;
  height: 18px;
}

.form {
  width: 100%;
  max-width: 380px;
  text-align: left;
}

.form input {
  width: 100%;
}

.note {
  max-width: 34em;
}

footer {
  padding: 18px 20px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
}

footer a {
  margin: 0 8px;
}

/* Landing and legal pages */

.hero {
  display: grid;
  gap: 18px;
  padding: 28px 0 8px;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 58px);
}

.grid3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 26px;
}

.price {
  font: 600 28px/1 var(--display);
  margin: 6px 0 8px;
}

.prose h2 {
  margin: 28px 0 8px;
}

.prose p,
.prose li {
  margin: 0 0 10px;
}

.brandlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.price .per {
  font: 500 15px/1 var(--sans);
  color: var(--muted-foreground);
}

/* Face Pass */

.logins {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 10px;
  text-align: left;
}

.logins li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.logins .who {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.logins .who strong {
  overflow-wrap: anywhere;
}

.logins .meta {
  font-size: 13px;
  color: var(--muted-foreground);
}

.choices {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 380px;
}

input.code {
  font:
    600 28px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.3em;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
