/* Digital business card layout. Tokens, fonts, and buttons come from ../style.css. */

body.bizcard{
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:32px 16px 16px;
}

body.bizcard main{
  width:100%;
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
}

.sheet{
  width:min(420px,100%);
  padding:36px 28px 28px;
  text-align:center;
}

.mark{
  width:56px;
  height:56px;
  border-radius:14px;
  font-size:1.15rem;
  margin:0 auto 20px;
}

.sheet h1{
  font-size:clamp(1.85rem,6.5vw,2.25rem);
  margin:0 0 8px;
}

.sheet .role{
  margin:0 0 16px;
  font-size:1.08rem;
}

.sheet .line{
  margin:0 0 24px;
  color:var(--muted);
  font-size:.98rem;
  line-height:1.6;
}

.sheet .btns{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sheet .btns .btn{
  width:100%;
}

.qr{
  margin:28px 0 0;
}

.qr img{
  margin:0 auto;
  width:148px;
  height:148px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
}

.qr figcaption{
  margin:8px 0 0;
  font-size:.8rem;
  color:var(--soft);
}

body.bizcard > footer{
  width:100%;
  padding:24px 0 12px;
}

body.bizcard > footer .wrap{
  width:min(420px,92%);
}
