*{box-sizing:border-box}
:root{
  --navy:#1A2345;
  --sky:#25A7E0;
  --cyan-soft:#e9f8fd;
  --text:#18203b;
  --muted:#6d7487;
  --line:#e6eaf2;
  --bg:#eef3f9;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}
body{min-height:100vh}
a{color:inherit;text-decoration:none}
.page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:42px 16px;
  width:100%;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(37,167,224,.18), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(26,35,69,.13), transparent 32%);
}
.card{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:500px;
  background:linear-gradient(180deg,#fff 0%,#fff 78%,#f5fbfe 100%);
  border:1px solid #d7dce4;
  border-radius:38px;
  padding: 32px;
  box-shadow:0 24px 55px rgba(26,35,69,.14);
}
.brand{position:relative;text-align:center;margin:0 0 34px}
.brand-logo{display:block;width:154px;max-width:62%;height:auto;margin:auto;opacity:.98}
.portrait-wrap{position:relative;width:222px;height:222px;margin:0 auto 30px}
.portrait{
  position:relative;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
  border-radius:50%;
  border:7px solid #d9f3fc;
  box-shadow:0 8px 18px rgba(26,35,69,.13);
}
.portrait-badge{
  position:absolute;
  right:0;
  bottom:5px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#2ca6df;
  color:#fff;
  box-shadow:0 5px 12px rgba(26,35,69,.18);
}
.portrait-badge svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
.identity{text-align:center;margin-bottom:43px}
.eyebrow{display:none}
.identity h1{font-size:31px;line-height:1.12;margin:0;color:#071848;letter-spacing:-.8px}
.title{margin:14px 0 4px;color:#2ca6df;font-size:21px;font-weight:500}
.company{margin:0;color:#65718b;font-weight:400;font-size:20px;letter-spacing:0}
.details{display:grid;gap:18px}
.detail-row{
  min-height:104px;
  display:flex;
  gap:24px;
  align-items:center;
  padding:18px;
  border:1px solid #dce0e7;
  border-radius:30px;
  background:#fff;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.identity{text-align:center;margin-bottom:25px}
.eyebrow{margin:0 0 8px;color:var(--sky);font-size:10px;font-weight:850;letter-spacing:1.8px}
.identity h1{font-size:26px;line-height:1.12;margin:0;color:var(--navy);letter-spacing:-.6px}
.title{margin:8px 0 3px;font-size:15px;font-weight:600}
.company{margin:0;color:#8a93a5;font-weight:400;font-size:15px;letter-spacing:0}
.details{display:grid;gap:10px}
.detail-row{
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fbfcfe);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.detail-row{
  display:flex;
  gap:13px;
  align-items:center;
  padding:13px;
}
a.detail-row:hover{border-color:#b9ddea;transform:translateY(-2px);box-shadow:0 8px 18px rgba(26,35,69,.07)}
.detail-row:focus-visible,.add-contact:focus-visible{outline:3px solid rgba(37,167,224,.35);outline-offset:3px}
.icon{
  width:66px;height:66px;border-radius:50%;
  display:grid;place-items:center;
  background:#f0f2f5;color:#2ca6df;
  flex:0 0 auto;
}
.icon svg{
  width:19px;height:19px;fill:none;stroke:currentColor;
  stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;
}
.social-icon svg{fill:currentColor;stroke:none}
.row-arrow{margin-left:auto;color:var(--sky);font-size:18px;line-height:1}
.detail-row span:nth-child(2){min-width:0}
.detail-row strong{font-size:19px;font-weight:500;color:#071848}
.detail-row strong{display:block;overflow-wrap:anywhere}
.detail-row small{
  display:block;color:#65718b;font-size:17px;margin-top:4px;font-weight:400
}
.note{
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  text-align:center;
  margin:40px 8px 45px;
}
.add-contact{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:72px;
  cursor:pointer;
  text-align:center;
  padding:15px 20px;
  border-radius:38px;
  background:#2ca6df;
  color:#fff;
  font-weight:800;
  font-size:17px;
  line-height:1.2;
  box-shadow:none;
  transition:transform .18s ease,box-shadow .18s ease;
}
.add-contact:hover{transform:translateY(-2px);box-shadow:0 13px 25px rgba(26,35,69,.25)}
.add-contact>span:first-child{font-size:20px;font-weight:500;line-height:1}
@media(max-width:1100px){
  .page{display:block;padding:10px 12px;background:#f5f8fb;overflow-y:auto}
  .card{width:100%;max-width:500px;min-height:calc(100vh - 20px);border-radius:38px;padding:32px 36px 0}
  .brand-logo{width:154px}
  .portrait-wrap{width:222px;height:222px}
  .identity h1{font-size:31px}
  .detail-row{min-height:104px;padding:18px}
  .add-contact{min-height:104px;margin:0 -36px;padding-bottom:calc(15px + env(safe-area-inset-bottom))}
}

/* Compact mobile scale */
@media(max-width:1100px){
  .page{padding:10px 12px}
  .card{width:100%;max-width:500px;margin:0 auto;padding:24px 20px 0;border-radius:30px}
  .brand{margin-bottom:20px}
  .brand-logo{width:112px}
  .portrait-wrap{width:150px;height:150px;margin-bottom:20px}
  .portrait{border-width:5px}
  .portrait-badge{width:34px;height:34px;right:1px;bottom:2px}
  .portrait-badge svg{width:17px;height:17px}
  .identity{margin-bottom:24px}
  .identity h1{font-size:23px}
  .title{margin-top:8px;font-size:15px}
  .company{font-size:15px;color:#8a93a5;font-weight:400}
  .details{gap:10px}
  .detail-row{min-height:66px;padding:10px 12px;gap:13px;border-radius:20px}
  .icon{width:42px;height:42px}
  .icon svg{width:16px;height:16px}
  .detail-row strong{font-size:15px}
  .detail-row small{font-size:13px;margin-top:2px}
  .note{font-size:12px;margin:20px 8px 22px}
  .add-contact{
    width:100%;
    min-height:62px;
    margin:0;
    border-radius:30px 30px 30px 30px;
    font-size:16px;
    letter-spacing:0;
  }
}
